mBlock is a graphical programming enviroment that is specially designed for beginners to easy to program Arduino projects and create interactive applications. mBlock supports abundant hardware:
It is perfect for beginners to switch from graphical programming to text-based programming and support Arduino IDE programming environment.
In this tutorial, I will show how to build a Corridor light circuit with Arduino UNO board and use mBlock software to program it.
1. Use the Arduino instructions of mBlock to program
2. Use Dupont lines to connect each component
3. Connect to the USB cable, install firmware
4. Program online
5. Program offline
During the prigramming process, mBlock is really interesting software, just drag and drop the different scripts and put them to the right position, then it works!
After finish building the circuit, use USB cable to connect the board and computer, then select the serial port and achieve online control this circuit. If you want to control the circuit offline, just download the program into board.
This video will display the whole process of how to build the circuit, how to write program and how to download the programs via mBlock.
For more information about this software, please visit here
Please download mBlock here: mBlock download