background preloader

Programmation

Facebook Twitter

Arduino : Présentation et traduction en Français de ArduBlock. ArduinoBoardUno-Mozilla Firefox. OSH: Schematics, Reference Design, Board size Arduino / Genuino Uno is open-source hardware! You can build your own board using the follwing files: Programming The Arduino/Genuino Uno can be programmed with the (Arduino Software (IDE)).

The ATmega328 on the Arduino/Genuino Uno comes preprogrammed with a bootloader that allows you to upload new code to it without the use of an external hardware programmer. You can also bypass the bootloader and program the microcontroller through the ICSP (In-Circuit Serial Programming) header using Arduino ISP or similar; see these instructions for details. The ATmega16U2 (or 8U2 in the rev1 and rev2 boards) firmware source code is available in the Arduino repository. Warnings The Arduino/Genuino Uno has a resettable polyfuse that protects your computer's USB ports from shorts and overcurrent. Differences with other boards The Uno differs from all preceding boards in that it does not use the FTDI USB-to-serial driver chip. Power Memory PIN MAPPING ATmega328P. ArduinoBoardMega2560-Mozilla Firefox. Overview The Arduino Mega 2560 is a microcontroller board based on the ATmega2560 (datasheet). It has 54 digital input/output pins (of which 15 can be used as PWM outputs), 16 analog inputs, 4 UARTs (hardware serial ports), 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. The Mega is compatible with most shields designed for the Arduino Duemilanove or Diecimila. The Mega 2560 is an update to the Arduino Mega, which it replaces. The Mega2560 differs from all preceding boards in that it does not use the FTDI USB-to-serial driver chip. 1.0 pinout: added SDA and SCL pins that are near to the AREF pin and two other new pins placed near to the RESET pin, the IOREF that allow the shields to adapt to the voltage provided from the board.

Schematic, Reference Design & Pin Mapping. Francais - AnalogWrite browse-Mozilla Firefox. Ping. (redirected from Tutorial.UltrasoundSensor) Learning Examples | Foundations | Hacking | Links Examples > Sensors Ping Ultrasonic Range Finder The Ping))) is an ultrasonic range finder from Parallax. It detects the distance of the closest object in front of the sensor (from 2 cm up to 3m). It works by sending out a burst of ultrasound and listening for the echo when it bounces off of an object. Hardware Required Arduino Board (1) Ping Ultrasonic Range Finder hook-up wire Circuit The 5V pin of the PING))) is connected to the 5V pin on the Arduino, the GND pin is connected to the GND pin, and the SIG (signal) pin is connected to digital pin 7 on the Arduino. click the image to enlarge image developed using Fritzing. Schematic: Code /* Ping))) Sensor This sketch reads a PING))) ultrasonic rangefinder and returns the distance to the closest object in range.

Created 3 Nov 2008 by David A. // this constant won't change. See Also: Arduino Diecimila / Burning the Bootloader without AVR-Writer. Software. Arduino - HomePage. Quaduino-Part2 (Arduino QuadCopters) Modelism - guchtpi's little world - Premier contact. PulseIn. Reference Language | Libraries | Comparison | Changes Description Reads a pulse (either HIGH or LOW) on a pin. For example, if value is HIGH, pulseIn() waits for the pin to go HIGH, starts timing, then waits for the pin to go LOW and stops timing. Returns the length of the pulse in microseconds. Gives up and returns 0 if no pulse starts within a specified time out. The timing of this function has been determined empirically and will probably show errors in longer pulses. Syntax pulseIn(pin, value) pulseIn(pin, value, timeout) Parameters pin: the number of the pin on which you want to read the pulse.

Value: type of pulse to read: either HIGH or LOW. Timeout (optional): the number of microseconds to wait for the pulse to start; default is one second (unsigned long) Returns the length of the pulse (in microseconds) or 0 if no pulse started before the timeout (unsigned long) Example Reference Home.