Arduino (1).pdf

(15958 KB) Pobierz
Sensors and Actuators
with Arduino
Hans-Petter Halvorsen, M.Sc.
System Overview
NTC Thermistor
TMP36
Arduino
Download Code
Computer
Pt-100
Sensors (Input)
Actuators (Output)
Examples:
Data Logging
Programming
Cloud
LED
Push Button
Sound
Lab Topics
Get Overview of the Arduino Platform
Sensors and Actuators Overview in general
Overview of Temperature Sensors, such as
- Pt-100, Thermistor, Thermocouple
Basic Data Acquisition (DAQ), Data Logging
Calibration, Uncertainty, Resolution, Accuracy, Range, etc.
Lowpass Filter implementation in Software
Network Communication
Reading Data sheets
Assignment Overview
1. Arduino Basics: Explore the different Sensors and Actuators
available with the Arduino Kit
2. Temperature Sensors
3. Pt-100: Create your own Pt-100 sensor with Transmitter from
scratch and Read Temperature values using Arduino
4. Create a Temperature Data Logger/Embedded DAQ System.
Select one of the following alternatives:
a) Save Data using SD Card available on Arduino Shields
b) Use an online web-based Data Logging Service like Temboo/Xively
c) Use Wireless Communication to your PC using XBee Modules
See next slides for details...
Arduino
Arduino Sketch IDE
Programming with Arduino is simple and intuitive!
Software
Software
Example:
// include the TinkerKit library
#include <TinkerKit.h>
// creating the object 'led' that belongs to the 'TKLed' class
TKLed led(O0);
void setup()
{
}
void loop()
{
led.on();
delay(1000);
led.off();
delay(1000);
}
//do something here
//
//
//
//
set the LED on
wait for a second
set the LED off
wait for a second
The syntax is similiar to C programming
This program makes a LED blink
Software Installation: http://arduino.cc/en/Main/Software
Zgłoś jeśli naruszono regulamin