This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*************************************************** | |
Lecture de fichiers mp3 sur une carte SD. | |
Plus d'infos: | |
http://electroniqueamateur.blogspot.com/2013/06/lecture-de-fichiers-mp3-avec-arduino-et.html | |
****************************************************/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/***********************PIR_MP3*************************** | |
* Ce sketch joue au hasard un mp3 stocké sur une carte SD | |
* lorsque le capteur PIR détecte une présence. | |
* | |
* Utilisation intensive de la libraire SFEMP3Shield par | |
* Bill Porter et Michael P. Flaga. | |
* | |
* La carte SD doit contenir des fichiers mp3 nommés "Track001.mp3", "Track002.mp3", etc. | |
* | |
* Connexions: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************************************** | |
Bargraphe | |
Ce sketch contrôle un bargraphe à LED branché à un Arduino | |
par l'entremise d'un compteur décimal CD4017. Le nombre | |
de LEDs allumées est proportionnel au signal analogique | |
capté à l'entrée A0. | |
Inspiré d'un sketch de Leonel Machava http://codentronix.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*************Telecommande_et_LEDs ********************* | |
4 LEDs branchées aux sorties 2-5 de l'Arduino sont contrôlées | |
au moyen d'une télécommande recyclée suivant le protocole Panasonic. | |
Utilisation de la librairie IRremote de Ken Shirriff | |
(http://www.righto.com/). | |
Plus d'infos: | |
http://electroniqueamateur.blogspot.com/2013/08/controler-un-arduino-avec-une.html | |
********************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/**************************** Carriots_test.ino *********************** | |
* | |
* Exemple simple pour explorer les possibilités de carriots.com | |
* Basé sur un tutoriel de carriots.com | |
* | |
* Shield ethernet | |
* Potentiomètre branché à A3 | |
* LED branchée à D7 | |
* | |
* La LED est allumée quand la valeur reçue à A3 est supérieure à 500, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************************************ | |
Saisie de données (data logging) avec un Arduino | |
Matériel: Arduino Uno | |
Lecteur de carte SD (10-11-12-13) avec adapteur 5/3,3 V | |
Horloge temps réel (RTC) (A-4 et A-5) | |
Thermomètre numérique DS18B20 (digital 8) | |
Phorésistance en diviseur de tension (A-0) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************************************ | |
Horloge Arduino | |
Horloge simple avec un Arduino, un module breakout | |
RTC DS1307 et un afficheur LCD. | |
Branchements du breakout RTC DS1307: | |
Gnd --> GND | |
Vcc --> 5 V | |
Sda --> analog pin A4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********************************************************************** | |
* Contrôle de deux moteurs cc au moyen d'un circuit intégré L293D ou L6205N. | |
* http://electroniqueamateur.blogspot.ca/2013/06/controler-deux-moteurs-cc-avec-un-l6205.html | |
***********************************************************************/ | |
#define motorPin1a 3 // Marche avant du premier moteur | |
#define motorPin1b 4 // Marche arrière du premier moteur | |
#define speedPin1 9 // Enable pin pour le premier moteur | |
#define motorPin2a 5 // Marche avant du deuxième moteur |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********************************************************** | |
Sketch pour contrôler un potentiomètre numérique | |
MCP41100 au moyen d'un Arduino Uno. | |
http://electroniqueamateur.blogspot.ca/2013/04/faire-varier-une-resistance-au-moyen-de.html | |
**********************************************************/ | |
#include <SPI.h> | |
const int slaveSelectPin = 10; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********************* Carriots_Data_Logger.ino *********************** | |
* | |
* Exemple de Data Logger avec carriots.com | |
* | |
* Les valeurs de trois capteurs analogiques branchés à A0, A1 et A2 | |
* sont envoyées à carriots.com à intervalles réguliers | |
* | |
* http://electroniqueamateur.blogspot.com/2013/08/data-logging-avec-carriots-arduino-et.html | |
* | |
**********************************************************************/ |
OlderNewer