i have built up an alarm for a car using a L7805, pic 16F84 and 2relays. one relay immobilises the car, the other relay switches the horn on and off as an alarm. a remote reciever arms and disarms the alarm, but the pic runs continuously.
if you hold the horn on for a while, the alarm arms and immobilises the car (which it is programmed to do at first turn-on, which is why i think the pic is being reset) i cant understand this because there is a seperate wire run from the battery to the regulator (i did this because i did have problems using one wire to the regulator and the horn), and the 12v to operate the horn is isolated from the circuit by the relay.
does anyone have a clue as to why this is happening??
if you hold the horn on for a while, the alarm arms and immobilises the car (which it is programmed to do at first turn-on, which is why i think the pic is being reset) i cant understand this because there is a seperate wire run from the battery to the regulator (i did this because i did have problems using one wire to the regulator and the horn), and the 12v to operate the horn is isolated from the circuit by the relay.
does anyone have a clue as to why this is happening??