background preloader

Aurdino

Facebook Twitter

Playground - InterfacingWithHardware. These topics cover the hardware and software setup required to connect an Arduino device with a variety of electronic parts, chips and devices.

playground - InterfacingWithHardware

A related topic not covered under this section is the shield, boards that plug directly into an Arduino's pin layout. Information on the creation and use of specific shields belongs in that section. Information on shields in general and their creation belongs here. See here for a table of shields and the Arduino pins they use. Arduino has limits on how much current can be sourced or sunk by its I/O pins. Navigation Output Input User interface Buttons,Encoders,Keypads Unified Input InterfaceText-based user interfacePhi_prompt user interface LibraryMenuSamplePhi_prompt glcd user interface Library This is being planned. Communication General Common Pinouts Examples and information for specific output devices and peripherals: How to connect and wire up devices and code to drive them. Arduino as ISP (In-System Programmer) Visual. Monitor 6 analog input pins on Arduino.

Arduino motor/stepper/servo control - How to use. Arduino Components: The ICSP 6-pin header. The ICSP pin header is the six pins that are showed in this photo; It is even clarified by written those pins are for ICSP, but what does ICSP mean and what are its benefits.

Arduino Components: The ICSP 6-pin header

First ICSP (In-Circuit Serial Programming) is a way that allows us to program the chips when they are in circuits, in Arduino it helps in programming Arduino chip (AtMega328P) directly with AVR instructions without the need to Arduino IDE, in this case we can program AtMega328P as the factory programmed Arduino with bootloader. The bootloader helps Arduino device to understand sketches (Arduino applications), and to run them once they are installed in Arduino. ICSP will help us upgrade our Arduinos in case there are any updates from Arduino team. Conclusion, ICSP is a way to program Arduino, or an advantage to use Arduino as an ISP programmer. Projects. PanasonicIrSensor. Introduction This tutorial explains how to make a simple IR distance sensor using a Panasonic pna4602m IR sensor and an IR led.

PanasonicIrSensor

Hardware Requirments Panasonic pna4602m IR sensor (1) IR led (1) 220 ohm resistor (2) Theory and circuits For the theory behind this sensor, and for information about setting up the circuit see the boe bot instruction manual page 249. In a nutshell, you have to output a 38.5khZ square wave to the IR led for 1 millisecond, and then check the state of the sensor pin. Arduino Code //define pins. BoardDuemilanove. Overview The Arduino Duemilanove ("2009") is a microcontroller board based on the ATmega168 (datasheet) or ATmega328 (datasheet).

BoardDuemilanove

It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz crystal oscillator, a USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started.

"Duemilanove" means 2009 in Italian and is named after the year of its release. The Duemilanove is the latest in a series of USB Arduino boards; for a comparison with previous versions, see the index of Arduino boards. Summary Schematic & Reference Design.