TX Ultrasound Sensor

Alles rund um TX(T) und RoboPro, mit ft-Hard- und Software
Computing using original ft hard- and software
Forumsregeln
Bitte beachte die Forumsregeln!
Antworten
Ad2
Beiträge: 306
Registriert: 31 Okt 2010, 22:20

TX Ultrasound Sensor

Beitrag von Ad2 » 15 Nov 2013, 14:01

Since we have access to the I2C interface now, other interfaces are becoming less interesting,
nevertheless I have taken a look at the TX ultrasound sensor.

It appears that the digital Ultrasound interface is an interrogating system.
When no sensor is connected and the input is in ultrasonic mode, the input is 0V.
When the sensor is connected it rises to about 5V.
At regular intervals the input rises to 10V and subsequently shows a pulse to 0V of approx. 77us.
It is believed that this is the trigger for the sensor to give a reply during the rest of the 10V
period, which may indicate that the sensor is open collector.
It is further believed that the 77us pulse is in fact an asynchronous transmission of 8 bits, no
parity and 1 stop bit containing 00H as data, at 115200 baud.
When the sensor replies, which it not always does, it replies after approx. 100us with two bytes, the first byte always has
its MSB set while the second byte always has its MSB clear. The 7 LSB of the second byte (as LSBs)
together with the 3 LSB of the first byte (as MSBs) form the 10 bit word which is seen as input
value in the TX controller. The purpose of the other 4 bits in the first byte is still unknown.

I do not have a circuit yet to test it out but I already want to share this information.
Zuletzt geändert von Ad2 am 15 Nov 2013, 20:14, insgesamt 2-mal geändert.

vleeuwen
Beiträge: 1564
Registriert: 31 Okt 2010, 22:23
Wohnort: Enschede (NL)
Kontaktdaten:

Re: TX Ultrasound Sensor

Beitrag von vleeuwen » 15 Nov 2013, 15:18

Nice reverse engineering.

Benutzeravatar
ft-ninja
Beiträge: 113
Registriert: 01 Nov 2010, 14:26
Wohnort: Inner Mongolia
Kontaktdaten:

Re: TX Ultrasound Sensor

Beitrag von ft-ninja » 15 Nov 2013, 19:23

Hello folks,

May be following pictures could help to illustrate previous post from Ad2. Test config as following:
- Ultrasonic Sensor connected to I5
- Distance to object: 20 cm

Bild

Bild

Bild
==
ft-ninja

Antworten