R3 Roomba control using 5 volt relays

Inside the Roomba and Scooba and more, Cool mods, Repair and Upgrades - including the all new iRobot Create Kit. Let's void that warranty baby!

R3 Roomba control using 5 volt relays

Postby vic7767 » June 29th, 2014, 8:43 pm

In the land of the iRobot Roomba, if you want to turn it on there are presently two ways to do so.

The first way is just a simple button press of the Clean button. Or, one could use a IR remote control to also accomplish the same task. Neither choice is needed when using an EZB controller and three of its Digital ports.

In order to perform the EZB controller option a little pre-design work is required. It involves using some 26 guage wire, a soldering iron and three neat little 5 volt powered relays. The electrial wiring connection is done by soldering a pair of wires across the Clean button contacts located on the printed circuit assembly inside the Roomba that are then connected to the Normally open contacts of the 5 volt relay. Then all you do is wire the signal (White) wire from the digital port of the EZB controller to the activate port (CH1) of the relay. The relay can be turned on by a high (3.3vdc) or low (Gnd) pulse provided by the digital port of the EZB. The voltage reference (3.3vdc, or Gnd) lead is wired to the CH1 port and that will activate the relay. In the example presented in this description a high pulse that lasts for 1 second will accomplish the Clean button press to turn on the Roomba. Now, all the preceding verbiage was needed so that the Roomba is powered on and the Serial Command Interface (SCI) is able to receive serial commands from the EZB controller.

Here is a start up script that will turn on your 500, 600, 700, or 800 model Roomba.

set(d1,off) # start in the off condition
set(d1,on) # This will operate the relay and turn on Roomba
sleep(1000) # replicate a 1 second Clean button press
set(d1,off) # release relay

Now the Roomba is ready to receive serial commands.

Additional electrical connections were also made to the Spot button as well as the Dock button. With the proper sequence of button presses the Roomba can be placed into the Built in Test program and all of its sensors can be accessed and tested for proper operation.

The UART Serial terminal to the EZ Builder GUI can be used to actually monitor the individual diagnostic test results on all the internal Roomba sensors.
Attachments
AR(3).jpg
Roomba with mounted hardware
AR(2).jpg
button connection
AR(1).jpg
5 volt rely
Roomba and Neato Mods, come visit: http://www.vic7767.com/

http://www.Robot-Doc.com/
User avatar
vic7767
Robot Master
 
Posts: 14284
Joined: January 14th, 2006, 8:31 pm
Location: Haughton Louisiana - USA

Re: R3 Roomba control using 5 volt relays

Postby JM1010 » April 30th, 2017, 10:10 pm

Super interesting!! Newbie here. We'd like to control on Roomba 600 to be able to simply turn it on with our iphone. What would be the simplest way to do this? Do we really need 3 relays as presented here or a simple relay with integrated bluetooth could do - such as this one https://www.amazon.com/Icstation-Channe ... +bluetooth?

Thanks for letting us know.

Jean
JM1010
 
Posts: 1
Joined: April 30th, 2017, 10:06 pm

Re: R3 Roomba control using 5 volt relays

Postby vic7767 » April 30th, 2017, 10:51 pm

The original post was to describe a way to place the Roomba into the Built in Test mode, monitor the diagnostic output and advance to the next test or go back one test at a time. There is no need for 3 relays. What you show will work using an android or iOS app. There are now WIFi modules that could also be installed onto the SCI port and the Open Interface commands sent to the Roomba to perform several operations including the Clean mode, docking, turn on and off different motors, etc.
Roomba and Neato Mods, come visit: http://www.vic7767.com/

http://www.Robot-Doc.com/
User avatar
vic7767
Robot Master
 
Posts: 14284
Joined: January 14th, 2006, 8:31 pm
Location: Haughton Louisiana - USA


Return to Robotic Hacking

Who is online

Users browsing this forum: TechGuy and 392 guests