Search results

  1. J

    another 'interrupt' question.

    I've just been playing around with adding a simple on/off switch as an input to the sd21 servo controller and it works fine using this code: symbol servo1 = 63 symbol servo1p = 84 symbol servo1n = 105 symbol base = 128 symbol offset1 = 0 symbol offset2 = 250 main: hi2csetup i2cmaster, $c2...
  2. J

    how do I add a switch to the input pins on the sd21

    I've rigged up my switch to the sd21 along the lines of fig B in PAIX's thread and it seems to be connected correctly, however the code probably needs tweaking. Last night I was able to switch it one way and it preformed the 'progstart' routine, switched the other way it did the 'default'...
  3. J

    how do I add a switch to the input pins on the sd21

    This is the dpdt switch (on/off/on) I want to use on the sd21, conveniently the legs are lettered in the photo. I figure that I need to be connected to two inputs and a ground on the 16 pin header (do I need to be connected to V+ since the sd21 is powered anyway??) using perhaps pin 12 for b.7...
  4. J

    how do I add a switch to the input pins on the sd21

    I want to add a switch to my sd21, just for a basic high/low, on /off function. I can't post the code I tried as I'm on the work computer, but when I tried adding a switch and tried downloading the program I was told 'Hardware pins have not been set up to use these commands'. I can play around...
  5. J

    somethings not right with the sd21

    I've finally got up to seven servos operating on the sd21, but not without a problem. When initially experimenting with only 3 servos, I found that although all 3 were been given the same command (to basically go from 0 to 250) only servo3 went the full turn, servo2 stopped short and servo1...
  6. J

    Still looking for a code example for the sd 21 servo controller

    Trying to understand how to write code for me is like trying to make a jigsaw without knowing what the picture is, and when I do try the syntax checker usually tells me theres an error. I've read every thread and link I can find and I'm still none the wiser. Seriously, if I could pay someone to...
  7. J

    can someone translate servopos for sd21 servocontroller

    The sd21 manual contains two ways of controlling servos using registers and offsets and I don't understand either. The first way discribes using high bytes and low bytes but doesn't show an example of code. The second way has an example and is supposedly easier, but I can't get my head around...
  8. J

    wall transformer for sd 21

    I want to try and use a wall transformer to power my sd 21 servo controller. I have a 6v and 7.2v, but their either 250ma or 300ma. Will they be of any use, I suspect they'll need to be at least 1amp??
  9. J

    code for axe031 21 servo controller

    Time for plan b. I've just ordered the axe031 21 channel servo controller and I'm going to try working with this instead of the 18m2 project board. I've been told that the code I've been experimenting with so far ie: servopos, won't work with the axe031. Apart from the example in the manual...
  10. J

    servo controller programs and picaxe

    I've just discovered that some companies make servo controller boards for up to 8 servos that controlled with a simple windows program. You simply move the slide on the screen for you servo position, set your speed and away you go. No code. no programming. Is there any such windows 7 compatible...
  11. J

    Got my servos working, but....!

    I've finally got two servos to move to where and at what speed I want. Check this out: init:servo 4,225 servo 3,225 main:for b0=225 to 75 step-1 servopos 4,b0 pause 50 next b0 for b2=225 to 150 step-1 servopos 3,b2 pause 50 next b2 wait 10 for b1=75 to 225 servopos 4,b1 pause 50 next b1 for...
  12. J

    could someone explain this servo code?

    One regular forum member sent me this code for moving two servos in opposite directions and sure enough, it worked fine. Unfortunetly, I don't know enough about writing code to fully understand exactly how it worked so after staring at this for a week I still don't know how to adapt this example...
  13. J

    why won't my 18m2 project board work?

    hi. I can't seem to get a servo to work off my 18m2 project board. I connected it to output 4 and tried the code in the manual relating to servos (I tried the LED test from the manual. that worked fine), but nothing. Eventually I took the 18m2 out of the project board and placed it into a...
Top