SlideShare une entreprise Scribd logo
ARDUINO + RASPBERRY PI
WORKSHOP
DES ATELIERS DE TRAVAIL SUR LES CARTES ARDUINO ET LE
RASPBERRY PI
PRISE EN MAIN DE
L’ARDUINO
LES BASES À SAVOIR
C’EST QUOI “ARDUINO”
Trois concepts:
Carte, IDE, schield
LA CARTE “ARDUINO”
- microcontrolleur 8 bit
- Interface de programmation USB
- Broche d’entré sortie (I/O pins)
PRESENTATION DE LA CARTE
ARDUINO
Les éléments
The iTronics - Arduino + Raspberry Pi Workshop 20-04-2017
L’IDE ARDUINO
- Environnement logiciel
- Compilateur Multiplateformes
- Debugger
- Simulateur
- Programmeur
The iTronics - Arduino + Raspberry Pi Workshop 20-04-2017
The iTronics - Arduino + Raspberry Pi Workshop 20-04-2017
LES SHIELDS ARDUINO
- Carte fille
- Fonctionnalité unique
- Facile à connecter
- Bonnes bibliothèques fournies
PRISE EN MAIN DU
RASPBERRY PI
LES BASES À SAVOIR
PRESENTATION DU
RASPBERRY PI
Les éléments
The iTronics - Arduino + Raspberry Pi Workshop 20-04-2017
ARDUINO VS RASPBERRY PI
Comparatif: Name and Structure
Arduino
Raspberry Pi
VS
ARDUINO VS RASPBERRY PI
Arduino UNO,
Arduino Mega
Arduino NANO
Arduino ETC…
VS
Comparatif: Types
Raspberry Pi
Raspberry Pi 2 Model A, B
et B+
Raspberry Pi 3
Raspberry Pi Zero
ARDUINO VS RASPBERRY PI
Processeur 16Mhz
Adressage 8 bits
Mémoire: 512k SRAM,
4GB Flash, micro SD
Tension: 3.3V
VS
Comparatif: Performances
Processeur 900MHz
Adressage 32 bits
Mémoire: 2k SRAM, 32K
Flash, 1k EEPROM
Tension: 5V
ARDUINO VS RASPBERRY PI
Arduino n’a pas de
système d’exploitation.
Mais il y a le
BootLoader
VS
Comparatif: OS or Non OS
Raspberry Pi possède un sytème
d’exploitation
- Raspbian
- Open Elec
- Ubuntu Mate
- OSMC – Pour open source media
center
- Windows 10 (pas encore compatible
ARDUINO VS RASPBERRY PI
C++
void setup()
{
// write your setup code here, to run once
}
void loop()
{
// write your main code here, to run repeatedly
}
VS
Comparatif: Langage de
programmation
Python
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BOARD)
GPIO.setup(3, GPIO.OUT, initial =
GPIO.HIGH)
while True:
GPIO.output(3, HIGH)
ARDUINO VS RASPBERRY PI
C++
int led = 13;
void setup() {
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
}
VS
Comparatif: Blink
Python
# Import des modules
import RPi.GPIO as GPIO
import time
# Initialisation de la numerotation et des E/S
GPIO.setmode(GPIO.BOARD)
GPIO.setup(3, GPIO.OUT, initial = GPIO.HIGH)
# On fait clignoter la LED
while True:
GPIO.output(3, not GPIO.input(3))
time.sleep(0.5)
Clignotement d'une LED
Site :
arduino.cc
Forum, cours, projets,
logiciels, etc.
ARDUINO VS RASPBERRY PI
Site :
www.raspberrypi
.org
Forum, cours, projets,
logiciels, etc.
ATELIER 1: PRISE EN MAIN ET BLINK
ATELIER 2: Bouton Poussoir et LED
ATELIER 3: Bouton Poussoir et LEDs
ATELIER 4: LDR et
LEDs
ATELIER 4: LDR et
LEDs
Schema
ATELIER 5: Detecteur de mvt et LEDs
ATELIER 5: Détecteur de mvt et
LEDs
Schema
THANKS FOR YOUR
KIND ATTENTION !!!
A
suivre…

