The first device i try with PlatformIO IDE is SiPEED maixduino. It is what known as AIoT, which means IoT device with AI technology. The device is powered by a Chinese chip Kendryte K210. It is a system-on-chip (SoC) that integrates machine vision and machine hearing. It can be deployed in the user's products in the shortest time, giving the product artificial intelligence.
Maixduino development can be made with a variety of IDE such as MaixPy IDE (MicroPython), Arduino IDE, OpenMV IDE, and PlatformIO IDE. It supports Tiny-Yolo, Mobilenet and TensorFlow Lite deep learning frameworks with QVGA @ 60fps or VGA @ 30fps image identification.
The pinout is compatible with Arduino UNO R3 but the voltage level is not compatible. Maixduino supports 3.3V and 1.8V levels, and the pins are divided into several BANKs, each BANK can be set to a voltage of 1.8V or 3.3V by software, These pins are not 5V tolerated and may be damaged with supplied with 5V signal. Therefore, when using the peripheral device of Arduino, be careful not to short the 5V to the pin or RST (1.8V) pin.
Continuing from our first blog on PlatformIO, we can do an example application, we plug in the board. it will be detected as 2 com port devices as the board has the K210 and ESP32
we need a > 4GB micro SD card. I use a 8GB micro SD. command as below is used to select my microSD, cleaning it and setting the partition to be active
We can then use the windows to format it with FAT (note, not FAT32) as the screenshot below
After format, we can place the micro SD card to the rather awkward position beside the camera port
fire up PlatformIO, click the 'alien' head of PlatformIO and new terminal
we can also go to 'home' and click project example, then open the arduino-blink
loading the projects are kinda confusing, but basically i have loaded the same project few times and it keep creating new folders. i find that i cannot delete them manually as the PlatformIO will later
complain that i cannot find the project folder (which is deleted). Subsequently i close all the editor on the left, and open the last project folder that is imported. We need to delete all the MCU except our own platform
we also need to set the correct com port
screenshot below shows the settings
facing error and still trying to find out how to resolve....
error seems due to space in username described here https://community.platformio.org/t/spaces-in-path-vscode-platformio/4358/8
#while powerful, platformIO seems to have lots of bugs and intuitive usability issue. may take time to know it