Asked — Edited

Help With Sendserial To Roomba &Amp; Create ?

Trying to understand SendSerial and duplicate Roomba & Create Movement Panel with my own understanding of the EZ-Script Commands.

Everything functions perfectly with DJ Roomba Control, NOTHING works with mine ?

Attached is my EZ-B Project File.

The EZ-Robot Kit is G R E A T !

Thank You ! [email protected], 602-246-1246(H)

Roomba(init) SendSerial(D0, 57600, 128 132) SendSerial(D0, 57600, 140 0 4 62 12 66 12 69 12 74 36) SendSerial(D0, 57600, 141 0)

#Vacuum On #SendSerial(D0, 57600, 138 7)

#Vacuum Off

SendSerial(D0, 57600, 138 0)

#Beep-Lo SendSerial(D0, 57600, 140 3 1 50 32 141 3)

#Beep-Hi SendSerial(D0, 57600, 140 3 1 90 32 141 3)

#FORWARD SendSerial(D0, 57600, 137 0 200 128 0)

#STOP SendSerial(D0, 57600, 137 0 0 0 0)

#REVERSE SendSerial(D0, 57600, 137 255 56 128 0)

#ROTATE RIGHT SendSerial(D0, 57600, 137 0 200 0 1)

#ROTATE LEFT SendSerial(D0, 57600, 137 0 200 255 255)

#TURN LEFT NW SendSerial(D0, 57600, 137 0 200 0 129)

#TURN RIGHT NE SendSerial(D0, 57600, 137 0 200 255 127) #SendSerialSound&Direction27,-Jan-2013.EZB


ARC Pro

Upgrade to ARC Pro

Get access to the latest features and updates before they're released. You'll have everything that's needed to unleash your robot's potential!

#1  

Never worked with Roomba or even looked at a script that makes it work. I don't even know how the SendSeral works but I see you have a # in the sections where you want to turn the robot on and off. The # means the script wont read that sentence. Try removing the #:

NOW:

#Vacuum On #SendSerial(D0, 57600, 138 7)

#Vacuum Off

SendSerial(D0, 57600, 138 0)

Revised:

#Vacuum On SendSerial(D0, 57600, 138 7)

#Vacuum Off SendSerial(D0, 57600, 138 0)

Let me know if this helps.

#2  

I will have to give it a try,i made a roomba with EZB 80 % done,i stop because of the omnibot 2000 project and johnny five project

Doing some work on one till i get parts in for the other one,

United Kingdom
#3  

Having never used either SendSerial or Roomba I can't say if the code is correct but, as mentioned you have commented out the commands for vacuum on and vacuum off.

Also, if you have copied and pasted your script it'll just run through all of the commands running one after the other with no control, loops, ifs etc.

You could try it with a baud of 115,200 rather than 57600. Newer Roombas use 115,200.

#4  

DAVE seems to be right remove the # from your code and try it Another item the older roomba's wont take a SCI commands you need to update the firmware only way to do this is using a updater tool called OSMO HACKER

Instead of you buying one i can loan you one is you send $5 to my paypal address and when done mail it back,it about $3 to mail it plus paypal fee's on my part

I make hacks,repair and redesign ROOMBA'S,only lack some in coding

#5  

Make sure you actually need to update. I just watched a video yesterday on this and the roomba people said that it's very easy to update to a earlier version. If that happens you are SOL. There is a date break where the Roomba is able to update or not. visit the Roomba web site for more info or do a Google search. Don't take my word. I'm working from memory and I slept since I read that. eek

#6  

IT is easy to update is only need the OSMO HACKER

here is info on the OSMO HACKER more online about it

Models with an interface (400 series from October 2005 and the newer 500 and 700) come with a Mini-DIN connector supporting a TTL serial interface, which is electrically and physically incompatible with standard PC/Mac serial ports and cables. However, third-party adapters are available to access the Roomba's computer via Bluetooth, USB, or RS-232 (PC/Mac serial).[32] Roombas pre-October 2005 upgraded with the OSMO hacker device allow the user to monitor the many sensors and modify its behavior. The Roomba Open Interface (formerly "Roomba Serial Command Interface") API allows programmers and roboticists to create their own enhancements.[33][34] Several projects are described on Roomba hacking sites there are 2 types of OSMO HACKER A BLUE AND GREY\BLACK

here is a site that sells them $29.95 plus shipping and info ,its blue one

blue osmo hacker here is the black osmo hacker

black osmo hacker

not all ROOMBA'S need it,just depends on how old your roomba is

#7  

here is another link on if you need the hacker or not the date code is under the battery

info on osmo hacker dates

DOUGPOPE i re-read your first thread and i see it works with EZB roomba control so may be you dont need the hacker it may just be the code,without trying you code i cant tell.

by default all roomba's are 57600 baud rate here is the SCI manual that says it baud rate can be change to 19200 it depend if the micro (ezb) cant handle 57600

roomba sci manual pdf

and RICH the 115200 baud rate is for icreate and 5000 series roomba ,not 4000 series ,check the sci manual

#8  

And there you have it, Straight from the horse's mouth.:)