Tag Archives: Arduino

Arduino AT24C08 EEPROM Driver

Unlike some other I2C EEPROM IC drivers, AT24C08 / AT24C08A need their 2 MSB address bits sent in the first device address byte. This assumes the A2 pin is connected to ground:

Arduino RAM Usage Analysis

Some handy commands to analyze how much and where the RAM has gone on Atmega/Arduino: First, enable compiler verbose messages in the Arduino IDE, as you need need to see where the built binaries are stored (on my system, /tmp/build*** directory is used)

Arduino compiler nonsense

I have spent a few hours investigating where all the RAM has gone in my new Arduino project. I need to investigate newer versions (still running 1.0), I really hope there are improvements. My favorite WTFs: string constants are stored in RAM string constants can be stored in Flash. For that you need to wrap… Read More »

Arduino Ethernet relay

This is just a quick adaptation of the Arduino Ethernet example to control a couple of relays for an automated test setup. I hope the source code is self-explanatory. Beware that Arduino IDE 1.0.1 or later should be used – DHCP in the Ethernet library is buggy in version 1.0. I am using Arduino ADK,… Read More »