1.1. AI Lens#

1.1.1. Introduction#


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

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

1.1.2. Characteristics#


  • Designed with RJ11 connection and easy to plug.

1.1.3. Specification#


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

The origin point of the AI Lens is on the left top corner (0,0), and the range of the coordinate X&Y is (0,224).

1.1.4. Outlook and Dimension#


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

1.1.5. 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(SCL); Yellow to P20(SDA)). 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: 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 )

1.1.6. 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.

Latest version firmware#

firmware v1.0.12 click to download

The newest firmware version#

  1. First, installation of camera serial port driver

Windows system downloading CH341SerSetup.exe

macOS system downloading CH34x_Install_V1.5.pkg

  1. Install “kflash” for downloading the firmware.

Windows system downloading kflash_gui_v1.6.5_2_windows.7z and unzipping it.

macOS system downloading 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#

1.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.

2.While using AI cameras, if there is an error tip occurring while clicking downloading, it might be the corrupted extensions of the PlanetX.

../../_images/AI-FAQ-01.png

Details of the corrupted might be these two reasons:

(1)The version of the extension is not the newest, please try creating a new project and add the extensions again.

(2)The conflict emerged due the adding of both the PlanetX and PlanetX-AI, please click the part circled in red in the picture “JaveScript”to switch the program screen, click the explorer and delete PlanetX or PlanetX-AI according to your demand.

../../_images/AI-FAQ-03.png

After deleting, it should work now.

../../_images/AI-FAQ-04.png

After deleting, if you find the loss of the visual block, please try adding the extensions again. If it doesn’t work, please try resetting the MakeCode with the tips in below picture.

Note: all projects saved in MakeCode will be cleared after the reset, please save all of them in your computer if you need them.

../../_images/AI-FAQ-05.png