Tutorials / Using a transistor to control high current loads with an Arduino
In this tutorial, you'll learn how to control a high-current DC load such as a DC motor or an incandescent light from a microcontroller. (:toc Table of Contents:) Parts You will need the following parts for this tutorial. Solderless breadboard 22-AWG hookup wire Arduino Microcontroller module 10Kohm potentiometer power diodes (for DC Motor version only) DC power supply TIP120 transistor DC Motor - or - Incandescent lamp and socket (Diagram made with Fritzing) Add a potentiometer Connect a potentiometer to analog in pin 0 of the module: Connect a transistor to the microcontroller The transistor allows you to control a circuit that's carrying higher current and voltage from the microcontroller. Pinout of a TIP-120 transistor, from left to right: base, collector, emitter. Note: you can also use an IRF510 or IRF520 MOSFET transistor for this. The schematic symbol of an NPN transistor where B is the base, C is the collector, and E is the emitter. click the image to enlarge Connect a motor and power supply Notes
The Internet of Things leads to yet another Growduino
We are on the verge of the Internet of Things, where simple devices can now automatically and intelligently trigger an action in the real physical world. It’s going to be a pretty neat transition, as big as the invention of the computer mainframe in the 50's, the PC 30 years ago, and the opening of the Internet to the general public in the 90’s. How big is that? Check out the full Hammersmith report if you like, but if you really want to experience the future of the Internet of Things, begin your search at the Pachube site and maybe pick yourself up an arduino from Lady Ada. Here's my arduino-pachube project - an attempt to grow the spiciest of all peppers, the Bhut Jolokia: An arduino was used to collect information from various plant sensors (lighting level, temperature, soil moisture, and humidity) and control a bank of A/C electrical outlets. Sensors were soldered to the ends of phone cables so they could easily be jacked into the Growduino enclosure.
Tutorial Series for Arduino: It begins.
This video was featured on the Adafruit Blog on 01/06/11 This tutorial was featured on the official Arduino blog on 3/9/2011 This video was featured on the DIYFilm Blog on 03/19/11 Thanks to a generous sponsorship from element14, I’m putting together a tutorial series on using the arduino microcontroller platform! The arduino is a platform that I’ve done several projects with, and I think it is the best possible way for beginners to get acquainted with electronics. You can download the files associated with this episode here: Distributed under the GNU General Public (Open-Source) License. Arduino Project Contest! Start thinking about your arduino projects, because element14 will be sponsoring a contest where you can win a prize if your arduino project gets the most votes.
Arduino Interrupts
Often when working on microcontroller projects you need a background function to run at regular intervals. This is often done by setting up a hardware timer to generate an interrupt. The interrupt triggers an Interrupt Service Routine (ISR) to handle the periodic interrupt. In this article I describe setting up the 8-Bit Timer2 to generate interrupts on an Arduino ATMega168. I walk through steps required for setup and inside the ISR function. If you are following the Arduino sound articles this one will be important to read as well. The Arduino default processor is an ATMega168 (datasheet link). Interrupts? Interrupts Links When a new character arrives the UART system generates an interrupt. If you have lots of interrupts firing or fast timer interrupts your main code will execute slower because the microcontroller is spreading it’s processing time between your main code and all the ISR functions. With an interrupt you don’t have to keep checking to see if a character has arrived.
Growduino smart garden
I've been toying with so many ideas of things to automate, but with the long days and an approaching 2-week trip and two young plants at home, I started working in earnest on a garden control project last night. "Growduino" seemed like the obvious name... ;D This is the simplest possible version-- just an automated watering system, with the nutrient solution pumped up from a reservoir in the tub with a submersible pump. Here's a shot on Flickr: from the description: The "growduino" smart garden project will, um, grow to include more sensors and controls, but watering on a schedule seems like a good starting point since I'll be leaving the rig alone for 17 days starting Friday. The program's main parameters are pump period (time between pumps) and pump duration. Note: the "plans" are in (roughly) increasing level of complexity/desirability-- not sure about aiming or CO2 scrubbing (?!)
Arduino Inventor's Kit
Cet ensemble prêt à l'emploi, est idéalement conçu pour évaluer, étudier et vous initier à la programmation d'applications sur la base des modules Arduino. Il vous apprendra la base du développement sur microcontrôleur (piloter une led, utiliser un bouton-poussoir, gérer des capteurs, etc...) jusqu'à des montages plus complexes (piloter un servomoteur, un moteur, générer des bruitages, piloter un afficheur LCD, un registre à décalage, etc...) par le biais d'un manuel (en Anglais) décrivant 15 montages simples et didactiques. Cette nouvelle version 3.1 inclus un tournevis et une plaque sans soudure blanche (au lieu de transparente rouge) pour une meilleur visibilité. Montages décrits dans le manuel (avec leur code source) Les montages seront réalisés sur une mini plaque de connexion sans soudure (avec des flexibles straps).
Martijn Thé – iPhone & iPad Development & Interaction Design » Interfacing an optical mouse sensor to your Arduino
In this tutorial I’ll describe how you can connect the optical sensor inside a cheap mouse to your Arduino and have it read out the x- and y-movements. This will enable your Arduino to handle mouse input, detect surface movements, measure surface speed, etc. Materials This is what you need: Arduino board (any *duino will do) and the Arduino IDE.Optical mouse containing the PAN3101, ADNS-2610, ADNS-2083 or ADNS-2051 optical sensor. These sensors come in many mice sold today. Step 1 – Open up your mouse! The optical sensor and LED were covered with the black protective cap. Step 2 –Take a look at the datasheets Check out the datasheet of the sensor you’re dealing with (Google).We only need to connect 4 pins of the sensor to the Arduino, of which two are used for data and two for the power supply. Step 3 – Cutting the controller wires (optional) To make sure the mouse’s own controller does not interfere with the Arduino, I had cut the SDIO and SCLK wires running to the chip in the mouse.
Home Page
proposé par le site www.mon-club-elec.fr Nouveau : Découvrez nos kits de machines opensource et notre nouveau site dédié ! Bienvenue sur ce site ! Vous trouverez sur ce site la documentation de référence en français pour plus de 250 instructions et fonctions du langage Arduino et des librairies utilisables avec le langage Arduino, avec exemples. Ce site est la traduction en français et commentée de la référence officielle (en anglais) du langage Arduino. Il constitue en quelque sorte un site mirroir en français du site Arduino officiel. Voir également : Tous les derniers changements Vous trouverez dès à présent en ligne : Vous pouvez également découvrir mes programmes Arduino sur mon site principal : www.mon-club-elec.fr Site créé et maintenu par X.