Need Help with Ultrasonic Tank!


#1

I have a Robot starter kit. I have assembled the Tank out of the starter kit. The problem I am having is with the loading the ultrasonic car sketch.To be honest I do not even know if that is right sketch to use. I have some Arduino experience from building a few 3D printers. But not enough I guess to figure out what is wrong with the program and why it will not upload.

The file i am trying to load is the updated one from the library. When it goes to load it say ‘DC Motor’ dose not name a type ?

What dose this mean and how can i fix it ?

ANy help on this would be great … Thanks


Ultrasonic Tank Issue - Mac Related?
#2

Could you please upload your screen capture, so we can figure out the problem.
please make sure you are using our latest library, which you can download here: https://github.com/Makeblock-official/Makeblock-Library


#3

We find the problem, the new Arduino IDE 1.0.5 may change the library path reading method, all the library code and example code need to be in a subcategory of the libraries path, if not, there is no problem on the old IDE, but cause problem on the new IDE, now we fixed the problem. you can download the new library on github,put the Makeblock_Library folder in the libraries folder.
similar as follows:


#4

below is the screen shot of the problem I am having. I am using Arduino 1.0.5
I also have tried the library path change and did not fix the problem.


#5

Problem Solved

I removed Arduino software from my computer along with the Make Block library and started over.

Installed the Arduino software …
Downloaded Make Block Library.
For the library to work I had to unzip files into a new folder then copy and paste the library in the the Arduino Library folder then start the Arduino software.

Now everything works perfect.


#6

I have exactly the same problem as @Zero, I have tried the suggested solution to no avail. Can anyone please explain exactly what is going on here.

Any help would be great.

DMS


#7

Anyone have any help with this topic?


#8

Hi, you can download our last library here,https://github.com/Makeblock-official/Makeblock-Library6, and upload it to "C:\user\My Documents\Arduino\libraries“ on Windows. For Mac users, it will likely be called “Documents/Arduino/libraries”.
Your Arduino library folder should now look like this (on Windows):

My Documents\Arduino\libraries\Makeblock\Makeblock.cpp
My Documents\Arduino\libraries\Makeblock\Makeblock.h
My Documents\Arduino\libraries\Makeblock\examples

or like this (on Mac):

Documents/Arduino/libraries/Makeblock/Makeblock.cpp
Documents/Arduino/libraries/Makeblock/Makeblock.h
Documents/Arduino/libraries/Makeblock/examples


#9

Can you take a screenshot to show the bug?


#10

I had a similar issue on my Mac, where it turned out I had several Arduino folders, and that I added the libraries to the wrong one… A very simple way to avoid all these kinds of issues, is to use the automatic import feature in the Arduino 1.0.5 IDE. To use this, open the Arduino IDE, then click

Sketch->Import Library…->Add Library

Then select the zip-file with the library you downloaded from Git-Hub (you might have to rename the zip-file to remove the “-” dashes for the editor to accept the file name). And that’s it!

To check if the library has been included correctly, go to File->Examples-> where there should be a Makeblock sub-category with all the example code provided from Makeblock. If you can see the sub-cathegory, you are done!


#11