Arduino

Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments. [http://arduino.cc]

Hardware

The Arduino Uno board is based on an Atmel Atmega328p microcontroller. It connects to the PC/Mac via USB cable. Also power can be provided over USB. Programming and serial communication is also done over USB.

There are a lot of additional hardware modules ("shields") available to connect to LCDs, sensors, different kind of motors, ...

Software

The Arduino App comes with everything that is needed to get startet really quick: Tons of libraries, examples, toolchain and editor.


  • ArduinoAndNetbeans: How to use a full grown IDE (e.g. if your project consists of multiple files)

  • LedCube4x4x4: Having fun with the Arduino board, a couple of shift registers and 64 LEDs

Bootloader

Finally I managed to flash the Optiboot bootloader on my Arduino Nano. In order to flash Optiboot and to be able to load programs via USB (i.e. "talk" to Optiboot) you have to edit boards.txt. The file ist located under /Applications/Arduino.app/Contents/Java/hardware/arduino/avr (Mac).

Simply create a new entry in boards.txt (copied from the "Arduino Uno" entry) and rename it. Then fire up the Arduino IDE, burn a new bootloader with a programmer and you're done.

#############################################################

mynano.name=My Arduino Nano

mynano.upload.tool=avrdude
mynano.upload.protocol=arduino
mynano.upload.maximum_size=32256
mynano.upload.maximum_data_size=2048
mynano.upload.speed=115200

mynano.bootloader.tool=avrdude
mynano.bootloader.low_fuses=0xFF
mynano.bootloader.high_fuses=0xDE
mynano.bootloader.extended_fuses=0x05
mynano.bootloader.unlock_bits=0x3F
mynano.bootloader.lock_bits=0x0F
mynano.bootloader.file=optiboot/optiboot_atmega328.hex

mynano.build.mcu=atmega328p
mynano.build.f_cpu=16000000L
mynano.build.board=AVR_UNO
mynano.build.core=arduino
mynano.build.variant=standard
##############################################################

-- MatthiasWientapper - 08 Jan 2012
Topic revision: r4 - 03 Jan 2016, MatthiasWientapper
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback