Blockl@rduino Aio 'all In One'

About the project

Drag'n'drop graphical programming portable software for Windows + uploading + supervision.

Project info

Difficulty: Easy

Platforms: ArduinoEverything ESP

Estimated time: 1 hour

License: Apache License 2.0 (Apache-2.0)

Items used in this project

Hardware components

Genuino Uno Rev3 Genuino Uno Rev3 x 1
Tiny Breadboard Tiny Breadboard x 1

Story

The purpose is to permit 'Scratch-block' programming for Arduino card, with many features needed for kids in school & newbies.

Everyone knows Scratch and the way it made easy the program learning for every child in the world. I was looking for a software which permits blocks programming and code generating. I found BlocklyDuino but it was left unworked for months. After contacting its creator David Li I decided to create my own fork.

After few months, with help, I created a totally new version from the original Blockly new version: Blockly@rduino.

https://create.arduino.cc/projecthub/libreduc/blockly-rduino-create-code-with-blocks-b6d3e4?ref=user&ref_id=69665&offset=1

But kids still needed to copy-paste in Arduino IDE before uploading..not very easy for them to understand everything. So I created a plugin for IDE Arduino :

https://create.arduino.cc/projecthub/libreduc/plugin-blockly-rduino-for-arduino-ide-162312?ref=user&ref_id=69665&offset=0

Ok, but I don't know how to program in Java and enhance possibilities, Arduino IDE code source is not well documented for newbies like me...so I stopped for the moment.

Some french teacher worked on enhancing Blockly@rduino too, we decided to use arduino-cli for uploading (https://github.com/arduino/arduino-cli) and JP Fontaine embedded Blockly@rduino in an Electron version with uploading (https://github.com/technologiescollege/BlocklyArduino_electrified).

But I needed a supervision to read sensors values before programming, so I used script from Alan Yorinks great work on Arduino, through FirmataPlus and Pyamata-aio: https://github.com/MrYsLab/pymata-aio.

I packed everything with a C program watching every thread and that's Blockly@rduino All In One:

You launch a program which is on tray only, you can achange option trhough right click on the icon. Theboard auto detection interact with Blockly@rduino throught Electron and allows uploading. But after uploading FirmataPlus in a board, you can also interact and read sensors, test actuators.

Thanks for testing, proposing enhancement, helping, translting, fixing any bug, posting in the forum: http://blockly.technologiescollege.fr/forum/

Code

Blockly@rduino

Credits

Leave your feedback...