I've had a few short discussions with kurtE https://forum.pjrc.com/members/36542-KurtE on another forum (hardkernel) about talking to rs485 devices (robotis dynamixel 4 wire servos) with an all in one computer, but because i have a working os for my spider running on a mega i figured i could start with the teensy 3.6 provided i can connect the dots. The previous robot OS uses an rs232 controlled servo board to control the servos so i would only be upgrading the tx modules and creating an rx setup for reading current load/ torque values etc.
But after a great deal of googling (5-6 hours) i am still quite stuck.. I started looking for how to implement it and now i'm wondering whether i can do this with the 4 wire configuration at all???
I have a solid knowledge of software, a good knowledge of c and reasonable understanding of the electronics side of things but i do not at all compare to the regular posters here.
What i know:
* I know there's a transmitter enable feature that should make this easier/possible and wildly reduces complexity
* there's a D+, a D- and a ground pin that i need to use
* i can use code from kurtE to form the control packets, thanks dude, you're a legend
* kurtE and others have had a lot of success in doing this with the half-duplex/ttl/3 wire dynamixel servos
* teensy's are awesome and the 3.6 is next-level awesome
What I don't know/haven't found
* how to wire and the teensy 3.5|3.6 to the D+ and D- pins to the teensy (pullups etc)
* how to utilize the transmit-enable mode and create dual tri-state comms
* how to instantiate a connection that would allow tx of data
* how to listen on the RX side
References:
* https://forum.pjrc.com/threads/3342...-with-Teensy-3-1-without-external-Buffer-chip (aka the 3 wire thread)
* http://forums.trossenrobotics.com/s...Teensy-3-1-without-external-Buffer-chip/page2 (aka the angry thread)
* https://en.wikipedia.org/wiki/RS-485#Full_duplex_operation - very useful wiki on 485
But after a great deal of googling (5-6 hours) i am still quite stuck.. I started looking for how to implement it and now i'm wondering whether i can do this with the 4 wire configuration at all???
I have a solid knowledge of software, a good knowledge of c and reasonable understanding of the electronics side of things but i do not at all compare to the regular posters here.
What i know:
* I know there's a transmitter enable feature that should make this easier/possible and wildly reduces complexity
* there's a D+, a D- and a ground pin that i need to use
* i can use code from kurtE to form the control packets, thanks dude, you're a legend
* kurtE and others have had a lot of success in doing this with the half-duplex/ttl/3 wire dynamixel servos
* teensy's are awesome and the 3.6 is next-level awesome
What I don't know/haven't found
* how to wire and the teensy 3.5|3.6 to the D+ and D- pins to the teensy (pullups etc)
* how to utilize the transmit-enable mode and create dual tri-state comms
* how to instantiate a connection that would allow tx of data
* how to listen on the RX side
References:
* https://forum.pjrc.com/threads/3342...-with-Teensy-3-1-without-external-Buffer-chip (aka the 3 wire thread)
* http://forums.trossenrobotics.com/s...Teensy-3-1-without-external-Buffer-chip/page2 (aka the angry thread)
* https://en.wikipedia.org/wiki/RS-485#Full_duplex_operation - very useful wiki on 485