element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Electrical questions about my robot
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 26 replies
  • Answers 17 answers
  • Subscribers 395 subscribers
  • Views 1791 views
  • Users 0 members are here
  • arduino uno
Related

Electrical questions about my robot

braedan
braedan over 9 years ago

Hello Element14 community,

 

I have an amateur understanding of dc electronics but there are a few questions that i haven't found any other threads or discussions on. Probably because i do not know the name of the specific topic.

Forgive me if the answer is obvious, but my first question is on current placement. When i look at a solder less breadboard there are two lanes for a positive and negative voltage from a power supply. Say i have an 6v red led drawing 30ma from the power supply, but is connected to the power supply from the middle of the breadboards power lanes. Now if there is a 6v dc motor connected to the end of the power lanes and is drawing 1.5 amps or so, does the high current affect the led in front of the motor? again: there are 1.5 amps going across the power lanes to the motor at the end, but there is a small led drawing much less current before the motor from the same power source.

 

My second question is about capacitors. I have an array of Sharp (brand) Infrared distance sensors that operate at 5 volts and draw current in sharp bursts rated at around 30-60ma on average. I am planning on wiring all 37 of them to 3, 16 channel multiplexers connected to and Arduino uno that will then read the sensors analog output. (Multiplexer i will be using is the cd74hc4067). I have two questions on this topic, both of them about power connectivity. My first question is about the sensors. On a the sensors website and data sheet they both strongly recommend the use of some sort of capacitor to smooth things out. Please look at the picture attached and help me find the best places to add this extra circuitry. Please keep in mind that the S in the image is the Sharp infrared distance sensor and there are actually 37 sensors and not 3. Second is about the power it self. I was told that the sensor array would take little over 1.5 amps and to be safe i should have a power supply that can supply double the amount of current needed. The problem is that i don't actually need a power supply because i will be running this off a 12v lead acid battery. I'm not sure how to build a voltage regulator that can supply this amount of current (3 amps), if a voltage regulator is what i need. later I found this UBEC DC/DC Step-Down (Buck) Converter 5v @ 3a output on Adafruit but yet again i'm skeptical if it will properly power everything.

 

