Intermitant Com problem
SixMGuy
Posts: 6
I am working on a low power lighting project. I learned the lesson that these chips do not like 120VAC in the same box. In the process of building a separate lamp driver now. The past few weeks I have been working on the S/W portion of the project and ran into a frustrating problem in that the D40 chip would intermitantly stop communicating with my PC. I have a test program in the EEPROM that works fine. I wonder if anyone else has had this experience. If this is one that I need a new chip, so be it. Thanks.
Comments
A Prop plug (32201) from Parallax would allow you to connect directly to the prop pins for programming and communications if the PC will be close to the propeller. It converts the output from the PC's USB port to 3.3V serial data at the propeller end and is more noise resistant than RS232.
I have a very nice RS232 to RS485 converter that plugs into the RS232 port on the back of a PC and requires a wall wart for power. From there to wherever there is another RS-485 tranciever you should have a nice clean signal and distances can be easily over a mile.
I can use cheap telephone extension cord wire with the RS-485 without any problem.
IOW, RS-485 is more cost effective as well as being technically better.