TTL Serial Details
![william chan](https://forums.parallax.com/uploads/userpics/RBTCEMRWP85K/nQFR9OII9OM33.jpg)
I have heard that for Inverted Logic, idle is at low.
Does this mean that the Start Bit for Inverted Logic is high ( logic 0 ) ?
Does this also mean that for True Logic, idle is high? and Start Bit is low ( logic 1) ?
Is the Stop Bit always equal to the idle level?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
Does this mean that the Start Bit for Inverted Logic is high ( logic 0 ) ?
Does this also mean that for True Logic, idle is high? and Start Bit is low ( logic 1) ?
Is the Stop Bit always equal to the idle level?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
Comments
"Ideally", TTL would interface with a MAX232 (or similar), which is an inverter.
So, TTL, in this situation, would have idle a positive, the start bit is 0V, and the stop bit is 0V.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
this one should read (logic 0).
Does this mean that we should use Inverted logic for driving an IR transmission because idle is Low voltage leading to zero LED current? ( we don't want the IR LED to be continuously on when idle ).
To receive such an IR transmission, should the receiver should be True Logic
because most Sharp IR receivers pull the data pin low when receiving a 40Khz IR signal?
I tried this but the receiver kept receiving wrong byte values.....
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my