SaGuN's Blog

#Developer #Robotics #Engineer #Hacker

Hello World

This is my first post. I am using the Octopress blogging framework. It is actually very easy to use.

If you’re just starting out, I would recommend you to check out this video tutorial: Diving into Octopress by Andrew Burgess.

Here is a test list:

  • one
  • two
  • three

Tilt Sensing With MMA7260Q 3-axis Accelerometer and ATmega32 Microcontroller

I had previously built an accelerometer controlled robot and so here’s the sufficiently commented code for it. This project was done in CodeVisionAVR however, it can easily be done in AVRGCC. In this project, when the ATmega32 starts, it auto-calibrates, the accelerometer center position as the orientation you had at the beginning. On tiling the accelerometer board, you can move the robot front, back, left, right or stop. very simple! the outputs are driven to both L293B h-bridge as well as 16×2 LCD. Actually the total project i’m doing is a far complex one so this is just an accelerometer implementation in Mega32.