Ligne 2 : |
Ligne 2 : |
| | | |
| == La librairie Robot == | | == La librairie Robot == |
− | The Robot library is included with Arduino IDE 1.0.5 and later.
| + | La librairie du robot est inclus dans la version d'[http://arduino.cc/en/Main/Software Arduino IDE 1.0.5] et suivante. |
| | | |
− | The Robot has a number of built in sensors and actuators. The library is designed to easily access the robot's functionality.
| + | Le robot inclus de nombreux senseurs et actuateurs. La librairie est conçue pour accéder facilement aux fonctionnalités du robot. |
| | | |
− | The robot has two boards, a motor board and control board. Each borad has a separate programmable processor.
| + | Le robot est composé de deux cartes, une carte moteur et une carte de contrôle. Chaque carte dispose de son propre processeur programmable. |
| | | |
− | The library allows you to interface with the various sensors and peripherals on the control board :
| + | La librairie vous permet de vous d'interfacer avec les différents senseurs et périphériques de la carte de contrôle : |
| | | |
− | * potentiometer | + | * potentiomètre |
− | * 5 momentary switches | + | * 5 boutons momentanés |
− | * 160x120 pixel color screen | + | * Un écran couleur 160x120 pixels |
− | * 512Kbit EEPROM | + | * Une EEPROM de 512Kbit (64 Kbyte) |
− | * speaker | + | * Un haut parleur |
− | * compass | + | * Une boussole (compass) |
− | * 3 I2C connectors | + | * 3 connecteurs I2C |
− | * 8 TinkerKit input connectors | + | * 8 connecteurs d'entrée TinkerKit |
| | | |
− | The library also enables you to do a number of things with the motor board :
| + | La libraire vous permet également de réaliser de nombreuses opérations avec la carte moteur : |
| | | |
− | * control motor speed and direction | + | * Contrôler la vitesse et la direction des moteurs |
− | * sense the current used by each motor | + | * Contrôler le courant utilisé par chaque moteur (si le courant augment, c'est que le moteur est bloqué... ou le robot bloqué) |
| * read the state of the 5 floor sensors (also known as line detection sensors) | | * read the state of the 5 floor sensors (also known as line detection sensors) |
| * access I/O pins on the board | | * access I/O pins on the board |
Ligne 40 : |
Ligne 40 : |
| * RobotControl: commands the Control Board as well as the I/Os and motors on the Motor Board, when running the default firmware. | | * RobotControl: commands the Control Board as well as the I/Os and motors on the Motor Board, when running the default firmware. |
| | | |
− | * RobotMotor: commands the Motor Board. Use it to make your own custom version of the Motor Board firmware | + | * RobotMotor: commands the Motor Board. Use it to make your own custom version of the Motor Board firmware |
| | | |
| == Exemples == | | == Exemples == |