background preloader

Arduino Tutorials

Arduino Tutorials
So, I get two or three emails a day, all basically asking the same thing: "Where can I learn about electronics?" In general, most of these people have seen some of my projects and want to be able to build similar things. Unfortunately, I have never been able to point them to a good site that really takes the reader through a solid introduction to microcontrollers and basic electronics. I designed this tutorial course to accompany the Arduino starter pack sold at the Adafruit webshop. The pack contains all the components you need (minus any tools) for the lessons Follow these lessons for happiness and prosperity. Lesson 0 Pre-flight check...Is your Arduino and computer ready? Here are some recommended tools: If you need to get any soldering done, you may also want.... All of the content in the Arduino Tutorial is CC 2.5 Share-Alike Attrib. Love it? To some extent, the structure of the material borrows from: The impressively good "What's a microcontroller?"

arduino interfacing with the HD44780 LCD « Adams Bros Blog It became time for me to interface an LCD with my Arduino. I need to generate a handy report of what my various sensors are picking up. The following is an account of my notes on twisting up my HD44780 compatible LCD on the Arduino. Please enjoy. I'm staring at my LCD module. I can hear it saying, "hook me up!" #1: Identification On the back of the unit, it says:AMC2004A-B-B6NTDW-SP LOT#000542 A little Googling for "AMC2004A-B" and I find that it's an HD44780 compatible LCD. #2: Figuring The only figuring I need is for the backlight. #3: Wiring A little skimming of the spec sheet helps me understand how to wire this up so here we go: Pin No. #4: Programming The LiquidCrystal Library came with my Arduino 0012 Alpha software package (IDE). #include <LiquidCrystal.h> /* LiquidCrystal display with: LCD 4 (RS) to arduino pin 12 LCD 5 (R/W) to ground (non-existent pin 14 okay?) void loop() { }

UNO R3 Starter KIT LCD1602 Servo Motor Breadboard FOR Arduino Technical Support Posting to: Worldwide Gloss: a Pygame OpenGL wrapper Gloss is a high-performance graphics wrapper around Pygame that lets you take advantage of OpenGL without having to delve into the murky depths of 3D programming. Gloss lets you build 2D games where you can rotate, scale and recolor sprites on the fly, and also includes a selection of helpful mathematics functions to make the life of games coders easier. Gloss is licensed under LGPLv3, and comes with full documentation, a tutorial and several code examples to help get you started, so if you're looking to make a game quickly and easily give it a try! OpenGL is much harder than Pygame. Gloss uses OpenGL, but hides it all. What does Gloss include? The functionality most people will want to use in Gloss includes: Download the tarball and run some of the examples to see what Gloss can do. Doesn't Pyglet do all this already? Pyglet is a very cool and very mature OpenGL library for Python, but it serves quite a different purpose to Gloss. Is Gloss hard to learn? Quite the opposite!

Arduino tuto | Dans ce tutoriel on se propose d’allumer successivement deux LED par l’action d’un bouton-poussoir, chaque appui allumant l’une et éteignant l’autre. L’une des diodes est rouge et l’autre, verte, est allumée au lancement du programme. L’environnement de dévelop­pement (IDE) est préalablement installé sous Linux, Mac OS X ou Windows. Un bouton, deux diodes et trois résistances Voici le montage : la plaque d’essais est alimentée par la carte elle-même (5V et masse),les cathodes des diodes sont reliées à la masse par l’intermédiare de deux résistances de 560 Ω, leurs anodes sont reliées aux pins 2 et 3 de la carte. Dessin réalisé avec Fritzing Code source Télécharger ce code [ Explication du code ] [ Replier ] • Lignes 1 à 3 : on initialise trois variables entières (mot-clé int) dont les valeurs représentent un pin du microcontrôleur : int ledRouge = 2;la LED rouge est branchée sur le pin 2,int ledVerte = 3;la LED verte sur le pin 3,int boutonPoussoir = 8;le bouton-poussoir sur le pin 8.

A Multi-Protocol Infrared Remote Library for the Arduino Do you want to control your Arduino with an IR remote? Do you want to use your Arduino to control your stereo or other devices? This IR remote library lets you both send and receive IR remote codes in multiple protocols. To use the library, download from github and follow the installation instructions in the readme. How to send This infrared remote library consists of two parts: IRsend transmits IR remote packets, while IRrecv receives and decodes an IR message. #include <IRremote.h> IRsend irsend; void setup() { Serial.begin(9600); } void loop() { if ( ! This sketch sends a Sony TV power on/off code whenever a character is sent to the serial port, allowing the Arduino to turn the TV on or off. How to receive IRrecv uses an infrared detector connected to any digital input pin. The examples/IRrecvDemo sketch provides a simple example of how to receive codes: The IRrecv class performs the decoding, and is initialized with enableIRIn(). Hardware setup Some background on IR codes

