Hi,
Just to be sure , use a PULL DOWN resistor (10K is fine ) to the GND
Good luck with ur project , sounds fun
Hi,
Just to be sure , use a PULL DOWN resistor (10K is fine ) to the GND
Good luck with ur project , sounds fun
Hi. Thanks for your answer!!!!
Sorry to bother you again, my english is not very good!The resistor to ground will keep the transistor off even if for a tiny lenght of time the pic pin is held high, right?????? (NPN transistor or N channel MOSFET)
Thanks for making it clear!!!!!!!!!!
Manuel
Hi Manuel,
You should check the nuts & volts website as a model rocket launcher was a PIC project I believe early in 2006.
I was looking into building a couple for my grandsons that was fully automatic with an ISD chip providing the countdown over a loud speaker adding the various system checks. I thought of using a relay to prevent accidental ignition. Have it wired normally open until a specific point in the countdown then if the other safety checks were okay then the relay would be switched on enabling launch voltage ready for the count to reach zero.
I was heavy into rocketry as a kid myself! Have fun.
BobK
Hi, Manu
It's a VERY common Pic issue : defining pin states at power up ...
so, it's easy but relatively unknown ...
1) Write your output intial state : PORTx = % 00110010 i.e.
2) Select input or output : TRISx = % 11000001 i.e.
yes ... so simple as this !!!
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Hi
I agree with Acetronics
also this PULL-DOWN will not help if the pin went high for low time ,
this will help to keep your PIN pulled to the ground (NOT FLOOATING) in case the pin was setuped as input or AN .
good luck
After any reset the Pins will be set as input - for you, they will be tristate!
So, add the pull-down-resistor an write a good programm !
PBP 2.50C, MCS+ 3.0.0.5, MPLAB 8, MPASM 5.14, ASIX Presto, PoScope, mE mikroBasic V7.2, PICKIT2
Bookmarks