Author Topic: EM parking sensor  (Read 1209 times)

0 Members and 1 Guest are viewing this topic.

Offline treywatsonTopic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 1
EM parking sensor
« on: August 13, 2015, 12:59:01 AM »
I have been trying to figure out the algorithm/c code for an EM parking sensor:-

http://www.amazon.com/HAMSWAN-Electromagnetic-Parking-Sensors-Assistance/dp/B00M1LIK76

I also have a sample with me which i opened and found out Atmel at89c2051 with a lm393 comparator on it. How to interface the comparator with the microcontroller? Or Is there a way to extract the code from the IC?

Pins used are:-
20-vcc,
10-gnd,
9-P3.5-T1,
8-p3.4-T0,
6-p3.2-INT0,
5-xtal1,
4-xtal2,
1-vpp

the comparator appears to be connected to T1. INT0 and T0 are shorted.I badly need any help possible.  :'(

Any sort of assistance is appreciated.  :)

« Last Edit: August 14, 2015, 01:23:59 AM by treywatson »

Offline mklrobo

  • Supreme Robot
  • *****
  • Posts: 516
  • Helpful? 14
  • From Dream to Design at the speed of Imagination!
Re: EM parking sensor
« Reply #1 on: August 18, 2015, 02:49:10 PM »
 ;D Hello!
Insofaras programming the Atmel, I am still working on that.  :'(
However, I have learned that you can extract info from the MCU, if the
"fuses" are not "set"; of the MCU is not "locked". These features are
available to be looked at in the AVR studio software. The documentation
for this is buried in the help section. If none of these options were
used, you may have a chance at securing the code. A great opportunity to learn!
 ;D ;D ;D

 


Get Your Ad Here

data_list