MoleGraph facilitates a smooth transition from basic measurements to advanced coding and robotics. We utilize Blockly@rduino, a visual programming environment where students build programs by assembling graphical blocks. The system automatically generates standard Arduino (C++) code, helping beginners understand syntax and logic.
To minimize setup time in classrooms, we provide a pre-configured portable package based on the Czech fork by milikiller.
- No Installation Required: Based on Arduino IDE 1.8.13 (Portable). Just unzip and run
arduino.exe. - Integrated Workflow: The visual environment launches directly from the IDE menu:
Tools > Blockly@arduino. - Configure Blocks: Enable MoleGraph blocks directly from the IDE left button:
Configure Blocks > m-BITBEAM. - Customizable: Includes support for "User Blocks" to inject custom C++ code if a specific block is missing.
The package comes with a suite of tested libraries converted into visual blocks, covering a wide range of STEM and robotics applications:
- MoleGraph Integration: Dedicated blocks for the
MoleGraphManuallibrary to send data directly to the MoleGraph app. - Core Hardware: Full control over Inputs/Outputs, PWM, and SD card storage.
- Communication:
- I2C & SPI: Support for both hardware and software implementations.
- RF433: Wireless communication via VirtualWire (strings and byte arrays).
- IR Remote: Receive commands and debug IR codes to the serial monitor.
- Sensors & Displays:
- Environment: DHT11, DHT21, DHT22 (Temperature/Humidity).
- Distance: Sharp IR sensors (GP2Yxxxx).
- Displays: Adafruit SSD1306 (OLED 128x64, 128x32, etc.).
- Robotics & Actuators:
- Motor Shields: PWM control for wheeled/tracked robots.
- Lighting: Neopixel WS2812B (addressable LED strips).
This educational tool is built upon the work of several open-source contributors:
- Arduino Team: For the Arduino IDE, the foundation of our hardware programming.
- technologiescollege: For the original Blockly@rduino plugin (based on Google Blockly).
- milikiller: For the Czech mutation and portable fork, which integrates the vast library collection (RF433, OLED, Motors, etc.) and simplified the IDE integration.
- e-Mole Team: For the MoleGraph extension, custom blocks for U01 unit, and educational materials.