Contenu connexe

PPTX
09 big data mapreduce
PDF
Cours2 initiation language arduino
PPTX
2- The iTronics Internet of things Workshop 27-05-2017 - GPIO
PPTX
Systèmes embarqués_chap4-cours -ingneieurie
PPTX
The iTronics Internet of things Workshop 27-05-2017 - get started
PDF
Intro arduino
PPTX
Formation arduino avec WORKSHOP robot.pptx
09 big data mapreduce
Cours2 initiation language arduino
2- The iTronics Internet of things Workshop 27-05-2017 - GPIO
Systèmes embarqués_chap4-cours -ingneieurie
The iTronics Internet of things Workshop 27-05-2017 - get started
Intro arduino
Formation arduino avec WORKSHOP robot.pptx

Similaire à The iTronics - Arduino + Raspberry Pi Workshop 20-04-2017 (20)

PPTX
Formation arduino avec un workshop tout terrain.pptx
PDF
Programmation des cartes Arduino - Se familiariser avec la programmation Simple
PPTX
Présentation Arduino par Christian, F5HOD
PPT
PPT01_Initiation à l’Arduino.ppt
PPTX
Easy Hard(ware) with Arduino
PDF
Presntation about Arduino pins and for what
PDF
Hacking your Home @bdx.io
PDF
Programmez un Raspberry Pi - Initiation avec Python (Simon Monk) (z-lib.org).pdf
PPTX
Raspberry Pi: Les utilisations
PDF
IoT.slides.2019.pdf IoT.slides.2019.pdf IoT.slides.2019.pdf
PDF
Communication SPI avec la Raspberry Pi 3
PDF
Utilisation ardublock-v2 (1)
PDF
Cours Arduino et Programtion Pr. F. NADIR.pdf
PDF
Cours de compréhension de la programmation arduino
PPTX
Cours de C++ / Tronc commun deuxième année ISIMA
PDF
OSIS18_IoT: L'approche machine virtuelle pour les microcontrôleurs, le projet...
PPTX
Ateliers protypage d objets connectes via arduino
PPT
Arduino_en_technologie.ppt
PDF
Partie1 TypeScript
PPTX
Arduino expliqué à mon boss !
Formation arduino avec un workshop tout terrain.pptx
Programmation des cartes Arduino - Se familiariser avec la programmation Simple
Présentation Arduino par Christian, F5HOD
PPT01_Initiation à l’Arduino.ppt
Easy Hard(ware) with Arduino
Presntation about Arduino pins and for what
Hacking your Home @bdx.io
Programmez un Raspberry Pi - Initiation avec Python (Simon Monk) (z-lib.org).pdf
Raspberry Pi: Les utilisations
IoT.slides.2019.pdf IoT.slides.2019.pdf IoT.slides.2019.pdf
Communication SPI avec la Raspberry Pi 3
Utilisation ardublock-v2 (1)
Cours Arduino et Programtion Pr. F. NADIR.pdf
Cours de compréhension de la programmation arduino
Cours de C++ / Tronc commun deuxième année ISIMA
OSIS18_IoT: L'approche machine virtuelle pour les microcontrôleurs, le projet...
Ateliers protypage d objets connectes via arduino
Arduino_en_technologie.ppt
Partie1 TypeScript
Arduino expliqué à mon boss !
Publicité

Plus de Romaric Saounde Tsopnang (20)

