Gyroscope Interfacing with AVR

Your source for all things Atmel.

Moderator: phalanx

Post Reply
deepaksolanki
Posts: 5
Joined: Thu Jul 22, 2010 12:34 pm

Gyroscope Interfacing with AVR

Post by deepaksolanki » Thu Jul 22, 2010 12:38 pm

Hello Sir,
I am using a gyroscope sensor from analog device (ADIS16250/ADIS16255)for measurement of angular rate. I want to interface it with AVR as i don't have gyroscope evaluation board provided by analog device. My question is:
How to interface it with AVR and how to measure the angular rate?
Can you help me please regarding this.

stevech
Support Volunteer
Posts: 2907
Joined: Sat Jun 05, 2004 8:51 pm
Location: USA, California

Re: Gyroscope Interfacing with AVR

Post by stevech » Thu Jul 22, 2010 7:42 pm

Data sheet shows an SPI interface. Most microprocessors, AVR included, have an SPI port.
It'll take a lot of learning and coding and trial and error, but getting there is half the fun.
Maybe simplified if Arduino has an SPI library.

deepaksolanki
Posts: 5
Joined: Thu Jul 22, 2010 12:34 pm

Re: Gyroscope Interfacing with AVR

Post by deepaksolanki » Fri Jul 23, 2010 6:12 am

Thank you for your reply.
I'll try it.

deepaksolanki
Posts: 5
Joined: Thu Jul 22, 2010 12:34 pm

Re: Gyroscope Interfacing with AVR

Post by deepaksolanki » Fri Jul 23, 2010 9:40 am

Can you give me some examples (code) regarding SPI.

stevech
Support Volunteer
Posts: 2907
Joined: Sat Jun 05, 2004 8:51 pm
Location: USA, California

Re: Gyroscope Interfacing with AVR

Post by stevech » Fri Jul 23, 2010 7:52 pm

Did you try Google Search "atmel SPI application note"?
I did, and immediately found
AVR107: Interfacing AVR microcontrollers with serial memories(22 pages, revision A, updated 03/05)
This application note describes the functionality and the architecture of SPI serial memories drivers as well as the motivation of the selected solution.

there are lots more. Maybe in the Projects section of AVRfreaks.net web site, and browse the forum there too.

deepaksolanki
Posts: 5
Joined: Thu Jul 22, 2010 12:34 pm

Re: Gyroscope Interfacing with AVR

Post by deepaksolanki » Sat Jul 24, 2010 6:15 am

thanks stevech...
i got the avr107. :D

Post Reply