Setting Up mBlock software
Let’s setup mBlock software in our PC so we can start to get our hands dirty with different cool projects using Arduino and programming in drag and drop environment !!!
Step – 1: Download mBlock software from here. Choose your OS and press the ‘download’ button.
Step – 2: You should get a file downloaded in few minutes after pressing this button. Now Install that downloaded software based on installation procedure of your operating system.
Step – 3: After installation your should be able to see this following icon in your Windows/Mac OSX/ Linux. Open this software with this icon.
Step – 4: You should be able to see the following window opened. (In this example its a window of Arduino IDE opened in Window 10 OS).
Step – 5: Now select Arduino and Communication options in Extensions Tab
Step – 6: Now select Arduino UNO in Boards Tab
Step – 7: Now select Arduino mode in Edit Tab
Step – 8: Your final screen of mBlock software with all the setup will look like this
Step – 9: We are almost there now. Let’s test are we all set to rock!
Make a simple LED blink program. (Hint: match the colors of the program blocks with sections of script)
Step – 10: Now connect your Arduino Board to your laptop/PC using blue USB cable you possibly got with your board.
Step – 11: Go to Connect Tab in upper top bar and then go to Serial Port and Select your respective port no. to which your Arduino is connected e.g. ‘COM7’.
Step – 12: On code main screen towards right as show in following picture. Select the Upload to Arduino option.
Step – 13: After it says Upload Finish. You should be able to see an LED blinking on your Arduino UNO board right next to pin 13.
If shows Upload failed then select another COM port . If problem still persists then attach Arduino with other port.
Its an on-board LED to see if everything is setup and working.
Yaaay! you are all set to go ahead!