Pages: [1]   Go Down
Author Topic: TTL Confusion  (Read 992 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 26
Robots love Arduinos
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm confused about what exactly TTL means.  I have a Hagisonic AniBat UltraSonic Sensor HG-M40DAI which returns a positive TTL signal indicating that a ping has been received. It causes a ping to be transmitted by sending a signal on one wire and waits for the response on another wire.

My confusion lies in the fact that whenever I search for TTL, I seem to get  items about TTL and RS-232.

So can I just use two of the Ardino's pins to communicate with the sensor?

The  datasheet for the sensor is at:

http://www.robotshop.us/content/PDF/hagisonic-anibat-data-sheet.pdf
Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 626
Posts: 34170
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

TTL - Transistor Transistor logic.
TTL signals - nominally 0v for logic zero +5V for logic 1.

http://en.wikipedia.org/wiki/Transistor%E2%80%93transistor_logic

Quote
So can I just use two of the Ardino's pins to communicate with the sensor?
Yes
« Last Edit: May 29, 2009, 09:22:23 am by Grumpy_Mike » Logged

Florida
Offline Offline
Full Member
***
Karma: 0
Posts: 112
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

TTL refers to the Transistor-Transistor Logic family.
In the early days, there were also some RTL (Resistor-Transistor) and DTL (Diode-Transistor) logic families.

The TTL logic family was designed for a 5 volt power supply.
A TTL logic zero is anywhere from zero to 0.8 volts, and a logic one is anywhere from to to 5 volts.

The advent of TTL enabled integrated circuit complexity to make a leap from small scale integration (one or two logic gates) to medium scale (a couple dozen gates). This boost in the number of gates per package made TTL very, very popular.

Because of it's early popularity, most succeeding logic families (PMOS, NMOS, CMOS) attempted to be 'TTL Compatible'.

As for whether you can use your Arduinos I/O pins... if you have a 5 volt Arduino then you are in business. If you have a three volt, then you may have to do some voltage level shifting.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 26
Robots love Arduinos
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you both for your reply. I  did read the article in Wikipedia, but found it to be a bit too complex for me. I've gone back to it and now understand it a bit more.  At any rate I can now use the sensor.
Logged

Pages: [1]   Go Up
Jump to: