arduino-void-setup
arduino-void-setup
WELCOME
Planning :
● General introduction
● Components(h-bridge,relais,
ultrason,bluetooth,ir,...)
● General idea about µC
● Arduino Programming: General
Structure
INTRODUCTION
ROBOTICS ?
Robotics is the set of techniques
allowing the design and production
of automatic machines or robots
A robot is an assembling mechatronic device
(mechanical, electronic and computer) designed to
perform tasks automatically.
Notre robot
Le robot est composé de 3 parties :
Système de
contrôle
(Arduino) Système
mécanique
Capteurs et
actionneurs
Components
H-bridge
Diode
Phototransistor
Turn with a
certain angle
Ultrasonic Sensor
determine the
distance to a certain
object
Hc-05
Enable bluetooth
communication
N20
Encoder motor
Microcontroller
What’s the difference between a
microcontroller and microprocessor?
Main Differences:
Qualcomm ARM
AMD processor Intel processor Processor
Snapdragon
Micro Controllers
Up to 240MHz STM32
Up to 480MHz
Arduino Uno
Up to 16MHz
What do we need to program a
Microcontroller ?
● µC
● Programmer
● IDE (Integrated Development Environment)
- Compiler
- Text Editor
● Basic circuit building skills
Arduino
µP digital signal
HIGH
5V digitalWrite(pin,HIGH);
ON OFF digitalWrite(pin,LOW);
Arduino IDE
(Integrated
Development
Environment)
3 Parts Are involved
practice 2:
Use the serial monitor to plot a sinus function.
practice 3:
write a program that reads from serial monitor a nombre and verify if
it’s 1 so it prints “Good job Geek” otherwise it prints “nah wrong”
Activités
practice 4:
Faire clignoter une LED pendant une période de 2s
practice 5:
Utiliser la commande analogWrite() pour contrôler la luminosité d’une LED.
practice 6:
Utiliser un bouton pour contrôler une LED.
practice 7:
Utiliser un potentiometre pour contrôler une LED en utilisant analogWrite().
time for a
Challenge!!
Challenge
Tâche : Afficher des nombres binaires sur un octet sur 8
LED en utilisant Arduino avec l'entrée depuis le Serial
Monitor.
Si le nombre entré est > a 255 allumer tous les LEDs.
Si le nombre entré est < a 0 éteindre tous les LEDs.
NB: Notre but est de stimuler votre créativité et votre intérêt pour les projets Arduino.
N'hésitez pas à explorer d'autres fonctions, ajouter des détails personnels et trouver de
l'inspiration dans des projets similaires. Nous prendrons en compte tout ajout ou effort
supplémentaire que vous ferez.
thank you for your
time