Bot board ii + basic stamp 2ic

name VAR word .

that’s what Ill be using:). ill keep reading try to fix the code you gived me and if I get stuck Ill ask, but 1st I want to give it a go.

BTW i just read the servos section on lynxmotion and it says that my servo model needs a max voltage of 6Vdc.

I put 6.9Vdc in it…won’t it get burned? plz tell me “no”…

cuz I didn`t read anything about a voltage regulator beeing used for the servos and I picked the VS source not the VL wich is regulated.

Servos will work at 4.8 to 7.2vdc. I know this from experience. Some servos will get a little jittery at higher voltages. Servos have more power with more voltage. Technically the lifetime of the servo is shortened a bit at higher voltages. But to answer your question the smoke does not come out rapidly until around 11vdc. Your 6.9vdc is just fine. Don’t freak out about it.

“burned”… probably not immediatly… your power supply will probably die before they do… but it’s not real healthy for the servos either.

do you have a r/c hobby shop locally where you can just grab an RX pack (usually 4 nicd/nimh in series) and a cheapo charger?

you could also use (3) alkaline “D” cells in series… note that (4) might be too much volts when freshly/first installed. for what you are doing the “D” cells would probably last nearly the 5 days… duracells are like 18,000mahr… energizer more like 15,000mahr.

just throwing out suggestions. :confused:

lol… robodude and I have different thresholds of pain for what’s healthy on servos. :laughing:

Thanks!

I’m a little worried…since I don`t have much info or knowledge about this…

I got the servos moving xD

temp1 VAR Word
temp2 VAR Word
x VAR Byte

this is how I allocated the vars and they …move

now I`ll just start experimenting till tomorrow morning and afterwards I might get busy with the hardware part.

I`ll let you know how it turns out, and if I succeed will post some pictures.

Thank you all for your help!!!

Glad you got it going! 8)

Well it’s not as bad as it might look. There are a couple ways of looking at the term “voltage” in this context. When referencing batteries a 6.0vdc battery will actually be 7.1vdc right off the charger. Of course this will drop as it’s being used. But it’s going to be higher than the rated 6.0vdc for a good while. A regulated wall pack voltage should be much closer to the rated value, and not vary much.

Normally I stick to the 6.0vdc limit rigidly, but there are situations where higher voltages are not a major problem. Because this is not a project with a bunch of digital servos supporting a great deal of weight. (The tripod robot videos on youtube use low end analog servos and don’t appear to be supporting a great deal of weight.) The little amount of power consumed by the servo will allow the use of 6.9vdc. In fact we used to include 7.2vdc batteries in the old H2 12 servo walker kits. The 422 servos handled the higher voltage just fine. I miss that kit. :cry:

1st when I read about D-cell battery and looked it on google (in our country it has a different name…smt like R12) thought it was 2 much, but now I see why you recommend it. It’ has the same voltage as regular AA
Batteries and rechargables (1.5 / 1.2V), only that they last longer…from 2400mah to 12000mah, so my robot (soon 2 be) won’t get dry so fast.

Thanks guys! didnt know about this... Im gonna go check tomorrow for some D cell rechargables and a charger …hope they are cheap.

found some GP Dcells for 5000mah…that’s what it says on webpage…

will look more into it.

Hold on a second :exclamation:

I did not realize you were not US based so forgive my using the dumbed down name for cell size. What I am referring to are alkaline primary cells such as this (being 34mm dia x 61.5mm long) which are not rechargable. This type of battery is an off the shelf commodity item (in the US at least) used for toys and radios. So the idea behind my suggestion was along the lines that you could run down to the local Radio Shack (actually in most cities here in the US) to buy a 3-cell holder and some relatively cheap disposable batteries that should get you through to your deadline.

:arrow_right: A rechargable battery, either NiCd or NiMH, will need at least 4 cells since they have a lower operating voltage (1.2V) than non-rechargable Alkaline or Carbon-Zinc chemistry cells (1.5V). Both chemistries tend to be somewhat higher than their rated voltage when fresh out of the charger or the plastic package.

Actually if RobotDude is comforatable with running the servos above 6V then you could probably get away with 4 Alkaline primary cells too.

oh yeah, I believe the IEC designation for what US calls a “D” cell is “LR20”.

yeah, sorry about that. I`m from romania.

Found some rechargable D-cells on the web (MAHA POWERMAX) or smt like that, but I don’t think that rechargable Dcell have reached Romania yet…we don’t even got AAA (i got mine from busted phones)…only AA are available.

I`m more of a conservative person and always want the economic & practical solution. Regular dcells will run out, afterwards ill have to buy some more (after my asignment is over ill keep working on robots and programming them)…so the best solution for me is rechargables/reusables or just using a transformer, put a longer wire and use that.

now I`m looking on the web on how a AC adapter is made, simillar to the leightweighted ones that cell phones use (220AC - > 6V, 2amps)…i know they are pure electronic, but I think they are easier to make since they use electronics and programming and not hard to make spiral coils with ferous cores which i can’t get a hand on. Romania, is still working on it’s IT evolution so you have to get by with what you can find.

Also talked to my teacher and he gave me 2 more weeks to complete my project. He also said that if that a TRI-pod is 2 hard he`ll let me make a 4legged one, but after I put some sweat in the 3pod so I don’t look like a fast quitter xD.

quite frankly I got stuck with the tri-pod for beeing a slacker, all my class picked the robot models before me, so they got a whole bunch to choose from (easy ones…2 legs/4legs/hexa …), but if war of the worlds can make them, so can I xD.

this weekend im gonna keep working on the programming so that I can control the servos 1 at a time, time separated moves, 2 at a time…more control in one word.

BTW, Robot Dude I finally figured it out where you got your signature from…it’s star wars xD very funny (it was very familiar, but didn’t know where I heard it before).

I’ve hit a wall.

I`m trying to make the servos go a little more than in your program example.

i’ve checked the specs on the webpage and it says “Range = 140° (180° capable after programming with DSP-01)

now I take it that 140 degrees means 70dg CCW 0dg center and 70dg CW.

the programming with DSP-01 for 180dg I take it you stick the servo in a programmer and toy with it a little so it will be capable of a much freer angle, but I`ll try to make do with what I have.

In your code example you put 500 for 45dg CCW, 750 for 0dg center and 1000 for 45dg CW.

using basic arythmetics I take it that 45dg is 250 pulses, so for my 25 extra dg to reach 70dg I would use 250 pulses for 75degrees CCW and 1250 pulses for 70degrees CW.

correct me if Im wrong (Im sure I am).

if you could point me to some info that would allow me to calculate how many pulses i need to throw at it for a specific angle, it would be sweal.

I’ve read the specs on the servo but I can’t make heads or tails of it "

operating angle : :45 /ONE SIDE PULSE TRAVELING 400usec"

“direction : :CLOCK WISE/PULSE TRAVELING 1500 TO 1900usec”

P.S beeing the rushy fellow that I am I`ll test my theory…hope I don’t bust a servo.

BTW if I give it more pulses than I should, lets say pulses 1500-1900 for that 180degree without having it programmed will it die ? cuz If i bury a servo, my teacher will bury me with it.

10q !

If you are using a digital servo then any pulse beyond its programmed range will be ignored. The servo will not move. It will only move when valid pulses are sent.

The valid range is 1100uS to 1900uS. Anything outside the range will be ignored. Programming the servo goes something like this…

lynxmotion.com/images/html/build100.htm

After programming the servo still only reacts to the same +/- 400uS from 1500uS as before, but the output range is increased to ~180°.

My mistake. I assumed that the pulse range increased after programing.