![]() |
DIO to read SIO
Anyone have a class or sample code to read a serial IO sensor via the digital side car IOs?
|
Re: DIO to read SIO
You'll need to give a lot more information than that if you want helpful advice. What kind of sensor is it, and what kind of serial I/O does it use? A pointer to a data sheet would be good.
|
Re: DIO to read SIO
he he. I suppose your right. The one in question is a gps unit with built in compass. It uses Asynchronous TTL level at 4800bps, 8 data bits, no parity, 1 stop bit, non inverted. All in a single pin parked SIO. It has an adapter that converts regular serial, to this single pin async ttl serial. I can communicate with this no problem without the adapter with the CRIOs serial port. But then came the idea to use 2 of them. One on the turret and one on the main frame of the robot. Our last thought was to use the cypress board to read the heading and pass it in through the DIO as a binary number.
|
Re: DIO to read SIO
Quote:
|
Re: DIO to read SIO
Quote:
Using the cypress board in between will work. I just wondered is anyone had a class to do serial ttl via the DIO. |
Re: DIO to read SIO
Quote:
|
| All times are GMT -5. The time now is 17:39. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi