Tags: basically, control, electric, friend, function, motor, program, programming, project, python, robot, speed, summer

Is there a way to program a robot with python (ex, an electric motor, control it's speed,

On Programmer » Python

30,064 words with 11 Comments; publish: Fri, 04 Jan 2008 17:38:00 GMT; (200108.40, « »)

i hope someone here can help me.

basically, me and my friend have a summer project.

in this project, we need something that would basically function as a

blender. we know we'll need to buy a motor that spins, but what we're

having trouble with is figuring out how to program it. we want to be

able to control the speed of the motor. how would we accomplish this?

i'm new to all of this, so i'm having a hard time wrapping my mind

around how it'd be possible to program one of those things :\

ex: what if i want the motor to turn for 10 seconds. stop for 5. then

turn the other direction.

would you program it the same way you would on a personal computer

(via c, python, etc)?

All Comments

Leave a comment...

  • 11 Comments
    • socialanxiety.python.itags.org.gmail.com wrote:
      Quote:
      === Original Words ===

      i hope someone here can help me.

      >

      basically, me and my friend have a summer project.

      >

      in this project, we need something that would basically function as a

      blender. we know we'll need to buy a motor that spins, but what we're

      having trouble with is figuring out how to program it. we want to be

      able to control the speed of the motor. how would we accomplish this?

      >

      i'm new to all of this, so i'm having a hard time wrapping my mind

      around how it'd be possible to program one of those things :\

      >

      ex: what if i want the motor to turn for 10 seconds. stop for 5. then

      turn the other direction.

      >

      would you program it the same way you would on a personal computer

      (via c, python, etc)?

      Try "comp.robotics.misc" for the basics of robot motor control.

      John Nagle

      #1; Fri, 04 Jan 2008 17:39:00 GMT
    • On Jul 8, 5:14 pm, John Nagle <n....python.itags.org.animats.comwrote:
      Quote:
      === Original Words ===

      would you program it the same way you would on a personal computer

      (via c, python, etc)?

      >

      Try "comp.robotics.misc" for the basics of robot motor control.

      >

      John Nagle

thank you.

#2; Fri, 04 Jan 2008 17:40:00 GMT
  • I would like the robot to be self contained. basically, I'd like to be

    able to program functions in python, ex:

    while True:

    motor.rotate(1)

    and have it repeat the same piece of code every time it's turned on.

    #6; Fri, 04 Jan 2008 17:44:00 GMT