Warning: Error while sending QUERY packet. PID=4213 in /home/atmega5/public_html/duino4projects.com/wp-includes/wp-db.php on line 1873
Accelerometer Table using Arduino Esplora -Use Arduino for Projects

Accelerometer Table using Arduino Esplora




This example simplifies the task of collecting data from the Esplora’s accelerometer and graphing it with your computer.

Accelerometer Table using Arduino Esplora




The Esplora sends keypresses to a connected computer about the state of the accelerometer. If you open a spreadsheet application, you can log the data from the accelerometer.

To start and stop the datalogging, press the down pushbutton. The Esplora’s LED will indicate the state of the logging. The slider is used to set the sampling interval.

Circuit

Only your Arduino Esplora is needed for this example.

Accelerometer Table using Arduino Esplora circuit

Esplora datalogging setup

Code

In this example, the Esplora acts as a keyboard; once the you press the down button, it will send characters to a connected computer.

The characters sent to the computer are formatted to fit inside a spreadsheet’s rows and colums. Each row of the spreadheet will contain a timestamp and the 3 accelerometer axis readings.

To start sampling, press the direction down push-button. This begins communication as a keyboard with the computer. Changing the position of the linear potentiometer will change the rate at which samples are read from the accelerometer and written to the computer.

 

Major Components in Project

Hardware Required

  • Arduino Esplora

For more detail: Accelerometer Table using Arduino Esplora




This Post / Project can also be found using search terms:

  • arduino esplora for scratch
Clip to Evernote

Leave a Comment

(Spamcheck Enabled)

Read previous post:
Arduino Esplora Kart
Arduino Esplora Kart

This example demonstrates how to turn your Esplora into a customized computer game pad. It uses the analog joystick and...

Close
Scroll to top