<<O>>  Difference Topic Arduino (r1.1 - 04 Jun 2013 - AlvaroDosil)
Line: 1 to 1



Arduino is a single-board microcontroller designed to make the process of using electronics in multidisciplinary projects more accessible. The hardware consists of a simple open source hardware board designed around an 8-bit Atmel AVR microcontroller, though a new model has been designed around a 32-bit Atmel ARM. The software consists of a standard programming language compiler and a boot loader that executes on the microcontroller.

The TT-Hybrid has 4 Beetles, but only the one with address 0x16 has the DATAVALID bit bonded to an output line. This bit is essential to establish communication so that Beetle must be always configured. When the Alibava board is configured with the 0x10-0x12 firmware, we use an arduino board to configure the Beetle 0x16 through an I2C bus.

Arduino board



Arduino’s board must be connected through an USB cable to the computer. In Ubuntu can be easily installed from the repositories, but I recommend to install Arduino 1.0.1 from website. After installation, launch ‘arduino’ software and follow the next steps in order to load the TT Hybrid programming code into the Arduino’s board:

  1. select the Arduino board (ex. MEGA 2560) type and USB port (figures a and b)

  1. from ‘arduino’ software, open the file .ino where the code is

  1. compile the code: “verify” button -> Verify (figure c)

  1. upload the compiled code to arduino’s memory (“play button” )-> Upload (figure d)

  1. run the program -> Serial Monitor (figure d)

Arduino’s can be used to program each Beetle individually. Actually we have to use the arduino setup because the DataValid? signal is written in the bus by the Beetle with address 0x16, therefore when we use the firmware 0x10_0x12 we have to program the 4th Beetle (number 3) with the arduino.

Arduino’s TT hybrid programming code (.ino)

-- AlvaroDosil - 04 Jun 2013

META FILEATTACHMENT image06.png attr="" comment="Arduino board" date="1370365006" path="image06.png" size="554253" user="AlvaroDosil" version="1.1"
META FILEATTACHMENT image07.png attr="" comment="Arduino software" date="1370366584" path="image07.png" size="363203" user="AlvaroDosil" version="1.1"
Revision -
Revision r1.1 - 04 Jun 2013 - 17:04 - AlvaroDosil