Black Lives Matter - Action and Equality. ... Adafruit is open and shipping.
0

microcontroller plus motor plus remote control activator??
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

microcontroller plus motor plus remote control activator??

by autoblock on Tue Oct 05, 2010 2:31 pm

Hello, I am doing a project and was wondering if you could please assist me in choosing the correct products. I need to buy a microcontroller that will initiate a motor (in one direction and then the other direction). I also need a radio frequency system (like a remote control door unlock system for cars). This radio frequency system will need to be connected to the microcontroller. Thus, when the remote control is pressed, the microcontroller will activate the motor for a few seconds and then when the button in pressed again, the motor will turn in the opposite direction for a few seconds. Do you know any products that can perform this function? The products need to be as small as possible and be powered by batteries (preferably 9V or 2x9V). Any help will be greatly appreciated. Thank you very much.
autoblock
 
Posts: 4
Joined: Tue Oct 05, 2010 2:24 pm

Re: microcontroller plus motor plus remote control activator??

by adafruit_support_bill on Tue Oct 05, 2010 2:51 pm

There are plenty of tiny micros, and some pretty small RF modules as well. What does the motor have to move, and how far and fast?

adafruit_support_bill
 
Posts: 77937
Joined: Sat Feb 07, 2009 10:11 am

Re: microcontroller plus motor plus remote control activator??

by autoblock on Tue Oct 05, 2010 3:35 pm

The motor has to move a steel ring (semicircular ring) about 1cm in diameter (with a total semicular radius of about 15cm). and the distance it will move it is about 16cm. It should move it that distance in at about 10 seconds, but if power is an issue then longer is ok. Also, it should be able to do this many times before the battery dies out (maybe a min of 300 times if its possible!). The main point is to have a system that will get all the components working as a whole - RF module initiating the microprocessor and the microprocessor initiating the motor. Also could you suggest a good motor for this application. The motor, microcontroller, RF module should fit in a 8cmX8cmX3cm box (rough estimates). Any help is greatly appreciated! Thank you.
autoblock
 
Posts: 4
Joined: Tue Oct 05, 2010 2:24 pm

Re: microcontroller plus motor plus remote control activator??

by cstratton on Tue Oct 05, 2010 4:15 pm

autoblock wrote:The motor has to move a steel ring (semicircular ring) about 1cm in diameter (with a total semicular radius of about 15cm). and the distance it will move it is about 16cm. It should move it that distance in at about 10 seconds, but if power is an issue then longer is ok.


You still haven't provided any information that could be used to estimate the necessary torque.

The motor, geartrain, and mechanical linkage part is the hardest for anyone without your full set of information to visualize. Try to figure out what kind of actuator will work - can you use an r/c servo, either as is or modified for continuation rotation? Can you use a small pololu or solarbotics type gearbox? Do you need a cordless screwdriver motor? If you can get the mechanical part to work with a motor taking around 5-8 volts at well less than an amp of current this will simplify the electrical design. 3v operation would save you on batteries but the current draw might be out o the range of easy driver chips, and you'd probably need a step up converter to power the micro. If you end up with a high current motor you could also consider using an H bridge made from a pair of small relays rather than transistors or mosfets.

cstratton
 
Posts: 294
Joined: Wed Sep 29, 2010 3:52 pm

Re: microcontroller plus motor plus remote control activator??

by adafruit_support_bill on Tue Oct 05, 2010 4:40 pm

A drawing of what you are moving and how it needs to move would be helpful.

The Boarduino is pretty compact. http://www.adafruit.com/index.php?main_page=product_info&cPath=19&products_id=72
And if a continuous-rotation servo has enough torque for your needs, it would give you a self-contained gear-motor & controller circuit in a nice compact package. http://www.adafruit.com/index.php?main_page=product_info&cPath=34&products_id=154
You will probably want to go with lithium batteries of some sort to get the power density you need. The choice of RF module will depend on what kind of range you need as well as the environment it will be operating in (obstructions, RF interference etc).

adafruit_support_bill
 
Posts: 77937
Joined: Sat Feb 07, 2009 10:11 am

Re: microcontroller plus motor plus remote control activator??

by autoblock on Mon Oct 11, 2010 1:38 pm

I have attached a very simple sketch of the setup. Just to reiterate some points:
-Most importantly, i need a microcontroller that will power the motor and be connected to an RF module receiver/transmitter that will activate the microcontroller which in turn will move the motor forwards and backwards, accroding to how many times/bottons i click on the remote for the RF module. I can do to do the coding/programming for the microcontroller but just need a system that will work together and compatible.
-The parts(microcontroller and RF module) needs to be as small as possible.

Thank you for all the help. Sorry if things seem unclear- we are new to this subject so still trying to learn. Any help is greatly appreciated.
Attachments
arrangement.jpg
arrangement.jpg (60.64 KiB) Viewed 1531 times
arrangement.jpg
A simple sketch of the system
arrangement.jpg (60.64 KiB) Viewed 1531 times
autoblock
 
Posts: 4
Joined: Tue Oct 05, 2010 2:24 pm

Re: microcontroller plus motor plus remote control activator??

by cstratton on Mon Oct 11, 2010 3:30 pm

You still have not specified anything anyone could use to determine the mechanical load and thus sizing for the motor or its driver.

You should probably select, buy, and test the mechanical parts (hold the motor leads to stacks of varied numbers of AA cells), then worry about the electronics.

cstratton
 
Posts: 294
Joined: Wed Sep 29, 2010 3:52 pm

Re: microcontroller plus motor plus remote control activator??

by zener on Mon Oct 11, 2010 6:43 pm

You could use a DPDT relay as a reverser, and a fet for on/off. Or use an H-bridge as was said. The more you can gear it the longer the bateries will last (and the slower it will move).

zener
 
Posts: 4567
Joined: Sat Feb 21, 2009 2:38 am

Please be positive and constructive with your questions and comments.