Follow @TheRoomba on Twitter to see what mine is doing!
Remove these ads by
Signing UpStep 1: Needed Parts and Tools
- 1x - Small signal, low power PNP transistor (I used a 2N2907A (may also be known as NTE159))
- 1x - 8-Pin mini DIN male connector
- 1x - 7805 5V voltage regulator
- 1x - Solderless breadboard
- 1x - Arduino board
- 1x - Sparkfun WiFly Arduino shield
- Row of five or more male pin headers
- A short piece of Cat5 cable or similar wire (Cat5 is 24 AWG)
- And last but certainly not least, a Roomba*
Tools:
- Soldering iron
- Small scissors
- Third hand
- Hot glue gun
- Multimeter
Assumptions:
- For the purpose of this Instructable, I am going to be assuming that you have a basic knowledge of basic electronics, the Arduino and the Arduino's programming language.
*I have only tested this with the 500 Series. However, it should work with newer models, but I am not sure about older models.











































Visit Our Store »
Go Pro Today »




1) It is not always a connection is established with the Roomba.
2) WEB interface displays the information is not correct.
3) Control in WEB interface does not work.
The scheme is valid because the data is still being received. Transfer rate the same is true.
Please help me!
Propose to introduce a management DDpin. It would be great to transfer data exchange interface for softserial, and USB Arduino output debug information.
I doubt you would get much from serial debugging; it isn't a software problem as you consistently have access to the web interface. But you can try it. The SoftwareSerial is pretty compatible with the Serial library, if it is fast enough.
I know I have said this before, but please check your link cable thoroughly. You could also try making few jumpers out of lengths of Cat5 and make the links individually. This will eliminate a large portion of possible problems.
However, sometimes the fee freezes and green LED stops flashing and constant light.
Is it possible to learn the meaning of the flashing LEDs?
Are there any plans expansion WEB interface?
I know that the data rate my Roomba 115200.
I know exactly what data is coming.
Web interface works but no data. I tried everythin
I still problemmy.
The program compiles without errors. Appears WEB interface where all the zeros, and nothing works.
It is also very much like the version for 400 series.
"To control the Roomba over the network, simply enter the IP address you assigned to the WiFly into you browser's address bar and voila!" There will be directional controls on the resulting webpage?
I never added manual control, just start, stop, and dock. I have recently considered returning to this project and adding a few features (like manual driving), but haven't yet.
In file included from Twittering_Roomba.cpp:1:
C:\arduino-0022\libraries\Twitter/Twitter.h:21:22: error: Ethernet.h: No such file or directory
C:\arduino-0022\libraries\Twitter/Twitter.h:23:25: error: EthernetDNS.h: No such file or directory
In file included from Twittering_Roomba.cpp:1:
C:\arduino-0022\libraries\Twitter/Twitter.h:33: error: 'Client' does not name a type
In file included from Twittering_Roomba.pde:1:
C:\arduino-1.0.4\libraries\Twitter/Twitter.h:35: error: 'EthernetClient' does not name a type
IDE 1.0.4
In file included from Twittering_Roomba.pde:1:
C:\arduino-1.0.4\libraries\Twitter/Twitter.h:35: error: 'EthernetClient' does not name a type
In file included from C:\arduino-1.0.4\libraries\WiFly/WiFly.h:4,
from Twittering_Roomba.pde:4:
C:\arduino-1.0.4\libraries\WiFly/SpiUart.h:62: error: conflicting return type specified for 'virtual void SpiUartDevice::write(byte)'
C:\arduino-1.0.4\hardware\arduino\cores\arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'
In file included from C:\arduino-1.0.4\libraries\WiFly/WiFly.h:8,
from Twittering_Roomba.pde:4:
C:\arduino-1.0.4\libraries\WiFly/Client.h:21: error: conflicting return type specified for 'virtual void Client::write(byte)'
C:\arduino-1.0.4\hardware\arduino\cores\arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'
C:\arduino-1.0.4\libraries\WiFly/Client.h:23: error: conflicting return type specified for 'virtual void Client::write(const uint8_t*, size_t)'
C:\arduino-1.0.4\hardware\arduino\cores\arduino/Print.h:53: error: overriding 'virtual size_t Print::write(const uint8_t*, size_t)'
In file included from Twittering_Roomba.pde:1:
C:\arduino-1.0.4\libraries\Twitter/Twitter.h:35: error: 'EthernetClient' does not name a type
In file included from C:\arduino-1.0.4\libraries\WiFly/WiFly.h:4,
from Twittering_Roomba.pde:4:
C:\arduino-1.0.4\libraries\WiFly/SpiUart.h:62: error: conflicting return type specified for 'virtual void SpiUartDevice::write(byte)'
C:\arduino-1.0.4\hardware\arduino\cores\arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'
In file included from C:\arduino-1.0.4\libraries\WiFly/WiFly.h:8,
from Twittering_Roomba.pde:4:
C:\arduino-1.0.4\libraries\WiFly/Client.h:21: error: conflicting return type specified for 'virtual void Client::write(byte)'
C:\arduino-1.0.4\hardware\arduino\cores\arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'
C:\arduino-1.0.4\libraries\WiFly/Client.h:23: error: conflicting return type specified for 'virtual void Client::write(const uint8_t*, size_t)'
C:\arduino-1.0.4\hardware\arduino\cores\arduino/Print.h:53: error: overriding 'virtual size_t Print::write(const uint8_t*, size_t)'
When I ran in to this problem, I think the only needed fix was updating the library, but if you still have problems, I'll take a look at my code.
I made this cable but haven't tested it yet. Is the pin out supposed to be for the male end (cable) or the female end (roomba serial port)?
I hope this was helpful.
http://www.robotappstore.com/Knowledge-Base/3-Serial-Port-Baud-Rate-Configuration/17.html
what's nice with the roomba - is that you can program via any type of language you want - as long as your program ultimately sends the proper serial commands down to the roomba.
Cool project - :)
Why not doing that with code? (like .Net, or Java...)
It seems much easier when you are connected to a computer.
(check out this Roomba Programming guide for .Net for more details)
No burglar would suspect that. A dog\s eye view... haha
http://mghdesigns.com/index.php?main_page=product_info&products_id=1
Or, and a word of caution, perhaps: there is a whole bunch of non-standard 7, 8 and 9 pin plugs out there, usually from power supplies of all sorts, that look like Mini-DINs but aren't.