Makeblock Robot Tank No Go


#1

I cannot seem to get this product to work. I attempted the simple buzzer program found on the website and got no joy. When I try to upload the program into Arduino, I get the following error message:

sketch_aug10a.ino:3:23: fatal error: Makeblock.h: No such file or directory
compilation terminated.
Error compiling.

Can anyone help please?


#2

DId you install this?

https://github.com/Makeblock-official/Makeblock-Library/archive/master.zip

It contains the Makeblock library you need to work with the Arduino API, and a bunch of example sketches for the different Makeblock modules and sensors. The Makeblock WIKI explains how to install the library.

Cheers, Stefan


#3

Yes sir, I have installed the library into my Arduino program. I can even see them in the sketchbook library, but when I go to upload a sketch such as “IR Control”, I get the same error message as before:

IR_Control.ino:17:23: fatal error: Makeblock.h: No such file or directory
compilation terminated.
Error compiling.

I am using Arduino 1.6.5

Thank you.


#4

OK, I tinkered a little more and I got rid of the original error message, but it is replaced with this one:

Arduino: 1.6.5 (Windows 7), Board: “Arduino Uno”

Sketch uses 8,872 bytes (27%) of program storage space. Maximum is 32,256 bytes.

Global variables use 909 bytes (44%) of dynamic memory, leaving 1,139 bytes for local variables. Maximum is 2,048 bytes.

avrdude: ser_open(): can’t open device “\.\COM1”: The system cannot find the file specified.

Any ideas?


#5

Yes :smile:

Use Tools–>Port to select the port, your Robot is connected to. Play with the different ports, if none works, report back.

Can’t tell you more, as I am not using Windows 7. My Arduino environment runs on a Raspberry Pi 2, where port names are quite different.

Cheers, Stefan


#6