Cloud Hoppers Weather Station using Arduino Uno Board and Ethernet Shield

Size: px
Start display at page:

Download "Cloud Hoppers Weather Station using Arduino Uno Board and Ethernet Shield"

Transcription

1 Maplin weather station part numbers: Anemometer 2.49 part number :- N25FR Wind direction sensor 9.99:-N96FY You can build this onto a little strip board for easy connection :) Ardunio with Ethernet Shield You can see a live version of this weather station running at : debdalelodge.ddns.net Ethernet connected weather station - By Mike Gaylor (

2 Arduino Code:- Please note this code is not perfect and does have a few bugs but it works, feel free to make it better and send me a copy :) /* station with Ethernet connectivity A simple web server weather station by Mike Gaylor using the Arduino Uno and Ethernet shield - Circuit: * Ethernet shield attached to pins 10, 11, 12, 13 * Analog inputs: Connect maplin wind direction sensor to A0 connect Maplin anemometer to D5 See Circuit Diagram. */ // Must make sure these are in the Arduino Libary! #include <SPI.h> #include <Ethernet.h> #include <MsTimer2.h> // Global Variables. //hardwarecounterpin = 5; const int sampleperiod = 2000; unsigned int count = 0; float numberofcounts = 0; int clock = 0; long starttime = 0; float peekwind = 0; float gust = 0; int sensorreading = 0; int peakcounter = 0; //Averaging stuff ************************************************** const int numreadings = 30; int readings[numreadings]; // the readings from the analog input int readindex = 0; // the index of the current reading int total = 0; // the running total int average = 0; // the average //***************************************************************** Arduino Code 1

3 //initalise Vars // Enter a MAC address and IP address for your controller below. // The IP address will be dependent on your local network: byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED ; IPAddress ip(172,16,0,50); // Initialize the Ethernet server library // with the IP address and port you want to use // (port 80 is default for HTTP): EthernetServer server(80); void setup() { TCCR1A = 0; clock = 0; // Open serial communications and wait for port to open: //Serial.begin(9600); while (!Serial) { ; // wait for serial port to connect. Needed for native USB port only // start the Ethernet connection and the server: Ethernet.begin(mac, ip); server.begin(); Serial.print("server is at "); Serial.println(Ethernet.localIP()); //averaging stuff ******************************************************* for (int thisreading = 0; thisreading < numreadings; thisreading++) { readings[thisreading] = 0; //*********************************************************************** delay(1000); //wait for processor to stabalise void loop() { Arduino Code 2

4 pinmode(8, OUTPUT); //MsTimer2::set(samplePeriod,realTime); //MsTimer2::start(); // listen for incoming clients EthernetClient client = server.available(); if (client) { Serial.println("new client"); // an http request ends with a blank line boolean currentlineisblank = true; while (client.connected()) { if (client.available()) { char c = client.read(); Serial.write(c); // if you've gotten to the end of the line (received a newline // character) and the line is blank, the http request has ended, // so you can send a reply if (c == '\n' && currentlineisblank) { // send a standard http response header client.println("http/ OK"); client.println("content-type: text/html"); client.println("connection: close"); // the connection will be closed after completion of the response client.println("refresh: 5"); // refresh the page automatically every 5 sec client.println(); client.println("<!doctype HTML>"); client.println("<html>"); client.print("<h1>welcome to the station V3.1!</h1>"); client.print("<p>this is an experimental weather station and is used for our </p>"); client.print("<p>microlighting / Paramotoring and Horse Riding :) </p>"); //n=782 //ne=459 //client.println(sensorreading); if (sensorreading >=772 and sensorreading <=792) client.println("<h1>wind Direction: North Wind"); if (sensorreading >=449 and sensorreading <=469) client.println("<h1>wind Direction: North East Wind"); if (sensorreading >=80 and sensorreading <=100) client.println("<h1>wind Direction: East Wind"); if (sensorreading >=170 and sensorreading <=190) client.println("<h1>wind Direction: South East Wind"); if (sensorreading >=274 and sensorreading <=294) client.println("<h1>wind Direction: South Wind"); if (sensorreading >=619 and sensorreading <=639) client.println("<h1>wind Direction: South West Wind"); if (sensorreading >=935 and sensorreading <=955) client.println("<h1>wind Direction: West Wind"); if (sensorreading >=876 and sensorreading <=896) client.println("<h1>wind Direction: North West Wind"); Arduino Code 3

5 //e=90 //se=180 //s=284 //sw=629 //w=945 //nw=886 client.print("<h1>average Wind Speed = "); client.print(average); //average wind speed client.print(" MPH"); client.print("<h1>current Wind Speed = "); client.print(numberofcounts); //average wind speed client.print(" MPH"); client.print("<h1>gust Wind Speed last 5mins = "); client.print(gust); //average wind speed client.print(" MPH"); client.println(""); if (average <=10 && gust <=10) client.println("<p style=""color:red;"">based on the wind here It might be Flyable :)!...</p>"); if (average >=11 && gust >=11) client.println("<p style=""color:blue;"">not Flyable stayin with a cupa!...</p>"); client.println("<br />"); client.println("</html>"); break; if (c == '\n') { // you're starting a new line currentlineisblank = true; else if (c!= '\r') { // you've gotten a character on the current line currentlineisblank = false; Arduino Code 4

