Instructables

Scratch 4 Arduino and Cybot Control (Rover basics)

Featured
Picture of Scratch 4 Arduino and Cybot Control (Rover basics)
Inst IMAG1816-1.jpg

I've had a couple of Cybots as well as the Tom robots for a number of years - every so often they get dragged out and tinkered with. Now is this years turn. I have decided to try my hand at Arduino control of the Bots motors.

There seems to be a large number of You tube Videos that say "yes we did it", but not many on how to get there, so I'm going to start from what I think should be the beginning. Assumptions these can be the mother of all mess ups, but I'm going to make one now that is that if you want to copy this guide you already have an Arduino and the IDE pack from the Arduino site and that you have had a play and know how to install a sketch onto the Arduino board. My eventual aim is to move onto something like the Android application development and control the Bot by bluetooth and possibly WiFi - again lots of Videos but not much else, but for now that will wait as the parts have not yet arrived.

this instructable will tell you how to get to this:

And as soon as my parts come I will create an additional one for Bluetooth and hopefully WiFi Control

I have also created an instructable covering the bar code interface at

http://www.instructables.com/id/Direction-display-...

Please read on

 
Remove these adsRemove these ads by Signing Up

Hi, I am a middle school shop teacher, working on a low cost robot project. I see you are using a long USB cable, is there any way upload a scratch program into the arduino board so it could run a maze? I want to use Scratch or another GUI. I know they use different file types. Any ideas? Thanks Bob H

HUKBMBEAR (author)  RobertH1614 hours ago
Hi thanks for the question.... A couple of ideas first use timed Motor duration, but the code woul be very messy and only give a single route. Better add sensor , sonar, or maybe micro switch front and rear make the bot turn a fraction as the sensor is activated. Possibility .. Take a look at my guide for spectrometer it might be possible to store the responses in excell then use that as a memory for the bot.

Sorry its not a specific answer to the problem but its the kind that really does need a bit of thought. Scratch 4 arduino should be able to handle it
xsalvador17 days ago

hello,

Very very interesting.

I did my own arduibot with sonars and light sensors, usin motor driver original board. By now, i wanted to use my arduino motirshield. All was ok till i unplugged usb poser cable using the 12V battery case: one motor connected, ok ; two, nothing.

Did you understand if there is something special with cybot dc brush motor and power supplying ?

Ty ;- cybotly yours

HUKBMBEAR (author)  xsalvador16 days ago

Hi glad you liked the guide.

No I don't think there is anything special about the cybot motors. I did work out that but connecting direct to the ref pin their was a short which made the board get warm. Corrected this by using the zero volt pin on the cybot board see my new guide for simple Bluetooth control of the cybot it might help step 4

http://www.instructables.com/id/Bluetooth-Cybot-on...

technician6 months ago

wow saw this and was drawn to it because the bot looks like on I assembled many years ago with my then toddler son and came fortnightly in a magazine, my son is now 22yrs old and just about to finish unit and is not interested in science and technology, where did I go wrong? Ps the bot is in the back of the cupboard with the techno Lego lol

HUKBMBEAR (author)  technician6 months ago

Thanks yes this is based on the chassis of cybot from that magazine. At present my kids are still young so I can use that as an excuse to play with the lego

(removed by author or community request)
HUKBMBEAR (author)  deleted_account9 months ago

Thanks again for the support, its always great to hear that others think what you are doing is worthy of comment. would be nice to see what you think of my others (if youve not already visited) just off to yours now