what the power cunsumption of my pink module and basic stamp development board(
rakeshakurathi
Posts: 30
hi
my project is all about to control a servo motor through internet , we had pink module and basicstamp (bs2) developtment board ,,,,
hope sooo there is no prob with my code ,but the main problem is my battery getting drained off soo quickly and i can able to move only one servo with 9v duracell battery that to drains off very quickly what is the power consumption of these modules?(pink and basic stamp)
ant other alternative to control my servo motor using pink by using less power supply or else what is the voltage we can apply to the pink
we r afraid of to put more volateg in to that pink
just help me out of this issue
if thsi is not the prob i will put my code here !!!!!
my project is all about to control a servo motor through internet , we had pink module and basicstamp (bs2) developtment board ,,,,
hope sooo there is no prob with my code ,but the main problem is my battery getting drained off soo quickly and i can able to move only one servo with 9v duracell battery that to drains off very quickly what is the power consumption of these modules?(pink and basic stamp)
ant other alternative to control my servo motor using pink by using less power supply or else what is the voltage we can apply to the pink
we r afraid of to put more volateg in to that pink
just help me out of this issue
if thsi is not the prob i will put my code here !!!!!
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Rick
we r using the basic connections given in th manual like 14 to rx
15 to tx
14 to vdd
and 15 to vdd
through the examples we have gained the knowledge to control LED , we r able to put on and off the LED through the net,
but when we r trying to control our servomotors through pink we r unable to do that, while pinging the basic stamp we get as request timed out!!!!!!
we hope it is our battery problem ,so pls tell me what type of battery we should use to to complete our operation or any adapter pls specify if anyyyyy!!!!!!!!!!!!!!!!!
and
->THE PINK module takes care of sending or receiving the packets hope it should have implemented TCP/IP stack with in it
can anybody tell me how it is implemented or the code of TCP/IP stack built in it so that we can try to build it
ReadString:
SERIN RX, Baud, 100, Timeout, [noparse][[/noparse]STR nbvar\20\CLS] ' Get Data With Timeout
RETURN
in the above basic stamp code what iit exactly mean can anyone explain to me
what do number 100 mean exactly and can we have any number in place of that what is the significance of 100 ?
and what is timeout subroutine ?Is it cumpulsory to use time out sub routine and
Timeout:
DEBUG "Communication Timeout!" ' Serial Timeout
END
i am newbie so any one can explain
Please read the PINK manual. It's pretty thorough about what the PINK does and how to do it. It provides a web server and can set HTML variable values from strings supplied by the Stamp using standard asynchronous serial I/O (SERIN and SEROUT) and can provide values from HTML fields to the Stamp also using the serial I/O. The Stamp can send E-mail to an SMTP mail server using the PINK and the PINK has an FTP client for uploading webpages and other related files only. The Stamp has no access to the uploaded files.
Post Edited (Mike Green) : 2/19/2008 5:43:17 AM GMT
This seems to be an efficency issue.
It seems you expected the 9v battery to operate the BasicStamp, the motors, and the PINK. Those little 9v batteries are among the least efficent batteries available. If you are using the NiCad version [noparse][[/noparse]about 600-900mAH], it is even worse. You might consider going to a AA battery pack to more than double your battery life. Alkaline rather than rechargible NiMH or NiCAD will last 2 or 3 times longer.
Durablity is a whole seperate topic. But in general, it is easier to make things more rugged than it is to rebuild a weak design. For instance, use 2N2222 transistors even though you·can get by with 2N3906 transistors. Why so, it takes 2 or 3 times more current to damage the device. The efficency is nominally the same, so is the package size.
Also, though it may seem silly,·I put a 1-1.5 amp [noparse][[/noparse]1000-1500ma] fuse on my power supply to avoid serious damage from my more stupid mistakes when experimenting. I've blown quite a few, but still have all my Stamps in good conditon.
I hope this helps you get the kind of design you really want.· Of course, if the project is not mobile; you could use an AC to 9V DC·wall wart and it would likely operate fine.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PLEASE CONSIDER the following:
Do you want a quickly operational black box solution or the knowledge included therein?······
Post Edited (Kramer) : 2/19/2008 11:55:18 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Rick
i have some doubts using pink module we can change variable of pink using html pages and by post method we can notify the changes
as shown
html>
<form method="post" action="test.htm"
<p>
What value would you like to store in variable 01?
<input name="Nb_var01" type="text" maxlength="64">
<input type="submit" value="Accept">
</p>
</form>
</html>
my requirement is basic stamp (bs2)should check for input pin 10 and if it is high it should inform the user that ur input pin is high
can we make this sort of action may be writing or changing any other variables of pink module
i hope i had coveyed my message properly
The Stamp can change the value of any of a large number of variables in the PINK and it can request the PINK to send the current value of a PINK variable. With ordinary programming, a Stamp could copy the state of an I/O pin to a PINK variable, probably as often as a hundred times a second and/or it could copy the value of a PINK variable to an I/O pin.
The PINK uses the variables to make up its web page or pages and can update the value of the variables using the HTML post method.
Since you began by talking about controlling a servo, the Stamp and PINK together can do that. The PINK provides a variable value to the Stamp in the form of a character string which the Stamp converts to a number (using a SERIN statement) and uses that number to generate a control pulse for the servo.
sorry for not coveying u my message properly ..... lets forget that thing i got a new prob
i can control one servo efficiently through a browser and my pink
but when i write to control the program to control two servos pink module is reseting itself i dono know what the problem
actually i tried to change the variable NB_var01
Nb_var01 = 98 for straight moving of my boe-bot
Nb_var01 = 88 for coming back
Nb_var01 = 78 for stoping
i can move only one servo efficently and if i try to power both of my servos i my pink module is reseting it self and showing th e default value for Nbvar_01 (1)
Are you still using a 9volt battery for everything?
In sum, you have to provide:
1. The right voltage to each device.
The PINK needs 5v regulated, the BasicStamp needs 7.5v or more unregulated, and the Servos can use 5 to 6 volts [noparse][[/noparse]but not over 7.2 volts].
2. Each has its own power requirements.
You could actually need 2 or 3 amps to get everything running right. The BasicStamp is probably using the least power, but it depends on which Stamp you are using, the PINK needs 250ma, and the Servos can be the most demanding if the motor is stalled or in continous use.
It is usually better to provide a separate power source for the Servos as the voltage is a bit different and if they use too much power, it won't reset the other circuits. You can have them share a common ground at one connection.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PLEASE CONSIDER the following:
Do you want a quickly operational black box solution or the knowledge included therein?······
we have tried giving servos different power supplies from another boe-bot but we r unable to control or even move the bot
no movement at all what to do
to work every thing fine i mean (pink ,basicstamp(bs2),servos) what is the power supply we have to use
we r know using dc adptaer(5v dc suuply and 200ma )
we came to hear that for 9v adapter current generated will be 200ma only ?
It is hard to give exact numbers because peak use will be higher than minimal use. And motors vary greatly depending on the load condition. As I said before, I think you may need 2000ma. This might be be done with 1500ma 6vDC to the servos and 500ma 7.5 VDC to 9 VDC to the BasicStamp. The PINK will get 5VDC from the BasicStamp.
With two separate power supplies, the servos MUST share a common ground connection in order to recieve the 5v signal from the BasicStamp.· In other words, if there is no ground connection, nothing will move.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PLEASE CONSIDER the following:
Do you want a quickly operational black box solution or the knowledge included therein?······