Hi all
i am enclosing a pdf with the schematics for my questions. The drawing is about to control the 2 sensors with a PIC. I am not sure if my electronics disign is the proper one. What is incuded there:
A power supply (LM317T) with 2 outputs of 5v and 1.4v (which applied when the RD5 goes high, for MQ7). The sensors and the 2n3906 which controlling the sensors separately.
what i try to achieve: I monitor the air quality. This drawing is a part of bigger project and because of that i don't want to have the PIC microcontroller on power all time. So i decide to turn off the sensors as other modules also and activate when i want to get a measurement few times during the day.
My questions as follows:
1.If this is going to work at all.
2.If the 2n3906 schematic is correct and mostly if the base resistor is calculated correct(Not including calculations to be easy)?
3.The 2n3906 needs a pullup resistor to +5v?
4.Any suggestion for a better way to do it or improve the existing.
For convinience from 2n3906 datasheet the sensors each one pulls 100mA,power supply to them is 5v,hfe 30 and Vbe(sat)min 0.65 to 0.95 @50mA.
thanks
i am enclosing a pdf with the schematics for my questions. The drawing is about to control the 2 sensors with a PIC. I am not sure if my electronics disign is the proper one. What is incuded there:
A power supply (LM317T) with 2 outputs of 5v and 1.4v (which applied when the RD5 goes high, for MQ7). The sensors and the 2n3906 which controlling the sensors separately.
what i try to achieve: I monitor the air quality. This drawing is a part of bigger project and because of that i don't want to have the PIC microcontroller on power all time. So i decide to turn off the sensors as other modules also and activate when i want to get a measurement few times during the day.
My questions as follows:
1.If this is going to work at all.
2.If the 2n3906 schematic is correct and mostly if the base resistor is calculated correct(Not including calculations to be easy)?
3.The 2n3906 needs a pullup resistor to +5v?
4.Any suggestion for a better way to do it or improve the existing.
For convinience from 2n3906 datasheet the sensors each one pulls 100mA,power supply to them is 5v,hfe 30 and Vbe(sat)min 0.65 to 0.95 @50mA.
thanks
Attachments
-
50.9 KB Views: 11