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

Size: px
Start display at page:

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

Transcription

1 #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 // DHT 21 (AM2301) // Connect pin 1 (on the left) of the sensor to +5V // Connect pin 2 of the sensor to whatever your DHTPIN is // Connect pin 4 (on the right) of the sensor to GROUND // Connect a 10K resistor from pin 2 (data) to pin 1 (power) of the sensor DHT dht(dhtpin, DHTTYPE); // Date and time functions using a DS1307 RTC connected via I2C and Wire lib #include <Wire.h> #include "RTClib.h" RTC_DS1307 rtc; /* SD card attached to SPI bus as follows: ** MOSI - pin 11 ** MISO - pin 12 ** CLK - pin 13 ** CS - pin 10 */ #include <SD.h> File myfile; // variables long currentmillis = 0; long previousmillis = 0; long interval = 60000; float humidity; float temperature; int LDRPin = A1; void setup() { Serial.begin(9600); Serial.println("Datalogger Initiating...");

2 Serial.println("Temperature Sensor initiating..."); dht.begin(); #ifdef AVR Wire.begin(); #else Wire1.begin(); // Shield I2C pins connect to alt I2C bus on Arduino Due #endif Serial.println("Temperature Sensor ready"); Serial.println("Real Time Clock Initiating..."); //rtc.adjust(datetime( DATE, TIME )); //comment out this line unless the date/time needs updated if (! rtc.isrunning()) { Serial.println("RTC is NOT running!"); // following line sets the RTC to the date & time this sketch was compiled rtc.adjust(datetime( DATE, TIME )); Serial.println("Real Time Clock ready."); DateTime now = rtc.now(); Serial.print("date/time: "); Serial.print(now.year(), DEC); Serial.print(now.month(), DEC); Serial.print(now.day(), DEC); Serial.print(' '); Serial.print(now.hour(), DEC); Serial.print(now.minute(), DEC); Serial.print(now.second(), DEC); Serial.println(" "); Serial.println("SD Card initiating..."); // On the Ethernet Shield, CS is pin 4. It's set as an output by default. // Note that even if it's not used as the CS pin, the hardware SS pin // (10 on most Arduino boards, 53 on the Mega) must be left as an output // or the SD library functions will not work. pinmode(10, OUTPUT);

