AVR Graphic LCD and Accelerometer Demo

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

Facing problem with your embedded, electronics or robotics project? We are here to help!
Post a help request.

Avinash

Avinash Gupta is solely focused on free and high quality tutorial to make learning embedded system fun !

More Posts - Website

Follow Me:
FacebookLinkedInGoogle Plus

4 thoughts on “AVR Graphic LCD and Accelerometer Demo

  • By Dietrich Schnabel - Reply

    Hallo,

    the download option don’t work on this webside.
    Where can i get this demo.

    Best recards D.Schnabel

  • By Arnab Chowdhury - Reply

    sir, i always like your tutorials.I want to thank you for all your tutorials.Also it is my dreams to be a man like you.
    Thank you………..

    • By Avinash - Reply

      @Arnab,

      Thank you.

  • By vivek - Reply

    I am developing on a similar kind of project now , in this you have used an analogue acceleration sensor but i am using a digital accelerometer (MMA7660)
    which follows I2C protocol and its output is a synchronous , so there is now way to make the accelerometer wireless as much as i know is there any way to make this sensor wireless…..if you know please give me some idea …..

    thanking you,

Leave a Reply

Your email address will not be published. Required fields are marked *


− 6 = one

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>