Getting Started with ArduBlock for Makeblock Electronic Modules

Recently we release a graphic programming IDE based on Ardublock. ArduBlock is a popular block programming language for Arduino developed by David Li in Xinchejian, you can find the source code of Ardublock here. We also made an installation package for easily installing ArduBlock for Makeblock.
So let’s getting started with ArduBlock for Makeblock Electronic Modules.

1.ArduBlock is according to Arduino IDE, so before using ArduBlock, you should have installed Arduino IDE. If you do not get ready, visit here to install Arduino IDE first.

2.Download our installation package for ArduBlock.
01

3.Install Makeblock Library to Arduino IDE Sketchbook location.
02

In Mac, it’s by default “Documents/Arduino” under user’s home directory
In Linux, it’s by default “sketchbook” under user’s home directory
In Windows, it’s by default “Documents\Arduino” under user’s home directory

4.Started the Arduino IDE and find ArduBlock under the Tool menu.
03

5.Click ArduBlock, then you will see Makeblock on the list on the left side.
04

6.We have offered an example of Makeblock IR control car. You can open it and upload to your Arduino for testing.
05

  • Posted on November 11, 2013 - 6:26 pm
  • By eric
  • Posted in
1 comments so far
  • kenneth says:

    i always get a error when uploading the makeblock sketchany of them this is this sketch
    Arduino: 1.5.5-r2 (Windows 7), Board: “Arduino Uno”
    Using library SoftwareSerial in folder: C:\Users\Shop\Documents\Arduino\hardware\arduino\avr\libraries\SoftwareSerial (pre-1.5)
    Using library Wire in folder: C:\Users\Shop\Documents\Arduino\hardware\arduino\avr\libraries\Wire (pre-1.5)
    C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=155 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\Shop\Documents\Arduino\hardware\arduino\avr\cores\arduino -IC:\Users\Shop\Documents\Arduino\hardware\arduino\avr\variants\standard -IC:\Users\Shop\Documents\Arduino\hardware\arduino\avr\libraries\SoftwareSerial -IC:\Users\Shop\Documents\Arduino\hardware\arduino\avr\libraries\Wire C:\Users\Shop\AppData\Local\Temp\build4147560427847667373.tmp\sketch_feb13a.cpp -o C:\Users\Shop\AppData\Local\Temp\build4147560427847667373.tmp\sketch_feb13a.cpp.o
    sketch_feb13a.ino:5: error: ‘MeInfraredReceiver’ does not name a type
    sketch_feb13a.ino:7: error: ‘MeDCMotor’ does not name a type
    sketch_feb13a.ino:8: error: ‘MeDCMotor’ does not name a type
    sketch_feb13a.ino: In function ‘void setup()’:
    sketch_feb13a.ino:12: error: ‘infraredReceiver6′ was not declared in this scope
    sketch_feb13a.ino: In function ‘void loop()’:
    sketch_feb13a.ino:18: error: ‘infraredReceiver6′ was not declared in this scope
    sketch_feb13a.ino:23: error: ‘dcMotor1′ was not declared in this scope
    sketch_feb13a.ino:24: error: ‘dcMotor2′ was not declared in this scope
    sketch_feb13a.ino:29: error: ‘dcMotor1′ was not declared in this scope
    sketch_feb13a.ino:30: error: ‘dcMotor2′ was not declared in this scope
    sketch_feb13a.ino:35: error: ‘dcMotor1′ was not declared in this scope
    sketch_feb13a.ino:36: error: ‘dcMotor2′ was not declared in this scope
    sketch_feb13a.ino:41: error: ‘dcMotor1′ was not declared in this scope
    sketch_feb13a.ino:42: error: ‘dcMotor2′ was not declared in this scope
    sketch_feb13a.ino:49: error: ‘dcMotor1′ was not declared in this scope
    sketch_feb13a.ino:51: error: ‘dcMotor2′ was not declared in this scope
    can anyone help with this

Leave a comment