C Library for Atmel AVR Processors
WebbotLib is a C library for robot builders supporting the following microcontrollers: ATMega168, ATMega32, ATMega328P, ATMega640, ATMega644, ATMega1280, ATMega2560 and ATMega2561.
The library supports a wide variety of different motor controllers, sensors and other devices. This allows you to concentrate on writing your own software without having to worry about the low level routines required to communicate with the attached devices.
When ever possible we have standardised the devices. For example: all distance sensors will return a value in centimeters. This means that you can change from one distance sensor to another with only a handfull of code changes at the top of your program. The same principle applies to motor controllers.
As well as the supported microcontrollers listed above the library also provides support for some commercial boards based on these devices. This allows 'built in' devices such as LEDs, buttons, or motor controllers to be automatically defined as well as making sure that you only attach devices to pins that have been made available by the manufacturer.
The source code and documentation for the latest release of this library is available from: http://sourceforge.net/projects/webbotavrclib/
An online version of the documentation is available here.
Comments and some unofficial examples may be found at the Society Of Robots web site
Here is just a flavour of the devices currently supported:-
| Type | Model | Comments |
| Audio | SOMO14D | Allows playback of audio files from a microSD card |
| Camera | Blackfin |
|
| AVRcam |
| |
| Motors | Sabertooth |
|
| Pololu |
| |
| Sanyo |
| |
| Solarbotics |
| |
| Toshiba |
| |
| Accelerometers |
| |
| Compass |
| |
| Current | Phidget |
|
| Distance | Devantech |
|
| Maxbotix |
| |
| Ping |
| |
| Sharp | Infra-red devices such as:
And wide range devices like:
| |
| Gyro | InvenSense |
|
| ST |
| |
| GPS |
| |
| IMU | SparkFun |
|
| Servos |
| |
| Controllers | Sony |
|
| Storage |
|
Don't see your sensors listed here? Well we may already support them.
If you are a 'user' then check the docs from the latest release.
If you are a 'supplier' or 'manufacturer' then contact me. Here is an example of traffic on the Society Of Robots website to do with WebbotLib