3 if (!SD.begin(10)) { Serial.println("initialization failed!"); return; Serial.println("SD Card ready."); // open the file. note that only one file can be open at a time, // so you have to close this one before opening another. myfile = SD.open("log.txt", FILE_WRITE); // if the file opened okay, write to it: if (myfile) { Serial.println("Writing to log"); myfile.print("date"); myfile.print("time"); myfile.print("time elapsed"); myfile.print("temp"); myfile.print("humidity"); myfile.println("light"); // close the file: myfile.close(); Serial.println("Write complete"); else { // if the file didn't open, print an error: Serial.println("error opening Log.txt"); Serial.println("Datalogger initialisaion complete."); Serial.println(""); void loop() { currentmillis = millis(); //Serial.println(currentMillis); if (currentmillis - previousmillis > interval){ // save the last time you measured temp and saved

4 previousmillis = previousmillis ; Serial.println("time interval elapsed"); // Reading temperature or humidity takes about 250 milliseconds! // Sensor readings may also be up to 2 seconds 'old' (its a very slow sensor) humidity = dht.readhumidity(); temperature = dht.readtemperature() - 2; // check if returns are valid, if they are NaN (not a number) then something went wrong! if (isnan(temperature) isnan(humidity)) { Serial.println("Failed to read from DHT"); else { DateTime now = rtc.now(); Serial.print("date/time: "); Serial.print(now.year(), DEC); Serial.print(now.month(), DEC); Serial.print(now.day(), DEC); Serial.print(' '); Serial.print(now.hour(), DEC); Serial.print(now.minute(), DEC); Serial.print(now.second(), DEC); Serial.println(" "); Serial.print("Humidity: "); Serial.print(humidity); Serial.println(" %\t"); Serial.print("Temperature: "); Serial.print(temperature); Serial.println(" *C"); // read values from Light dependent resistor int LDR1 = analogread(ldrpin); int LDR2 = analogread(ldrpin); int LDR3 = analogread(ldrpin); int LDR4 = analogread(ldrpin);

5 int LDR5 = analogread(ldrpin); // average the values int LDR = (LDR1 + LDR2 + LDR3 + LDR4 + LDR5)/5; Serial.print("LDR: "); Serial.println(LDR); // open the file. note that only one file can be open at a time, // so you have to close this one before opening another. myfile = SD.open("log.txt", FILE_WRITE); // if the file opened okay, write to it: if (myfile) { Serial.println("writing to log"); myfile.print(now.year(), DEC); myfile.print('/'); myfile.print(now.month(), DEC); myfile.print('/'); myfile.print(now.day(), DEC); myfile.print(','); myfile.print(now.hour(), DEC); myfile.print(':'); myfile.print(now.minute(), DEC); myfile.print(':'); myfile.print(now.second(), DEC); myfile.print(previousmillis); myfile.print(temperature); myfile.print(humidity); myfile.println(ldr); // close the file: myfile.close(); Serial.println("Write complete."); Serial.println(""); else { // if the file didn't open, print an error: Serial.println("error opening temperaturelog.txt");

6

Design Rationale for Cushion Timer and Logger

Design Rationale for Cushion Timer and Logger Design Rationale for Cushion Timer and Logger Laura came up with the original idea. She was inspired by concerns about health and the amount of time people spend at their desks each day. We decided to

More information

Workshop Arduino English starters workshop 2

Workshop Arduino English starters workshop 2 Workshop Arduino English starters workshop 2 We advice to finish part 1 of this workshop before following this one. There are a set of assignments in this workshop that can be taken individually. First

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

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

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

Application Note Operation of the Jameco and SD Card Data Storage on the Teensy Ferris Chu

Application Note Operation of the Jameco and SD Card Data Storage on the Teensy Ferris Chu Application Note Operation of the Jameco and SD Card Data Storage on the Teensy Ferris Chu Operation of the Jameco For our system, we used the Jameco XR 2206, a monolithic function generator, to produce

More information

Application Note: ADC on Teensy and Biasing LNA. Lhawang Thaye

Application Note: ADC on Teensy and Biasing LNA. Lhawang Thaye Application Note: ADC on Teensy and Biasing LNA Introduction Lhawang Thaye Page 1 This application note will address how to implement an ADC using the Teensy 3.1, the procedure for Biasing the LNA for

More information

RAMPS V1.4 Tutorial. 1. Mount the board onto arduono mega 2560, and plug in 5 A4988 driver board, as shown in the picture:

RAMPS V1.4 Tutorial. 1. Mount the board onto arduono mega 2560, and plug in 5 A4988 driver board, as shown in the picture: RAMPS V1.4 Tutorial 1. Mount the board onto arduono mega 2560, and plug in 5 A4988 driver board, as shown in the picture: 2. Add 12V power supply to the green port according to the label on the board 3.

More information

Arduino Driver SD Card

Arduino Driver SD Card Arduino Driver SD Card The arduino driver SD car is for the file s reading and writing What requires special explanation is the SD library file. Currently, it can t support the card over 2G well, so I

More information

Memo on development of the car-rangefinder device/data logger for crosswalk study

Memo on development of the car-rangefinder device/data logger for crosswalk study Memo on development of the car-rangefinder device/data logger for crosswalk study -Alex Bigazzi; abigazzi@pdx.edu; alexbigazzi.com; Sept. 16 th -19 th, 2013 The device is supposed to measure distances

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

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

DS1307 Real Time Clock Breakout Board Kit

DS1307 Real Time Clock Breakout Board Kit DS1307 Real Time Clock Breakout Board Kit Created by Tyler Cooper Last updated on 2016-09-07 12:03:17 AM UTC Guide Contents Guide Contents Overview What is an RTC? Battery Backup CR1220 12mm Diameter -

More information

ipot Phase 1 1

ipot Phase 1 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...

More information

Micro SD Card Breakout Board Tutorial

Micro SD Card Breakout Board Tutorial Micro SD Card Breakout Board Tutorial Created by lady ada Last updated on 2016-09-21 05:58:46 PM UTC Guide Contents Guide Contents Introduction Look out! What to watch for! Formatting notes Wiring Library

More information

NeoPixel 60 Ring Wall Clock

NeoPixel 60 Ring Wall Clock NeoPixel 60 Ring Wall Clock Created by Andy Doro Last updated on 2015-07-23 10:10:07 PM EDT Guide Contents Guide Contents Overview Building the Circuit Code Finishing it up 2 3 5 7 11 https://learn.adafruit.com/neopixel-60-ring-clock

More information

#include "quaternionfilters.h" #include "MPU9250.h" data read #define SerialDebug true // Set to true to get Serial output for debugging

#include quaternionfilters.h #include MPU9250.h data read #define SerialDebug true // Set to true to get Serial output for debugging /*Hardware setup: MPU9250 Breakout --------- Arduino VDD ---------------------- 3.3V VDDI --------------------- 3.3V SDA ----------------------- A4 SCL ----------------------- A5 GND ----------------------

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

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

Data Graphing with Arduinos and a Small TFT Display David R. Brooks, May, 2017

Data Graphing with Arduinos and a Small TFT Display David R. Brooks, May, 2017 Data Graphing with Arduinos and a Small TFT Display David R. Brooks, May, 2017 Thin-film-transistor liquid-crystal displays (TFTs) are high-resolution color displays. They are expensive to use for large

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

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

SD CARD USAGE WITH ARDUINO

SD CARD USAGE WITH ARDUINO Chapter 8 SD CARD USAGE WITH ARDUINO With the SD card input on the Arduino Ethernet Shield or Xbee SD Shield, you can carry out the info writing and reading processes into the SD card. Ethernet Shield

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

Arduino EEPROM module 512K for Sensor Shield

Arduino EEPROM module 512K for Sensor Shield Arduino EEPROM module 512K for Sensor Shield Experiment Steps This is a new designed for small data size storage. It can help to extend the EEPROM storage of Arduino. This module uses I2C to connect to

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

DHT11 Humidity and Temperature Sensor

DHT11 Humidity and Temperature Sensor DHT Humidity and Temperature Sensor Introduction This DHT Temperature and Humidity Sensor features a calibrated digital signal output with the temperature and humidity sensor complex Its technology ensures

More information

Micro SD Card Breakout Board Tutorial

Micro SD Card Breakout Board Tutorial Micro SD Card Breakout Board Tutorial Created by lady ada Last updated on 2017-11-26 10:01:55 PM UTC Guide Contents Guide Contents Introduction Look out! What to watch for! Formatting notes Wiring Arduino

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

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

Micro SD Card Breakout Board Tutorial

Micro SD Card Breakout Board Tutorial Micro SD Card Breakout Board Tutorial Created by lady ada Last updated on 2017-12-11 11:05:59 PM UTC Guide Contents Guide Contents Introduction Look out! What to watch for! Formatting notes Arduino Wiring

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

Internet of Things with Arduino

Internet of Things with Arduino Internet of Things with Arduino Build Internet of Things Projects With the Arduino Platform Marco Schwartz, PhD Contents Legal Introduction 1 Why the Internet of Things? 2 How is the book organized? 3

More information

Trinket RGB Shield Clock

Trinket RGB Shield Clock Trinket RGB Shield Clock Created by Mike Barela Last updated on 2016-02-07 09:38:15 PM EST Guide Contents Guide Contents Overview Libraries Getting Ready Hook-up Code Use and Going Further Use It! Going

More information

Gamma sensor module GDK101

Gamma sensor module GDK101 Application Note: Interfacing with Arduino over I 2 C The Arduino makes an ideal platform for prototyping and data collection with the Gamma sensors. Electrical Connections Interfacing with the sensor

More information

Lab 1: Arduino Basics. Rodrigo Carbajales and Marco Zennaro ICTP Trieste-Italy

Lab 1: Arduino Basics. Rodrigo Carbajales and Marco Zennaro ICTP Trieste-Italy Lab 1: Arduino Basics Rodrigo Carbajales and Marco Zennaro ICTP Trieste-Italy Step Zero Clean up your desks! :) Goals of this Lab Learn how the programming takes place Excercises about: installing the