6 // give the web browser time to receive the data delay(1); // close the connection: client.stop(); Serial.println("client disconnected"); Ethernet.maintain(); windspeed(); winddirection(); void windspeed() { //start counting... //delay(100); //digitalwrite(8, HIGH); //delay(100); //digitalwrite(8, LOW); if (clock == 0) { starttime = millis(); // read the current clock bitset(tccr1b,cs12); // counter clock source is externet pin bitset(tccr1b,cs11); // Clock rising Edge clock = 1; //delay(sampleperiod); if ((millis() - starttime) >= 2000) //workout duration { peakcounter ++; TCCR1B = 0; // stop counting count = TCNT1; TCNT1 = 0; //reset hardware counter clock = 0; if (peakcounter >=150) { peakcounter = 0; gust = peekwind; if (gust >200) gust = 0; peekwind = 0; numberofcounts = count; numberofcounts = (1.6*numberOfCounts)/2; Arduino Code 5

7 if (numberofcounts > peekwind) (peekwind = numberofcounts); // averaging stuff************************************************ // subtract the last reading: total = total - readings[readindex]; // read from the sensor: readings[readindex] = numberofcounts; // add the reading to the total: total = total + readings[readindex]; // advance to the next position in the array: readindex = readindex + 1; // if we're at the end of the array... if (readindex >= numreadings) { //...wrap around to the beginning: readindex = 0; // calculate the average: average = total / numreadings; if (average <= 0) average = 0; //**************************************************************** //end counting... int winddirection () { sensorreading = analogread(0); Arduino Code 6

X Board V2 (SKU:DFR0162)

X Board V2 (SKU:DFR0162) X Board V2 (SKU:DFR0162) X-Board V2, DFR0162 Contents 1 Introduction 2 Specifications 3 Pinouts 4 Tutorial 4.1 Requirements 4.2 Wiring Diagram 4.3 Sample code Introduction This is Version 2.0 of the X-board.

More information

I.O.T. 1. I.O.T Application. 86Duino

I.O.T. 1. I.O.T Application. 86Duino 1. I.O.T Application I.O.T 86Duino EduCake (EduCake) is an open-source microcomputer learning platform built on Vortex86EX, a System-On-Chip (SoC) built with a 32-bit x86 processor. The EduCake is designed

More information

File: /home/kharring/sketchbook/tel pemove_v2/telescopemove_v2.ino Page 1 of 5

File: /home/kharring/sketchbook/tel pemove_v2/telescopemove_v2.ino Page 1 of 5 File: /home/kharring/sketchbook/tel pemove_v2/telescopemove_v2.ino Page 1 of 5 #include #include #include #include //Encoder Pin Definitions #define EcdrEqA_Pin

More information

Monitor your home remotely using the Arduino

Monitor your home remotely using the Arduino Monitor your home remotely using the Arduino WiFi Shield How to monitor some data in your home using precisely this Arduino WiFi shield. Along with the Arduino Uno board, the final system will form an

More information

Arduino Platform Part I

Arduino Platform Part I Arduino Platform Part I Justin Mclean Class Software Email: justin@classsoftware.com Twitter: @justinmclean Blog: http://blog.classsoftware.com Who am I? Director of Class Software for almost 15 years

More information

Inclusions required for the DMD

Inclusions required for the DMD Sketch for Home Alert The sketch is not large in terms of the line count, but it almost exhausts the Uno s available flash memory thanks to all the included libraries. There is lots of room for memory

More information

PuddlePeeker a system to monitor the water level at the bottom of the vertical cryostat in FREIA

PuddlePeeker a system to monitor the water level at the bottom of the vertical cryostat in FREIA FREIA Report 2018/02 March 22, 2018 Department of Physics and Astronomy Uppsala University PuddlePeeker a system to monitor the water level at the bottom of the vertical cryostat in FREIA V. Ziemann Uppsala

More information

Arduino Ethernet + SD Card

Arduino Ethernet + SD Card Arduino Ethernet + SD Card Created by Mike Barela Last updated on 2018-04-25 02:53:25 PM UTC Guide Contents Guide Contents Overview SD Card Preparation Reading SD Card Information Listing Files Serving

More information

Adafruit Ethernet FeatherWing

Adafruit Ethernet FeatherWing Adafruit Ethernet FeatherWing Created by lady ada Last updated on 2017-07-14 05:32:28 AM UTC Guide Contents Guide Contents Overview Pinouts Power Pins SPI Data Pins Other Breakouts Assembly Prepare the

More information

Station Automation Symposium Code Handout Mid-Atlantic States VHF Conference Friday October 6, 2017

