1.1. AI Lens

Introduction

The AI Lens is able to achieve the functions of face recognition, balls tracking, cards recognition and characteristics acquisition.

../../_images/05035_01.png

Characteristics


  • Designed with RJ11 connection and easy to plug.

Specification


Item Parameter
SKU EF05045
Connection RJ11
Connection Type IIC
Working Voltage 3.3V
Core IC K210

Outlook and Dimension


../../_images/05035_02.png

Connection Type: RJ11 to Dupont connector


While the micro:bit breakout board doesn’t have the RJ11 connections, we can choose to use a Dupont wire that has the RJ11 connections. We need to connect the RJ11 to the Lens and the other ends connect to the breakout board(Black wire to GND; Red to VCC; Green to P19(SDA); Yellow to P20(SCL)). If the Lens doesn’t work from the start, please try powering it with a standalone power sourse.

../../_images/05035_03.png

Take IoT:bit for an example:

../../_images/05035_04.png

Note:

  1. If you do not use Nezha expansion board to drive the AI Lens, please search with the package through this link: https://github.com/elecfreaks/pxt-PlanetX-AI

  2. Under the one button to acquire mode, you will have to re-learn the objects if you restart the device.

  3. After downloading the code, if the AI lens gets stuck in the starting page with an init AI Lens error instruction, please try to power off the device and restart it. (Or make sure you connect the ready-programmed micro:bit board after the AI Lens connects the breakout board well )

AI Lens firmware update

For a better experience of the AI Lens, we are making an irregularly update for the new functions and optimization of the performance, a manually update of the firmware is required after the new version is released.

How to check the current version

../../_images/AI-gj-05.png

The current version number shall be displayed on the lower right corner of the boot screen(starting-on page), if there is no prompt, it should be the oldest version, please update asap.

The newest firmware version

Firstly, install “kflash” for downloading the firmware.

Windows system downloading [kflash_gui_v1.6.5_2_windows.7z] (https://github.com/elecfreaks/learn-cn/raw/master/microbitplanetX/ai/kflash_gui_v1.6.5_2_windows.7z) and unzipping it.

macOS system downloading [kflash_gui_v1.6.5_2_macOS.dmg] (https://github.com/elecfreaks/learn-cn/raw/master/microbitplanetX/ai/kflash_gui_v1.6.5_2_macOS.dmg)

For windows system, open the file folder kflash_gui and find kflash_gui.exe.

../../_images/AI-gj-01.png

For macOS system, click the icon of kflash_gui after the downloading.

../../_images/AI-gj-06.png

Double click kflash_gui.exe to open the file and choose to open the newest firmware.

../../_images/AI-gj-02.png

Connect the AI Lens with the USB wire.

../../_images/AI-gj-03.png

Choose the port to download it.

../../_images/AI-gj-04.png

FAQ

In macOS operation system, if you fail to install the firmware because the developer cannot be verified.

../../_images/AI-gj-07-en.png

Please visit https://support.apple.com/en-us/HT202491 for solutions.