
DougPope
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
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
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
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
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 !
[email protected], 602-246-1246(H)iRobotRoomba400-SeriesServiceManual.zipRoomba-500-Series-Service-Manual.zip
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
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.
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
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