More information

Adafruit Adalogger FeatherWing

Adafruit Adalogger FeatherWing Adafruit Adalogger FeatherWing Created by lady ada Last updated on 2018-01-18 06:15:20 PM UTC Guide Contents Guide Contents Overview Pinouts Power Pins RTC & I2C Pins SD & SPI Pins Assembly Using the Real

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

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

Internal Report: Heterogeneous IoT Network: TRACK-IoT Plateform. System Architecture. Controller. Proposed by: Hakima Chaouchi

Internal Report: Heterogeneous IoT Network: TRACK-IoT Plateform. System Architecture. Controller. Proposed by: Hakima Chaouchi Internal Report: Heterogeneous IoT Network: TRACK-IoT Plateform Proposed by: Hakima Chaouchi Team: Hakima Chaouchi; Kevin Raymond, Oscar Botero, Abderahim Ait Wakrim, Thomas Bourgeau. The TrackIot platform

More information

/* ///////////////////////////////////////////////////////////////////////////////////////////////////////REAL- TIME CLOCK MODULE DS1307 */

/* ///////////////////////////////////////////////////////////////////////////////////////////////////////REAL- TIME CLOCK MODULE DS1307 */ ////////////////////////////////////////////////////////////////////////////////////////////////////MENU_CONTROLLER_UNO ///////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////MENU_CONTROLLER_UNO

