Is it possible to achieve power switching without any current leak?
I have searched on internet but could not come up with a proper design except for recommendations.I wanted to try something and built my own but this one has current leak probably, because battery runs out when i use the DC power supply. Schematic is very basic, there is a motor works with around 5V. Our DC main source is 5V and 7805 Regulator is regulating 9V battery. Diodes are for blocking short circuits, Led is for indication of which power source is being used and 680µF is for keeping voltage steady while switching and BD240A does the switching.
I have tested this circuit with my home made AT89s52 real time clock(connected 89s52 where motor is placed). Microcontroller did not show any faults(reset/stop). Battery in the other hand did not last as i expected and it run out in few days while working with DC main power. If i were to use a logic state mosfet instead of a BJT power transistor would current leak still be the case?
All type of comments, help and reference are welcome.
BATTERY IS NOT RECHARGEABLE!!