ipot Phase 1 1

Size: px
Start display at page:

Download "ipot Phase 1 1"

Transcription

1 ipot Phase 1 Contents Introduction... 3 Step 1: Connect the Soil Humidity Hygrometer Moisture sensor... 5 Step 2: Connect DHT22 Humidity and Temperature sensor... 8 Step 3: Connecting OLED U8glib screen Step 4: Connecting Water pump Disclaimer: :MrCoolTech does not accept any responsibility, damage, loss of asset, health or any other damage that may occur as result of you following these instructions. 1

2 2

3 Introduction This Project is design in 3 phases at each phase we shall add functionality to our ipot the World first Intelligent Plant Pot : AIM To build our own self watering plant pot that will: notify you via push notification Water itself when soil moist level are low Dashboard were you can login anywhere in world to monitor the plant health Integrate Cortana functionality to the plant pot The objective is: Objective To Learn How Push Notification is applying on Arduino Uno board {Phase 2} To Learn Dashboard of IoT {Phase 2} To learn How Cortana is integrated with Arduino Uno board.{phase 3) Standard self-watering plant pot system.{phase 1} Skill level: Phase 1 of ipot is Basic level with very little programming coding experience required. Prerequisite: 1 x Arduino Uno board 1 x 2.2 Ohm resister 1 x DHT22 sensor 1 x Soil Humidity Hygrometer Moisture sensor 3

4 1 x TIP120 transistor 1 x diode 1 x OLED screen U8glib 128 x 64 1 x Mini submersible aquarium water pump for Arduino (3-6V) 1 x Breadboard (small size) 1 x Pound land Plant pot 1 x ICE cream box With lid 4

5 Arduino Uno pin type wires These parts can be brought from ebay, Maplin and Ail Express [recommended] websites. As a guideline do not spend over 30 for these parts, I brought my Arduino Uno board from Ail Express for under 10 five of them. We are going to build everything in steps and slowly just add on sensors, you will notice that there are lots of photos and color highlighted text this is because I am Dyslexic and fully support in newly develop Dyslexic teaching style lectures and notes. Step 1: Connect the Soil Humidity Hygrometer Moisture sensor Don t worry if your soil sensor does not look the same as the diagram above, the main guideline is Connect the sensor pin as follows: VCC = Arduino 3.3v {as shown above} GND = Arduino GND as shown above, later on we will use the other GND for OLED and DHT22 sensor. Copy and paste this code to Arduino IDE and upload the code to the Arduino board. 5

6 //******************************************************* // Autor: Waheed Rafiq Research Student Birmingham City University // Date Written: 27/06/2016 // Date revise: 08/07/2016 //Bug fix: OLED screen soil sensor output // Project: ipot (c) (TM) 2001, Plant Pot that water itself, // able to tell user Humidity within the pot dome. // Version : 1.1 // All CopyRight Reserve (c) 1988 //Copyright (C) 2007 Free Software Foundation, Inc. < //Everyone is permitted to copy and distribute verbatim copies of this //license document, Modification is allowed please do credit the autor. // Happy Coding, Keep the Peace, Love Technology // //************************************************************** // Step 1: Connect the Soil Humidity Hygrometer Moisture sensor //************************************************************** // Declare Variable used in the program const int soilsensorpin=0; // intialise soil A0 pin void setup() { // intialise Serial output for testing purposes Serial.begin(9600); }// end of setup 6

7 // Loop until the power supply runs out. // print out the output to serial monitor void loop() { // Read data store value of soil monistor into SensorValue varaible int sensorvalue = analogread(soilsensorpin); delay(1000); // delay for one second Serial.print("Soil M : ");// output to serial monitor for testing purpose. Serial.println(sensorValue); }// end of loop If there are no errors your result should look like this when you open the Serial monitor If you are experiencing any errors please upload pictures and the type of error message you have on Arduino forum room, I am always online on a weekly basis and shall be able to aid you. Do check yourself all the wiring is exactly as same as mine as shown above. Well done you have completed your Step one of this project easy yeah, piece of cake 7

8 Step 2: Connect DHT22 Humidity and Temperature sensor For this section you will need to download DHT22 sensor libraries, you can do this via my Onedrive public shared folder or google DHT22 libraries never the less Arduino IDE current version will do this automatically for you because you shall include the keyword #include dht.h. Face your DHT22 sensor like this Connect as follows: VCC = to 5v on Arduino Uno board Data = Digital pin number 2 on the board as shown by blue wired NC= we don t use this in this project 8

9 GND = connect to Ground GND on the Arduino board shown by green wire Copy and paste the new code into your Arduino IDE project. //******************************************************* // Autor: Waheed Rafiq Research Student Birmingham City University // Date Written: 27/06/2016 // Date revise: 08/07/2016 //Bug fix: OLED screen soil sensor output // Project: ipot (c) (TM) 2001, Plant Pot that water itself, // able to tell user Humidity within the pot dome. // Version : 1.1 // All CopyRight Reserve (c) 1988 //Copyright (C) 2007 Free Software Foundation, Inc. < //Everyone is permitted to copy and distribute verbatim copies of this //license document, Modification is allowed please do credit the autor. // Happy Coding, Keep the Peace, Love Technology // //************************************************************** // Step 2: Connect DHT22 Humidity and Temperature sensor //************************************************************** // Include Libraries that are required for the project #include "DHT.h" // DHT22 sensor you can download this off my onedrive // by default Arduino IDE should download this for you automatically #define DHTPIN 2 // what pin we're connected to digital pin #define DHTTYPE DHT22 // DHT 22 (AM2302) // Declare Variable used in the program 9

