Decoding an ultrasonic parking aid unit.


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2004
    Posts
    448

    Default Decoding an ultrasonic parking aid unit.

    Hi,

    Rcecently, I purchased a car reversing/parking aid like this http://www.ebay.in/itm/ws/eBayISAPI....:PPOPN:IN:1123

    It consists of 3 components; the display unit (gives the distance to the obstacle in meters, and on an LED bar), the 4 ultrasonic sensors and the main control unit into which you plug the display, and the sensors.

    The signal from the main controller to the display is carried over a single wire serially. So, it carries data for all 4 sensors.

    I presume it would have a sensor label/ID and the reading.

    Each of these packets looks like the screen grab I got by using the Pickit2 logic tool. And, I believe each would have adresses AND the distance data for all 4 senors.

    Now, neither the bit width, nor the space between the bits is constant. So, I couldnt use the Pulsin to grab the data. I thought an

    RC5 / Manchester kind of an algorithm would work. BUT, the problem is, the minimum bit width, which is typically 100us, in reality varies between 100 to 140 us within the same frame, for different bits. As a result of which, I do not get consistent data, even when there are no sensors attached.

    Has anybody played around with these before? Any suggestions on how to decode this packet, despite the variance in the bit widths?

    I have seen some hack articles for parking units on the internet, but the most elaborate one I saw used a different protocol altogether.

    Regards,

    Anand
    Name:  2013-01-18_222741.jpg
Views: 863
Size:  91.6 KB

  2. #2
    Join Date
    Oct 2004
    Posts
    448


    Did you find this post helpful? Yes | No

    Default Re: Decoding an ultrasonic parking aid unit.

    Okay, some more work done shows I was wrong about the data format. Each frame in fact contains the sensorID (0 to 3) and the reading indicating distance to object. Works quite well, easy enough to decode.

    My question is, can this type of an ultrasonic trasducer ( https://www.google.co.in/search?q=au...ient=firefox-a ) be used in an 24x7 application? In its native purpose, it would be used just a couple seconds each day. Would the transducer degrade/fail if its pinging all the time?

  3. #3
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default Re: Decoding an ultrasonic parking aid unit.

    That's a question best asked of the manufacturer.

Similar Threads

  1. Replies: 2
    Last Post: - 28th June 2011, 05:14
  2. Communication with Car central display unit
    By wellyboot in forum Serial
    Replies: 2
    Last Post: - 19th October 2008, 08:17
  3. Unit conversion tool
    By Ioannis in forum Off Topic
    Replies: 7
    Last Post: - 27th January 2007, 18:39
  4. ultrasonic sensor
    By PoTeToJB in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 9th May 2006, 20:26
  5. Bluetooth GPS unit
    By lester in forum Adverts
    Replies: 0
    Last Post: - 20th August 2005, 08:58

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts