Download presentation
Presentation is loading. Please wait.
Published byAbner Harper Modified over 9 years ago
1
BME/ECE 462 Presentation II Arduino basics & Visual display Yue Yin & Chenchen Qi 09/18/2014
2
Arduino UNO hardware Microcontroller: Atmega328 Operating Voltage: 5V Input Voltage (recommended): 7-12V Digital I/O Pins: 14 (of which 6 provide PWM output) Analog Input Pins: 6 DC Current per I/O Pin: 40 mA DC Current for 3.3V Pin: 50 mA Flash Memory: 32 KB Clock Speed: 16 MHz http://arduino-info.wikispaces.com/QuickRef#pwr\
3
Sample code Sensor Pin is defined as analog pin 0 Function returns no value; Starts a program and sets initial values Baud rate is 9600 Prints data to the serial port; Reads the value from specified analog pin Pauses for 2 ms http://www.youtube.com/watch?v=10-tkg5Qe9c
4
3 ways to visualize the result
5
Touch shield for Arduino 2.8” diagonal color touchscreen TFT 240x320 resolution, 18-bit (262,000) color High speed SPI display with digital SPI touchscreen driver The display uses digital pins 13-9 Touchscreen controller requires digital pin 8 http://www.youtube.com/watch?v=3exmQfjo-P8
6
MATLAB Real time signal acquisition and processing Ex. Real time plotting of distance on MATLAB using Arduino Uno & PING http://mechatronicstutorials.blogspot.com/2014/06/real-time-plotting-of-distance-on.html
7
LabVIEW Visual programming language Data acquisition Built-in functions/libraries NI LabVIEW Interface for Arduino Toolkit -Easily control or acquire data from Arduino microcontroller -Develop algorithm to control Arduino hardware -Present findings on polished UI http://sine.ni.com/nips/cds/view/p/lang/en/nid/209835
9
Comparisons ProsCons Touch shieldPortable, more like a deviceCost, hard to process data MATLABPowerful data handlingMore code writing LabVIEWGreat interface and librariesNot portable
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.