10 const int soilsensorpin=0; // intialise soil A0 pin float hum; // Stores humidity value float temp; // Stores temperature value // Initialize DHT sensor for normal 16mhz Arduino uno board DHT dht(dhtpin, DHTTYPE); void setup() { // intialise Serial output for testing purposes Serial.begin(9600); }// end of setup // Loop until the power supply runs out. // print out the output to serial monitor void loop() { // Read data store value of soil monistor into SensorValue varaible int sensorvalue = analogread(soilsensorpin); // Read data and store it to variables hum and temp hum= dht.readhumidity(); temp= dht.readtemperature(); delay(1000); // delay for one second Serial.print("Soil M : ");// output to serial monitor for testing purpose. Serial.print(sensorValue); 10

11 //******************************************** // Humidity output Serial Monitor //******************************************** Serial.print(", Humidity: ");// output to serial monitor for testing purpose. Serial.print(hum); delay(1000); // delay for one second... //********************************************* // Temputure output via Serial Monitor //********************************************* Serial.print(" %, Temp: ");// output to serial monitor for testing purpose. Serial.print(temp); Serial.println(" Celsius "); delay(2000); }// end of loop Compile and upload the new code to your Arduino board If you have connected all the pins correctly the output should look like this: Any issue please post your problem on Arduino Uno forum room where I can assist you. Well done now that was another step that was easy yeah, piece of cake Okay the next two step I shall try to make them as easy as possible but don t be too scared all you have done so far is copied and paste my code if the pins are correctly inserted in the correct position so far so good everything should be working. 11

12 Step 3: Connecting OLED U8glib screen In this step we are going to connect the OLED screen to the Arduino Uno board In order to make things easy to follow, I suggest you removed all the wires that we pin in Arduino Uno board and start fresh as this process can become a bit tricky. Download the drivers of the OLED U8glib libraries and unzip them to the Arduino Libraries folder. In Step 4 we are going to connect the all the sensor and OLED. Step 4: Connecting Water pump As you might have notice Arduino board can supply via USB the max 5v, this is not enough for our water pump to work properly so we shall supply, its own power supply for the water pump. Follow these simple easy instructions and you should be fine. 1) As shown above place the 2.2 Ohm resister as shown above as long as it looks similar to the above screen shot you should be okay. 12

13 2) Place the TIP120 transistor starting the third pin as shown below, sliver part facing away from the 2.2Ohm resister {don t worry if you don t get the facing part right. Later you will have to return back to this area and just unplug TIP120 and place it the other way around. 3) We should now end up something like this: 4) Next we are going to place the diode next to the first pin and second pin starting from left side. As shown below 13

14 Make sure the sliver line on the diode is facing the same direction as above. The breadboard should look like this: Please refer to the actual bread picture for references at the end of this instructor manual. This is how the complete setup with just the Water pump connected should look like I have removed all the other wires to make it easy as possible for you to understand this. 14

15 A short motor test is required: copy and paste this code in a new Sketch int WaterPumpPin = 9; // Digital pin 9 void setup() { pinmode(waterpumppin, OUTPUT); // Set pin for output to control WaterPumpPin analogwrite(waterpumppin, 255); // By changing values from 0 to 255 you are able to control the //speed of the motor } void loop() { } All should work fine if not post your error with screen shot to Arduino forum room Now you have the motor working. Here is how the rest of the pins are connected on the breadboard and Arduino Soil moist sensor Pin VCC= White goes to breadboard GND = Green on Arduino board next to 5v pin A0= Purple goes on to the analogue section pin A0 Once completed it should look like this: 15

16 Now we are going to reconnect DHT22 sensor as follows: VCC = White wired pin number 3.3v on Arduino Uno board Data =Purple Digital pin number 2 on the Arduino board. NC= we don t use this in this project GND = Green to GND on Arduino Uno board. Where the red Circles are your pins should follow the same pattern. Finally, we are going to reconnect the OLED: GND - GND on breadboard as shown in the diagram below VCC - 5V on breadboard as shown in the diagram above line red SCL - A5 on Arduino Uno SDA - A4 on Arduino Uno Where the red Circles are your pins should follow the same pattern. 16

17 At this stage all the sensors should be plugin to the Arduino Board and should look like this: Well done Mission accomplished the project is completed. Now just copy this code and uploaded to Arduino Uno board. 17

18 //******************************************************* // Autor: Waheed Rafiq Research Student Birmingham City University // Date Written: 27/06/2016 // Date revise: 08/07/2016 //Bug fix: OLED screen soil sensor output // Project: ipot (c) (TM) 2001, Plant Pot that water itself, // able to tell user Humidity within the pot dome. // Version : 1.1 // All CopyRight Reserve (c) 1988 //Copyright (C) 2007 Free Software Foundation, Inc. < //Everyone is permitted to copy and distribute verbatim copies of this //license document, Modification is allowed please do credit the autor. // Happy Coding, Keep the Peace, Love Technology // //************************************************************** // 3: Connecting OLED U8glib screen //************************************************************** // Include Libraries that are required for the project #include "DHT.h" // DHT22 sensor you can download this off my onedrive, // by default Arduino IDE should download this for you automatically #include "U8glib.h" // for the OLED screen also you can download this from onedrive. //************************************************************** U8GLIB_SSD1306_128X64 u8g(u8g_i2c_opt_none U8G_I2C_OPT_DEV_0); //************************************************************** #define DHTPIN 2 // what pin we're connected to digital pin #define DHTTYPE DHT22 // DHT 22 (AM2302) 18