HC-SR04 Distance Sensor Screen-reader users, click here to turn off Google Instant. MoreEven more from Google Sign in Web Images Shopping Videos News MoreSearch tools Maps Books Apps Any country Any time All results Search near… About 94,800 results SponsoredWhy these sponsored results? Based on your search query, we think you are trying to find a product. Shop for HC‑SR04 Distance Sensor on Google Ultrasonic Module Hc- ... MiniInTheBox... Ultrasonic Module Hc-Sr04 Distance Measuring Transducer Sensor for Arduino Huge Selection of Electronics Accessories Ultrasonic Module HC- ... Ultrasonic Module HC-SR04 Distance Measuring Ranging Transducer Sensor Up To 60% Off, Free Shipping! Ultrasonic Sensor HC- ... Ultrasonic Sensor HC-SR04 Distance Measuring Module - Blue Silver Arduino Ultrasonic ... Arduino Ultrasonic Module Hc-sr04 Distance Sensor Measuring Transducer Great deals! HC-SR04 Ultrasonic ... GearBest HC-SR04 Ultrasonic Distance Measuring Sensor Module for Arduino / NewP Free Shipping! Search Results

Welcome to the 419 Eater TITLE: Busted! SCAMMER NAME: Ony Obo SCAMMER LOCATION: Lagos, Nigeria SCAMBAITER: Shiver Metimbers For a slight change, we have a scammer trying to ply his trade via a different routine. This time it's a repentant dying man, wanting to distribute his millions to charity. Of course, were someone to reply to this email wanting to help, the victim would have course pay fictitious "fees" to a fake barrister that the scammer would hire to handle the cash transfer. We've had carvings and artwork from scammers on quite a few occasions now, and I think it's time to move on to other ways to cause misery for these thieves, so for my final attempt at getting artwork out of a scammer I'll try for something a little different. It all starts way back near the end of July 2006... From: Ony Obo To: Brian Anthony Date: July 23rd 2006 Subject: HELP ME TO SPREAD GOODNESS Hello my friend, Hope this day finds you well? God bless you Ony Obo Things to note: This guy is a grade 'A' P.O.S. OK. Dear Mr. Sincerely, thanks

PoBot - Robotic Sophia Antipolis - Débuter avec une carte Arduino La famille Arduino est apparue en 2006 sous forme d’une carte programmable avec un port série. Puis de nouvelles versions sont apparues, toujours aussi simples, avec différents formats : petites, grandes, plus puissantes, plus économiques, avec USB, avec Ethernet, compatible Androïd, etc... On peut les utiliser pour récupérer les informations de capteurs, pour contrôler des moteurs, pour communiquer avec un ordinateur, avec un téléphone portable, pour envoyer et lire des messages sur Internet, pour éteindre des appareils électriques, pour piloter un robot mobile, pour servir de cerveau à un humanoïde, ou tout simplement pour apprendre l’électronique, et encore bien d’autres usages. Retrouvez grâce au lexique tous nos articles traitant de la carte Arduino. Arduino, c’est une grande famille et une solution reconnue avec des publications dédiées. Différents modèles, une même passion Présentation Voici ses caractéristiques principales pour le modèle le plus courant : hardware software Premiers pas

Ressources pour l'interactivité | Arduino / I2C Arduino est distribué avec la logithèque Wire qui permet une communication I2C et Two Wire. La logithèque Wire utilise un adressage à 7 bits pour l'écriture et la lecture. Pour convertir une adresse I2C à 8 bist en adresse I2C à 7 bits, les bits doivent être décalés vers la droite ( >> 1 ). Par exemple, le capteur TPA81 à l'adresse I2C 8 bits de 0xD0 (B11010000) par défaut. En décalant les bits vers la droite, l'adresse I2C devient 0x68 (B01101000): Rp=1.8k 5.1 Écriture // Set register and write data Wire.beginTransmission(ADDRESS); Wire.send(REGISTRE); Wire.send(DATA); [...] 5.2 Lecture // Set register Wire.beginTransmission(ADDRESS); Wire.write(REGISTRE); Wire.endTransmission(); // Request data Wire.requestFrom(ADDRESS, NUMBER_OF_BYTES); // Wait for register's datawhile(Wire.available() < NUMBER_OF_BYTES) { ; // Do nothing } int i2c_data =;

Tutorial Search Results for servo Mario the Magician's Magical Lapel Flower A guest tutorial from the astonishingly talented [Mario the Magician]( A step-by-step tutorial to put together your own flower with an awesome video demonstration of its use! SparkFun Inventor's Kit for MicroView The SparkFun Inventor's Kit for MicroView follows our tried and true inventor's kit model, bringing you 11 simple yet fun experiments to introduce you to the SparkFun MicroView. Galileo Experiment Guide Learn how to work with the Galileo with this Awesome experiment guide! Digital Sandbox Experiment Guide Your guide to the Digital Sandbox! Arduino Shields All things Arduino Shields. RedBot Assembly Guide Rev 02 Assembly Guide for the RedBot Kit. Raspberry gPIo How to use either Python or C++ to drive the I/O lines on a Raspberry Pi.