Go Down

Topic: DOUBT ON ARDUINO UNO BOARD PROGRAMING ON SERVO AND OBSTACLE SENSOR (Read 1 time) previous topic - next topic

manoj_1234mad

Hi...
      am new with arduino. i ve decided for a project which runs 15 servo motors along with obstacle sensor. i ve decided to start with arduino uno board. i need your help regarding few doubts which i ve, to start with my project.
the doubts are -
1) is it possible to supply +5v and ground  to the 15 servo motors using the arduino uno board ?
2)how to program obstacle sensors ?
3) my project is about walking robot which require 15 servo motors to work differently at different time, again there work will change with the obstacle sensors signal to the board. i need your help to give me a sample program to perform the task.

An early reply will be really helpful.
thank you.

Arrch

First, no need to shout.


1) is it possible to supply +5v and ground  to the 15 servo motors using the arduino uno board ?

Depends on the servos
Quote
2)how to program obstacle sensors ?

Depends on the obstacle sensors.
Quote
3) my project is about walking robot which require 15 servo motors to work differently at different time, again there work will change with the obstacle sensors signal to the board. i need your help to give me a sample program to perform the task.

Doubt people are going to have example code for your specific requirements. There is example code for running servos. There is example code for reading sensors. Understanding and adapting that code to fit your requirements is your responsibility.

liudr

Your UNO will likely need a separate power supply to power the servos. You can try the servo library to see if you can use 15 servos. I only used one but I think you may be able to use as many servos as you have pins.

You didn't specify what obstacle sensors you have so I can't tell you if you can use it with arduino.

PeterH

I remember one of the regulars here mentioned a board (a shield, I think) that provided support for lots of servos - I think you will need something like that. I don't know how many servos a UNO can drive directly, but I think it's considerably less than 15.

A typical small hobby servo requires about a 1A supply so if yours are similar rating them you will definitely need to provide a separate power supply for them and it may need to be quite substantial.
I only provide help via the forum - please do not contact me for private consultancy.

codlink

You might can get away with powering 1 servo with no load from an Arduino, but 2 or more you will have to use a separate power supply.

The Servo library uses timers on the Arduino board to drive the servos.  From Servo.h, you can drive 12 servos per timer.  If I am not mistaken, UNO only has 1.

After that, more info is needed as stated by the other posts.
//LiNK

Go Up