19 // Initialize DHT sensor DHT dht(dhtpin, DHTTYPE); // Declare Variable used in the program int chk; // check const int soilsensorpin=0; // intialise soil A0 pin float hum; // Stores humidity value float temp; // Stores temperature value //2-Way motor control int motorpin =9; // Pin that motor is connected to int x=0; void setup() { // intialise Serial output for testing purposes Serial.begin(9600); dht.begin(); //################################################ // Water pump Initialize ditial pins as output //################################################# pinmode(motorpin, OUTPUT); // initialize motor mode //************************************************************** // Initialize OLED //************************************************************** 19

20 // assign default color value if ( u8g.getmode() == U8G_MODE_R3G3B2 ) { u8g.setcolorindex(255); // white } else if ( u8g.getmode() == U8G_MODE_GRAY2BIT ) { u8g.setcolorindex(3); // max intensity } else if ( u8g.getmode() == U8G_MODE_BW ) { u8g.setcolorindex(1); // pixel on } else if ( u8g.getmode() == U8G_MODE_HICOLOR ) { u8g.sethicolorbyrgb(255,255,255); } pinmode(8, OUTPUT); }// end of setup void draw(void) { // graphic commands to redraw the complete screen should be placed here u8g.setfont(u8g_font_unifont); //************************************************************ // Soil sensor / Humminity sensor data //*********************************************************** // Read data and store it to variables hum and temp 20

21 hum= dht.readhumidity(); temp= dht.readtemperature(); // Read data store value of soil monistor into SensorValue varaible int sensorvalue = analogread(soilsensorpin); // Print temp and humidity values to serial monitor // print out the soil water value: Serial.print("Soil M : ");// output to serial monitor for testing purpose. Serial.print(sensorValue); //******************************************** // OLED Soil screen OUTPUT //******************************************** u8g.drawstr( 0, 49, "Soil M: "); // leave this at postion 0,49 u8g.setprintpos(78,49); // move soil postion back if you want to 78,49 u8g.print(sensorvalue); delay(3000);// delay for 3 second to allow OLED screen to refresh //******************************************** // OLED Humidity screen //******************************************** Serial.print(", Humidity: ");// output to serial monitor for testing purpose. Serial.print(hum); delay(1000); // delay for one second... //******************************************** // OLED screen OUTPUT DHT22 Humidity //******************************************** 21

22 u8g.drawstr( 0, 28, "Humidity:"); // leave this at postion 0, 28 u8g.setprintpos(78,26); // move soil postion back if you want to 78,29 u8g.print(hum); delay(3000); // delay for 3 seconds to allow OLED screen to refresh //********************************************* // NO space on OLED Screen code not included //********************************************* Serial.print(" %, Temp: ");// output to serial monitor for testing purpose. Serial.print(temp); Serial.println(" Celsius "); delay(2000); // if soilsensorpin value is greater than 600 in soil moist then // trigger the water pump keep checking until less 600 in soil moist. // Error trapping 'Nan' value if(! isnan(sensorvalue)) // this code deals with nan values { } sensorvalue = sensorvalue +1; //soilsensorpin = soilsensorpin +1; Serial.print("New value soil: ");// for debugging purpose only Serial.println(sensorValue); // for debugging purpose only if(sensorvalue > 600 ) { Serial.print(" Soil dry : "); Serial.println(sensorValue); //******************************************** // OLED OUTPUT "soil dry" + value //******************************************** 22

23 u8g.drawstr( 0, 46, " Soil dry: "); // leave this at postion 0, 30 u8g.setprintpos(78,49); // move soil postion back if you want to 0,50 u8g.print(sensorvalue); digitalwrite(motorpin, HIGH); // turn motor on delay(6000); // delay 5 seconds Serial.println("motor off"); // test purpose only digitalwrite(motorpin,low); // turn motor off delay(10000); // delay 10 second before turning to the top of the code. } else { Serial.print("Soil M: "); Serial.println(sensorValue); // do nothing to OLED screen } // end of If check statement. } // Loop until the power supply runs out. // print out the output to serial monitor void loop() { //************************************************ // OLED code below //************************************************ // Call upon u8g method firstpage() then loops until // powersupply is turn off or battery runs out 23

24 // draws() method display the values on OLED screen. u8g.firstpage(); do { draw(); } while( u8g.nextpage() ); }// end of loop Remember any troubleshooting with this project please post your queries to Arduino Forum room with photos and as much details as possible. All the code and the libraries can be downloaded from my public shared link. You can apply this project to any plant pot or green house projects. If you would like to see Phase 2 and Phase 3 of ipot please encourage me to complete these project with full IoT capabilities then please like or dislike this on YouTube and if you can complete a short survey less than 40 sec, I would really appreciated it. Please click here Author Waheed Rafiq Date completed: 10/07/

