Multitasking BX-24 w/ servo motors

Started by unix1020 in BasicX14 years ago 1 reply

Hello I am new to the bx-24 and programming so I hope you don't think I'm a chump with dumb questions. I am building a walking Robot and I...

Hello I am new to the bx-24 and programming so I hope you don't think I'm a chump with dumb questions. I am building a walking Robot and I want to use the BX-24 as the brain. I am going to have 17 servo motors,sharp IR range detector and a 5g accelerometer. So far it is coming together very well, I have the distance senor and accelerometer working well with the BX-24. My problem is


Bipolar motors ?

Started by Juan Carlos Arroyo Sosa in BasicX15 years ago 1 reply

How can I control bipolar motors whit BX24 , and how can I conect ULN2003 amplifier? Tengo proyectos interactivos, si deseea...

How can I control bipolar motors whit BX24 , and how can I conect ULN2003 amplifier? Tengo proyectos interactivos, si deseea cruzar informaci'on no dude en escribirme, soy estudiante de artes pl'asticas.


Re: PWM

Started by Mike Perks in BasicX15 years ago 4 replies

matias domin matte izquierdo wrote: > I want to drive two 6VDC motors. I'm using the L293D to control the > direction and speed, but I...

matias domin matte izquierdo wrote: > I want to drive two 6VDC motors. I'm using the L293D to control the > direction and speed, but I need a permanent PWM output from BX-24. Is it > posible? I think that with multitasking this is posible, but I havent' > done > it. > > Otherway, how can I drive these motors withut adding


Servo Motors

Started by andy...@aol.com in BasicX14 years ago 2 replies

Hi everybody, I have 2 of the servo motors that I got off the BasicX website and put them on my robot. I programmed both of them to go ...

