Software:
Download the Arduino software.
Cool term software for reading data from the Arduino.
Arduino can be used with Labview software as demonstrated below with the IR sensor.
Real time graphs of data from the Arduino can be recorded with Excel.
Manual that works with the parts kit we use in class:
Direct link
Local backup.
Software for the manual and parts kit we use in class:
Direct link
Local backup
Examples of things to do:
1. Introduction and LED lighting and blinking
2. PWM, servo motor, and motor
3. Light sensing with a cadmium sulfide detector.
4. Temperature and wet bulb temperature measurement to get relative humidity and lifting condensation level.
4. I2C communication with digital sensors, especially the IR sensor. Here's the data sheet.
5. Interfacing Arduino with Labview.
Start by ...
Download this zip file. Unzip it. Place the contents in the USB drive.
Run the Arduino IDE. Under preferences, choose the "UseForArduino" folder on the USB drive. Restart the Arduino IDE.
We'll do some introductory examples from the text book first.
Then we'll use the Labview program to visualize the Arduino output, and save the temperature measurements (XP executable).
Useful Related Information
TED Video describing the Arduino.
|
Useful Presentations Collected from Others: |
Thermal IR sensor: Infrared radiation arriving at the sensor is converted into an equivalent temperature. Follow these steps to get the Arduino code set up properly for this sensor, so the data can be read with Arduino and Labview.
Here's the Arduino IDE code for the sensor, and the source code for the Labview program to visualize the temperature time series.
|
![]() |
Implementation of the sensor with the Teensy 3.1 microcontroller.
Useful and Related Information:
I2C communications summary. (Inter Integrated Circuit digital data bus communications protocol).
Pull up resistors: how and why they are used.
Example of using I2C to have an Arduino talk with 3 temperature sensors.
![]() Here's the schematic of a IR sensor, from here. The silicon filter passes IR radiation. The blackbody absorbs IR radiation and heats up. A thermopile (thermocouples connected in series) is below the blackbody; it provides a small voltage, perhaps microvolts. The thermistor measures the overall chip temperature, and that is the thermopile reference junction temperature. |
Analog Pressure Sensor |
Digital Pressure Sensor |
Digital Pressure Sensor |
![]() Adafruit the the board manufacturer and image source. Click here for more details on how to use it. |
||
Analog pressure sensor data sheet. Example Arduino code for the analog pressure sensor. Labview code for graphing and saving pressure data. (Arduino code needs minor modification to output data in a format for Labview. Set the baud rate to 9600 baud, and have the output match the example in the 'Raw Data' box on the labview VI). Schematic diagram for the pressure sensor measurement and Arduino for use with Expresspcb. Right click and save file to your computer and open it with ExpressPCB schematic. Schematic as a picture. |
Digital pressure sensor data sheet. Note that this sensor is light sensitive, will erroneously respond to intense light illumination. Example Arduino code for the digital pressure sensor. Labview code for graphing and saving pressure data. (Arduino code needs minor modification to output data in a format for Labview. have the output match the example in the 'Raw Data' box on the labview VI). Wiring set up from the Adafruit website. Schematic diagram for both the analog and digital pressure sensor using ExpressPCB. Schematic as a picture. |
Data sheet for the BME 280 sensor. Example Arduino code for the BME280 sensor. Install the Adafruit library as described at the top of the file and here. |
Gikfun 100K ohm NTC B4267 ATC Semitic 104GT-2 Thermistor for 3D Printer Reprap EK9018 |
Data for resistance versus temperature for our thermistor; Spreadsheet for calculation. Discussion of negative temperature coefficient thermistor. Example Arduino code for the thermistor sensor. Schematic diagram for the thermistor for use with Expresspcb. |
TEENSY 3.6 DEVELOPMENT BOARDS USE an NXP 32 bit 180 MHz ARM Cortex-M4 processor with floating point unit
![]() |