Hi
I am trying to implement a simple home intrusion detection project.
I have done all my work on general purpose PCB,7805 as voltage regulator,used AT89s52 controller, AC-PG-USBASP USBASP AVR Programmer,reed switch as sensor.
Everything works fine as long as i use the programmer to power the board.
But as soon as i connect 6V 500mA power adapter to the board, it starts behaving randomly. It works sometimes and sometimes misses the key detection (which is on interrupt 0 pin). I need to press it twice or thrice. sometimes it just starts buzzing on its own. while sometime all LED's go hay vary on change of state(reed switch).
What i was able to conclude that its probably my adapter is providing excess supply to the board then needed hence everything is behaving randomly.
Please help me out here, because in my opinion 7805 should smooth out everything for board,right?
PS:- I have attached the schematic in image form.
I am trying to implement a simple home intrusion detection project.
I have done all my work on general purpose PCB,7805 as voltage regulator,used AT89s52 controller, AC-PG-USBASP USBASP AVR Programmer,reed switch as sensor.
Everything works fine as long as i use the programmer to power the board.
But as soon as i connect 6V 500mA power adapter to the board, it starts behaving randomly. It works sometimes and sometimes misses the key detection (which is on interrupt 0 pin). I need to press it twice or thrice. sometimes it just starts buzzing on its own. while sometime all LED's go hay vary on change of state(reed switch).
What i was able to conclude that its probably my adapter is providing excess supply to the board then needed hence everything is behaving randomly.
Please help me out here, because in my opinion 7805 should smooth out everything for board,right?
PS:- I have attached the schematic in image form.
Attachments
-
230.6 KB Views: 36