DIGIKEY DKSB1002A Evaluation Board 3-axis accelerometer Arduino Uno microcontroller board Acquiring Data from an ADXL335 Accelerometer living with the.

Slides:



Advertisements
Similar presentations
ARDUINO FRAMEWORK.
Advertisements

Anurag Dwivedi & Rudra Pratap Suman.  Open Source electronic prototyping platform based on flexible easy to use hardware and software.
What is Arduino?  Arduino is a ATMEL 168 micro-controller kit designed specially for small projects  User friendly IDE(Integrated Development Environment)
Outline quad-copter Abstract Quad-Copter Movement Hand movement
Panasonic EVE-KC2F2024B 24 pulses per revolution 6mm diameter flattened output shaft output type: quadrature (incremental) minimum life: 15,000 rotations.
Khaled A. Al-Utaibi  Digital Vs Analog Signals  Converting an Analog Signal to a Digital One  Reading Analog Sensors with the.
Intro to Arduino with LilyPad Make a MakerSpace, Artisan’s Asylum Linz Craig, Chris Taylor, Mike Hord & Joel Bartlett.
PING))) Ultrasonic Distance Sensor living with the lab ultrasonic pressure waves from PING))) speaker The PING))) sensor emits short bursts of sound and.
Lesson 4: Breathing Monitors. Breathing Monitors In the past 3 classes, we’ve learned – How to write to a digital pin – How to read the value of a digital.
Arduino. Arduino is a tool for making computers that can sense and control more of the physical world than your desktop computer. It's an open-source.
Analog and Digital Measurements living with the lab 14 digital input / output pins 6 analog input pins © 2011 LWTL faculty team.
Introduction to Arduino Prepared by R. Lamond.  “Arduino is an open-source electronics prototyping platform based on flexible, easy- to-use hardware.
Acquiring Data from Accelerometers
Parallax 4x20 LCD (part number 27979) with Arduino Duemilanove
Assembly of Conductivity Flow Loop EAS 199B living with the lab (in preparation for calibrating conductivity sensor)
MTI FALL 2010 By: Rohan Sharma Mini Project Documentation: Bacterial Growth Monitor.
PING))) Ultrasonic Distance Sensor living with the lab ultrasonic pressure waves from PING))) speaker The PING))) sensor emits short bursts of sound and.
Tips for fishtank programming living with the lab © 2013 David Hall.
Wireless Biosensor Monitoring System Danielle Morton*, Niloufar Pourian*, Prof. Luke Theogarajan* * Electrical and Computer Engineering Department Abstract.
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
Intro to Arduino Programming. Draw your circuits before you build them From Arduino 330 Ohm From Arduino 330 Ohm From Arduino 330 Ohm.
Arduino Week 2 Lab ECE 1020 Prof. Ahmadi. Objectives 1. Control the rotation of standard servo motor  A standard servo motor is limited in its rotation.
Automatic Target System Welcome The Automatic Target System (ATS) is a senior project for ME 102 at the University of California Berkeley. This project.
Open Sources OPERATING SYSTEMS. What is open sources?! product that which a company make for you and you can edit it free..
Programming, Serial and Virtual Prototyping. Code if ( You like semicolons ) { Stay here for intro to Arduino code } else { Join the MODKit group for.
HMC5883L TYWu.
ATtiny Programming Shield for Arduino TYWu. Reference Programming-Shield-for-Arduino-1/
Line following tips photoresistors positioned near floor photoresistor circuits © 2011 LWTL faculty team living with the lab.
ME 120: User-defined functions: average analog input reading Arduino Programming – Part 5: User-defined functions ME 120 Mechanical and Materials Engineering.
IR Object Detection living with the lab IR light from LED IR light reflected off object IR LED IR receiver Infrared (IR) light leaving an LED reflects.
Arduino + Bluetooth TYWu. Connection Arduino + Bluetooth Module.
Pulse-Width Modulation: Simulating variable DC output
Infrared Proximity Sensors & Liquid Crystal Display Instructor Dr Matthew Khin Yi Kyaw.
ME 120: Arduino PWM Breathing LED Code: Implementation on Arduino ME 120 Mechanical and Materials Engineering Portland State University
Arduino Programming. THE ARDUINO IS A MICROCONTROLLER – A LOW COST, LOW PERFORMANCE COMPUTER.
Robotics Grant Agreement No LLP UK-LEONARDO-LMP Project acronym: CLEM Project title: Cloud services for E-Learning in Mechatronics Technology.
Instrumented Walker Skyler Bullington Tommy Frankenberger Larson Stacy
Microcontroller basics
Manual for Arduino Kit v1.0
Arduino & its hardware interfacing
Microcontroller basics
Callback TYWu.
UCD ElecSoc Robotics Club 2017/2018
Lab 1: Arduino Basics Topics: Arduino Fundamentals, First Circuit
Arduino Part 1 Topics: Microcontrollers Programming Basics
SArduino Training 2018 cho THPT Saigon Institute of Technology
Acquiring Data from an ADXL335 Accelerometer
Analog Input through POT
Roller Coaster Design Project
ARDUINO     What is an Arduino? Features 14 Digital I/O pins 6 Analogue inputs 6 PWM pins USB serial 16MHz Clock speed 32KB Flash memory 2KB SRAM.
Maxbotix Ultrasonic Distance Sensor
Programming, Serial and Virtual Prototyping
What is Arduino? By James Tedder.
FeMaidens Programming
Ultrasonic Distance Sensor
a few of my favorite sensors
Arduino Week 2 Lab ECE 1020 Prof. Ahmadi.
Acquiring Data from an ADXL335 Accelerometer
Using Photoresistors with an Arduino
Chapter 1 Introduction of Arduino
Interfacing a Rotary Encoder with an Arduino
Arduino : Introduction & Programming
Sensors and actuators Sensors Resistive sensors
All About Serial.
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Arduino 7 Segment Display Lab
Arduino程式範例.
Interrupts.
Pulse-Width Modulation: Simulating variable DC output
Group 7 Ran Wei & Yan Zhang
Presentation transcript:

DIGIKEY DKSB1002A Evaluation Board 3-axis accelerometer Arduino Uno microcontroller board Acquiring Data from an ADXL335 Accelerometer living with the lab

DKSB1002A is a prototyping board purchased for $20 from Digikey Screw holes for mounting board onto “object of interest” Board is ~ 20mm square ADXL335 3-axis accelerometer chip 3-axis ±3g COM - ground VSS - power (we will provide 5V) X - acceleration in x-direction Y - acceleration in y-direction Z - acceleration in z-direction DKSB1002A Evaluation Board and ADXL335 Accelerometer x y z this small chip is the ADXL335 accelerometer (this is an older model... they are even smaller now) living with the lab 2 the DKSB1002A is a board used to evaluate the accelerometer; if you were putting an accelerometer in a device like a cell phone, you would only use the ADXL335 chip (and maybe some capacitors)

COM - ground VSS - power (we will provide 5V) X - acceleration in x-direction Y - acceleration in y-direction Z - acceleration in z-direction Implementing a 3-axis Accelerometer: Wiring to Arduino living with the lab 3

void setup() { Serial.begin(9600); } void loop() { int xaccel = analogRead(0); int yaccel = analogRead(1); int zaccel = analogRead(2); unsigned long timevar = millis(); Serial.print(timevar); Serial.print(" "); Serial.print(xaccel); Serial.print(" "); Serial.print(yaccel); Serial.print(" "); Serial.println(zaccel); } Programming living with the lab 4 associates a time with each set of accelerations

Calibration x y z living with the lab 5

Angle Measurement x y z 1g (perceived vertical acceleration) axax xx xx +x θ x = asin(a x /g) living with the lab 6

Example Application living with the lab 7 void setup(){Serial.begin(9600); } void loop() { int xaccel = analogRead(0); int freq = 1500+xaccel*2; tone(7,freq); Serial.print(xaccel); Serial.print(" "); Serial.println(freq); } The piezospeaker below outputs a frequency that varies with the acceleration in the x- direction. The equation for computing the frequency is chosen so that the device makes an audible noise that varies when rotating or shaking the device.