Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

program arduino, language C. need all parts answered please 1) Acknowledge that you have read and understood the warning concerning damage to your accelerometer 2)

program arduino, language C. need all parts answered please

image text in transcribed

1) Acknowledge that you have read and understood the warning concerning damage to your accelerometer 2) Connect your accelerometer to your Arduino ADXL335 Arduino 3.3V GNDGND A0 A2 If you are using the MPU-6050 or GY-512, read the last page for important instructions 3) Add his ine to your setup function: analogReference (EXTERNAL) 4) Connect your Arduino's pin to the 3.3V pin, this will change the analog reference from 5.0V to the same 3.3V used by the accelerometer and should give you more accurate results. Make sure that you don't accidentally connect the 3.3V pin to GND, doing so will damage your Arduino 5) Write a program that prints the X, Y, and Z accelerations to the serial monitor every 250 msecs 6) Read page 3, page 10, and page 12 of the ADXL335 datasheet (http://bit.ly/23Qic4) 7) Using information from the datasheet and the progranm from part #3, fill in this table (g) Axis Raw Value (counts) Voltage (mVAcceleration x-(X = +1g) X-(X-1g) Y+ (Y = +1g) Z. (Z=.lg)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

5) 3tan-1x + sin-1x = 4

Answered: 1 week ago