Skip to topic | Skip to bottom
Instrumentation.Arduinor1.1 - 04 Jun 2013 - 17:04 - AlvaroDosiltopic end

Start of topic | Skip to actions



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
to top

I Attachment sort Action Size Date Who Comment
image06.png manage 541.3 K 04 Jun 2013 - 16:56 AlvaroDosil Arduino board
image07.png manage 354.7 K 04 Jun 2013 - 17:23 AlvaroDosil Arduino software

Copyright © 1999-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding this material Send feedback