0

I have very limited knowledge regarding electronics. Please help me cure my ignorance on the subject of robotics.

I want to power the Arduino Uno R3, US-015 ultrasonic sensor, and the L298N motor controller from a single power source (7.2v). However, I'm not sure if this diagram is correct. If it is functional, will it last that way?

enter image description here

If this diagram is deemed wrong, please suggest alternatives with one power source.

Advance thanks to those who would reply. Elaborate answers would be very much appreciated. :D

Edit: Since it's deemed incorrect, I'm going to power Arduino through the DC barrel jack and power the L298N motor controller through the Vin and the ultrasonic sensor from the Arduino 5v output. Is it wise to do this?

asked Apr 9, 2015 at 17:56
7
  • 1
    Using a motor controller to power an Arduino or analog peripherals is probably unwise as the source is liable to be noisy. Better probably is to power Aduino from 7.2V into Vin - with a small series resistor from 7.2V to Von and a large filter cap at Vin to ground. Then power sensor from Arduino 5 V. Series R must drop < 2V - probably about 22 Ohms to start.Capacitor at Vin - the larger the better. 100 uF good. 1000 uF better. Commented Apr 9, 2015 at 18:04
  • @RussellMcMahon Why the 22ohm resistor. The voltage regulator on the arduino will smooth things to 5v. Is it like a low-pass filter? Wouldn't a diode, or inductor be more useful? Commented Apr 9, 2015 at 18:19
  • 1
    In the diagram, there is nothing producing the 5v. Commented Apr 9, 2015 at 18:20
  • @Gerben Presumably the motor board OUT{URS 5V on Vcc for 7.2V in - just as most Arduino's accept > 5V on Vin and output 5V. Commented Apr 10, 2015 at 4:00
  • @Gerben - the 22 Ohm resistor and large capacitor form an RC (Resistor + Capacitor) noise filter. This greatly redcues motor noise which appears on the 7.2V line. This is vry standard practice in real world installations like ythis. An inductor based filter can be better but RC should suffice. Commented Apr 10, 2015 at 4:02

1 Answer 1

2

Using a motor controller to power an Arduino or analog peripherals is probably unwise as the source is liable to be noisy.

Better, probably, is to power the Arduino from the 7.2V supply via a noise filtering resistor into the Arduino's Vin terminal.
NBNBNB 7.2V input MUST be to Arduino Vin.

Use a small series resistor from 7.2V to Vin and a large filter cap at Vin to ground. Then power the sensor from Arduino 5 V output.

Voltage drop in series resistor from 7.2V to Vin must drop under 2V.
Rmz is <= Vdrop / Iload
For say 50 mA load Rseries = V/I = 2V max / 0.05 = 40 Ohms . For 100 mA R <= 2/.1 20 Ohms.
So probably try about 22 Ohms to start.
If Vdrop is> 2V a smaller R is needed.
If Vdrop is << 2V increase R.

For the capacitor at Vin - the larger the better.
100 uF good. 1000 uF better.

Resistor power dissipation is I^2 x R.
So at even 100 mA Pres = 0.1^2 x 22R = 0.22W
A 1/2 Watt resistors would suffice. A 1 W resistor would do no harm and would tolerate the heat better.


The 22 Ohm resistor and large capacitor form an RC (Resistor + Capacitor) noise filter.
This greatly reduces motor noise which appears on the 7.2V line.
This is very standard practice in real world installations like this.
An inductor based filter can be better but RC should suffice.

answered Apr 10, 2015 at 12:08

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.