go away spammer

Author Topic: webbotlib  (Read 1856 times)

0 Members and 1 Guest are viewing this topic.

Offline kunaldgr8Topic starter

  • Full Member
  • ***
  • Posts: 84
  • Helpful? 0
webbotlib
« 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 .
« Last Edit: February 03, 2012, 05:30:56 AM by kunaldgr8 »

Offline newInRobotics

  • Supreme Robot
  • *****
  • Posts: 1,015
  • Helpful? 48
  • N.I.R.
Re: webbotlib
« Reply #1 on: February 03, 2012, 05:46:43 AM »
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  ;)
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian W

Offline billhowl

  • Supreme Robot
  • *****
  • Posts: 376
  • Helpful? 32
  • Your success is in your hands.
Re: webbotlib
« Reply #2 on: February 03, 2012, 06:18:49 AM »
Here is the arduino Diecimila atmega168 board definition for WebbotLib.

Offline kunaldgr8Topic starter

  • Full Member
  • ***
  • Posts: 84
  • Helpful? 0
Re: webbotlib
« Reply #3 on: February 03, 2012, 10:25:05 AM »
thnxxx for board defination ;D but when i add a servo it show me cannot locate a suitable power bus-4.8v-8v

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,165
  • Helpful? 111
    • Webbot stuff
Re: webbotlib
« Reply #4 on: February 03, 2012, 12:15:35 PM »
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!).
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline kunaldgr8Topic starter

  • Full Member
  • ***
  • Posts: 84
  • Helpful? 0
Re: webbotlib
« Reply #5 on: February 03, 2012, 10:06:24 PM »
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

Offline kunaldgr8Topic starter

  • Full Member
  • ***
  • Posts: 84
  • Helpful? 0
Re: webbotlib
« Reply #6 on: February 03, 2012, 10:21:24 PM »
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

Offline kunaldgr8Topic starter

  • Full Member
  • ***
  • Posts: 84
  • Helpful? 0
Re: webbotlib
« Reply #7 on: February 04, 2012, 11:00:46 AM »
or should i use 12v

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,165
  • Helpful? 111
    • Webbot stuff
Re: webbotlib
« Reply #8 on: February 04, 2012, 01:33:26 PM »
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
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline kunaldgr8Topic starter

  • Full Member
  • ***
  • Posts: 84
  • Helpful? 0
Re: webbotlib
« Reply #9 on: February 04, 2012, 11:19:29 PM »
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 :)

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,165
  • Helpful? 111
    • Webbot stuff
Re: webbotlib
« Reply #10 on: February 05, 2012, 06:24:09 PM »
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.
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline kunaldgr8Topic starter

  • Full Member
  • ***
  • Posts: 84
  • Helpful? 0
Re: webbotlib
« Reply #11 on: February 05, 2012, 10:52:38 PM »
But i cannot generate output until i resolve problems.

Offline kunaldgr8Topic starter

  • Full Member
  • ***
  • Posts: 84
  • Helpful? 0
Re: webbotlib
« Reply #12 on: February 06, 2012, 05:37:20 AM »
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

Offline kunaldgr8Topic starter

  • Full Member
  • ***
  • Posts: 84
  • Helpful? 0
Re: webbotlib
« Reply #13 on: February 06, 2012, 07:18:44 AM »
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

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,165
  • Helpful? 111
    • Webbot stuff
Re: webbotlib
« Reply #14 on: February 06, 2012, 01:55:42 PM »
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.
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline kunaldgr8Topic starter

  • Full Member
  • ***
  • Posts: 84
  • Helpful? 0
Re: webbotlib
« Reply #15 on: February 07, 2012, 11:46:33 AM »
then what is 5v regulated power point for

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,165
  • Helpful? 111
    • Webbot stuff
Re: webbotlib
« Reply #16 on: February 07, 2012, 02:45:04 PM »
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.
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

 


Get Your Ad Here