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!

TX Ultrasound Sensor

Beitragvon Ad2 » 15 Nov 2013, 15: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, 21:14, insgesamt 2-mal geändert.
Ad2
 
Beiträge: 304
Registriert: 31 Okt 2010, 23:20

Re: TX Ultrasound Sensor

Beitragvon vleeuwen » 15 Nov 2013, 16:18

Nice reverse engineering.
vleeuwen
 
Beiträge: 1056
Registriert: 31 Okt 2010, 23:23

Re: TX Ultrasound Sensor

Beitragvon ft-ninja » 15 Nov 2013, 20: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
Benutzeravatar
ft-ninja
 
Beiträge: 95
Registriert: 01 Nov 2010, 15:26
Wohnort: Inner Mongolia


Zurück zu Robo Pro / Computing / Software

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 6 Gäste

cron