Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: kunaldgr8 on February 03, 2012, 05:19:18 AM
-
i am trying to create a board defination for arduino Diecimila atmega168..while creaating it ask to select a package ,i searched a lot but i was unable to get the answer please help :-\ or can i get a board definition for it as i am unable to make it .
-
Just making the point that what You ask about is not at all related to WebbotLib, what it is related to is Webbot Board Designer - and thats' what the subject of the topic should be ;)
-
Here is the arduino Diecimila atmega168 board definition for WebbotLib.
-
thnxxx for board defination ;D but when i add a servo it show me cannot locate a suitable power bus-4.8v-8v
-
Servos generally need a supply between 4.8v and 8v - any more and you may blow up the servo.
The board definition you've been given indicates that the incoming supply can be between 7 and 12 v. I'll assume you've entered 9v say. So therefore there is nowhere for the servo to get power from as 9v is too high for most servos. If you started your project over and said to use a 7v or 8v supply then it wouldn't moan. However: you really need to check the voltage required by the servo you are using (WebbotLib cannot have a library of every servo ever made by man!).
Also note: that the message is just a warning - it does stop you from carrying on - it just means that you will need another supply to use to power the servos (don't forget to link the grounds together!).
-
no when i try to generate output it show first resolve the problems......so what should i do should i enter a less voltage
and if i enter a less voltage assume 6v in webbotlib and use a high voltage assume 9v .do it make a difference as there is a 5v regulated point on board to connect a single servo
-
i have futaba s-3003 standard servo -http://robokits.co.in/shop/index.php?main_page=product_info&cPath=2&products_id=141- Operating Voltage: 4.8-6.0 Volts .then will a 6v battery will be enough to drive 2 servos
-
or should i use 12v
-
The servos are connected in parallel not in series!! ie if each servo requires 6v then you need a 6v battery irrespective of how many servo there are. Just the power rating of the battery (ie Amps) is important and the mAH will tell you how long the battery will last. These are basic electronic questions and not really to do with webbotlib ;D
So you may need two batteries: one for the board (low power) and one for the servos (capable of delivery say 0.5A x the number of servos for the length of time you need mAH).
Then:
Battery 1 (anything between 7v and 12v):
+ -------------------- to the micro-controller
- --------------------- to the micro-controller
Battery 2 - for the servos (between 4.8V and 6v)
Each servo then has:-
+ -------------------------------> servo
- ---------------------------------> servo
signal from microcontroller ---> servo
And also connect the (-) of each battery together to give a common ground
-
thnxxx for help but my main doubt was that if i enter 6v battery in webbotlib (only for servos so that it dont show error because of no power bus) and use 9v battery in practical .....will it casue any problems :)
-
WebbotLib has no control over what you tell it you are planning to do vs what you actually do
My suggestion is: tell it you are using a 9v battery to power the board. Ignore the warning that the servo(s) don't have any supplies (as they don't) - and just hook them up to a different power source that is the voltage they require.
-
But i cannot generate output until i resolve problems.
-
WebbotLib has no control over what you tell it you are planning to do vs what you actually do
My suggestion is: tell it you are using a 9v battery to power the board. Ignore the warning that the servo(s) don't have any supplies (as they don't) - and just hook them up to a different power source that is the voltage they require.
IT DONT GENERATE UNTIL I RESOLVE PROBLEMS
-
There are two power points On board 1is vin other is 5v regulated i guess if my supply is more than 8v but if i use 5v regulated point servo can work
-
Ok so do this:-
In Project Designer - in the list of available supplies (half way down on left hand side) - click on the ADD button.
Create a new supply and call it Servo Power. Enter the voltage and maH rating of the separate battery you will use to power the servo(s). Once added you can add/edit your servos and you will be able to select the new 'Servo Power' option. This reminds you that you need to power the servos from this 2nd battery (but connect the ground pins of the two batteries)
Don't drive the servos from the 5v regulated supply. Servos are noisy and hungry animals - and if you have more than one of them then you may blow the on board 5V regulator.
-
then what is 5v regulated power point for
-
Its there to provide a 5v supply to the chip and other external LOW POWER devices. Servos are HIGH POWER devices. Suggest you look at a schematic from the manufacturer of your board.