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 ! DougPope@cox.net, 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

Synthiam ARC Pro is a new tool that will help unleash your creativity with programming robots in just seconds!

#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. :)

#9  

been working on them for a few years,also i sell them with modifications ,like a deck and higher torque upgrade,and dual battery design,next is a better optical feedback design great book for other updates and mods to roomba modes is HACKING ROOMBA by TOD E KURT HACKING ROOMBA SITE

FROM reading the SCI manual i see some code may be missing ,no expert on coding but it may help ser = serial.Serial(0, baudrate=19200, timeout=0.1) ser.open()

wake up robot

ser.setRTS (0) time.sleep (0.1) ser.setRTS (1) time.sleep (2)

pulse device-detect three times

for i in range (3): ser.setRTS (0) time.sleep (0.25) ser.setRTS (1) time.sleep (0.25

it seems you need to wake it up,another way is use the DD pin to GND

#10  

The OSMO hacker units are no longer available from ProTechRobotics.com The 4XX and 4XXX, Dirt Dog, and the Create model robots from iRobot have a min din 7-pin interface the operates at 57,600 by default. The 5XX, 6XX, and 7XX models robots from iRobot also have the same 7 pin mini din connector and the default data rate is 115,200. There are two different .pdf documents provided by iRobot that define the commands that can be sent to the robot depending whether they are an R2 or R3 robot. R2 being the 4XX, 4XXX, Dirt Dog, and Create.

More info about some hacks, and mods for you iRobot robot can be found here:

Robot-Doc website

vic7767 website

#11  

I got lucky to get my early,getting ready to put a roomba /neato hack site too with a lot of info my my roomba designs and neato hacks, with schematics and how to build them easy

thats correct ROBOT-DOC what you said on the baud rate,i am thinking it may be one of 2 things wrong,one the code is missing info ,most likely or he needs to set it at 19200,witch the pdf i posted tell him how to do it,also can be done by software i think too

I dont know what baud rate DJ is using for is roomba movement control,i would think its 57600 baudrate,since he has no changes done to changing the baudrate

SO i think the start serial command might need a change to wake it from sleep or another data missing or DD pin to ground does help too

Hvent yet tried the SCI COMMANDS,but will be working on it soonand will have a good answer unless another person might have it

look at the python code i posted for help,its from the SCI PDF FILE i have a link too

#12  

EZ-Forum Thank You's 28-Jan-2013

Monday, 28 January 2013

Thank You All for your prompt replys and interest in my "Learning to Script" !

I am hoping to learn a way to Email each you individually via you EZ-Robot Forum

UserNames ?

dschulpius, you were my very first EZ-Forum Reply, and reminded me to use

more care with the # when trying to temporarily prevent a single line of script from

executing. I can't wait to meet your Robot in person !

Has anyone used ScriptStop sucessfully, without geting an Error ?

robotmaker, I purchased a Second Remote Control and Cable for my Roomba

Discovery, so that it would function like my old Roomba Scheduler. The update

worked as descriped in the iRobot Remote Manual, and the Upgrade works and

Schedules, BUT I can no longer communicate with THAT Roomba using

RealTerm or RoombaComm; It Locked Me Out !

robotmaker, your "it seems you need to wake it up,another way is use the DD pin

to GND" prompted me to make a Second Serial Cable, and it Wakes Up the

Roomba from Sleep or OFF by just plugging it into the Serial Port with the other

end unconnected.

Robot-Doc, I like your two Websites, and can't wait for you to Hack a Mint-4200 !

Attached are two of my favorite Roomba Repair Manuals !

DougPope@cox.net, 602-246-1246(H)iRobotRoomba400-SeriesServiceManual.zipRoomba-500-Series-Service-Manual.zip

#13  

DOUG i will send you a email so you will have mine SECOND i have tried as many others tried hack a mint 4200 ,so far none done yet

Wanted to use the mint 4200 LASER navigation sensor,but now i found a much better LIDAR LASER SENSOR from neato xv-11 ,there many hack sites on using it ,some for ROS linux and API codes for it for windows I sold over 7 so far and have about 20 new ones left Dont really like the roomba 500 series mostly too high of cost for robot designs

#14  

Like robotmaker mentioned, the Mint 4200 hack will take awhile. I've already turned a Mint 5200 into a door stop. I've ordered a sniffer from sparkfun.com to try a different approach on the 4200. Now that iRobot owns the company maybe they'll open it up for us hackers. Then the EZ-B can talk to it.

#15  

also i have the service manual for 4200 series,same as yours but i found the schematic that someone reverse engineer it also i am electrical engineer,my field is mostly sensors and build ultra high precision test equipment for a company i work for ,for in-house testers I know and tested almost every sensor made

#16  

lucky i got my money back when i re-sold it,it there is hacker who can get it working great

Also info on it the torque is not as high as the neato xv-11 ,and can easy access the serial pins on it for bluetooth or WIFI its been done before ,and mostly cheaper then the mint if bought used

I mostly got it to see if the laser sensor can be removed and has TTL connection it doesnt.neato lidar does

#17  

SOME info on the ICREATE verses ROOMBA 4200 ,mostly the boardds are about the same on they aded some extra pins to the icreate.

BUT paying more for it too,liitle over $200 i bought 3 for robots not using EZB for them.

Now on roomba 4200 series you can make kinda close to the icreate,when side motor ,brush motor and vacuum motor is remove you have i high side and 2 low side sw itches to turn on the sensor or motors or web camera or kinect like on the TURTLEBOT design,only a few ports are missing.

Also there is the dirt sensor ouput can be used.

Good item for robots is the price about $40 or so on ebay,can handle up to 35 to 45 lbs if with motor design mod i made handles about 80 lbs so it the best choice for robots

#18  

Thursday, 31 January 2013

Good Morning EZ-Robot EZ-Script Debuggers !

 Thank You All for your Generous Assistance ! SendSerial WORKS GREAT when I follow the SYNTAX !

 I was neglecting to place COMMAS after the SerialData Bytes.

 EZ-Robot can make it Fool Proof, but they can't make it DAMM FOOL PROOF !

 I used this as a source for the SendSerial Drive Commands in the Custom Movement Panel.

Roomba(init)

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

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

#RIGHT #SendSerial(D0,57600,137,0,200,255,255)

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

#LEFT #SendSerial(D0,57600,137,0,200,0,1)

#SPEED #SendSerial(D0,57600, ? )

 Now it's time to learn to use the Varible Name: $SlideValue to slow it down ?

DougPope@cox.net, 602-246-1246(H) RoombaDuplicateControlPanel31-Jan-2013.EZB

#19  

Thats great Doug glad you got it working,mostly every scripts are easy even for non-programmers

#20  

@Robotmaker: I'm having a roomba problem too lol. I just bought a roomba 4230 blue, 9-29-2005, ver 1707 software. I read through the service pdf for the revisions, turns out I need 1308 to use the sci. damn, missed it by a month. I was curious if the offer was still up to borrow your osmo for the e128, for a fee of course:D Scruffynorseman@yahoo.com

#21  

yes i can do that no problem,need serial # to see if blue OSMO OR BLACK (SMOKE) OSMO IS NEEDED

#22  

Sure thing, its JEN042300509260300551, has a barcode as well.

#23  

ok thats the BLUE OSMO hacker,will send a email to get your address been about 7 months since i used it and still ok,need to find what box i put it in,

WHEN I GOT it ,i did all 30 of my roomba's at one time

#24  

Monday, 4 February 2013

Good Evening OSMO People ! Thank You Robot-Doc !

 This past weekend Edgar Vickery aka. Robot-Doc mailed me BOTH the Teal and Black OSMO's, after hearing my problems accessing the iRobot Roomba Open Interfaces.

 I have two Roomba 400-Series Discovery Models that look IDENTICAL, but one has the ASCII Sticker Serial Number, and the other has the Bar Code Serial Number.

 After filling in Appendix-B, Page-49, of the iRobot Roomba 400-Series Service Manual.pdf, with BOTH of my Serial Numbers, it determined that I need the Teal OSMO for both of them.

 I verified Serial Communication to both of them using Create.1.0.1.2.exe, and saved the Data Capture to a Notepad File for each Roomba.

 Then, using #2 RoombaCommTest.bat, I verified Motion, Motors Brush & Vacuum, MUSIC, and Sensor Data ! I have been wanting to accomplish that since 1-Jan-2013, the day I purchase three Roomba's at Craig's List Sales.

 MOST IMPORTANT, They ALL Work GREAT with DJ's ARC Roomba Example ! ! !

 I also purchased from Ed, 3-Arm Side-Brushes and TO_220 Battery Charger Transistors, for all three of my Roomba's, just in case of the worst.

 I would like to PURCHASE A Set of OSMO's, All Models & Colors, for the kids at the local High School Robotics Club.

Thank You All & Best Wishes, "Still Looking For Someone To Colaborate On EZ-Script Basic Examples",

DougPope@cox.net, 602-246-1246(H)

1(SCI)SerialCommandInterface(SCI)iRobotRoombaSpecification.zip

2(ROI)RoombaOpenInterface(ROI)iRobotRoombaSpecification.zip

3Create(OI)OPENINTERFACEiRobotSpecification.zip

iRobotRoomba400-SeriesServiceManual.zip

Roomba500-SeriesServiceManual.zip

#25  

OSMO might be hard to find at any color,they dont make them any more and ones who have them are like gold to them.

But dont give up,maybe ebay might have them up for sale i do have well over 30 roomba's for sale ,without any vacuum parts inside and with or with a round deck on top too.

User-inserted image

i made changes on the brackets and does have a plate for it

User-inserted image

this one is the deck mounted with the itx board i have on it,its only the 12 inch round deck with standoffs under it and with screws

#26  

Wires you see are for a second battery and auto switching relay circuit for charging the batteries

Also some are modified for a stronger motor for bigger loads ALL have the new firmware loaded,so no OSMO is needed Also bought many many pcb's for roomba 4200 series FRED at jamericanfreddy@yahoo.com or roboticsdesigner@yahoo.com