Pictoblox is another Scratch-based programming environment that enables users to train machine learning models, and then use the model to control an Arduino, such as to make a device to automatically sort Legos.
Download Pictoblox ( https://thestempedia.com/product/pictoblox/ )- there is an online version of Pictoblox ( https://pictoblox.ai/ ), but it does not yet enable control of Arduinos.
Notes: Arduino must be powered with an external power source to use with Pictoblox.
Select 'Machine Learning Environment'- Blocks- Train Model, select USB Camera; export model
Note: to use an external USB camera in the Pictonlox Scratch environment, try switching the camera from within PictoBlox by going to Settings (gear icon) > Audio/Video Settings, and selecting your external USB camera from the dropdown menu.
Please connect the HM-10 module to pins 0 and 1 (RX/TX) when using PictoBlox. Also ensure the module’s baud rate is set to 115200, as PictoBlox communicates only at this rate.
Final instructions on setting baud rate of DSD-TECH HM-10:
Load blank sketch into Arduino UNO.
Connect HM-10 to pins 0 and 1 on the Uno, using a level shifter IC.
Open Serial monitor with at 9600 with use LF and CR
Sent AT+BAUD4 ( note: other bluetooth modules use different values)
Cycle power off, then on
Open Serial Monitor at 115200
Send AT+BAUD? to confirm- should respond with BAUD4