keyestudio 1.3" 128x64 OLED graphic display Introduction Specification:

keyestudio 1.3 128x64 OLED graphic display  Introduction Specification: 1.3" 128x64 OLED graphic display Introduction OLED is short for organic light emitting diode. On the microscopic level, an OLED display is a matrix of organic LEDs that light up when they emit energy.

More information

Make a Simple Weather Station Using Arduino

Make a Simple Weather Station Using Arduino Make a Simple Weather Station Using Arduino In this article, you will learn how to build your own weather station using the Arduino platform. This tutorial is based on the work from Steve Spence from Arduinotronics,

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

This is the Arduino Uno: This is the Arduino motor shield: Digital pins (0-13) Ground Rail

This is the Arduino Uno: This is the Arduino motor shield: Digital pins (0-13) Ground Rail Reacting to Sensors In this tutorial we will be going over how to program the Arduino to react to sensors. By the end of this workshop you will have an understanding of how to use sensors with the Arduino

More information

Create your own wireless motion sensor with

Create your own wireless motion sensor with Create your own wireless motion sensor with Arduino If you have a friend that has an alarm system in his or her home, I am sure you ve all seen these white motion sensors that are usually fixed above doors

More information

#include "DHT.h" DHT dht(dhtpin, DHTTYPE); // Date and time functions using a DS1307 RTC connected via I2C and Wire lib

#include DHT.h DHT dht(dhtpin, DHTTYPE); // Date and time functions using a DS1307 RTC connected via I2C and Wire lib #include "DHT.h" #define DHTPIN 2 // what pin we're connected to // Uncomment whatever type you're using! #define DHTTYPE DHT11 // DHT 11 //#define DHTTYPE DHT22 // DHT 22 (AM2302) //#define DHTTYPE DHT21

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

Adafruit CC3000 WiFi and Xively

Adafruit CC3000 WiFi and Xively Adafruit CC3000 WiFi and Xively Created by Marc-Olivier Schwartz Last updated on 2018-08-22 03:37:52 PM UTC Guide Contents Guide Contents Introduction Setting up your Xively account Connections DHT11 sensor

More information

Guide to practical classes in IoT design and integration

Guide to practical classes in IoT design and integration Guide to practical classes in IoT design and integration for students in Computer Science Introduction This experimental teaching module is first of the kind taught in our department. The study is based

More information

Arduino - DigitalReadSerial

Arduino - DigitalReadSerial arduino.cc Arduino - DigitalReadSerial 5-6 minutes Digital Read Serial This example shows you how to monitor the state of a switch by establishing serial communication between your Arduino or Genuino and

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

Arduino Programming Part 3. EAS 199A Fall 2010

Arduino Programming Part 3. EAS 199A Fall 2010 Arduino Programming Part 3 EAS 199A Fall 2010 Overview Part I Circuits and code to control the speed of a small DC motor. Use potentiometer for dynamic user input. Use PWM output from Arduino to control

More information

Digital Pins and Constants

Digital Pins and Constants Lesson Lesson : Digital Pins and Constants Digital Pins and Constants The Big Idea: This lesson is the first step toward learning to connect the Arduino to its surrounding world. You will connect lights

More information

Ardusat Space Kits in the Classroom

Ardusat Space Kits in the Classroom Ardusat Space Kits in the Classroom Resources Why Arduino platform? Real-world STEM application Space Kit contents Let s get started!! Activity1BasicBlink & Activity2MorseCode Activity3LuminTSL2561 Activity4A_TMP102

More information

Grove - Moisture Sensor

Grove - Moisture Sensor Grove - Moisture Sensor This Moisture Senor can be used for detecting the moisture of soil or judge if there is water around the sensor, let the plant in your garden able to reach out for human's help

More information

Overview. Multiplexor. cs281: Introduction to Computer Systems Lab02 Basic Combinational Circuits: The Mux and the Adder

Overview. Multiplexor. cs281: Introduction to Computer Systems Lab02 Basic Combinational Circuits: The Mux and the Adder cs281: Introduction to Computer Systems Lab02 Basic Combinational Circuits: The Mux and the Adder Overview The objective of this lab is to understand two basic combinational circuits the multiplexor and

More information

Introduction to Internet of Things Prof. Sudip Misra Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur

Introduction to Internet of Things Prof. Sudip Misra Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Introduction to Internet of Things Prof. Sudip Misra Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture - 23 Introduction to Arduino- II Hi. Now, we will continue

More information

Prototyping & Engineering Electronics Kits Basic Kit Guide

Prototyping & Engineering Electronics Kits Basic Kit Guide Prototyping & Engineering Electronics Kits Basic Kit Guide odysseyboard.com Please refer to www.odysseyboard.com for a PDF updated version of this guide. Guide version 1.0, February, 2018. Copyright Odyssey

More information

Arduino: LCD Diagrams & Code Brown County Library

