Newbie: need solid output
RLmiller777
Posts: 9
'stamp bs2...
pause 1000
high 6
6 goes to a relay and keeps going off and on. its not a solid ON.
why? and what is the correct code?
thanks in advance.
pause 1000
high 6
6 goes to a relay and keeps going off and on. its not a solid ON.
why? and what is the correct code?
thanks in advance.
Comments
(I'm suspecting a low-resistance one with no flyback diode)
Say on.
Is that you entire code?
PAUSE 1000
wait 1 second
HIGH 6
engage relay
The program will stop here without a repeat.
If the relay is engaging and disengaging, it is probably due the BS2 resetting because of too much of a current draw on the battery.
Could you provide a schematic and the model number of the relay. A picture would help also.
BTW welcome to the forums!
im still learning how to post stuff too. Thanks for any help.
' {$PBASIC 2.5}
PAUSE 1000
DEBUG "Program running",CR
HIGH 6
'PAUSE 600
'LOW 6
END
very simple circuit. I verified that the transistor and the relay is hooked up right. im going thru a transistor to the relay. There is a common ground and separate power supply for the breadboard. The stamp does not work like I thought it should. Right now Im playing with a flip flop since the stamp is not steady.
..
Should have taken this up in "Basic Stamp".
in the commands what is Dir short for ? Directory? Direct?
> sorry to have troubled you.
please tell me where the Newbies are posting dumb questions so i can go there.
What do you mean by "Ive got 6 reading from my meter now"?
No problem with posting here, but for Basic Stamp questions, you're likely to get faster assistance by posting in the Basic Stamp sub-forum.
I do not believe anyone in the Parallax community would ever think of a question as "dumb". The main Parallax Forums page http://forums.parallax.com/forum.php lists each of the Forums by topic and has a short explanation of what each Forum covers. When posting code it is best to use code wrappers. Also, try to be as specific as possible with your question or issue. You will find it is much easier to get a reliable response that way. There are many people here that are willing to help out. I second publison and say welcome.