DIY mechanics and electronics projects

DIY mechanics and electronics projects

Google Search

WebThis site

Buy me a Beer :)

This web page is run by me on my spare time. If you find any of the information useful and worth a couple of bucks, I will be very grateful if you buy me a beer by donating a small amount using the PayPal link below :)

Amount: 

DIY Roomba USB interface cable
DIY Roomba USB interface cable - Connecting to STK500 Print E-mail
User Rating: / 3
PoorBest 
Article Index
DIY Roomba USB interface cable
USB adapter
SCI control software
Connecting to STK500
All Pages

Connecting to the STK500 starter kit

I have for several years used the STK 500 development kit for AVR projects. And for those of you familiar with this kit you know that it have one fully RS232 compliant 9 pin spare connector that can be used by your AVR microcontroller.

You can now use this spare RS232 port to connect your roomba to your PC. Just plug your SCI adapter to the RS232 SPARE pinheader (on the middle of the STK500 by the row of 8 switches) and GND. Note that RxD on the SCI adapter (Roomba data input) must be connected to TxD on the RS232 SPARE connector (PC data out) and similarily SCI TxD to RS232 SPARE RxD. Also connect the GND pin. Under NO circumstance connect the +16V pin to any starterkit pin as this would blow your STK500.

The SCI Device Detect pin can be left unconnected as this one is pulled high internally in the Romba.

Alternatively you can use the STK500 to control the SCI interface from an AVR. Then you just connect the SCI adapter to the IO pins of your AVR. For example if using an ATmega8515, connect SCI TxD to PORTD pin0 (AVR RxD), SCI RxD to PORTD pin1 (AVR TxD), GND to one of the STK500's GND pins. The SCI device detect can be connected to any of the AVRs available IO pins (for example PE0), or be left unconnected. Now you have a Roomba powered by AVR.



Comments

avatar h
0
 
 
wow. That's amazing. It's like a roomba dev kit.
Good work.
I read that roomba 535 and upward models can talk to the wireless command center. So there must be a wireless transceiver inside these. Have you been able talk to them wirelessly.
Maybe they use bluetooth.
B
i
u
Quote
Code
List
List item
URL
Name *
URL
Code   
ChronoComments by Joomla Professional Solutions
Submit Comment
Cancel
B
i
u
Quote
Code
List
List item
URL
Name *
URL
Code   
ChronoComments by Joomla Professional Solutions
Submit Comment


 
 
Joomla 1.5 Templates by Joomlashack