Reverse Engineering & Upgrading Car Parking Sensors

by boraciner in Circuits > Arduino

3235 Views, 12 Favorites, 0 Comments

Reverse Engineering & Upgrading Car Parking Sensors

Capture.PNG

This instructable shows you to understand reverse engineering, analysing data and developing new product with these information.

Finding Out Pinouts

HTB1IgVtXlY85uJjSZPcq6yGGpXa1.jpg

In order to understand working principle of parking sensor, I needed to specify correct data pin. Then I measured voltage levels with multimeter and saw that there is 3-pin connection between Display unit and main unit, 4th cable is not working which are:

  • GND - BLACK
  • VCC - RED
  • DATA - WHITE

I connected black one with ground and white one to Channel 1 of logic analyser.

Connecting Logic Analyzer & Exploring Working Principle

IMG-20180514-WA0011.jpg
IMG-20180521-WA0006.JPG
asdf.PNG

After working for a week on understanding the meaning of bits, I found out that the first byte represents distance in a form of inverse of each bit, following 4 bits are sensor id and last 4 bits are stop bits.

Adding a New "Speech" Future With Using Arduino & Serial Mp3 Player Module

HTB1TuoARVXXXXXBXFXXq6xXFXXXU.jpg
HTB11nPYOpXXXXbOapXXq6xXFXXXN.jpg

I measured the durations of Start Signal, logical 1 and logical 0 in micro seconds. It helped me to split them into these three forms. Also I connected the data bus to arduino nano interrupt pin (D2).

After I extracted the data, I wrote a program that can sends command to serial mp3 player via uart. I used softwareserial D8 D9 on arduino.

Arduino Nano link is here

Mp3 module link is here

Arduino Nano Code is in the attachment

Downloads

File Paths in Microsd Card (Mp3 Player)

files-and-folders-in-filing-cabinet.png
  • 01\001.mp3 --> its welcome message

when you switch your car into reverse gear, you will meet with this.

the other files are like :

  • 01\002.mp3 --> 10-20 cm.
  • 01\003.mp3 --> 20-30 cm.
  • 01\004.mp3 --> 30-40 cm.
  • 01\005.mp3 --> 40-50 cm.
  • 01\006.mp3 --> 50-60 cm.
  • ...
  • .....

Designing the Circuit and PCB

ss1.PNG
12.PNG
11.PNG
13.PNG

I used www.easyeda.com to design my circuit and produce its pcb.

you can access my project from here

Ordering the JST XH Connectors and Speaker

HTB1o67gLXXXXXXnXVXXq6xXFXXX4.jpg
HTB12DA5MVXXXXXeXpXXq6xXFXXX2.jpg

In order to use the same connectors of parking sensor I ordered 2.5 4-pin 3S1P Balance Charger Silicon Cable Wire JST XH Connector Adapter Plug from this link and a speaker from this link

Final Part : Soldering PCB

DSC_0393.JPG
DSC_0394.JPG
DSC_0397.JPG
DSC_0398.JPG
DSC_0400.JPG

It works perfectly! :)