P.S. - Could a 12v 7aH lead acid battery (specifically this one: https://www.amazon.com/ExpertPower-EXP1270-Rechargeable-Lead-Battery/dp/B003S1RQ2S/ref=sr_1_3?ie=UTF8&qid=1468962932&sr=… )

power this arduino sensor array? Specifically how much am i able to draw from this battery? In the future i plan on building a large robot and i need a battery that will be able to power this sensor array, 3 sub 100watt 24v DC motors, 2 small 24v DC gear motors,a raspberry pi 2b and a 12v dc VGA monitor. I know its allot but they all wont be running at once (mainly the motors) and i also know that i can increase the battery capacity by wiring two or more together in parallel (please correct me if i'm wrong). I'm just asking if this lead acid battery type can discharge the required amount of power with out any battery problems, i don't what any battery fires or an explosion.

 

 

Please write me back and helpful links or answers to my questions!

Thank you for your time!

Attachments:
image
  • Sign in to reply
  • Cancel

Top Replies

  • DAB
    DAB over 9 years ago +3 suggested
    Hi Braedan, You have an ambitious plan and I highly suggest you find someone local to help you with the electronics. Most drive circuits use either a constant current device and or a nice capacitor bank…
  • billpenner
    billpenner over 9 years ago in reply to jw0752 +2 suggested
    just a few thoughts, Braedan: You should definitely use a buck converter for the circuits other than the motors. Since the motors will be 24 volts and other circuits will be 5 Volts, the basic power supply…
  • michaelwylie
    michaelwylie over 9 years ago +2 suggested
    Q1 - Ideally one load does not effect the other. In reality many things can happen. For instance, in your example provided, the motor, or any inductive load, will produce an EMF that will likely feedback…
  • jw0752
    0 jw0752 over 9 years ago

    Hi Braedan,

    The short answer to your first question is that one load will not affect a second load. In reality the motor may load the line and lower the voltage slightly which may slightly decrease the current to the LED but you may not notice it. This loading effect can be minimized but having low resistance wires and connections from the power supply to the loads. The position of the loads will not make much difference if the resistance of the supply lines is low. Think of how you can turn on multiple lights in your home with out a noticeable effect. Also note that when a large appliance turns on the lights may dim. This is the resistance of the supply lines having to be factored into the equation.

    John

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • jw0752
    0 jw0752 over 9 years ago

    Hi Braedan,

    I will think about your other questions. The battery type that you mention is very good for delivering higher current and for the ability to be recharged. 7 aH basically means that you can expect about 7 amps for one hour though reality will probably cut this down. The equipment that you hope to hook up to this battery is quite ambitious. The 100 Watt 12 volt motor alone will draw over 8 amps. I would recommend that you brush up on the math for figuring currents and wattage so you can plan ahead and not waste time and money on batteries or motors that are not compatible. Here is a link to a tutorial on Current and wattage calculations.

     

    http://www.electronics-tutorials.ws/dccircuits/dcp_2.html

     

    John

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • billpenner
    0 billpenner over 9 years ago in reply to jw0752

    just a few thoughts, Braedan:

     

    You should definitely use a buck converter for the circuits other than the motors. Since the motors will be 24 volts and other circuits will be 5 Volts, the basic power supply (batteries) will be two 12 volt batteries in series. By the way it is not a good idea to use lead acid in parallel since they will self discharge over a relatively short time compared to lithium for example. Since you will use a buck power converter for the lower voltages there will be no noticeable change in the LED brightness. A large capacitor will smooth out the power surges but it will probably not be a factor since the surges will be the result of the motor turn on and they are pretty tolerant to small voltage changes. This is especially true for stepper motors. 

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • michaelwylie
    0 michaelwylie over 9 years ago

    Q1 - Ideally one load does not effect the other. In reality many things can happen. For instance, in your example provided, the motor, or any inductive load, will produce an EMF that will likely feedback onto the rail unless some form of protection is used. In your instance you would need to isolate the motor from the rest of the circuitry. Another situation is called LOADING. This is when you try to pull too much current from a supply, based on its power rating, and the output voltage drops. The more you experiment, the more you will see and learn. The more things you hook up to your rail, the more you have to be aware of what might be happening.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • braedan
    0 braedan over 9 years ago in reply to jw0752

    imageimage

    So.

     

    i have been been doing some research and now know a little more about decoupling. I found this circuit (attached in image) for decoupling an IC. I was wondering if this could be repeated for all 37 IR sensors in place of the IC shown in the circuit. If not could you recommend an new circuit diagram, or maybe better capacitor choices for my needs, thank you!

     

    website:De-coupling

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • braedan
    0 braedan over 9 years ago in reply to braedan

    Sorry I couldn't post  the images but they are on the website I linked.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • DAB
    0 DAB over 9 years ago

    Hi Braedan,

     

    You have an ambitious plan and I highly suggest you find someone local to help you with the electronics.

     

    Most drive circuits use either a constant current device and or a nice capacitor bank to keep spikes along the voltage lines to a minimum.

     

    I am not sure why you need the 36 sensors, but I need to ask if you intend to keep them all working at the same time?

    If you have the time budget, you can set up a sensor firing sequence, which will greatly reduce you current demand and reduce any interference as the various devices pull in their current.

     

    I would use a capacitor on each sensor, probably just the 1 microfarad or so.  That will keep each sensor from experiencing induced spikes.

     

    Make sure that you set up diodes around your motor leads to prevent induced currents as you use the motor.  A motor not only uses current, but it can generate current if the wheels continue to move after the power is shut off.  Very bad!

     

    If you take some care in equalizing the load as I have suggested, your 12v battery should be up to the job, depending upon how often you use the motor.

     

    I would also recommend that you use a microcontroller to establish use logic to step through the sensors and analyze the data as it comes in.

     

    Keep in mind that each sensor will need time for the pulse to go out and return to get your distance measurement.

     

    Over what distance are you expecting to measure?

     

    The more information you provide us on your proposed circuit and circuit board implementation the more guidance we can provide you.

     

    Is this a school project or just something you want to do?

     

    DAB

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • jw0752
    0 jw0752 over 9 years ago in reply to braedan

    Hi Braedan,

    Your images came through just fine and the link you used went to a good article on decoupling. Yes if you put your sensors in place of the indicated IC you will provide the decoupling that is recommended. Getting the .1 uF caps close to each Sensor is important and make sure they are across the power supply leads and not attached to any of the signal leads unless recommended by the data sheets. The use of the 47 uF capacitor helps keep the volatge from dipping in the line when the sensor turns on. I would not use an individual 47 uF for each sensor as this will put 1700 uF of capacitance on the power supply rails and this would be excessive. Depending on the power supply or buck converter used to supply the 5 volts I would look at the recommended output capacitor size and provide this amount in 4 or five seperate caps. For example if the converter recommends 100 uF capacitor you could use (5) 22 uF caps. These larger caps should be electrolytic caps and the small 0.1 uF caps ahould be ceramic.

    John

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • jw0752
    0 jw0752 over 9 years ago in reply to braedan

    Hi Braedan,

    The article that you linked to shows a picture of a small ceramic capacitor labeled 103 but he article talks about a 0.1 uF capacitor. I feel that the 0.1 uF is the correct size and the one marked 103 (which is actually 0.01 uF) may be a little small. Your data sheet may have a recommendation which is best followed.

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • mcb1
    0 mcb1 over 9 years ago in reply to DAB

    I'm also curious about why there is a need for 37 IR sensors.

    I've seen other robots use a servo with a single sensor mounted which covers the area ahead very well.

     

    A lot of the sensors have an onboard regulator so it might be worth checking out one first.

     

    Personally I'd be splitting the 5v rail up if you need to have that much load.

     

    Your query about current and rails is best referenced back to water.

    The river flows at a certain speed (ie voltage) and has a number of pump which draw 100 litres/minute (ie Amps).

    If the river is not wide (or deep enough) then the flow will slow to a trickle (ie the voltage will drop).

     

    If the river is wide enough to handle the pumps then there will be no effect.(ie your LED will shine just the same).

     

    Every piece of wire has some resistance, and like a normal resistor as current is passed through this 'resistance' there is a corresponding voltage drop.

    The aim is to ensure your distribution loss is minimal and this includes the wires and connectors.

     

     

    Mark

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube