Wireless control of a stepper motor/servo ?

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
mjpcarbon
 
Posts: 436
Joined: Fri Nov 29, 2013 8:57 pm

Wireless control of a stepper motor/servo ?

Post by mjpcarbon »

Gurus and people I admire I have an upcoming project in which I would like to control a Stepper motor or servo wirelessly.
I would like the control to be either a pot or pressure sensor maybe even one of your kool flex strips.
The distance to travel wirelessly is about 35-40 feet.

Here is a photo of my son on my homemade flyboard in action
Attachments
aflyboardone2.jpg
aflyboardone2.jpg (41.43 KiB) Viewed 822 times

User avatar
adafruit_support_bill
 
Posts: 88142
Joined: Sat Feb 07, 2009 10:11 am

Re: Wireless control of a stepper motor/servo ?

Post by adafruit_support_bill »

For that distance, you should consider using Xbee modules. You can configure them to pass analog or digital data from module to module:

http://www.digi.com/support/kbase/kbase ... tl?id=3522

User avatar
mjpcarbon
 
Posts: 436
Joined: Fri Nov 29, 2013 8:57 pm

Re: Wireless control of a stepper motor/servo ?

Post by mjpcarbon »

Bill I dont understand most of what is on that page.
Does ada sell these, if so which ones, and are there any great as usual tutorials for those that are electronically challenged as myself.

User avatar
adafruit_support_bill
 
Posts: 88142
Joined: Sat Feb 07, 2009 10:11 am

Re: Wireless control of a stepper motor/servo ?

Post by adafruit_support_bill »

We do sell several models of the XBee modules, as well as an adapter kit. https://www.adafruit.com/search?q=xbee
We don't have a tutorial that does exactly what you want. But the Tweet-A-Watt project demonstrates how to set up a simple XBee network to wirelessly transmit analog data from a power meter: http://www.ladyada.net/make/tweetawatt/index.html

This blog post describes a more ambitious project - a 20-channel remote controller based on XBees:
http://www.adafruit.com/blog/2012/04/23 ... ontroller/

User avatar
mjpcarbon
 
Posts: 436
Joined: Fri Nov 29, 2013 8:57 pm

Re: Wireless control of a stepper motor/servo ?

Post by mjpcarbon »

ok Bill gonna look at the tutorials and parts then I may ask for part suggestions if I dont get it on my own.
Only to be followed by more questions
As always thank you for your patience and knowlege

User avatar
mjpcarbon
 
Posts: 436
Joined: Fri Nov 29, 2013 8:57 pm

Re: Wireless control of a stepper motor/servo ?

Post by mjpcarbon »

Bill there are so many choices, can you offer a suggested parts list for me?

User avatar
adafruit_support_bill
 
Posts: 88142
Joined: Sat Feb 07, 2009 10:11 am

Re: Wireless control of a stepper motor/servo ?

Post by adafruit_support_bill »

Can you describe what you want to do in a little more detail?

For a single analog input, a pair of the Series 1 modules would be the simplest way to go. You would configure them as shown the the Tweet-A-Watt project, but connect your pot or sensor to the analog pin instead.

You would then put an Arduino with a Motor shield at the other end to control the motor.

User avatar
mjpcarbon
 
Posts: 436
Joined: Fri Nov 29, 2013 8:57 pm

Re: Wireless control of a stepper motor/servo ?

Post by mjpcarbon »

bill what you wrote is what I want to do.
wirelessly control a stepper or servo motor using a pot or pressure sensor in my hand.

So I just need two S1 xbees and of course the arduino/motor setup
One xbee to transmit and one to receive ?

I will look much closer at the tweet a watt project
thank you

User avatar
adafruit_support_bill
 
Posts: 88142
Joined: Sat Feb 07, 2009 10:11 am

Re: Wireless control of a stepper motor/servo ?

Post by adafruit_support_bill »

So I just need two S1 xbees and of course the arduino/motor setup
One xbee to transmit and one to receive ?
That should do it!

User avatar
mjpcarbon
 
Posts: 436
Joined: Fri Nov 29, 2013 8:57 pm

Re: Wireless control of a stepper motor/servo ?

Post by mjpcarbon »

Bill I have been looking at the tweet a watt, do I need python etc ?
I feel like I dont get how the xbee S1s talk to each other

Earlier we said I need 2 xbees do I also need the adapter or is that to connect to a PC?

User avatar
adafruit_support_bill
 
Posts: 88142
Joined: Sat Feb 07, 2009 10:11 am

Re: Wireless control of a stepper motor/servo ?

Post by adafruit_support_bill »

You would need the two XBees and an adapter (to interface with the Arduino). You do not need Python or the USB/Serial cable. That is for talking to the PC.

This page strips it down to the very basics: http://alselectro.BANNED.com/2013/10 ... putoutput/
Essentially, you are building a wireless network where a change in an analog input on one side causes a corresponding change to an analog output on the other side.

From there, we can read that analog signal into the Arduino and use it to control the stepper.

User avatar
mjpcarbon
 
Posts: 436
Joined: Fri Nov 29, 2013 8:57 pm

Re: Wireless control of a stepper motor/servo ?

Post by mjpcarbon »

So my parts list
(2) 964 xBee
(1) 247 ?
or
(1)126?

that link helps understanding alot then the output of the RX xbee connects and talks to the UNO via the adapter

User avatar
adafruit_support_bill
 
Posts: 88142
Joined: Sat Feb 07, 2009 10:11 am

Re: Wireless control of a stepper motor/servo ?

Post by adafruit_support_bill »

and 247 or the 126
You want the 126 for talking to an Arduino.

Other parts you will need (if you don't have them already):
Arduino
Motor Shield
Stepper
Power supply/battery pack for Arduino/motor shield/ stepper.
Power supply/battery pack for the transmitting XBee.
Sensor of choice

User avatar
mjpcarbon
 
Posts: 436
Joined: Fri Nov 29, 2013 8:57 pm

Re: Wireless control of a stepper motor/servo ?

Post by mjpcarbon »

Excellent !!

User avatar
mjpcarbon
 
Posts: 436
Joined: Fri Nov 29, 2013 8:57 pm

Re: Wireless control of a stepper motor/servo ?

Post by mjpcarbon »

Bill I have been reading some more and have yet another question before I start ordering parts.
Will I need to program these xBees via XCTU and if so what version do I need and where can it be found

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”