Hello All!,

Accelerometer applications are hot these days. So today I will show you how you can easily make a accelerometer add on for your AVR GLCD Board. Once you make this you can plug it into the AVR GLCD Board any time you wish to run a accelerometer based application on it. I will also provide a simple Open Source App for the AVR GLCD Board that can be used to test the accelerometer in no time. Developers can use this demo as a base for any accelerometer based app.

Things you will need are

veroboard marked for cutting

Fig.: A Veroboard Marked for Cutting

 

veroboard cut to size

Fig.: Veroboard Cut to Size

 

burg strip female

Fig.: Burg Strip Female

 

burg strip soldered on PCB

Fig.: Burg Strip Female Soldered to Veroboard.

 

burg strip soldered on PCB

Fig.: Burg Strip Female Soldered to Veroboard.

 

burg strip female ra

Fig.: 5 PIN Burg Strip Female Right Angle

 

accelerometer expansion board just ready

Fig.: R/A Burg Strip Soldered.

 

accelerometer expansion board just ready

Fig.: Just Ready!

 

expansion port 2 on AVR GLCD Development Board

Fig.: AVR GLD Dev Board

 

accelerometer conneted with AVR GLCD Devboard

Fig.: Accelerometer Expansion Board Connected

 

accelerometer connected on avr glcd dev board

Fig.: Accelerometer Connected.

 

accelerometer expansion board just ready

Fig.: Accelerometer Connected with AVR GLCD Board

 

avr accelerometer all ready!

Fig.: AVR Accelerometer Ready!

Connections

    CONNECT TO
GND Ground Supply Ground (EXP Port)
VDD 3.3 V OUT SLEEP
Sel2 G Select Pin2 (See datasheet) N/C
Sel1 G Select Pin1 (See datasheet) N/C
X X axis output (g bias point @ 1.65v) ADC0 (EXP Port)
Y Y axis output (g bias point @ 1.65v) ADC7 (EXP Port)
Z Z axis output (g bias point @ 1.65v) N/C
Sleep (Active Low) Low= Sleep High* = Wake VDD 3.3 V OUT
GND Ground Supply Ground (EXP Port)
+5v 5 Volts IN 5v (OUT) (EXP Port)
DO NOT USED N/C
DI NOT USED N/C
CLK NOT USED N/C
EN NOT USED N/C
RXD NOT USED N/C
TXD NOT USED N/C
  • N/C = Not Connected.
  • EXP Port = Expansion Port 2 on AVR GLCD Dev Board

About the Demo Code

The demo code needs ProGFX.org graphic drivers to be linked with final hex code in order to run. So please make the AVR Studio/WinAVR project exactly as described in this tutorial.

About the hardware

You need to make the base hardware that is compatible with ProGFX.org graphic driver. The detailed step is given here.

The hardware can be used to run a variety of apps written using ProGFX api. A 100% ProGFX compatible board is our AVR GLCD Development Board which will be available for sale in a week or two from our online store.

Videos

Downloads