2. L’histoire
• C’est un circuit programmable qui a été
pensé par des designers et des artistes, il
est open source, il existe de nombreuses
version, ainsi que de nombreux shields
(extension)
• Il permet la création de nouveaux objets,
de donner la vie à d’autres, ou d’en
contrôler.
3. Quelques Projets
Lumières d’ambiances Robots
Musiques
Compteurs d’abeilles Vêtements intelligents
Détecteur de température
Relève du courrier
Afficheur de Mail / Tweet
4. Le Matériel
Il existe plusieurs cartes,
la plus répandue est la UNO.
vendu seul ou avec un kit de
démarrage.
Microcontroller : ATmega328
Alimentation : 5V
Input Voltage (recommended) : 7-12V
Input Voltage (limits) : 6-20V
Digital I/O Pins : 14
Analog Input Pins : 6
DC Current per I/O Pin : 40 mA
DC Current for 3.3V Pin : 50 mA
Flash Memory 32 KB (ATmega328) of which 0.5 KB used by bootloader
SRAM 2 KB (ATmega328)
EEPROM 1 KB (ATmega328)
Vitesse de l’horloge : 16 MHz
5. Alimention
• Il est possible d’alimenter la carte via :
• Une alimentation externe (secteur/piles)
• Le port USB
• Ajout d’une interface PPOE du shield
Ethernet
6. Interfaces avec un
Idevice
• Cable Redpark (TTL serie) avec le Redpark Serial SDK
• Le shield Ethernet
• Le shield Wifi, Wifly (xbee), bluetooth
• Ou, le HiJack Board, le protocole MIDI
• Le futur Arduino DUE via l’USB host ?
7. L’interface
Nouveau Sauver
Moniteur (debug)
Compilation Ouvrir
Vérification du code
Infos compilation/
téléchargement
8. Les bibliothèques
• Servo - for controlling servo motors
• Ethernet - for connecting to the internet using the Arduino Ethernet Shield
• LiquidCrystal - for controlling liquid crystal displays (LCDs)
• SD - for reading and writing SD cards
• Stepper - for controlling stepper motors
• WiFi - for connecting to the internet using the Arduino WiFi shield
• EEPROM - reading and writing to "permanent" storage
• Firmata - for communicating with applications on the computer using a standard serial protocol.
• SPI - for communicating with devices using the Serial Peripheral Interface (SPI) Bus
• Wire - Two Wire Interface (TWI/I2C) for sending and receiving data over a net of devices or sensors.
10. Demo 1
• utilisation de IDE Arduino et en direct sur
la carte
• Création d’un croquis
• 2 fonctions :
• setup : permet d’initialiser les entrées/
sorties
• loop : la gestion du programme
int led = 3;
// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
pinMode(led, OUTPUT);
}
// the loop routine runs over and over again forever:
void loop() {
digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(led, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
11. Demo 2
• Utilisation de l’IDE Arduino et Shied
Ethernet
• Configuration de la carte Ethernet
• Utilisation en mode serveur
12. Les Liens
• http://www.arduino.cc
• http://www.openframeworks.cc/
• iOS Sensor Apps with Arduino, O’reilly
• http://www.instructables.com/id/20-
Unbelievable-Arduino-Projects
• sur Lyon : http://www.electronique-
diffusion.fr/
44, rue Pierre Delore 69008 Lyon
13. Matériels utilisé pour la
présentation
• TP LINK TL-MR3020 avec OpenWRT
• Alimentation Autonome
• FSR : Force sensitive résistance
• Servo Moteur
• LED et Bouton poussoir
• Disponible sur Adafruit.com
14. Annexes
La carte Arduino DUE sera dotée d’un micro-contrôleur ARM 32 bits
Cortex-M3, le Atmel SAM3U. Ce micro-contrôleur est cadencé à 96 MHz et
dispose de 256Kb de flash, 50 Kb de Sram, 5 liaisons séries SPI, 2 interface
I2C, 5 liaisons séries UARTS, 16 entrées analogiques d’une résolution de 12
bits.