help colorpal sensor
solvognen
Posts: 3
hi everyone,
I have a colorpal 28380 sensor and I want to communicate with AT89C52 microcontroller. how can I do this please help immidiately ...
I have a colorpal 28380 sensor and I want to communicate with AT89C52 microcontroller. how can I do this please help immidiately ...
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
1. The ColorPAL uses a single serial I/O line with an open-drain protocol at a baudrate between 2400 and 7200 baud.
2. The AT89C52 has a full-duplex UART with separate TxD and RxD pins.
3. If you want to use the 'C52's UART instead of bit-banging the serial I/O on a single pin, you can use the following circuit:
4. Anything transmitted by the UART with the above circuit will also be received by it and must be discarded, unless you can disable the receiver during transmission.
5. I've never used the AT89C52, so this is about all the help I can offer on that side of the cable.
Good luck with your project! I know you'll get it to work.
-Phil
_
when we are sending caracters what protocol should we use? what are the start and stop bits? thanks...
-Phil
Please do not "cross post". It is against forum rules. If you are not getting the answers you would like in one message thread or forum, do not ask the same question in a different thread or forum. You will not get a better answer or a faster answer. The rules for these forums can be found in the "Announcements" area under "Forum Guidelines".