More information

GoldSTEM_Lesson_18_Time_Month_Date_and_Temperature_to_Terminal tm

GoldSTEM_Lesson_18_Time_Month_Date_and_Temperature_to_Terminal tm GoldSTEM_Lesson_18_Time_Month_Date_and_Temperature_to_Terminal tm 3-29-2016 For this experiment we will be using the same setup in Lesson 17 Wiring the Circuit See lesson 17 Change the code below you can

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

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

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

Lab 02 Arduino 數位感測訊號處理, SPI I2C 介面實驗. More Arduino Digital Signal Process

Lab 02 Arduino 數位感測訊號處理, SPI I2C 介面實驗. More Arduino Digital Signal Process Lab 02 Arduino 數位感測訊號處理, SPI I2C 介面實驗 More Arduino Digital Signal Process Blink Without Delay Sometimes you need to do two things at once. For example you might want to blink an LED (or some other timesensitive

More information

Adafruit Data Logger Shield

Adafruit Data Logger Shield Adafruit Data Logger Shield Created by Bill Earl Last updated on 2017-01-23 06:01:05 PM UTC Guide Contents Guide Contents Overview Features: Installing the Headers Assembly with male headers Cut the headers

More information

GoldSTEM.org. Growing the Future

GoldSTEM.org. Growing the Future GoldSTEM.org Growing the Future GoldSTEM_Lesson_ tm 3-24-2016 17_Time_Date_and_Temperature_to_Terminal Lessons should be done in sequence, start off with lesson 4. Each lessons builds on what was learned

More information

Adafruit Data Logger Shield

Adafruit Data Logger Shield Adafruit Data Logger Shield Created by Bill Earl Last updated on 2016-09-06 04:29:07 AM UTC Guide Contents Guide Contents Overview Features: Installing the Headers Assembly with male headers Cut the headers

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

PARALLEL COMMUNICATIONS

PARALLEL COMMUNICATIONS Parallel Data Transfer Suppose you need to transfer data from one HCS12 to another. How can you do this? You could connect PORTA of the sending computer (set up as an output port) to PORTA of the receiving

More information

free ebooks ==>

free ebooks ==> Home Automation With the ESP8266 Build Home Automation Systems Using the Powerful and Cheap ESP8266 WiFi Chip Marco Schwartz, PhD Contents Legal About the author About the companion website Chapter 1 free

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

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

Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide

Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide Introduction the Serial Communications Huang Sections 9.2,.2 SCI Block User Guide SPI Block User Guide Parallel Data Transfer Suppose you need to transfer data from one HCS2 to another. How can you do

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

Laboratory 5 Communication Interfaces

Laboratory 5 Communication Interfaces Laboratory 5 Communication Interfaces Embedded electronics refers to the interconnection of circuits (micro-processors or other integrated circuits) with the goal of creating a unified system. In order

More information

Bluno M0 Mainboard SKU: DFR0416

Bluno M0 Mainboard SKU: DFR0416 Bluno M0 Mainboard SKU: DFR0416 Bluno M0 is the only ARM Cortex-M0 Arduino Microcontroller that supports 5V standard logic level. With built-in Bluetooth chip, Bluno M0 supports multi-functions such as

More information

Arduino notes IDE. Serial commands. Arduino C language. Program structure. Arduino web site:

Arduino notes IDE. Serial commands. Arduino C language. Program structure. Arduino web site: 1 Arduino notes This is not a tutorial, but a collection of personal notes to remember the essentials of Arduino programming. The program fragments are snippets that represent the essential pieces of code,

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

DS18B20+ Digital Temperature Sensor

DS18B20+ Digital Temperature Sensor Handson Technology Data Specs DS18B20+ Digital Temperature Sensor This is a pre-wired and waterproofed version of the DS18B20 sensor. Handy for when you need to measure something far away, or in wet conditions.

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

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

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

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

I2C/TWI LCD1602 Module (Gadgeteer Compatible) (SKU: DFR0063)

I2C/TWI LCD1602 Module (Gadgeteer Compatible) (SKU: DFR0063) I2C/TWI LCD1602 Module (Gadgeteer Compatible) (SKU: DFR0063) Introduction This is another great I2C 16x2 LCD display compatible with Gadgeteer modules from DFRobot. With limited pin resources, your project

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

Grove - I2C Thermocouple Amplifier (MCP9600)

Grove - I2C Thermocouple Amplifier (MCP9600) Grove - I2C Thermocouple Amplifier (MCP9600) The Grove - I2C Thermocouple Amplifier (MCP9600) is a thermocouple-to-digital converter with integrated cold-junction and I2C communication protocol. This module

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

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

Overview. Introduction. Key Features

Overview. Introduction. Key Features P4S-348 User Manual > Overview Overview Introduction PHPoC Shield for Arduino connects Arduino to Ethernet or Wi-Fi networks. Attach this board over Arduino and connect a LAN cable. After a simple network

More information

Appendix Sietse Taams - Master thesis

Appendix Sietse Taams - Master thesis Appendix Sietse Taams - Master thesis Designing a connected barbecue Appendix A Design process The design process is relatively important to info.nl. Together with Tomasz, an iterative design strategy

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

3.2inch TFTLCD Shield

3.2inch TFTLCD Shield 3.2inch TFTLCD Shield Specification LCD Screen Size:3.2inch View Angle: 9:00 O Clock LCD Driver Chip:ILI9325 Logic Level: 2.8V-3.3V Data Interface: 8bit and 16bit Bus Shield Mode: 8 bit bus Power Voltage:

More information

ARDUINO WORKSHOP A HANDS-ON I N T R O D U C T I O N W I T H 65 PROJECTS JOHN BOXALL

ARDUINO WORKSHOP A HANDS-ON I N T R O D U C T I O N W I T H 65 PROJECTS JOHN BOXALL ARDUINO WORKSHOP A HANDS-ON I N T R O D U C T I O N W I T H 65 PROJECTS JOHN BOXALL I NDEX Symbols & Numbers &, 139 &&, 73 *, 84 */, 27 ==, 71!, 73!=, 71 /, 84 /*, 27 //, 27 >, 84 >=, 84 #define, 70 #include,

More information

Copyright. Getting Started with Arduino Wiring for Windows 10 IoT Core Agus Kurniawan 1st Edition, Copyright 2016 Agus Kurniawan

Copyright. Getting Started with Arduino Wiring for Windows 10 IoT Core Agus Kurniawan 1st Edition, Copyright 2016 Agus Kurniawan Copyright Getting Started with Arduino Wiring for Windows 10 IoT Core Agus Kurniawan 1st Edition, 2016 Copyright 2016 Agus Kurniawan ** Windows 10 IoT Core, Visual Studio and Logo are trademark and copyright

More information

Adafruit CAP1188 Breakout

Adafruit CAP1188 Breakout Adafruit CAP1188 Breakout Created by lady ada Last updated on 2014-05-14 12:00:10 PM EDT Guide Contents Guide Contents Overview Pinouts Power pins I2C interface pins SPI inteface pins Other interfacing

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

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

LSM303C 6DoF Hookup Guide

LSM303C 6DoF Hookup Guide Page 1 of 12 LSM303C 6DoF Hookup Guide Introduction The LSM303C is a 6 degrees of freedom (6DOF) inertial measurement unit (IMU) in a sigle package. It houses a 3-axis accelerometer, and a 3-axis magnetometer.

More information

SIDruino Author: Ciprian Sufitchi, N2YO

SIDruino Author: Ciprian Sufitchi, N2YO SIDruino Author: Ciprian Sufitchi, N2YO Abstract Arduino is an open-source microcontroller platform based on flexible, inexpensive, easyto-use hardware and software. It has an infinite number of applications,

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

LIS3DH Hookup Guide. Introduction. SparkFun Triple Axis Accelerometer Breakout - LIS3DH SEN Required Materials

LIS3DH Hookup Guide. Introduction. SparkFun Triple Axis Accelerometer Breakout - LIS3DH SEN Required Materials Page 1 of 15 LIS3DH Hookup Guide Introduction The LIS3DH is a triple axis accelerometer you can use to add translation detection to your project. It would be classified as a 3DoF, or 3 Degrees of Freedom.

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

Overview. Introduction. Key Features

Overview. Introduction. Key Features PHPoC WiFi Shield For Arduino > Overview Overview Introduction PHPoC WiFi Shield for Arduino connects Arduino to Wi-Fi networks. Attach this board over Arduino, and connect a WIFI dongle. After a simple

More information

Sten-SLATE ESP. Accelerometer and I2C Bus

Sten-SLATE ESP. Accelerometer and I2C Bus Sten-SLATE ESP Accelerometer and I2C Bus Stensat Group LLC, Copyright 2016 I2C Bus I2C stands for Inter-Integrated Circuit. It is a serial type interface requiring only two signals, a clock signal and

More information

Grove - CO2 Sensor. Introduction

Grove - CO2 Sensor. Introduction Grove - CO2 Sensor Introduction 3.3V 5.0V UART The Grove - CO2 Sensor module is infrared CO2 sensor high sensitivity and high resolution. Infrared CO2 sensor MH-Z16 Is a general-purpose, small sensors,

More information

Electronics Single wire communication

Electronics Single wire communication Electronics Single wire communication Wilfrid Laurier University October 23, 2017 Single wire communication Single wire communication Parallel communication uses 4 or 8 bits plus control signals Single

More information

MMA axis digital accelerometer module

MMA axis digital accelerometer module MMA7455 3-axis digital accelerometer module Instruction The MMA7455L is a Digital Output (I2C/SPI), low power, low profile capacitive micromachined accelerometer featuring signal conditioning, a low pass

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

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

Introduction to Arduino (programming, wiring, and more!)

Introduction to Arduino (programming, wiring, and more!) Introduction to Arduino (programming, wiring, and more!) James Flaten, MN Space Grant Consortium with Ben Geadelmann, Austin Langford, et al. University of MN Twin Cities Aerospace Engineering and Mechanics

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

Arduino Uno R3 INTRODUCTION

Arduino Uno R3 INTRODUCTION Arduino Uno R3 INTRODUCTION Arduino is used for building different types of electronic circuits easily using of both a physical programmable circuit board usually microcontroller and piece of code running

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

Microduino mcookie-rtc USER GUIDE.

Microduino mcookie-rtc USER GUIDE. Microduino mcookie-rtc USER GUIDE https://eckstein-shop.de/ Content Features... 2 Specification... 2 Development... 3 Detect Power-down Time Duration...3 Test EEPROM Read/Write...5 FAQ... 7 1 https://eckstein-shop.de/

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

Microcontrollers and Interfacing

Microcontrollers and Interfacing Microcontrollers and Interfacing Week 10 Serial communication with devices: Serial Peripheral Interconnect (SPI) and Inter-Integrated Circuit (I 2 C) protocols College of Information Science and Engineering

More information

Thermo 6 click PID: MIKROE-2769

Thermo 6 click PID: MIKROE-2769 Thermo 6 click PID: MIKROE-2769 Thermo 6 click is a precise and versatile ambient temperature measurement click board, based on the Maxim Integrated MAX31875 temperature sensor. This sensor has a great

More information