I am currently working on a project using the uno 3 and attiny85 to run a starship model effects. I want to use a PIR motion sensor to turn on the circuit to these controllers but I want to keep the parts to bare minimum as I am trying to keep the circuit board size down. If anyone has any ideas or suggestions to this your input would be greatly appreciated. Thanks!
Here is a screen shot of my project currently. The power is the concern, everything is good at this point.
PL2 and PL5 are battery connections with pin4 of PL5 being the final ground. While PL4 is where the PIR sensors will be connected by a wiring harness.
What will be the power for the PIR sensor?
Will the PIR sensor switch the mains power on and off?
Same power source as the uno, and yes... to the main circuit. I could just be over thinking it, lol.
Diagram from post#4 won't work.
The fet as source follower will have "3.3volt - Vgs(th)" on it's source.
That could be as low as 2volt on the RAW pin.
Leo..
For very little $ you can go to a local home improvement store and get a PIR that already switches the mains to a light.Replace the light bulb with the connection to your Arduino system power and you are rolling!
yeh, i had doubt already, Sig maybe gives 5V voltage but it generate no voltage between Gate and Source
I was originally considering a pcb relay to trigger power on. then I decided to look at other possibilities such as the MOSFET or even an ATtiny85. I have to double check my PIR. it may have a jumper to switch to either high or low signal output. Like I said earlier, probably over thinking it
Maybe I should explain circuit a little bit. The front part of the circuit is power...I will be using two 5V 1400 mAH rechargeable LiPo batteries in series to supply the high and low sides of the circuit- 5V to the two microprocessors and 10V to an audio circuit which hasn't been completely drawn in yet.
Then there are two headers for all the peripheral components not seen in the circuit-one 4 pin header for PIR sensors and then a second header to drive the lighting and audio. The second MOSFET will drive the audio part of the circuit which will also have a SD card reader to supply the audio library.
The ATmega will supply the code to run the majority of the LEDs and SD card reader, the ATtiny will have the code for running the remainder of the LEDs.
There is some coding and discrete components I have not gotten to yet and that is for the audio control and certain parts of the lightning.
There are a series of videos on YouTube for the majority of this circuit called Arduino for Starships. His circuit is for the Enterprise Refit and has to physically power up his circuit. He also has to use push buttons to activate the phasers, photon torpedoes and switch between impulse and warp drive (these are the parts where I want to automate everything, PIR sensors to turn the circuit on and coding to operate the weapons and engines). I will be using blue LED light strips in the warp nacelles to simulate and visualize the warp drive being engaged (even though the original TOS Enterprise warp vents were not lit up).
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.