Category: Arduino

  • Fast, small, and simple Arduino SPI RAM chip routines.

    The 8-pin chip, 23LC1024, is a good candidate for adding extra RAM to simple Arduinos such as the Uno, Nano, Mini.  It provides 128K of RAM (the ATmega328 chip that these Arduinos use only has 2K of internal RAM). The chip works at 5V (anything from 2.5V to 5.5V) and uses SPI so it only…

  • ATmega328P-PU 12MHz bootloader

    It took me an embarrassingly long time to get a 328 with a 12MHz crystal working so that it would allow a normal (serial / FTDI) upload from the Arduino IDE. There are a few older guides around but I didn’t find one that used the newer optiboot bootloader. If you don’t want to compile…

  • Decoding 6 servo channel inputs with an Arduino UNO

    Standard radio control receivers drive their connected servos by outputting a train of pulses.  The pulses usually repeat at a 50 Hz rate but the pulse width is the important thing – the standard is a 1.5 ms pulse width for a servo at its center position varying from about 1.0 ms up to 2.0…