Is there a way to get 7volts?
Angela1
Posts: 25
Is there a way to make the Vin pin·operate like a I/O pin?
I want to·make a program that turns the Vin pin·"low" or·"high" like I can do for the p1-10 I/O pins. I need to do this or either increase the voltage of one of the P1-10 pins through a 741 op amp. But the 741 needs a V- and I can't get that part.
Any help would be greatly appreciated!!!
I want to·make a program that turns the Vin pin·"low" or·"high" like I can do for the p1-10 I/O pins. I need to do this or either increase the voltage of one of the P1-10 pins through a 741 op amp. But the 741 needs a V- and I can't get that part.
Any help would be greatly appreciated!!!
Comments
BTW, what do you need the higher voltage for? If it doesn't need to source a lot of current, you could also use a simple open collector transistor inverter.
-Phil
I checked out the datasheet for the LM358 and started grinning. Its exactly what I need. I plan on going to radio shack and getting their·LM324 and LM339 tomorrow (remember to always call them first ). Oh yeah, thanks for confirming that the Vin can't be operated like an I/O pin.
In theory... ... the op amp's output·will be used to power a ~7volt remote receiver (checked with voltmeter).
In theory,·the stamp program turns off and on an I/O pin depending on the ping sensor's readings. Then by using the op amp, the I/O pin's voltage will be increased enough to power the receiver, but if the I/O pin is off then the receiver will turn off too because the voltage isn't high enough... i guess it's a really sloppy dead man's switch for designing a... SECURITY ROBOT!!!!
-Phil
It will drop about a volt from input to output. If the receiver requires a regulated 7V (again, you haven't specified this), you may want to up your supply voltage to 9V or more and add a voltage regulator after the transistor siwtch.
Your first task, however, is to determine exactly what the receiver's power requirements are. This will help in coming up with the correct circuit.
-Phil
Ok, power requirements... well the stamp pin I chose generates 5V, the supply is a 9V battery pack and the receiver is 9V but it was doing ok at above 7V. I tried to find the required current for the receiver but it seems to not be given...
The light flashes when I connect·a·5 volt generating I/O pin to it (I predict it's telling me the power isn't sufficient),·but·it·becomes·fully operational·when ·I connect it directly to the Vin which gave me 9V but I can't turn off and on the Vin like a pin·(why I asked that one question), and with your circuit it produces·enough voltage to keep the light indicator on! but it starts flashing again when I·moved the joystick. So it's right in the middle it seems.
But it resets the voltage to zero which is sweet! Thank you for that.·Could you tell me if I changed·the resistor ratio, will the voltage·increase to supply the receiver? Or should I·use a higher 2nd power supply voltage than a 9V battery in order to increase the output voltage for the receiver? I used one 9V for the stamp board's power supply and another 9V battery as the second battery supply or was I supposed to use the same battery supply? Thanks again.
-Phil
ok you are giving many solutions for his problem but there is one thing i didn't see it yet in all the post above
it is very easy to use electrical contactor (Relay) working with DC volt and there are many types like this and can
work directly from the signal of I/O of Basic stamp, after that use the contacting pins as you wish
i think this is very simple solution and very cheap also
any further information regarding this matter i'm ready
by the way for any electronic circuit you can check (www.4shared.com) or (www.gigapedia.org) you can find many
electronic books, download it and search in it
regards
-Phil
-Phil
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-Phil
-Phil
I would strongly suggest you read the Nuts and Volts column #6. It explains exactly why the diode is there, what it does, and how to change things if needed for different circumstances, etc, etc, etc.
Electronics is part of learning... sure it's great to have a schematic given to you, but it's also great to know how to make that schematic.
Read the mentioned column, if you have any more questions, I'm sure people would be willing to answer them.
Go to this link: www.parallax.com/Portals/0/Downloads/docs/cols/nv/vol1/col/nv6.pdf
In the future you might want to look up other nuts and volts columns... just go to the main parallax webpage, click "resources" tab, then click on the "Nuts and Volts" columns. They are all there for free... they are EXCELLENT learning tools! In fact, so much so that I have downloaded EVERY LAST ONE, and compiled them all into a single PDF. Then when I have a chip I want to play with I will do a search for that chip in the large single PDF. It works great to show me if they have the chip, or if they have a tutorial on the chip.
Knight.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-
This message transmitted with 100% recycled electrons.
-=-=-=-=-=-
Gravity doesn't exist. The Earth sucks.
-=-=-=-=-=-
Make a man a fire, and he will be warm for the night.
Light the man on fire, and he will be warm for the rest of his life.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-