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/
Note that there are two code streams:-
Version 1 uses C only and can be used with, or without, Project Designer.
Version 2 requires you to use Project Designer and can generate smaller and more efficient code in either C or C++.
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:-
| Audio ||SOMO14D|| Allows playback of audio files from a microSD card|
| Stepper Motors ||Pololu|
Infra-red devices such as:
And wide range devices like:
|Real Time Clock|
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.