For the week I wanted to work on a new web page, requirements, and even start coding but this time and effort on the interface board perhaps was too much over two days. I've had the need and luxary of being able to take a break and I've been able to do other things that are valuable (like look for a job more) . Also I was a bit sick but I'm looking to pick back up again. The thing I want to do next is to send the commands through the Linux PC RS-232 port and see a response from the Roomba, and try to get my planning and requirements done, so I can actually start coding.
Photo links:
- Roomba with the interface board in an Vodaphone German SIM card box (to enclose the circuit for electrical protection, looks, and cable connection strain relief)
- Internals of box
- Built an interface board according to specification with the addition of a connector for the DIN 6 cable. This interfaced the 16 Volt battery to power the MAX232 chip. The MAX232 chip converted the TTL data lines to the RS-232 data line voltage levels that were compatible with the RS-232 port on my PC.
- Used a 9V "wall wort" power supply to test the circuit by adding a male DIN 6 connector on it and looping the RX/TX lines as recommended in the book
- Converted the DIN 6 to be compatible with the DIN 7 / 8 ports - by brute force and experimentation
- Downloaded communications software to test the interface board. The Linux PC seemed to show an echo but not the Windows XP PC. I need to get a new cable to diagnose the problem on the XP PC or figure out how to stay with the Linux system.
- The software from the book didn't run on the XP PC as expected but it didn't matter as the RS-232 port didn't seem to echo back anything.
No comments:
Post a Comment