Society of Robots - Robot Forum

Software => Software => Topic started by: treywatson on August 13, 2015, 12:59:01 AM

Title: EM parking sensor
Post by: treywatson 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 (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.  :)

Title: Re: EM parking sensor
Post by: mklrobo 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