Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

2 views
Skip to first unread message

social...@gmail.com

unread,
Jul 8, 2007, 8:23:20 PM7/8/07
to
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)?

BRW

unread,
Jul 9, 2007, 1:00:27 PM7/9/07
to

>From your post, I sense that you want to stay within the PC world for
your programming project. I quick way to accomplish what you want
would be to buy a motor controller with a serial port interface. Then
you could program the PC to send commands out the serial port to the
motor controller (start, stop, speed ref, etc.). Just about any PC
programming language is capable of sending serial port commands.
There are many makers of these serial motor controllers (e.g. Pololu
for low power DC motors).

BRW

sund...@gmail.com

unread,
Jul 9, 2007, 5:08:15 PM7/9/07
to

Are you trying to program something that is stand alone and just
cycles through a set number of commands or do you want a box with
switches on it?

social...@gmail.com

unread,
Jul 9, 2007, 5:52:28 PM7/9/07
to

Thank you BRW; as for the above question, I'm trying to program
something that will be stand alone.

social...@gmail.com

unread,
Aug 14, 2007, 1:41:09 AM8/14/07
to
was going down the whole War time.

All we are saying, is give peace a chance.


----

I repeat: Civil war would have broken out.

----


Dire suspension of Constitutional protections happens during War:

Abraham Lincoln ordered thousands of people detained without hearings,
and opposition newspapers shut down during the Civil War. During
World War II: the president orders Japanese and such to be held in
internment camps.

So why do we have all these loss of freedoms during peacetime?

Answer:

Because the Military has never stopped fighting World War II.

# "Spy Agencies Faulted for War Focus"
# By Tim Wiener, The New York Times, June 28, 1996
#
# American intelligence agencies devote too much time and money to supporting
# the Military, and FAR too little to understanding the problems of peace, a
# new and authoritative critique concludes.
#
# The report is one of FOUR MAJOR STUDIES to cite the "alarming imbalance"
# of spending more than $26 billion a year on machines, and less than $3
# billion on people, and those people spend their time analyzing the
# information the machines collect.
#
# The Foreign Service has been crippled by budget cuts, sapped by the
# Militariz


m...@privacy.net

unread,
Aug 14, 2007, 1:21:42 AM8/14/07
to
of the car makes "furtive gestures" the
police may search the car.

Question: If sweating at the airport can get you a deep probing anal
search by a manly security guard, what "furtive gesture"
will get your car searched when the police stop you and
shine a flashlight in your face?

Answer: Blinking.

Point: They are almost not bothering to pretend.

Law enforcement hysteria.

The Miranda ruling by the 1966 Supreme Court requires the police inform
criminal suspects of their legal rights before questioning them.

It is classical poetry, even when recited by Dragnet's Joe Friday.

* Justice Department report: "Excerpt From the Report to Meese", NYT, 1/22/87
*
* The Miranda decision reflects a willful disregard of the authoritative
* sources of law. The decision flies in the face of the principals of
* constitutional government and impairs the ability of government to
* safeguard citizens from crime.
*
* It is difficult to conceive of a legislature enacting it into law, either.
*
* It has caused specific evils and is a discredited attempt at criminal
* jurisprudence. Overturning it would be the MOST IMPORTANT ACHIEVEMENT
* THIS OR ANY OTHER ADMINISTRATION COULD ACCOMPLISH TO PROTECT UNITED
* STATES CITIZENS FROM CRIME.


A constant state of war, for 'national security and national safety' reasons.

The novel '1984', about oppressive government, contains three key features:

o Massive surveillance mechanism
o Constant state of War
o Physical and psychological terror to
control targeted individuals and groups

The constant state of War is used by politicians to
control us little people. As it was in the book 1984.


Did you know the U.S. has been in a state of Dru


BRW

unread,
Aug 14, 2007, 2:35:02 AM8/14/07
to
workplace and drugs in school. And
# ZERO TOLERANCE for illegal drugs, period."
#
# "ZERO! ZERO! ZERO!"
#
# "We will REDOUBLE our efforts to put drug criminals behind bars."
#
# "We will only appoint judges who will throw them in jail."

Thank Gawd he didn't become President.

* July Fourth, 1997, C-SPAN Congressional Television
*
* Mark Klaas, father of 12-year-old Polly Klaas, who was murdered by a
* repeat-offender that was paroled from prison, said in support of prevention
* programs: "Building more prisons to fight crime is like building more
* cemeteries to fight the spread of AIDS. It's a bad quick fix. Police
* chiefs across the country support [me] this 4 to 1. Unfortunately, Congress
* can't act "soft" on crime, and is about to pass a very bad bill on
* juvenile crime."

More bizarre distortions in our social fabric due to Zero Tolerance:

6/10/97 MSNBC: California: a ten-year-old girl who reported a classmate
for having a joint was also suspended by the principal, under the school's
Zero Tolerance for drugs policy. Her offense: handling the joint to see if
the other student was kidding her before reporting the other student. The
principal said "too bad, that's


0 new messages