PPTX
Aq switches2 - Beginner
PPTX
Aq les conditionnelles - Débutant
PPTX
Ap les boucles - Débutants
PPTX
Ap loops2 - Beginner
PPTX
Ao light nxt2 - Beginner
PPTX
An capteur de couleur - Débutant
PPTX
An color Sensor - Beginner
PPTX
Al capteur tactile - Débutant
PPTX
Al touch2 - Beginner
PPTX
Ak custom imagessounds2 - Beginner
PPTX
Ak image et son standard - Débutant
PPTX
Aj display2 - Beginner
PPTX
Aj affichage - Débutant
PPTX
Ai turning2 - Beginner
PPTX
Ai virages - Débutant
PPTX
Ah pseudocode2 - Beginner
PPTX
Ah pseudocode-fr - Débutant
PPTX
Ag moving straight2 - Beginner
PPTX
Ag deplacement droit - Débutant
PPTX
Af port view2 - Beginner
Aq switches2 - Beginner
Aq les conditionnelles - Débutant
Ap les boucles - Débutants
Ap loops2 - Beginner
Ao light nxt2 - Beginner
An capteur de couleur - Débutant
An color Sensor - Beginner
Al capteur tactile - Débutant
Al touch2 - Beginner
Ak custom imagessounds2 - Beginner
Ak image et son standard - Débutant
Aj display2 - Beginner
Aj affichage - Débutant
Ai turning2 - Beginner
Ai virages - Débutant
Ah pseudocode2 - Beginner
Ah pseudocode-fr - Débutant
Ag moving straight2 - Beginner
Ag deplacement droit - Débutant
Af port view2 - Beginner
Publicité

Dernier (17)

PPTX
COURS DE PROSPECTION MINIERE UTMSIRI - Copie.pptx
PDF
Regles sur la gestion de l’Eclairage public
PPTX
UMAPON Cours de traitement des minerais 2.pptx
PDF
TP L’analyse granulométrique par tamisage
PPTX
Chapitre7-java------------------ Exception.pptx
PPTX
mon_expose_de_geophysique_disposotif_de_wener.pptx
PDF
Expansion du Réseau de Gazoducs de Gaz Naturel au Brésil _ Analyse Technique ...
PDF
FAQ_FORAGE_EAU_SUNRISE_ENGINEERING_GROUP_SARL2025.pdf
PDF
CHAPITRE 3 Typologie des réseaux [Enregistrement automatique] 4.pdf
PDF
Visite de chantier – Projet de Polyclinique à Laghouat
PPTX
Logique séquentielle : les fondamentaux
PDF
Arouna Toure - Senior Ingénieur Logiciel Et Chef De Produit
PDF
Proposition de contenu pouvant résoudre les problèmes détectés à partir des é...
PPTX
CH1-RMELLOULI-Données des problèmes d'ordonnancement de la production.pptx
PDF
TP de La Masse Volumique apparente et absolue
PPTX
Introduction aux Systèmes temps réel.pptx
PPT
620118449-1-Introduction-de-La-MOCN.pptT
COURS DE PROSPECTION MINIERE UTMSIRI - Copie.pptx
Regles sur la gestion de l’Eclairage public
UMAPON Cours de traitement des minerais 2.pptx
TP L’analyse granulométrique par tamisage
Chapitre7-java------------------ Exception.pptx
mon_expose_de_geophysique_disposotif_de_wener.pptx
Expansion du Réseau de Gazoducs de Gaz Naturel au Brésil _ Analyse Technique ...
FAQ_FORAGE_EAU_SUNRISE_ENGINEERING_GROUP_SARL2025.pdf
CHAPITRE 3 Typologie des réseaux [Enregistrement automatique] 4.pdf
Visite de chantier – Projet de Polyclinique à Laghouat
Logique séquentielle : les fondamentaux
Arouna Toure - Senior Ingénieur Logiciel Et Chef De Produit
Proposition de contenu pouvant résoudre les problèmes détectés à partir des é...
CH1-RMELLOULI-Données des problèmes d'ordonnancement de la production.pptx
TP de La Masse Volumique apparente et absolue
Introduction aux Systèmes temps réel.pptx
620118449-1-Introduction-de-La-MOCN.pptT

