Posts: 3
Threads: 2
Joined: Feb 2021
Reputation:
0
I am not able to see any readable data from the Uart on the Tinypilot. I have run through all the normal baud rates but only see strings of unreadable characters. i was hoping to see the data in readable form so I can parse the strings and use the values to enable my digital input to my hydraulic steering ( it uses 2 data lines either high or low to control the hydraulic cylinder) Currently I use a joystick to control the cylinder. Any information on this would be greatly appreciated.
Posts: 2,133
Threads: 20
Joined: Jun 2016
Reputation:
63
it is a binary format at 38400
The reason for binary is that the latency is much lower and the data checking better (avoid invalid data) while providing much telemetry at low baud rates while still working at fast rates and enabling long wires. If I had used a text format similar to nmea I would sacrifice something.
I am not completely sure what you are trying to do. Make your own motor controller? You can easily flash motor.ino to a arduino nano, and it will communicate with tinypilot and then you can set this up to do what you like.
Posts: 3
Threads: 2
Joined: Feb 2021
Reputation:
0
2021-02-22, 07:20 PM
(This post was last modified: 2021-02-22, 07:22 PM by Dusty_Dave.)
Thanks for your Replies, I have ordered a couple of Arduino Nano's and will set one up as suggested and go from there. As far as what I am trying to do, I have an existing hydraulic system that uses a digital high on either of 2 pins to control the hydraulic motor (forward/backward). It currently uses an old Atari joystick and works wonderfully but is not an autopilot. Just looking for a simple way to interface Tinypilot to this existing system.