Station Automation Symposium Code Handout Mid-Atlantic States VHF Conference Friday October 6, 2017 Station Automation Symposium Code Handout Mid-Atlantic States VHF Conference Friday October 6, 2017 Roger Rehr, W3SZ August 23, 2017 Arduino VHFLog / RoverLog Bandswitch Code Text1 1: /* 2: Program to

More information

DAFTAR PUSTAKA. [3] Dinata, Yuwono Marta Arduino Itu Mudah. Jakarta: PT.Elex Media Komputindo

DAFTAR PUSTAKA. [3] Dinata, Yuwono Marta Arduino Itu Mudah. Jakarta: PT.Elex Media Komputindo DAFTAR PUSTAKA [1] Masruchi. 2015. Rancang dan Bangun System Pengukuran dan Monitoring Pemakaian Air Rumah PDAM Menggunakan SMS (Short Message Service). Skripsi. FT, Teknik Fisika, Universitas Nasional

More information

begin() Descriptions Syntax Parameters Returns Example Initializes the network parameters of PHPoC Shield for Arduino. Phpoc.

begin() Descriptions Syntax Parameters Returns Example Initializes the network parameters of PHPoC Shield for Arduino. Phpoc. PHPoC Shield for Arduino Library Reference > Phpoc Class > begin() begin() Initializes the network parameters of PHPoC Shield for Arduino. Phpoc.begin() Phpoc.begin(debug_flag) debug_flag - flags for debugging

More information

Sensors and Motor Control Lab

Sensors and Motor Control Lab Sensors and Motor Control Lab Individual lab report #1 October 16, 2015 Menghan Zhang TeamA Amit Agarwal Harry Golash Yihao Qian Zihao Zhang Individual progress Challenges Teamwork a) Used potentiometer

More information

F_Thingspeak INNEN DG Temperatur- und Druckmessung V1_00. F_Thingspeak INNEN DG Temperatur- und Druckmessung V1_00.ino

F_Thingspeak INNEN DG Temperatur- und Druckmessung V1_00. F_Thingspeak INNEN DG Temperatur- und Druckmessung V1_00.ino F_Thingspeak INNEN DG Temperatur- und Druckmessung V1_00 F_Thingspeak INNEN DG Temperatur- und Druckmessung V1_00.ino 1 /* 2 TEMPERATURMESSUNG INNEN über Thingspeak 3 V1.00 23.06.2015 Übernahme des Programms

More information

Web server with ATMEGA 2560 microcontroller

Web server with ATMEGA 2560 microcontroller IOP Conference Series: Materials Science and Engineering PAPER OPEN ACCESS Web server with ATMEGA 2560 microcontroller To cite this article: E Rduca et al 2016 IOP Conf. Ser.: Mater. Sci. Eng. 106 012018

More information

Red-This bus is nowhere near your apartment or has already passed the point where you could catch it if you left now

Red-This bus is nowhere near your apartment or has already passed the point where you could catch it if you left now Overview The Bus Status Updater Gadget Freak Project monitors the status of a specified bus route and informs the user of the nearest bus s relative location. It does this both while at home by a series

More information

Energia MSP-430!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 1

Energia MSP-430!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 1 Energia MSP-430 1 3 Energia 4 4 4 6 8 9 Energia 11 18 2 IIB Energia MSP-430 IIB C C++ 3 Energia Energia MSP-430 Windows Mac OS Linux MSP-430, http://www.energia.nu, Max OS X, windows Linux Mac OS X, energia-

More information

Arduino Programming. Arduino UNO & Innoesys Educational Shield

Arduino Programming. Arduino UNO & Innoesys Educational Shield Arduino Programming Arduino UNO & Innoesys Educational Shield www.devobox.com Electronic Components & Prototyping Tools 79 Leandrou, 10443, Athens +30 210 51 55 513, info@devobox.com ARDUINO UNO... 3 INNOESYS

More information

Digital Design through. Arduino

Digital Design through. Arduino Digital Design through 1 Arduino G V V Sharma Contents 1 Display Control through Hardware 2 1.1 Powering the Display.................................. 2 1.2 Controlling the Display.................................

More information

Lab 01 Arduino 程式設計實驗. Essential Arduino Programming and Digital Signal Process

Lab 01 Arduino 程式設計實驗. Essential Arduino Programming and Digital Signal Process Lab 01 Arduino 程式設計實驗 Essential Arduino Programming and Digital Signal Process Arduino Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's

More information

Station Automation --W3SZ

Station Automation --W3SZ Station Automation --W3SZ Now Back to Previously Scheduled Program USB-Serial IF/Transverter Bandswitch Arduino-VHFLog Example I started with Ed Finn WA3DRC s excellent code that was written to give TS2000

More information

LAMPIRAN I (LISTING PROGRAM)

LAMPIRAN I (LISTING PROGRAM) LAMPIRAN I (LISTING PROGRAM) #include LiquidCrystal lcd(8, 9, 4, 5, 6, 7); const int numreadings = 10; int readings[numreadings]; // the readings from the analog input int readindex =

More information

Specification. 1.Power Supply direct from Microcontroller Board. 2.The circuit can be used with Microcontroller Board such as Arduino UNO R3.

Specification. 1.Power Supply direct from Microcontroller Board. 2.The circuit can be used with Microcontroller Board such as Arduino UNO R3. Part Number : Product Name : FK-FA1410 12-LED AND 3-BOTTON SHIELD This is the experimental board for receiving and transmitting data from the port of microcontroller. The function of FK-FA1401 is fundamental

More information

How to use an ESP-01S module

How to use an ESP-01S module How to use an ESP-01S module How Does It Work? The ESP8266 can be controlled from your local Wi-Fi network or from the internet (after port forwarding). The ESP-01 module has GPIO pins that can be programmed

More information

IME-100 Interdisciplinary Design and Manufacturing

IME-100 Interdisciplinary Design and Manufacturing IME-100 Interdisciplinary Design and Manufacturing Introduction Arduino and Programming Topics: 1. Introduction to Microprocessors/Microcontrollers 2. Introduction to Arduino 3. Arduino Programming Basics

More information

Arduino 101 AN INTRODUCTION TO ARDUINO BY WOMEN IN ENGINEERING FT T I NA A ND AW E S O ME ME NTO R S

Arduino 101 AN INTRODUCTION TO ARDUINO BY WOMEN IN ENGINEERING FT T I NA A ND AW E S O ME ME NTO R S Arduino 101 AN INTRODUCTION TO ARDUINO BY WOMEN IN ENGINEERING FT T I NA A ND AW E S O ME ME NTO R S Overview Motivation Circuit Design and Arduino Architecture Projects Blink the LED Switch Night Lamp

More information

Arduino Uno. Power & Interface. Arduino Part 1. Introductory Medical Device Prototyping. Digital I/O Pins. Reset Button. USB Interface.

Arduino Uno. Power & Interface. Arduino Part 1. Introductory Medical Device Prototyping. Digital I/O Pins. Reset Button. USB Interface. Introductory Medical Device Prototyping Arduino Part 1, http://saliterman.umn.edu/ Department of Biomedical Engineering, University of Minnesota Arduino Uno Power & Interface Reset Button USB Interface

More information

Internet of Things for What? Objective

Internet of Things for What? Objective Internet of Things for What? In my opinion the IoT is not so much about you controlling your toy helicopter with your smartphone. There s no fundamental difference with using a wireless controller. In

More information

This tutorial will show you how to take temperature readings using the Freetronics temperature sensor and an Arduino Uno.

This tutorial will show you how to take temperature readings using the Freetronics temperature sensor and an Arduino Uno. This tutorial will show you how to take temperature readings using the Freetronics temperature sensor and an Arduino Uno. Note that there are two different module types: the temperature sensor module and

More information

PROJECT REPORT. LAN/Cloud Based System Control and Data Monitoring. Submitted By: KUNAL KUMAR (NIT Patna) B.TECH (E.C.

PROJECT REPORT. LAN/Cloud Based System Control and Data Monitoring. Submitted By: KUNAL KUMAR (NIT Patna) B.TECH (E.C. PROJECT REPORT On LAN/Cloud Based System Control and Data Monitoring with ARDUINO UNO Submitted By: KUNAL KUMAR (NIT Patna) B.TECH (E.C.E-6th Semester) (Training Period: 28 MAY 2018 to 5 JULY 2018) Guided

More information

Imperativ Programming. morning (again) Jens Dalsgaard Nielsen Aalborg University (1/24)

Imperativ Programming. morning (again) Jens Dalsgaard Nielsen Aalborg University (1/24) Imperativ Programming morning (again) Jens Dalsgaard Nielsen (jdn@es.aau.dk) Aalborg University (1/24) message Changed timing today Jens Dalsgaard Nielsen (jdn@es.aau.dk) Aalborg University (2/24) Jens

More information

Arduino and Matlab for prototyping and manufacturing

Arduino and Matlab for prototyping and manufacturing Arduino and Matlab for prototyping and manufacturing Enrique Chacón Tanarro 11th - 15th December 2017 UBORA First Design School - Nairobi Enrique Chacón Tanarro e.chacon@upm.es Index 1. Arduino 2. Arduino

More information

Arduino Prof. Dr. Magdy M. Abdelhameed

Arduino Prof. Dr. Magdy M. Abdelhameed Course Code: MDP 454, Course Name:, Second Semester 2014 Arduino What is Arduino? Microcontroller Platform Okay but what s a Microcontroller? Tiny, self-contained computers in an IC Often contain peripherals

More information

REMOTE LABORATORIES USING THE TRAINING MODULEM2CI

REMOTE LABORATORIES USING THE TRAINING MODULEM2CI REMOTE LABORATORIES USING THE TRAINING MODULEM2CI Diego F. Sendoya-Losada 1, Pedro Torres Silva 2 and Fabián Bolívar Marín 2 1 Department of Electronic Engineering, Faculty of Engineering, Surcolombiana

More information

University of Portland EE 271 Electrical Circuits Laboratory. Experiment: Arduino

University of Portland EE 271 Electrical Circuits Laboratory. Experiment: Arduino University of Portland EE 271 Electrical Circuits Laboratory Experiment: Arduino I. Objective The objective of this experiment is to learn how to use the Arduino microcontroller to monitor switches and

More information

TANGIBLE MEDIA & PHYSICAL COMPUTING INTRODUCTION TO ARDUINO

TANGIBLE MEDIA & PHYSICAL COMPUTING INTRODUCTION TO ARDUINO TANGIBLE MEDIA & PHYSICAL COMPUTING INTRODUCTION TO ARDUINO AGENDA ARDUINO HARDWARE THE IDE & SETUP BASIC PROGRAMMING CONCEPTS DEBUGGING & HELLO WORLD INPUTS AND OUTPUTS DEMOS ARDUINO HISTORY IN 2003 HERNANDO

More information

IME-100 ECE. Lab 3. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE,

IME-100 ECE. Lab 3. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE, IME-100 ECE Lab 3 Electrical and Computer Engineering Department Kettering University 3-1 1. Laboratory Computers Getting Started i. Log-in with User Name: Kettering Student (no password required) ii.

More information

A rduino Programming Part 5: Functions Redux and Intro toa rrays

A rduino Programming Part 5: Functions Redux and Intro toa rrays A rduino Programming Part 5: Functions Redux and Intro toa rrays ME 121 M e c h a n i c a l a n d M a t e r i a l s E n g i n e e r i n g Portland State University Goals Review operation of the Salinity

More information

Sensors and Motor Control Lab

Sensors and Motor Control Lab Sensors and Motor Control Lab ILR - 1 Amit Agarwal Team A Amit Agarwal, Harry Golash, Yihao Qian, Menghan Zhang, Zihao (Theo) Zhang October 14, 2016 Table of Contents 1. Individual Progress 1.1 DC Motor

More information

Robotics/Electronics Review for the Final Exam

Robotics/Electronics Review for the Final Exam Robotics/Electronics Review for the Final Exam Unit 1 Review. 1. The battery is 12V, R1 is 400 ohms, and the current through R1 is 20 ma. How many ohms is R2? ohms What is the voltage drop across R1? V

More information

More Arduino Programming

More Arduino Programming Introductory Medical Device Prototyping Arduino Part 2, http://saliterman.umn.edu/ Department of Biomedical Engineering, University of Minnesota More Arduino Programming Digital I/O (Read/Write) Analog

More information

Arduino Part 2. Introductory Medical Device Prototyping

Arduino Part 2. Introductory Medical Device Prototyping Introductory Medical Device Prototyping Arduino Part 2, http://saliterman.umn.edu/ Department of Biomedical Engineering, University of Minnesota More Arduino Programming Digital I/O (Read/Write) Analog

More information

The Arduino IDE and coding in C (part 1)

The Arduino IDE and coding in C (part 1) The Arduino IDE and coding in C (part 1) Introduction to the Arduino IDE (integrated development environment) Based on C++ Latest version ARDUINO IDE 1.8.3 can be downloaded from: https://www.arduino.cc/en/main/software

More information

RS485 Sensor Node V1.0 (SKU:DFR0233)

RS485 Sensor Node V1.0 (SKU:DFR0233) RS485 Sensor Node V1.0 (SKU:DFR0233) Contents 1 Introduction 2 Application 3 Specification 4 Pin Out 4.1 More details 5 Product Directive 6 Connecting Diagram 7 Sample Code Introduction This RS-485 Sensor

More information

EEG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

EEG 101L INTRODUCTION TO ENGINEERING EXPERIENCE EEG 101L INTRODUCTION TO ENGINEERING EXPERIENCE LABORATORY 1: INTRODUCTION TO ARDUINO IDE AND PROGRAMMING DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING UNIVERSITY OF NEVADA, LAS VEGAS 1. FYS KIT COMPONENTS

More information

Note. The above image and many others are courtesy of - this is a wonderful resource for designing circuits.

Note. The above image and many others are courtesy of   - this is a wonderful resource for designing circuits. Robotics and Electronics Unit 2. Arduino Objectives. Students will understand the basic characteristics of an Arduino Uno microcontroller. understand the basic structure of an Arduino program. know how

More information

ARDUINO. By Kiran Tiwari BCT 2072 CoTS.

ARDUINO. By Kiran Tiwari BCT 2072 CoTS. ARDUINO By Kiran Tiwari BCT 2072 CoTS www.kirantiwari.com.np SO What is an Arduino? WELL!! Arduino is an open-source prototyping platform based on easy-to-use hardware and software. Why Arduino? Simplifies

More information

3.The circuit board is composed of 4 sets which are 16x2 LCD Shield, 3 pieces of Switch, 2

3.The circuit board is composed of 4 sets which are 16x2 LCD Shield, 3 pieces of Switch, 2 Part Number : Product Name : FK-FA1416 MULTI-FUNCTION 16x2 LCD SHIELD This is the experimental board of Multi-Function 16x2 LCD Shield as the fundamental programming about the digits, alphabets and symbols.

More information

SECOND EDITION. Arduino Cookbook. Michael Margolis O'REILLY- Tokyo. Farnham Koln Sebastopol. Cambridge. Beijing

SECOND EDITION. Arduino Cookbook. Michael Margolis O'REILLY- Tokyo. Farnham Koln Sebastopol. Cambridge. Beijing SECOND EDITION Arduino Cookbook Michael Margolis Beijing Cambridge Farnham Koln Sebastopol O'REILLY- Tokyo Table of Contents Preface xi 1. Getting Started 1 1.1 Installing the Integrated Development Environment

More information

Station Automation --W3SZ

Station Automation --W3SZ Station Automation --W3SZ Arduino Ethernet Device Control Example Use Arduino to create web page, provide on/off control for 12 devices via the Ethernet Could use instead for band switching transverters

More information

Arduino Uno Microcontroller Overview

Arduino Uno Microcontroller Overview Innovation Fellows Program Arduino Uno Microcontroller Overview, http://saliterman.umn.edu/ Department of Biomedical Engineering, University of Minnesota Arduino Uno Power & Interface Reset Button USB

More information

Laboratory 1 Introduction to the Arduino boards

Laboratory 1 Introduction to the Arduino boards Laboratory 1 Introduction to the Arduino boards The set of Arduino development tools include µc (microcontroller) boards, accessories (peripheral modules, components etc.) and open source software tools

More information

Sten-SLATE ESP. WiFi

Sten-SLATE ESP. WiFi Sten-SLATE ESP WiFi Stensat Group LLC, Copyright 2016 1 References www.arduino.cc http://esp8266.github.io/arduino/versions/2.1.0/doc/reference.html 2 Introduction The wifi integrated in the processor

More information

WIFI CC3000 Module Breakout

WIFI CC3000 Module Breakout WIFI CC3000 Module Breakout This is a breakout board for the CC3000 WiFi Module from TI (Texas Instruments). It is a self-contained wireless network processor that makes internet connectivity into your

More information

Robotics and Electronics Unit 5

Robotics and Electronics Unit 5 Robotics and Electronics Unit 5 Objectives. Students will work with mechanical push buttons understand the shortcomings of the delay function and how to use the millis function. In this unit we will use

More information

SPLDuino Programming Guide

SPLDuino Programming Guide SPLDuino Programming Guide V01 http://www.helloapps.com http://helloapps.azurewebsites.net Mail: splduino@gmail.com HelloApps Co., Ltd. 1. Programming with SPLDuino 1.1 Programming with Arduino Sketch

More information

Remote Monitoring Example Remote RF Power Output Monitor

Remote Monitoring Example Remote RF Power Output Monitor Remote Monitoring Example Remote RF Power Output Monitor Remote RF Power Output Monitoring Monitor RF power output via the Ethernet We will use an Arduino to gather the RF power data and send it to a remote

More information

Sten-SLATE ESP. Simple Web Server

Sten-SLATE ESP. Simple Web Server Sten-SLATE ESP Simple Web Server Stensat Group LLC, Copyright 2018 1 References www.arduino.cc https://github.com/esp8266/arduino 2 System Design A web server uses the client/server software model. The

More information

Arduino Course. Technology Will Save Us - Tim Brooke 10th August Friday, 9 August 13

Arduino Course. Technology Will Save Us - Tim Brooke 10th August Friday, 9 August 13 Arduino Course Technology Will Save Us - Tim Brooke 10th August 2013 Arduino Projects http://www.instructables.com/id/20-unbelievable-arduino-projects/ Blink /* Blink Turns on an LED on for one second,

More information

POSSIBILITIES OF CONTROL USING WIRELESS COMMUNICATION AND MOBILE PHONE

POSSIBILITIES OF CONTROL USING WIRELESS COMMUNICATION AND MOBILE PHONE 10 th International Scientific Conference on Production Engineering DEVELOPMENT AND MODERNIZATION OF PRODUCTION POSSIBILITIES OF CONTROL USING WIRELESS COMMUNICATION AND MOBILE PHONE Mehmed Arnautović

More information

#include "pitches.h" #include <Wire.h> #include <avr/pgmspace.h> #include "Adafruit_Trellis.h"

#include pitches.h #include <Wire.h> #include <avr/pgmspace.h> #include Adafruit_Trellis.h #include "pitches.h" #include #include #include "Adafruit_Trellis.h" Adafruit_Trellis matrix0 = Adafruit_Trellis(); Adafruit_TrellisSet trellis = Adafruit_TrellisSet(&matrix0);

More information

Arduino Programming Part 4: Flow Control

Arduino Programming Part 4: Flow Control Arduino Programming Part 4: Flow Control EAS 199B, Winter 2010 Gerald Recktenwald Portland State University gerry@me.pdx.edu Goal Make choices based on conditions in the environment Logical expressions:

More information

Final Design Report. Project Title: Automatic Storm Shutters. Team Name: Make It Rain

Final Design Report. Project Title: Automatic Storm Shutters. Team Name: Make It Rain EEL 4924 Electrical Engineering Design (Senior Design) Final Design Report 4 August 2009 Project Title: Automatic Storm Shutters Team Name: Make It Rain Team Members: Name: Kyle Weber Name: Zachary Wernlund

More information

E11 Lecture 4: More C!!! Profs. David Money Harris & Sarah Harris Fall 2011

E11 Lecture 4: More C!!! Profs. David Money Harris & Sarah Harris Fall 2011 E11 Lecture 4: More C!!! Profs. David Money Harris & Sarah Harris Fall 2011 Outline Logistics Serial Input Physical Inputs/Outputs Randomness Operators Control Statements Logistics Logistics Tutoring hours:

More information

SD Card shield V4.0. Introduction. Application Ideas. Music Player with LinkIt One

SD Card shield V4.0. Introduction. Application Ideas. Music Player with LinkIt One SD Card shield V4.0 Introduction This is the newly released SD card V4.0 shield. It provides a storage space for your Arduino. Users can read/write SD card via Arduino s built-in SD library. It supports

More information

The DTMF generator comprises 3 main components.

The DTMF generator comprises 3 main components. Make a DTMF generator with an Arduino board This article is for absolute beginners, and describes the design and construction of a DTMF generator. DTMF generators are often used to signal with equipment

More information

Introduction to Arduino

Introduction to Arduino Introduction to Arduino Paco Abad May 20 th, 2011 WGM #21 Outline What is Arduino? Where to start Types Shields Alternatives Know your board Installing and using the IDE Digital output Serial communication

More information

Radiation Detector DIY Kit Arduino Compatible ver. 2.01

Radiation Detector DIY Kit Arduino Compatible ver. 2.01 Radiation Detector DIY Kit Arduino Compatible ver. 2.01 http://radiohobbystore.com Components List: Resistors: R1, R2 Resistor 33K R3, R21 Resistor 1K R4 Resistor 3K R5 Resistor 100K R6, R7, R8, R9, R10,

More information

Lab 8. Arduino and WiFi - IoT applications

Lab 8. Arduino and WiFi - IoT applications Lab 8. Arduino and WiFi - IoT applications IoT - Internet of Things is a recent trend that refers to connecting smart appliances and electronics such as microcontrollers and sensors to the internet. In

More information

How Arduino YUN can send and get dweets using dweet.io service. Creating the thing at the dweet.io web page for playing.

How Arduino YUN can send and get dweets using dweet.io service. Creating the thing at the dweet.io web page for playing. ! How Arduino YUN can send and get dweets using dweet.io service. Introduction. It is now normal to hear about the word IoT. What does word mean? The Acronym word IoT can be expanded as Internet of Things.

More information

Arduino provides a standard form factor that breaks the functions of the micro-controller into a more accessible package.

Arduino provides a standard form factor that breaks the functions of the micro-controller into a more accessible package. About the Tutorial Arduino is a prototype platform (open-source) based on an easy-to-use hardware and software. It consists of a circuit board, which can be programed (referred to as a microcontroller)

More information

BASIC ARDUINO WORKSHOP. Mr. Aldwin and Mr. Bernardo

BASIC ARDUINO WORKSHOP. Mr. Aldwin and Mr. Bernardo BASIC ARDUINO WORKSHOP Mr. Aldwin and Mr. Bernardo 1 BASIC ARDUINO WORKSHOP Course Goals Introduce Arduino Hardware and Understand Input Software and Output Create simple project 2 Arduino Open-source

More information

Arduino: What is it? What can it do?

Arduino: What is it? What can it do? Arduino: What can it do? tswsl1989@sucs.org May 20, 2013 What is an Arduino? According to Arduino: Arduino is a tool for making computers that can sense and control more of the physical world than your

More information

DIY Korner home security system

DIY Korner home security system DIY Korner home security system What is Korner security system? This product is meant for home security. It comes with a korner tag (korner stick) and several korner tags. The one to the right is the korner

More information

IDUINO for maker s life. User Manual. For IDUINO Mega2560 Board(ST1026)

IDUINO for maker s life. User Manual. For IDUINO Mega2560 Board(ST1026) User Manual For IDUINO Mega2560 Board(ST1026) 1.Overview 1.1 what is Arduino? Arduino is an open-source prototyping platform based on easy-to-use hardware and software. Arduino boards are able to read

More information

Adapted from a lab originally written by Simon Hastings and Bill Ashmanskas

Adapted from a lab originally written by Simon Hastings and Bill Ashmanskas Physics 364 Arduino Lab 1 Adapted from a lab originally written by Simon Hastings and Bill Ashmanskas Vithayathil/Kroll Introduction Last revised: 2014-11-12 This lab introduces you to an electronic development

More information

MEDIS Module 2. Microcontroller based systems for controlling industrial processes. Chapter 4: Timer and interrupts. M. Seyfarth, Version 0.

MEDIS Module 2. Microcontroller based systems for controlling industrial processes. Chapter 4: Timer and interrupts. M. Seyfarth, Version 0. MEDIS Module 2 Microcontroller based systems for controlling industrial processes Chapter 4: Timer and interrupts M. Seyfarth, Version 0.1 Steuerungstechnik 1: Speicherprogrammierbare Steuerungstechnik

More information

Make your own secret locking mechanism to keep unwanted guests out of your space!

Make your own secret locking mechanism to keep unwanted guests out of your space! KNOCK LOCK Make your own secret locking mechanism to keep unwanted guests out of your space! Discover : input with a piezo, writing your own functions Time : 1 hour Level : Builds on projects : 1,,3,4,5

More information

Physics 120B: Lecture 11. Timers and Scheduled Interrupts

Physics 120B: Lecture 11. Timers and Scheduled Interrupts Physics 120B: Lecture 11 Timers and Scheduled Interrupts Timer Basics The ATMega 328 has three @mers available to it (Arduino Mega has 6) max frequency of each is 16 MHz, on Arduino TIMER0 is an 8- bit

More information

Counter & LED (LED Blink)

Counter & LED (LED Blink) 1 T.R.E. Meeting #1 Counter & LED (LED Blink) September 17, 2017 Contact Info for Today s Lesson: President Ryan Muller mullerr@vt.edu 610-573-1890 Learning Objectives: Learn how to use the basics of Arduino

More information

Interrupts Arduino, AVR, and deep dark programming secrets. What is an Interrupt?

Interrupts Arduino, AVR, and deep dark programming secrets. What is an Interrupt? Interrupts Arduino, AVR, and deep dark programming secrets What is an Interrupt? A transfer of program control that is not directed by the programmer Like a phone call in the middle of a conversation Stop

More information

cs281: Introduction to Computer Systems Lab03 K-Map Simplification for an LED-based Circuit Decimal Input LED Result LED3 LED2 LED1 LED3 LED2 1, 2

cs281: Introduction to Computer Systems Lab03 K-Map Simplification for an LED-based Circuit Decimal Input LED Result LED3 LED2 LED1 LED3 LED2 1, 2 cs28: Introduction to Computer Systems Lab3 K-Map Simplification for an LED-based Circuit Overview In this lab, we will build a more complex combinational circuit than the mux or sum bit of a full adder

More information

CHAPTER V IMPLEMENTATION AND TESTING

CHAPTER V IMPLEMENTATION AND TESTING CHAPTER V IMPLEMENTATION AND TESTING 5.1 Implementation 5.1.1 Arduino IDE This project uses the arduino IDE application. This application used to compile and to upload the program. The program can be seen

More information

EXPERIMENT 7 Please visit https://www.arduino.cc/en/reference/homepage to learn all features of arduino before you start the experiments

EXPERIMENT 7 Please visit https://www.arduino.cc/en/reference/homepage to learn all features of arduino before you start the experiments EXPERIMENT 7 Please visit https://www.arduino.cc/en/reference/homepage to learn all features of arduino before you start the experiments TEMPERATURE MEASUREMENT AND CONTROL USING LM35 Purpose: To measure

More information

Procedure: Determine the polarity of the LED. Use the following image to help:

Procedure: Determine the polarity of the LED. Use the following image to help: Section 2: Lab Activity Section 2.1 Getting started: LED Blink Purpose: To understand how to upload a program to the Arduino and to understand the function of each line of code in a simple program. This

More information

1 Introduction. 1.1 Overview. 1.2 Supported Hardware. 1.3 Recommended Hardware. 1.4 Installation

1 Introduction. 1.1 Overview. 1.2 Supported Hardware. 1.3 Recommended Hardware. 1.4 Installation 1 Introduction 1.1 Overview The RobotOpen Arduino Library provides an easy to use abstraction layer to quickly begin programming and controlling your robots with RobotOpen. The 1.0.x release is currently

More information

FireBeetle ESP8266 IOT Microcontroller SKU: DFR0489

FireBeetle ESP8266 IOT Microcontroller SKU: DFR0489 FireBeetle ESP8266 IOT Microcontroller SKU: DFR0489 Introduction DFRobot FireBeetle is a series of low-power-consumption development hardware designed for Internet of Things (IoT). Firebeetle ESP8266 is

More information

ADC to I 2 C. Data Sheet. 10 Channel Analog to Digital Converter. with output via I 2 C

ADC to I 2 C. Data Sheet. 10 Channel Analog to Digital Converter. with output via I 2 C Data Sheet 10 Channel Analog to Digital Converter with output via I 2 C Introduction Many microcontroller projects involve the use of sensors like Accelerometers, Gyroscopes, Temperature, Compass, Barometric,

More information

Introduction to Arduino. Wilson Wingston Sharon

Introduction to Arduino. Wilson Wingston Sharon Introduction to Arduino Wilson Wingston Sharon cto@workshopindia.com Physical computing Developing solutions that implement a software to interact with elements in the physical universe. 1. Sensors convert

More information

Contents. List of Figures. TermDriver Datasheet 1. 1 Overview 2. 2 Features 2. 3 Installation with Arduino 3

Contents. List of Figures. TermDriver Datasheet 1. 1 Overview 2. 2 Features 2. 3 Installation with Arduino 3 TermDriver Datasheet 1 Contents 1 Overview 2 2 Features 2 3 Installation with Arduino 3 4 Operation 4 4.1 ANSI escape codes......................... 5 4.2 High-resolution modes........................

More information

CSCE 236 Embedded Systems, Spring 2012 Quiz/Test 2

CSCE 236 Embedded Systems, Spring 2012 Quiz/Test 2 CSCE 236 Embedded Systems, Spring 2012 Quiz/Test 2 Thursday, April 12, 2012 Instructions: You will have the full class period to complete this test. Make sure to show your work to ensure you receive partial

More information

Control Rod Drive MG Simulator

Control Rod Drive MG Simulator Control Rod Drive MG Simulator The intent of this simulator is to provide the student a hands on operation of the Control Rod Drive Mechanism Motor Generators. Using the MP E-21.6 procedure. It comprises

More information

Contents. List of Figures. SPIDriver Datasheet 1. 1 Overview 2. 2 Features 2. 3 Installation with Arduino 3

Contents. List of Figures. SPIDriver Datasheet 1. 1 Overview 2. 2 Features 2. 3 Installation with Arduino 3 SPIDriver Datasheet 1 Contents 1 Overview 2 2 Features 2 3 Installation with Arduino 3 4 Operation 4 4.1 ANSI escape codes......................... 5 4.2 High-resolution modes........................ 6

More information

Serial.begin ( ); Serial.println( ); analogread ( ); map ( );

Serial.begin ( ); Serial.println( ); analogread ( ); map ( ); Control and Serial.begin ( ); Serial.println( ); analogread ( ); map ( ); A system output can be changed through the use of knobs, motion, or environmental conditions. Many electronic systems in our world

More information

ARDUINO EXPERIMENTS ARDUINO EXPERIMENTS

ARDUINO EXPERIMENTS ARDUINO EXPERIMENTS ARDUINO EXPERIMENTS IR OBSTACLE SENSOR... 3 OVERVIEW... 3 OBJECTIVE OF THE EXPERIMENT... 3 EXPERIMENTAL SETUP... 3 IR SENSOR ARDUINO CODE... 4 ARDUINO IDE SERIAL MONITOR... 5 GAS SENSOR... 6 OVERVIEW...

More information

Chapter 2 The Basic Functions

Chapter 2 The Basic Functions Chapter 2 The Basic Functions 2.1 Overview The code you learn to write for your Arduino is very similar to the code you write in any other computer language. This implies that all the basic concepts remain

More information

MassDuino User's manual

MassDuino User's manual Table of Contents Release History... 2 Background... 2 What's MassDuino... 2 MassDuino Development Process... 3 MD-8088 and MD-328D specification... 4 MassDuino UNO family selection guide... 5 How to use...

More information

Building a GUI From Scratch

Building a GUI From Scratch Building a GUI From Scratch 1 Processing Graphical User Interface In this lesson, you will learn how to create some simple GUI objects to control the robot. The GUI objects will be sliders and a joystick.

More information

/* This program now switches between Train at holt to train on its way with button press. */ //MD_MAX72xx_Message_Serial7_train

/* This program now switches between Train at holt to train on its way with button press. */ //MD_MAX72xx_Message_Serial7_train /* This program now switches between Train at holt to train on its way with button press. */ //MD_MAX72xx_Message_Serial7_train // Use the MD_MAX72XX library to scroll text on the display // // Demonstrates

More information

Microcontrollers and Interfacing week 8 exercises

Microcontrollers and Interfacing week 8 exercises 2 HARDWARE DEBOUNCING Microcontrollers and Interfacing week 8 exercises 1 More digital input When using a switch for digital input we always need a pull-up resistor. For convenience, the microcontroller

More information