Environmental Monitoring with Arduino and Compatibles

Slides:



Advertisements
Similar presentations
Khaled A. Al-Utaibi Interfacing an LED The Light Emitting Diode (LED) Applications DC Characteristics & Operation Interfacing to.
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)
Embedded Sumo 1T4 – 1T5 UTRA.
Control of Salinity EAS 199B Modifications of ENGR 121 living with the lab.
Digital & Analog Inputs. Review Fundamental parts of an Arduino program are … Setting output types using pinMode. Declaring variables Can write a digital.
Khaled A. Al-Utaibi  Digital Vs Analog Signals  Converting an Analog Signal to a Digital One  Reading Analog Sensors with the.
Digital Circuit Why Digital Circuit? – Digital signals ( 0 and 1) are very easy to handle with electronic circuits only 2 states needed: Switch ON or OFF,
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.
ELECTRONIC/COMPUTER AGE. Electronic/Computer Age  Electronics –Electrical signals can carry information quickly over wires or through the air by radio.
Analog and Digital Measurements living with the lab 14 digital input / output pins 6 analog input pins © 2011 LWTL faculty team.
Introduction.
Introduction to Arduino Prepared by R. Lamond.  “Arduino is an open-source electronics prototyping platform based on flexible, easy- to-use hardware.
Basic Circuits – Lab 2 Arduino and Sensors Xmedia Spring 2011.
Embedded Programming and Robotics
Working with Arduino: Lesson #1: Getting Acquainted with the Kit EGN1007.
Electricity. whether two charges attract or repel depends on whether they have the same or opposite sign unit of measurement for charge is the coulomb.
Calibration of Conductivity Sensors EAS 199B living with the lab.
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
Control Angle via Button Pushes One button increases angle. Other decreases angle. Both light LED.
Introduction to the Arduino
Control of salinity living with the lab © 2012 David Hall.
Sparkfun Electronics ATtiny85 Arduino Quick Reference Sheet
Basic Electronics for Arduino -basic electronics -arduino related stuff -tips and tricks Rob Zimmermann 2015.
Analog on the Arduino int k; // integer = 16 bits k = analogRead(1); Analog volts value (0V → 5V) returns from 0 to 1023 into “k” (10 “bits” = 1024 values)
Microcontrollers, Microcomputers, and Microprocessors
Circuits & Switches. Electricity Formed when an excess of positive or negative particles that are parts of atoms attempts to balance itself=electrical.
Electronics for Physical Computing Materials: capacitor, diode, LED, transistor, switch,resistor, relay, proto board, multimeter.
Electric Current Everything (water, heat, smells, …) flows from areas of high concentration to areas of lower concentration. Electricity is no different.
Electric Current sound/electricity.htm
The flow of charged particles charged particles ; through a conducting metal.
Electric Current Chapter 34.2, 34.4, 34.5, and Notes.
1 Microcontrollers. 2 Programmers work in the virtual world Machinery works in the physical world Microcontrollers connect the virtual and physical world.
1 Introduction to Coding. 2 Example Codes A lot of example codes are given with Arduino IDE A code can often be based on a previous example rather than.
Hacking on Arduino George Patterson
Having fun with code, using Arduino in a middle school CS classroom
Getting Started: Building & Programming
Smart Newton Car By: Hui Zhu.
Sparkfun Electronics ATtiny85 Arduino Quick Reference Sheet
RASPBERRY PI WORKSHOP.
Goal: To understand Magnetic Induction
Val Manes Department of Math & Computer Science
An environmental project
through a conducting metal
calibration of conductivity sensors
Arduino Development for Beginners
INC 161 , CPE 100 Computer Programming
Arduino.
Arduino - Introduction
Introduction to Arduino Microcontrollers
Analog Input through POT
The Arduino Microcontroller: Atmel AVR Atmega 328
Arduino and Grove LET’S START.
Arduino Analog I/O Analog input pins: 0 – 5
Conductivity Sensor.
Intro to the Arduino Topics: The Arduino Digital IO
Working with Arduino: Lesson #1: Getting Acquainted with the Kit
Welcome to Digital Electronics using the Arduino Board
Introducing the Arduino Uno
EET 2261 Unit 14 INCOMPLETE Analog-to-Digital Conversion (ADC) & Digital-to-Analog Conversion (DAC) Read. Homework #13 and Lab #13 due next week. Quiz.
Basic Electronics Part Two: Electronic Components.
Arduino : Introduction & Programming
ADC and DAC Programming in AVR
Sensors and actuators Sensors Resistive sensors
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Calibration of Conductivity Sensors
Introduction to Arduino
Arduino and Grove LET’S START.
Introduction to arduino
Electricity and Circuits
Presentation transcript:

Environmental Monitoring with Arduino and Compatibles +

Takeaway Points Never more than three takeaway points! Environmental monitoring is important. Arduino is cheap and easy. Small computers are fun.

Why? Why environmental monitoring? Repeatability (trends) Water is shiny and deep Why Arduino? Small computers One-chip micros (vs four-chip 4004)

The Arduino aka ATMega 168 An IDE written in JAVA plus gcc A board exposing the ATMega168 pins

Integrated Dev Environment IDE in Java Edit Compile Download Run

Water Temperature Thermistor changes resistance with temperature Voltage divider turns resistance into voltage Arduino measures voltage in middle

Stuff in the Water Stuff in the water is turbidity. Not necessarily pollution – think tea with milk Amount of light blocked is proportional to turbidity

Salinity (and other ions) Electricity flows through ionized water Metals carry electrons; ions have to move Salt ionizes; but so do other things Conductivity is inverse of salinity

Measuring Conductivity Generate AC by flipping bits int conduct(int high, int low) { int otherbit; DDRB = high | low; // Generate AC on pins high and low PORTB = low; delay(5); // wait 5 milliseconds for the analog-to-digital // converter to settle after the last reading: PORTB = high; return analogRead(0); }

int conduct(int high, int low) { int otherbit; DDRB = high | low; // Generate AC on pins 0 and 1 PORTB = low; delay(5); // wait 5 milliseconds for the analog-to-digital converter // to settle after the last reading: PORTB = high; return analogRead(0); }

Takeaway Points Never more than three takeaway points! Environmental monitoring is important. Arduino is cheap and easy. Small computers are fun.

No way have I said everything Ask questions! Ask more questions! 1/3rd of this talk is your questions! Yer lettin' me off lightly if you don't ask questions!