Arduino: LCD Diagrams & Code Brown County Library Arduino: LCD Diagrams & Code Project 01: Hello, World! Components needed: Arduino Uno board breadboard 16 jumper wires 16x2 LCD screen 10k potentiometer /* LCD 01 : Hello World! Source: Code adapted from

More information

StenBOT Robot Kit. Stensat Group LLC, Copyright 2018

StenBOT Robot Kit. Stensat Group LLC, Copyright 2018 StenBOT Robot Kit 1 Stensat Group LLC, Copyright 2018 Legal Stuff Stensat Group LLC assumes no responsibility and/or liability for the use of the kit and documentation. There is a 90 day warranty for the

More information

Gravity: I2C BME280 Environmental Sensor (Temperature, Humidity, Barometer) SKU: SEN0236

Gravity: I2C BME280 Environmental Sensor (Temperature, Humidity, Barometer) SKU: SEN0236 Gravity: I2C BME280 Environmental Sensor (Temperature, Humidity, Barometer) SKU: SEN0236 Introduction BME280 is an environmental sensor that integrates onboard temperature sensor, humidity sensor and barometer.

More information

MAKEVMA401 5 VDC STEPPER MOTOR WITH ULN2003 DRIVER BOARD USER MANUAL

MAKEVMA401 5 VDC STEPPER MOTOR WITH ULN2003 DRIVER BOARD USER MANUAL 5 VDC STEPPER MOTOR WITH ULN2003 DRIVER BOARD USER MANUAL USER MANUAL 1. Introduction To all residents of the European Union Important environmental information about this product This symbol on the device

More information

Grove - Thumb Joystick

Grove - Thumb Joystick Grove - Thumb Joystick Release date: 9/20/2015 Version: 1.0 Wiki: http://www.seeedstudio.com/wiki/grove_-_thumb_joystick Bazaar: http://www.seeedstudio.com/depot/grove-thumb-joystick-p-935.html 1 Document

More information

Dual rocket altimeter using the ATmega 328 microcontroller. The AltiDuo

Dual rocket altimeter using the ATmega 328 microcontroller. The AltiDuo Dual rocket altimeter using the ATmega 328 microcontroller The AltiDuo Version date Author Comments 1.0 29/12/2012 Boris du Reau Initial Version Boris.dureau@neuf.fr 1.1 17/02/2013 Boris du Reau Updated

More information

keyestudio Keyestudio MEGA 2560 R3 Board

keyestudio Keyestudio MEGA 2560 R3 Board Keyestudio MEGA 2560 R3 Board Introduction: Keyestudio Mega 2560 R3 is a microcontroller board based on the ATMEGA2560-16AU, fully compatible with ARDUINO MEGA 2560 REV3. It has 54 digital input/output

More information

Project 16 Using an L293D Motor Driver IC

Project 16 Using an L293D Motor Driver IC Project 16 Using an L293D Motor Driver IC In the previous project, you used a transistor to control the motor. In this project, you are going to use a very popular motor driver IC called an L293D. The

More information

Lesson 8: Digital Input, If Else

Lesson 8: Digital Input, If Else Lesson 8 Lesson 8: Digital Input, If Else Digital Input, If Else The Big Idea: This lesson adds the ability of an Arduino sketch to respond to its environment, taking different actions for different situations.

More information

Home Automation With Arduino

Home Automation With Arduino Home Automation With Arduino Automate Your Home Using Open-Source Hardware Marco Schwartz, PhD Contents Legal Acknowledgments About the author About the companion website Preface to the First Edition Preface

More information

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

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

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

Grove - Thumb Joystick

Grove - Thumb Joystick Grove - Thumb Joystick Introduction 3.3V 5.0V Analog Grove - Thumb Joystick is a Grove compatible module which is very similar to the analog joystick on PS2 (PlayStation 2) controllers. The X and Y axes

More information

Introduction to Programming. Writing an Arduino Program

Introduction to Programming. Writing an Arduino Program Introduction to Programming Writing an Arduino Program What is an Arduino? It s an open-source electronics prototyping platform. Say, what!? Let s Define It Word By Word Open-source: Resources that can

More information

Grove - Moisture Sensor

Grove - Moisture Sensor Grove - Moisture Sensor Introduction This Moisture Senor can be used for detecting the moisture of soil or judge if there is water around the sensor, let the plant in your garden able to reach out for

More information

Adafruit DS3231 Precision RTC Breakout

Adafruit DS3231 Precision RTC Breakout Adafruit DS3231 Precision RTC Breakout Created by lady ada Last updated on 2016-02-05 04:43:25 PM EST Guide Contents Guide Contents Overview Pinouts Power Pins: I2C Logic pins: Other Pins: Assembly Prepare

More information

TMP36 Temperature Sensor

TMP36 Temperature Sensor TMP36 Temperature Sensor Created by Ladyada Last updated on 2013-07-30 05:30:36 PM EDT Guide Contents Guide Contents 2 Overview 3 Some Basic Stats 4 These stats are for the temperature sensor in the Adafruit

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

Controlling a fischertechnik Conveyor Belt with Arduino board

Controlling a fischertechnik Conveyor Belt with Arduino board EXPERIMENT TITLE: Controlling a fischertechnik Conveyor Belt with Arduino board PRODUCTS USED: CHALLENGE: AUTHOR: CREDITS: Interface and control a conveyor belt model (24 Volts, fischertechnik) with an

More information

Robotics Adventure Book Scouter manual STEM 1

Robotics Adventure Book Scouter manual STEM 1 Robotics Robotics Adventure Book Scouter Manual Robotics Adventure Book Scouter manual STEM 1 A word with our Scouters: This activity is designed around a space exploration theme. Your Scouts will learn

More information

Create moving images in forward and reverse with your Arduino when you connect a motor to an H-bridge and some still images BATTERY POTENTIOMETER

Create moving images in forward and reverse with your Arduino when you connect a motor to an H-bridge and some still images BATTERY POTENTIOMETER ZOETROPE Create moving images in forward and reverse with your Arduino when you connect a motor to an H-bridge and some still images Discover : H-bridges Time : 30 minutes Level : Builds on projects :

More information

TMP36 Temperature Sensor

TMP36 Temperature Sensor TMP36 Temperature Sensor Created by lady ada Last updated on 2017-11-26 10:17:46 PM UTC Guide Contents Guide Contents Overview Some Basic Stats How to Measure Temperature Problems you may encounter with

More information

Metro Minimalist Clock

Metro Minimalist Clock Metro Minimalist Clock Created by John Park Last updated on 2018-08-22 04:01:22 PM UTC Guide Contents Guide Contents Overview For this build you'll need: Clock Circuit Code the Clock Display the Clock

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

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

CTEC 1802 Embedded Programming Labs

CTEC 1802 Embedded Programming Labs CTEC 1802 Embedded Programming Labs This document is intended to get you started using the Arduino and our I/O board in the laboratory - and at home! Many of the lab sessions this year will involve 'embedded

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

Grove - 3 Axis Digital Accelerometer±16g Ultra-low Power (BMA400)

Grove - 3 Axis Digital Accelerometer±16g Ultra-low Power (BMA400) Grove - 3 Axis Digital Accelerometer±16g Ultra-low Power (BMA400) The Grove - 3-Axis Digital Accelerometer ±16g Ultra-low Power (BMA400) sensor is a 12 bit, digital, triaxial acceleration sensor with smart

More information

4Serial SIK BINDER //77

4Serial SIK BINDER //77 4Serial SIK BINDER //77 SIK BINDER //78 Serial Communication Serial is used to communicate between your computer and the RedBoard as well as between RedBoard boards and other devices. Serial uses a serial

More information

Design and Implementation of Modern Greenhouse System

Design and Implementation of Modern Greenhouse System Design and Implementation of Modern Greenhouse System Zaw Ngwe Lecturer, Department of Electronic Engineering Technological University (Mandalay) Mandalay City, Myanmar Email - zawngwe278@gmail.com Abstract:

More information

Lab 4: Determining temperature from a temperature sensor

Lab 4: Determining temperature from a temperature sensor Start on a fresh page and write your name and your partners names on the top right corner of the page. Write the title of the lab clearly. You may copy the objectives, introduction, equipment, safety and

More information

ISL RGB Sensor Tutorial By: Sabrina Jones

ISL RGB Sensor Tutorial By: Sabrina Jones ISL 25129 RGB Sensor Tutorial By: Sabrina Jones Overview The ISL29125 RGB sensor is a breakout board made to record the light intensity of the general red, green, and blue spectrums of visible light, that

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

Arduino IDE The Developer Kit library The JeeLib library for RFM12 transceivers

Arduino IDE The Developer Kit library The JeeLib library for RFM12 transceivers SKU: 810011 The aim of this project is to build a hydrogen powered remote temperature sensor. It is based on the Arduino, Developer Kit fuel cell shield, Maxim DS18B20 1 Wire temperature sensor, and the

More information

Code&Drive First steps

Code&Drive First steps Code&Drive First steps Now that you have built the Code & Drive, you can set the Build&Code 4in1 board using any of the following software: Arduino IDE, Bitbloq or a visual programming software by blocks

More information

EP486 Microcontroller Applications

EP486 Microcontroller Applications EP486 Microcontroller Applications Topic 6 Step & Servo Motors Joystick & Water Sensors Department of Engineering Physics University of Gaziantep Nov 2013 Sayfa 1 Step Motor http://en.wikipedia.org/wiki/stepper_motor

More information

Smart Objects. SAPIENZA Università di Roma, M.Sc. in Product Design Fabio Patrizi

Smart Objects. SAPIENZA Università di Roma, M.Sc. in Product Design Fabio Patrizi Smart Objects SAPIENZA Università di Roma, M.Sc. in Product Design Fabio Patrizi 1 What is a Smart Object? Essentially, an object that: Senses Thinks Acts 2 Example 1 https://www.youtube.com/watch?v=6bncjd8eke0

More information

SPDM Level 2 Smart Electronics Unit, Level 2

SPDM Level 2 Smart Electronics Unit, Level 2 SPDM Level 2 Smart Electronics Unit, Level 2 Evidence Folder John Johns Form 3b RSA Tipton 1.1 describe the purpose of circuit components and symbols. The candidate can describe the purpose of a range

More information

The Big Idea: Background: About Serial

The Big Idea: Background: About Serial Lesson 6 Lesson 6: Serial Serial Input Input The Big Idea: Information coming into an Arduino sketch is called input. This lesson focuses on text in the form of characters that come from the user via the

More information

Module 1: Crash Prevention Lesson 3: Weather Information systems Programming Activity Using Arduino Teacher Resource Grade 6-8 Time Required

Module 1: Crash Prevention Lesson 3: Weather Information systems Programming Activity Using Arduino Teacher Resource Grade 6-8 Time Required Module 1: Crash Prevention Lesson 3: Weather Information systems Programming Activity Using Arduino Teacher Resource Grade 6-8 Time Required Weather Information Systems is a 120 minute lesson plan (90

More information

Lab 2 - Powering the Fubarino. Fubarino,, Intro to Serial, Functions and Variables

Lab 2 - Powering the Fubarino. Fubarino,, Intro to Serial, Functions and Variables Lab 2 - Powering the Fubarino Fubarino,, Intro to Serial, Functions and Variables Part 1 - Powering the Fubarino SD The Fubarino SD is a 56 pin device. Each pin on a chipkit device falls broadly into one

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

Control Tone with IR Remote

Control Tone with IR Remote Lesson 17 Lesson 17: Control Tone with IR Remote Control Tone with IR Remote The Big Idea: The ability to detect and decode Sony-protocol infrared messages, which was explored in Lesson 16, can be added

More information

Lecture 7. Processing Development Environment (or PDE)

Lecture 7. Processing Development Environment (or PDE) Lecture 7 Processing Development Environment (or PDE) Processing Class Overview What is Processing? Installation and Intro. Serial Comm. from Arduino to Processing Drawing a dot & controlling position

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

Thumb Joystick Retail. Tools and parts you'll need. Things you'll want to know. How does it work? Skill Level: Beginner. by MikeGrusin March 22, 2011

Thumb Joystick Retail. Tools and parts you'll need. Things you'll want to know. How does it work? Skill Level: Beginner. by MikeGrusin March 22, 2011 Thumb Joystick Retail Skill Level: Beginner by MikeGrusin March 22, 2011 Thank you for purchasing our Thumb Joystick! Whether you're blasting aliens or driving a robot, you'll find it a very useful addition

More information

Introduction to Internet of Things Prof. Sudip Misra Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur

Introduction to Internet of Things Prof. Sudip Misra Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Introduction to Internet of Things Prof. Sudip Misra Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture - 30 Implementation of IoT with Raspberry Pi- I In the

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

Rotary Encoder Basics

Rotary Encoder Basics Rotary Encoder Basics A rotary encoder has a fixed number of positions per revolution. These positions are easily felt as small clicks you turn the encoder. The Keyes module that I have has thirty of these

More information

University of Hull Department of Computer Science C4DI Interfacing with Arduinos

University of Hull Department of Computer Science C4DI Interfacing with Arduinos Introduction Welcome to our Arduino hardware sessions. University of Hull Department of Computer Science C4DI Interfacing with Arduinos Vsn. 1.0 Rob Miles 2014 Please follow the instructions carefully.

More information

How to Use an Arduino

How to Use an Arduino How to Use an Arduino By Vivian Law Introduction The first microcontroller, TMS-1802-NC, was built in 1971 by Texas Instruments. It owed its existence to the innovation and versatility of silicon and the

More information

RoastLogger Arduino/TC4 driver installation for Windows 9/10/13 By John Hannon (JackH) at Homeroasters.org

RoastLogger Arduino/TC4 driver installation for Windows 9/10/13 By John Hannon (JackH) at Homeroasters.org This procedure was written for the Arduino Uno board with the TC4 shield. Please check the Arduino site for software if you are using a different model. I have not tested it, but this procedure should

More information

Physical Computing Self-Quiz

Physical Computing Self-Quiz Physical Computing Self-Quiz The following are questions you should be able to answer by the middle of the semeter in Introduction to Physical Computing. Give yourself 6.5 points for questions where you

More information

TABLE OF CONTENTS INTRODUCTION LESSONS PROJECTS

TABLE OF CONTENTS INTRODUCTION LESSONS PROJECTS TABLE OF CONTENTS INTRODUCTION Introduction to Components - Maker UNO 5 - Maker UNO Board 6 - Setting Up - Download Arduino IDE 7 - Install Maker UNO Drivers - Install Maker UNO Board Package 3 LESSONS.

More information

TA0013 ARDUINO RFID UNO STARTER KIT

TA0013 ARDUINO RFID UNO STARTER KIT TA0013 ARDUINO RFID UNO STARTER KIT Overview TA0013 This Arduino Uno ultimate project kit includes comprehensive range of components to get you started in building and experimenting with Arduino projects.

More information

RedBoard Hookup Guide

RedBoard Hookup Guide Page 1 of 11 RedBoard Hookup Guide CONTRIBUTORS: JIMB0 Introduction The Redboard is an Arduino-compatible development platform that enables quick-and-easy project prototyping. It can interact with real-world

More information

Laboratory of Sensors Engineering Sciences 9 CFU

Laboratory of Sensors Engineering Sciences 9 CFU Laboratory of Sensors Engineering Sciences 9 CFU Contacts Alexandro Catini catini@ing.uniroma2.it Phone: +39 06 7259 7347 Department of Electronic Engineering First Floor - Room B1-07b Course Outline THEORY

More information

An IoT Application - Weather Reporting System

An IoT Application - Weather Reporting System , pp.380-385 http://dx.doi.org/10.14257/astl.2017.147.54 An IoT Application - Weather Reporting System Ch Sudhakar 1, A Sravani 1, N. Thirupathi Rao 1 and Debnath Bhattacharyya 1 Department of Computer

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

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

Sten-SLATE ESP Kit. Description and Programming

Sten-SLATE ESP Kit. Description and Programming Sten-SLATE ESP Kit Description and Programming Stensat Group LLC, Copyright 2016 Overview In this section, you will be introduced to the processor board electronics and the arduino software. At the end

More information

Required Materials. Optional Materials. Preparation

Required Materials. Optional Materials. Preparation Module 1: Crash Prevention Lesson 3: Weather Information systems Programming Activity Using Arduino Teacher Resource Grade 9-12 Time Required: 3 60 minute sessions or 3 hours Required Materials Computers

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

Creating Groups for Webmail

Creating Groups for Webmail Creating Groups for Webmail Firstly, what is a group and why create one? Groups are a collection of email addresses and are generally used to send email to a particular set of people. In other words, a

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

Lab 8. Communications between Arduino and Android via Bluetooth

Lab 8. Communications between Arduino and Android via Bluetooth Lab 8. Communications between Arduino and Android via Bluetooth Dr. X. Li xhli@citytech.cuny.edu Dept. of Computer Engineering Technology New York City College of Technology (Copyright Reserved) In this

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

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

Electronic Brick Starter Kit

Electronic Brick Starter Kit Electronic Brick Starter Kit Getting Started Guide v1.0 by Introduction Hello and thank you for purchasing the Electronic Brick Starter Pack from Little Bird Electronics. We hope that you will find learning

More information

ZX Distance and Gesture Sensor SMD Hookup Guide

ZX Distance and Gesture Sensor SMD Hookup Guide Page 1 of 16 ZX Distance and Gesture Sensor SMD Hookup Guide Introduction The ZX Distance and Gesture Sensor is a collaboration product with XYZ Interactive. The innovative people at XYZ Interactive have

More information

Grove - 6-Axis Accelerometer&Gyroscope(BMI088)

Grove - 6-Axis Accelerometer&Gyroscope(BMI088) Grove - 6-Axis Accelerometer&Gyroscope(BMI088) The Grove - 6-Axis Accelerometer&Gyroscope(BMI088) is a 6 DoF(degrees of freedom) Highperformance Inertial Measurement Unit(IMU).This sensor is based on BOSCH

More information

Designed & Developed By: Ms. Jasleen Kaur, PhD Scholar, CSE. Computer Science & Engineering Department

Designed & Developed By: Ms. Jasleen Kaur, PhD Scholar, CSE. Computer Science & Engineering Department Design & Development of IOT application using Intel based Galileo Gen2 board A Practical Approach (Experimental Manual For B.Tech & M.Tech Students) For SoC and Embedded systems in association with Intel

More information

Lab 5 - Serial Parser, String Manipulation & Libraries

Lab 5 - Serial Parser, String Manipulation & Libraries Lab 5 - Serial Parser, String Manipulation & Libraries At the end of the previous lab you got a taste of adding a parser to your project. A parser is simply a program that looks for (parses) information

More information

Sensors and Actuators

Sensors and Actuators Sensors and Actuators March 07, 2015 Stephen Wilkerson The Army Research Laboratory, Aberdeen Proving Grounds and Frank Wattenberg, United States Military Academy, West Point Abstract In this paper we

More information

mi:node User Manual Element14 element14.com/minode 1 User Manual V3.1

mi:node User Manual Element14 element14.com/minode 1 User Manual V3.1 mi:node User Manual Element14 element14.com/minode 1 Table of Contents 1) Introduction... 3 1.1 Overview... 3 1.2 Features... 3 1.3 Kit Contents... 3 2) Getting Started... 5 2.1 The Connector Board...

More information

Building your own special-purpose embedded system gadget.

Building your own special-purpose embedded system gadget. Bare-duino Building your own special-purpose embedded system gadget. Saves a little money. You can configure the hardware exactly the way that you want. Plus, it s fun! bare-duino 1 Arduino Uno reset I/O

More information

Introduction To Arduino

Introduction To Arduino Introduction To Arduino What is Arduino? Hardware Boards / microcontrollers Shields Software Arduino IDE Simplified C Community Tutorials Forums Sample projects Arduino Uno Power: 5v (7-12v input) Digital

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

Blinking an LED 1 PARTS: Circuit 2 LED. Wire. 330Ω Resistor

Blinking an LED 1 PARTS: Circuit 2 LED. Wire. 330Ω Resistor Circuit PIN 3 RedBoard Blinking an LED LED (Light-Emitting Diode) Resistor (33 ohm) (Orange-Orange-Brown) LEDs (light-emitting diodes) are small, powerful lights that are used in many different applications.

More information

Sound the Alarm Personal Fundraising Page Set-Up Guide

Sound the Alarm Personal Fundraising Page Set-Up Guide Sound the Alarm Personal Fundraising Page Set-Up Guide Thank you for signing up for personal fundraising (PF) in support of Sound the Alarm, a home fire safety and smoke alarm installation event. Sound

More information

ECE-320 Lab 3: Utilizing a dspic30f6015 to model a DC motor and a wheel

ECE-320 Lab 3: Utilizing a dspic30f6015 to model a DC motor and a wheel ECE-320 Lab 3: Utilizing a dspic30f6015 to model a DC motor and a wheel Overview: In this lab we will utilize the dspic30f6015 to model a DC motor that is used to control the speed of a wheel. Most of

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