The iTronics - Arduino + Raspberry Pi Workshop 20-04-2017

  • 1. ARDUINO + RASPBERRY PI WORKSHOP DES ATELIERS DE TRAVAIL SUR LES CARTES ARDUINO ET LE RASPBERRY PI
  • 2. PRISE EN MAIN DE L’ARDUINO LES BASES À SAVOIR
  • 3. C’EST QUOI “ARDUINO” Trois concepts: Carte, IDE, schield
  • 4. LA CARTE “ARDUINO” - microcontrolleur 8 bit - Interface de programmation USB - Broche d’entré sortie (I/O pins)
  • 5. PRESENTATION DE LA CARTE ARDUINO Les éléments
  • 7. L’IDE ARDUINO - Environnement logiciel - Compilateur Multiplateformes - Debugger - Simulateur - Programmeur
  • 10. LES SHIELDS ARDUINO - Carte fille - Fonctionnalité unique - Facile à connecter - Bonnes bibliothèques fournies
  • 11. PRISE EN MAIN DU RASPBERRY PI LES BASES À SAVOIR
  • 14. ARDUINO VS RASPBERRY PI Comparatif: Name and Structure Arduino Raspberry Pi VS
  • 15. ARDUINO VS RASPBERRY PI Arduino UNO, Arduino Mega Arduino NANO Arduino ETC… VS Comparatif: Types Raspberry Pi Raspberry Pi 2 Model A, B et B+ Raspberry Pi 3 Raspberry Pi Zero
  • 16. ARDUINO VS RASPBERRY PI Processeur 16Mhz Adressage 8 bits Mémoire: 512k SRAM, 4GB Flash, micro SD Tension: 3.3V VS Comparatif: Performances Processeur 900MHz Adressage 32 bits Mémoire: 2k SRAM, 32K Flash, 1k EEPROM Tension: 5V
  • 17. ARDUINO VS RASPBERRY PI Arduino n’a pas de système d’exploitation. Mais il y a le BootLoader VS Comparatif: OS or Non OS Raspberry Pi possède un sytème d’exploitation - Raspbian - Open Elec - Ubuntu Mate - OSMC – Pour open source media center - Windows 10 (pas encore compatible
  • 18. ARDUINO VS RASPBERRY PI C++ void setup() { // write your setup code here, to run once } void loop() { // write your main code here, to run repeatedly } VS Comparatif: Langage de programmation Python import RPi.GPIO as GPIO GPIO.setmode(GPIO.BOARD) GPIO.setup(3, GPIO.OUT, initial = GPIO.HIGH) while True: GPIO.output(3, HIGH)
  • 19. ARDUINO VS RASPBERRY PI C++ int led = 13; void setup() { 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 } VS Comparatif: Blink Python # Import des modules import RPi.GPIO as GPIO import time # Initialisation de la numerotation et des E/S GPIO.setmode(GPIO.BOARD) GPIO.setup(3, GPIO.OUT, initial = GPIO.HIGH) # On fait clignoter la LED while True: GPIO.output(3, not GPIO.input(3)) time.sleep(0.5) Clignotement d'une LED
  • 20. Site : arduino.cc Forum, cours, projets, logiciels, etc. ARDUINO VS RASPBERRY PI Site : www.raspberrypi .org Forum, cours, projets, logiciels, etc.
  • 21. ATELIER 1: PRISE EN MAIN ET BLINK
  • 22. ATELIER 2: Bouton Poussoir et LED
  • 23. ATELIER 3: Bouton Poussoir et LEDs
  • 24. ATELIER 4: LDR et LEDs
  • 25. ATELIER 4: LDR et LEDs Schema
  • 26. ATELIER 5: Detecteur de mvt et LEDs
  • 27. ATELIER 5: Détecteur de mvt et LEDs Schema
  • 28. THANKS FOR YOUR KIND ATTENTION !!! A suivre…