Wireless (9v?) Yun with a geared DC motor and H-bridge controlled by android...

Hi geeks :D

I could use some help for choosing the right components for me project..:D Right now Im test on the led 13 onboard and can turn it on and off with my mobile via wifi..:D http://goodworkmyboy.dk/arduino_led_wifi.mp4

My goal is to make the circuit wireless (without usb power)... In other words something like that..

This DC Motor would do the job perfectly if I could choose without thoughts on voltage: http://www.hobbytronics.co.uk/mm-gear-motor-50

This H-bridge can control the motor clockwise and reverse.. http://www.hobbytronics.co.uk/h-bridge-driver-sn754410

But I dont know if I could use these parts or if they will fit together in my circuit with voltage and more...? And how to power the arduino with h-bride and cd motor on with only the battery...?

If you need more details to help me just ask..:D

Thanks..:D

One thing that is easy to say with confidence - that 9v battery is quite unsuitable. Those small batteries cannot provide enough current. At the very least get a battery holder for 6 x AA NiMh rechargeable batteries.

That driver chip can control 1 amp but the motor you have selected has a stall current of 1.6 amps. If the risk of a stall is small you may be OK as the chip should shut down if it becomes overloaded.

As far as programming is concerned you seem to be off to a good start by trying little bits one at a time.

...R

okay, if other words youre saying that it would be a lot easier to run it on usb power and then just the h-brigde and a motor...?

So the H-bridge can control 1 amp and therefore the motor should also have 1 amp...? can you suggest a dc motor geared (around 600 rpm) with that amp...?

yeah I think I have most of the programming done by now... no problem on this..:D

You cannot run the motor off USB power and you should not run the arduino from your motor power. You should have a logic supply and a motor supply. The 9V battery might power the arduino for a few hours but that's about it. (maybe 6 to 8 hours max). You need some kind of motor power source that can handle the current , like a 3S (12.54V charged) , Lipo battery, 2200mAh to 4000mAh. The arduino can run off a 2S (8.4V charged) Lipo 1350mAh to 2200mAh plugged into the external dc power barrel jack.

Then its not preferable to run the arduino on a battery...? Even if I only need 2 hours of runtime..:D

I found this tutorial: http://itp.nyu.edu/physcomp/Labs/DCMotorControl

And if I understand it right the h-bridge can operate between 4.5V and 36V... and with a 9v battery to run the dc motor (http://www.hobbytronics.co.uk/mm-gear-motor-50?keyword=micro%20motor) It should be perfect..:D but the arduino are still running on the usb power... I dont know if thats the simplest solution...:D I think Ill use the usb power supply (5v)...:D

I still a little confused about the amp...

Is this motor a possible choice: https://www.sparkfun.com/products/12429

Voltage: 6 - 12 Volts No Load Current: 40/100 mA (6/12V) Stall Current: 360/1600 mA (6/12V) Speed: 240/460 RPM (6/12V)

if I put the 9v battery on this motor the stall current would be between 360 and 1600 mA or around 980 mA...? And that will give me 350 RPM...?

scbirk: Then its not preferable to run the arduino on a battery...? Even if I only need 2 hours of runtime.

There is nothing wrong with running an Arduino on a battery as long as you have a suitable battery and are aware of possible interference by other devices drawing on the battery. Problems arise when a small battery can't meet the instantaneous demand of, say, a motor starting. There can also be problems if the motor causes voltage spikes on the power lines.

I have a breadboard Atmega 328 running 24/7 on a large 12v lead acid battery for about 12 months now. Of course the battery gets recharged every day. The same battery powers a fridge, a water pump and this netbook. The Atmega 328 is powered by a 5v supply regulated by a simple 7805 regulator IC which draws from the 12v supply.

...R

A 9V (PP3 ) smoke alarm battery is completely unacceptable for any kind of motor power. That should be obvious just from looking at it. Forget that idea now and find a proper power source.