Engduino Accelerometer Tutorial
This is a simple tutorial for getting accelerometer values on your Engduino.
Repeat all of the steps on the first page of "Engduino Lights Tutorial - Basics".
You should end up looking at a blank loop action like this:
In your loop function, first store your acceleration value as a variable:
Now post it to the wall to see the values. When you're done, try it out! It may help to add a delay as
well, so that your screen doesn't fill as fast with numbers.
And that's it! You've learnt how to use the accelerometer of the Engduino. Simple isn't it!
Now you can add things like this,
where you can perform certain actions
if the Engduino has been shaken too
much. Try it out yourself.
Do you see how these ideas can be used to make useful programs that look at how much the
Engduino has been moved and perform something in return?