Hi everybody, I have 2 of the servo motors that I got off the BasicX website and put them on my robot. I programmed both of them to go forward and there spinning. Also one motor is going slower than the other. This is the program: const leftservo As Byte = 11 const rightservo As Byte = 12 Sub Main() Do Call PulseOut(leftservo, 0.0020, 1) Call PulseOut(r...


Servo Motors

Started by servostep in BasicX10 years ago 4 replies

Hello, I could make 2 servo motors work using 2 switches. However after about 45 seconds, it doesn't work anymore. It seems frozen. Please...

Hello, I could make 2 servo motors work using 2 switches. However after about 45 seconds, it doesn't work anymore. It seems frozen. Please help. Tony Here is my code: const servoPin as byte = 10 ' the pin the servo is on const servoPin2 as byte = 14 ' the pin the servo is on const minPulse as single = 0.0004 ' the minimum pulseWidth const maxPulse as sing...


Motors

Started by sawtape in BasicX15 years ago 17 replies

I am interested in using my bx 24 to control a little robot that moves forward until an infrared sensor sees something within 6...

I am interested in using my bx 24 to control a little robot that moves forward until an infrared sensor sees something within 6 inches or so and then turns so it never runs into anything. But before I fry my controller, I was wondering how I should go about powering the


motors: how much power

Started by Michael Krause in BasicX13 years ago 4 replies

Hi, I'm trying to control a motor with the BX-24, but I'm not sure which motor to chose. The weight the motor needs to lift is about 500 g,...

Hi, I'm trying to control a motor with the BX-24, but I'm not sure which motor to chose. The weight the motor needs to lift is about 500 g, and it doesn't need to be lifted too fast. I thought of a servo motor, but I'm not not sure what specs. Can anybody help, or chip in some ideas? THanks, -Michael


Sensors, Motors and Stuff

Started by c04203420 in BasicX14 years ago 1 reply

Im very new to the world of electronics so forgive my apparent lack of knowledge. Input Devices ============= Could someone...

Im very new to the world of electronics so forgive my apparent lack of knowledge. Input Devices ============= Could someone point me in the right direction for these. Ideally I want to spend as little as possible whilst still retaining longivity and stability of components. Not necessarily pin point accuracy. I would like a hy


dc motor control

Started by andy...@aol.com in BasicX13 years ago 3 replies

hi, I am wondering how to control 4 DC motors without buying an expensive motor controller. I need speed control, and direction. ...

hi, I am wondering how to control 4 DC motors without buying an expensive motor controller. I need speed control, and direction. Thanks, Andy


DUAL SERVO HELP

Started by yirga10 in BasicX15 years ago 1 reply

THANKS FOR READING AND ANY HELP YOU CAN GIVE. I AM RUNING TWO SERVOS THROUGH AND OPTIC ISOLATOR. THE POTS HAVE BEEN NULLED...

THANKS FOR READING AND ANY HELP YOU CAN GIVE. I AM RUNING TWO SERVOS THROUGH AND OPTIC ISOLATOR. THE POTS HAVE BEEN NULLED OUT AT 1.5ms AND ACT PROPERLY WHEN ONLY ONE IS RUNNING THAT IS IT DOESN'T MOVE...BUT WHEN BOTH MOTORS ARE PLUGGED IN THEY BOTH RUN FAST AT THE 1


DC motor control

Started by kongfu2008 in BasicX16 years ago 2 replies

is there any way to control DC motors directly with the BX-24 wiht out motor controllers? if yes. how? which pin should i use...

is there any way to control DC motors directly with the BX-24 wiht out motor controllers? if yes. how? which pin should i use for DC motor and how do i command to revers it direction? if you could show me a sample program thank you


Servo Motors

Started by andy...@... in BasicX14 years ago 1 reply

Hi, Can anybody give me a program on controlling a motor modified servo motor using the BasicX? Thanks

Hi, Can anybody give me a program on controlling a motor modified servo motor using the BasicX? Thanks


Project parts

Started by Tom Becker in BasicX15 years ago 1 reply

I am again struck by the useful parts that I've found in discarded electronics. This morning I was lamenting that I had no...

I am again struck by the useful parts that I've found in discarded electronics. This morning I was lamenting that I had no small inductors. I have had several old VCRs here that I've cannabalized for small motors, screw gears, springs and the like. I'd ignored the circuit boar


Stepper VS Servo

Started by new in BasicX15 years ago 3 replies

Hey everyone ! I was just wondering, I'm using two KP4M2-008 stepper motors for a small robot my son and I are building, I...

Hey everyone ! I was just wondering, I'm using two KP4M2-008 stepper motors for a small robot my son and I are building, I finally got everything to work, including the IRsensor, and put it on the ground. I don't seem to be getting the kind of power( torque) I was hoping for ( Not even close ).


question from beginner on servos

Started by yirga10 in BasicX15 years ago

Hello, I am a beginner and purchased the basicx kit and servo motors. Does anyone have sample code for making the servo...

Hello, I am a beginner and purchased the basicx kit and servo motors. Does anyone have sample code for making the servo rotate based on an output from the microcontroller? Do I have to define any variables first in the code? And finally, do I have to isolate the outp


servo help requested

Started by yirga10 in BasicX15 years ago 2 replies

Can anyone help me with some sample code? I am trying to run my gws servo motors continuously forward and in reverse. ...

Can anyone help me with some sample code? I am trying to run my gws servo motors continuously forward and in reverse. I cut the restricting dog off so that the servos will rotate, but I cant find any sample code for continuous run. Thanks for your help!


How to transfer stored data to a text file on a PC?

Started by gti5notrkt in BasicX15 years ago 3 replies

I am attempting to make a small inertia flywheel dyno for RC car electric motors using a hall effect sensor and the Timer1...

I am attempting to make a small inertia flywheel dyno for RC car electric motors using a hall effect sensor and the Timer1 command on a bx-24. Using available documents I have managed to store the time stamps (clock ticks) in an array using the variable format; Dim A


Dual Background Pulse trains, With Different Pulse Width

Started by alan in BasicX13 years ago

I have two stepper motors that i am controlling the timing of via a pulse train. (1 pulse = 1 step) I need to send a different pulse train...

I have two stepper motors that i am controlling the timing of via a pulse train. (1 pulse = 1 step) I need to send a different pulse train to each motor... each of a different period. The problem that i am having, is that it doesnt appear to be possible with the basic x-24 stamp? This needs to be a background operation, as the chip is also handling user interaction to change the spee...


Re: Interfacing basicx with DC motor with encoder

Started by phuo...@yahoo.com in BasicX11 years ago

Hi all, I am looking for an encoder for DC motor. Could anyone give me some suggestion about which the encoder I should us for my DC motor....

Hi all, I am looking for an encoder for DC motor. Could anyone give me some suggestion about which the encoder I should us for my DC motor. the maximum output RPM of my motor is 3000, motor shaft diameter 1 - 3mm. Thanks in advance for your kind help. Pthien, > ... how can I interface two DC motors with their respective encoders > to BasicX... > > You'll need to solve have two ha


BS2 and BSX in a TAB BYORK

Started by chicoisl in BasicX15 years ago 2 replies

Hello, I am working with the TAB BYORK, I have both a BS2 and a BX24. I have programmed the BS2 for use of the IR, CDS and...

Hello, I am working with the TAB BYORK, I have both a BS2 and a BX24. I have programmed the BS2 for use of the IR, CDS and motors through the onboard PIC16C505. I would like to do the same with the BX24. I am currently learning how to use the shiftin and shiftout functions wit