Author Topic: EM parking sensor  (Read 2502 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:-

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:-

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: 558
  • Helpful? 15
  • 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