Archive for April 2010

An Arduino ICSP Board

I have been using the bit-banging method to boot-load ATmega328p with Arduino bootloader for a while, and Kimo’s method worked quite well for me. If you need to flash a lot of chips however, you might not want to swap out the chip on your Arduino board every single time you need to flash another chip as you do not want to accidentally damage the socket (or the board) in the process. After all, the DIP socket is not designed for this kind of repetitive use. Continue reading ‘An Arduino ICSP Board’ »

Interfacing LIS3LV02DL Using SPI — II

In my last post, I described in detail how to hand solder LIS3LV02DL, an LGA packaged accelerometer chip. And here I will show you how the communication with Arduino is done using SPI. Continue reading ‘Interfacing LIS3LV02DL Using SPI — II’ »

Interfacing LIS3LV02DL Using SPI — I

LIS3LV02DL is a MEMS three-axis digital linear accelerometer that provides both I2C and SPI interfaces for communicating with microprocessors. My work here is largely based on the work done at Near Future Laboratory. Instead of using a commercially available LIS3LV02DQ break-out board (LIS3LV02DQ is QFP packaging equivalent of LIS3LV02DL), I chose to hand solder an LIS3LV02DL (which is uses LGA packaging). And I have made some changes to the code sample to support more functionality. Continue reading ‘Interfacing LIS3LV02DL Using SPI — I’ »

4 Digit 7 Segment Display Using Arduino

I was inspired by Paul’s 7 segment display and decided to build one myself. He used 4 common cathode 7 segment displays. In his original schematics, all the segments within a display shared one current limiting resistor which unfortunately affect the display brightness when different numbers of segments are lit. I happened to have two common anode dual 7 segment displays (QDSP-G545) so I decided to use them and four 74HC595 shift registers to build a four 7-seg display. Realizing that other people might be using either common anode or common cathode displays, I also built a library that can be used for either case. Continue reading ‘4 Digit 7 Segment Display Using Arduino’ »

On ATMega328 Bootloading With FTDI Bitbang Method

I have been using the FTDI bitbang method piloted by Kimio Kosaka and improved by others (1,2,3) to flash Arduino bootloader onto blank ATMega328p for a while and thought I would share my experience with everyone. Continue reading ‘On ATMega328 Bootloading With FTDI Bitbang Method’ »