Create your own wireless motion sensor with

Size: px
Start display at page:

Download "Create your own wireless motion sensor with"

Transcription

1 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 to detect anybody that would walk through the house when the alarm is on. They are usually the firs Written By: Feitan Page 1 of 17

2 INTRODUCTION In this article, we are going to see that you can reproduce exactly the same functionalities for a much lower cost, with any sensor you want, and of course using open-source hardware. Let s dive into the project! TOOLS: Arduino IDE (1) VirtualWire library (1) just place it in the libraries/ folder of your Arduino folder PARTS: Arduino UNO R3 board (1) Teensy board (1) RF link receiver & transmitter kit (1) PIR sensor (1) Breadboard and jumper wires (1) Page 2 of 17

3 Step 1 Create your own wireless motion sensor with Arduino There are two parts to build in this project: the receiver and the transmitter Receiver The receiver, the hub, is the simplest part to assemble. You need the big Arduino board, and the RF receiver module. On my module there were three pins: VCC, GND, and data. Simply connect the VCC pin the 5V pin of the Arduino board, the GND to the GND of the Arduino board, and the data pin to the pin number 11 of the Arduino board. Transmitter For the transmitter that is connected to the sensor, it is also quite simple. First, connect the transmitter. It also has three pins to connect: VCC, GND, and data. Simply connect the VCC pin the main power supply of the Arduino board you are using. Be careful, on the Teensy for example the main power supply of the chip is 3.3V. Then, connect the GND to the GND of the Arduino board, and the data pin to the pin number 12 of the Arduino board Page 3 of 17

4 Finally, connect the PIR sensor. It also has three pins like the radio module. Connect the VCC to the main power supply of your Arduino board. Step 2 Also be careful at this point: the PIR sensor I used could work without problems at 3.3V, but other requires 5V because of an on-board regulator, so you might have to do some soldering depending on your board and sensor combination. Please refer to the documentation of your PIR sensor to know which voltage you can use. Then, just connect the ground to the ground of the Arduino board, and the output pin to the pin number 7 of your Arduino board Page 4 of 17

5 Step 3 We will take care of the radio transmission in the last part of this tutorial, so for now, we will simply test the motion sensor. Most of the PIR sensors simply return a 1 when they detect motion, so on the Arduino it is easy to detect motion using: sensor_value = digitalread(sensor_pin); This is the sketch I used to test the sensor: const int sensor_pin = 7; void setup() { Serial.begin(9600); delay(1000);} void loop() { Page 5 of 17

6 Step 4 // Get sensor value sensor_value = digitalread(sensor_pin); // Print on serial Serial.println(sensor_value); delay(1000);} You can just upload this sketch, open the serial monitor and play with the sensor to check if it is working correctly. Step 5 Now that we made sure that the motion sensor is working, we can work on the radio transmission. Let s deal with the transmitter part first. As I said before, the key in this project is to use to VirtualWire library, or you will run into serious transmission troubles Page 6 of 17

7 For this reason, I will always use VirtualWire functions when transmitting or receiving data through the RF modules. As for many of my tutorials, I will first go through the important parts of the code, and then give you the full code for the project. It starts by including the VirtualWire library: #include <VirtualWire.h> In the setup function of the Arduino sketch, we have to initialize the transmission and set the transmission rate: vw_set_tx_pin(transmit_pin); vw_setup(2000); // Transmission rate The transmitter can sustain much more than 2000 bauds, but I want to be on the safe side here, and that s more than enough for our application. Then, we read the value of the PIR sensor with: sensor_value = digitalread(sensor_pin); Page 7 of 17

8 Step 6 We can then prepare the message that will be sent through the RF link, and change it if the sensor detected some motion: // Init message char msg[3] = {'o','f','f'}; // Change message if motion is detected if (sensor_value == 1){ msg[0] = 'o'; msg[1] = 'n'; msg[2] = '#';} Page 8 of 17

9 Step 7 Yes, I could have transmitted just 0 or 1 without any problem, but I wanted to see how reliable was the RF link to transmit some short words, this is why I decided to transmit on# or off. Finally, it s time to transmit the message every second (and flash the LED to indicate some transmission): // Transmit data every second digitalwrite(led_pin, HIGH); // Flash a light to show transmitting vw_send((uint8_t *)msg, 3); vw_wait_tx(); // Wait until the whole message is gone digitalwrite(led_pin, LOW); delay(1000); Page 9 of 17

10 Step 8 This is the complete transmitter code: // Include VirtualWire library #include <VirtualWire.h> // Define pins const int led_pin = 13; const int transmit_pin = 12; const int sensor_pin = 7; int sensor_value; Step 9 void setup(){ // Init vw_set_tx_pin(transmit_pin); vw_setup(2000); // Transmission rate pinmode(led_pin, OUTPUT); pinmode(sensor_pin,input);} void loop(){ // Get sensor value Page 10 of 17

11 Step 10 sensor_value = digitalread(sensor_pin); // Init message char msg[3] = {'o','f','f'}; // Change message if motion is detected if (sensor_value == 1){ msg[0] = 'o'; msg[1] = 'n'; msg[2] = '#';} Step 11 // Transmit data every second digitalwrite(led_pin, HIGH); // Flash a light to show transmitting vw_send((uint8_t *)msg, 3); vw_wait_tx(); // Wait until the whole message is gone digitalwrite(led_pin, LOW); delay(1000);} Page 11 of 17

12 Step 12 Now, the receiver. It is actually quite similar to the transmitter code. The setup is slightly different: // Initialise the IO and ISR vw_set_rx_pin(receive_pin); vw_setup(2000); // Transmission rate // Start the receiver PLL vw_rx_start(); In the loop of the Arduino sketch, we also have to create the buffer to receive the data: uint8_t buf[vw_max_message_len]; Step 13 uint8_t buflen = VW_MAX_MESSAGE_LEN; Then, we actually have to check if a message was received with: if (vw_get_message(buf, &buflen)) To finally print the message with: for (int i = 0; i < buflen; i++) { Serial.print(char(buf[i])); Serial.print(' ');} Page 12 of 17

13 Step 14 This last part will go through the received message and print every character, which should be on# or off in our case. This is the final receiver code: // Include VirtualWire library #include <VirtualWire.h> // Pins definition const int led_pin = 13; const int transmit_pin = 12; const int receive_pin = 11; void setup() { Step 15 // Init delay(1000); Serial.begin(9600); // Debugging only Serial.println("setup"); // Initialise the IO and ISR vw_set_rx_pin(receive_pin); vw_setup(2000); // Transmission rate // Start the receiver PLL Page 13 of 17

14 Step 16 vw_rx_start(); // Set LED pin pinmode(led_pin, OUTPUT);} void loop(){ uint8_t buf[vw_max_message_len]; uint8_t buflen = VW_MAX_MESSAGE_LEN; // Check if a message was received if (vw_get_message(buf, &buflen)){ Step 17 // Flash a light to show received good message digitalwrite(led_pin, HIGH); Serial.print("Got: "); // Print message for (int i = 0; i < buflen; i++){ Serial.print(char(buf[i])); Serial.print(' ');} Serial.println(); Page 14 of 17

15 Step 18 digitalwrite(led_pin, LOW);}} Page 15 of 17

16 Step 19 It is now time to test everything! The first thing to do is to upload the right sketch to the right board. It can be tricky if you have two boards connected to your computer at the same time, so this is what I did. First, connect the transmitter board to your computer and upload the transmitter sketch. Then, disconnect the USB cable, actually put all the transmitter part away from your computer (like in real situation, right?) and plug the Arduino board to an external power source (for the Uno board, between 7V and 12V. For other boards, refer to the documentation of your board). At this point, the LED of the board should blink every second to indicate that a message was transmitted. Then, connect the receiver board to your computer and upload the receiver sketch. You should immediately see the LED of the receiver board blinking to indicate that it received a message. Finally, open the serial monitor and you should see something similar to the picture Page 16 of 17

17 Step 20 From that point, there are many things you can do with this project. You can put the transmitter part wherever you want in your home (however, you might need to insert antennas on the RF module if you have a big home), and power the Arduino board with an external power source. Then, on the receiver side, you can for example implement an alarm mechanism that goes on when motion is detected. Or couple the project to the Arduino GSM shield to send you a SMS whenever something is detected. The possibilities are limitless, so experiment & have fun! This document was last generated on :32:35 AM Page 17 of 17

Project 2: Sensor Light

Project 2: Sensor Light Project 2: Sensor Light In this session, we will create a sensor light. The behavior we want to implement is as follows: - When the sensor detects human motion, the LED light will be on - When no human

More information

IR Breakbeam Sensors. Created by lady ada. Last updated on :32:59 PM UTC

IR Breakbeam Sensors. Created by lady ada. Last updated on :32:59 PM UTC IR Breakbeam Sensors Created by lady ada Last updated on 2017-12-08 10:32:59 PM UTC Guide Contents Guide Contents Overview Arduino CircuitPython 2 3 5 8 Adafruit Industries https://learn.adafruit.com/ir-breakbeam-sensors

More information

AT42QT1010 Capacitive Touch Breakout Hookup Guide

AT42QT1010 Capacitive Touch Breakout Hookup Guide Page 1 of 7 AT42QT1010 Capacitive Touch Breakout Hookup Guide Introduction If you need to add user input without using a button, then a capacitive touch interface might be the answer. The AT42QT1010 Capacitive

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

AT42QT101X Capacitive Touch Breakout Hookup Guide

AT42QT101X Capacitive Touch Breakout Hookup Guide Page 1 of 10 AT42QT101X Capacitive Touch Breakout Hookup Guide Introduction If you need to add user input without using a button, then a capacitive touch interface might be the answer. The AT42QT1010 and

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

A Hacker s Introduction to the Nokia N900

A Hacker s Introduction to the Nokia N900 A Hacker s Introduction to the Nokia N900 Introduction Welcome to the Hacker s Introduction to the Nokia N900. This guide is intended to help you begin connecting the N900 s builtin capabilities to information

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

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

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

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

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

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

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

TANGIBLE MEDIA & PHYSICAL COMPUTING MORE ARDUINO

TANGIBLE MEDIA & PHYSICAL COMPUTING MORE ARDUINO TANGIBLE MEDIA & PHYSICAL COMPUTING MORE ARDUINO AGENDA RECAP ALGORITHMIC APPROACHES TIMERS RECAP: LAST WEEK WE DID: ARDUINO IDE INTRO MAKE SURE BOARD AND USB PORT SELECTED UPLOAD PROCESS COVERED DATATYPES

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

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

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

PROJECT N 46. The MiniSat. Catarina Nunes. European School Luxembourg I 23, Boulevard Konrad Adenauer, L-1115, Luxembourg S6 PTA.

PROJECT N 46. The MiniSat. Catarina Nunes. European School Luxembourg I 23, Boulevard Konrad Adenauer, L-1115, Luxembourg S6 PTA. PROJECT N 46 The MiniSat Catarina Nunes European School Luxembourg I 23, Boulevard Konrad Adenauer, L-1115, Luxembourg S6 PTA Abstract Key words: Arduino Uno, Raspberry Pi, Satellite A satellite is a device

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

Obstacle Detecting Line Follower Robot

Obstacle Detecting Line Follower Robot Obstacle Detecting Line Follower Robot Group No: 08 Group Name: Gear It Forward Group Members Student Name: Zarin Tasnim Student ID: 12.01.05.011 Student Name: Noshin Tasnim Student ID: 12.01.05.019 Student

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

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

Introduction to Arduino

Introduction to Arduino Introduction to Arduino Mobile Computing, aa. 2016/2017 May 12, 2017 Daniele Ronzani - Ph.D student in Computer Science dronzani@math.unipd.it What are Microcontrollers Very small and simple computers

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

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

WAVETEK BLE-WT51822AA/AB. Revision History. Bluetooth low energy Module WT51822AA (256k) /AB (128k) (Bluetooth Low Energy BT4.0) PRODUCT SPECIFICATION

WAVETEK BLE-WT51822AA/AB. Revision History. Bluetooth low energy Module WT51822AA (256k) /AB (128k) (Bluetooth Low Energy BT4.0) PRODUCT SPECIFICATION Bluetooth low energy Module WT51822AA (256k) /AB (128k) (Bluetooth Low Energy BT4.0) PRODUCT SPECIFICATION Part number: BLE WT51822AA/AB Wavetek has developed a module which supports Bluetooth Low Energy

More information

Tutorial 1: Software Setup

Tutorial 1: Software Setup 1 of 5 11/21/2013 11:33 AM Shopping Cart Checkout Shipping Cost Download Website Home MP3 Player 8051 Tools All Projects PJRC Store Site Map You are here: Teensy Teensyduino Tutorial Setup PJRC Store Teensy

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

RS422/RS485 Shield. Application Note: Multiple RS485 busses. 1 Introduction

RS422/RS485 Shield. Application Note: Multiple RS485 busses. 1 Introduction 1 Introduction This application note will show you how to connect up to 3 independent RS485 busses to one Arduino. This can be useful if you want to create a gateway between these busses or if you want

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

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

Connecting Arduino to Processing a

Connecting Arduino to Processing a Connecting Arduino to Processing a learn.sparkfun.com tutorial Available online at: http://sfe.io/t69 Contents Introduction From Arduino......to Processing From Processing......to Arduino Shaking Hands

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

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

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

ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL

ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL 1 Preface About RobotLinking RobotLinking is a technology company focused on 3D Printer, Raspberry Pi and Arduino open source community development.

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

WiFiBee MT7681 (Arduino WiFi Wireless Programming) SKU: TEL0107

WiFiBee MT7681 (Arduino WiFi Wireless Programming) SKU: TEL0107 WiFiBee MT7681 (Arduino WiFi Wireless Programming) SKU: TEL0107 Introduction The WiFi Bee MT7681 is an Arduino WiFi XBee module based on the MT7681 serial Wi-Fi module. It is compatible with an XBee slot,

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

USB Type A Female Breakout Hookup Guide

USB Type A Female Breakout Hookup Guide Page 1 of 7 USB Type A Female Breakout Hookup Guide Introduction If you have a microcontroller that can act as a USB host, then you will need a way to plug in USB cables and devices. The USB Type A Female

More information

User Guide v1.0. v1.0 Oct 1, This guide is only available in English Ce manuel est seulement disponible en Anglais

User Guide v1.0. v1.0 Oct 1, This guide is only available in English Ce manuel est seulement disponible en Anglais ROVER ShiELD User Guide v1.0 v1.0 Oct 1, 2014 This guide is only available in English Ce manuel est seulement disponible en Anglais Description The DFRobotShop Rover Shield is the ideal all in one shield

More information

WEEK PRactice. Turning on LED with a Switch. Learning Objective. Materials to Prepare. Summary of Class. Project Goal. Hardware Expression

WEEK PRactice. Turning on LED with a Switch. Learning Objective. Materials to Prepare. Summary of Class. Project Goal. Hardware Expression WEEK 04 Have LED My Way PRactice Turning on LED with a Switch Do you remember the project we worked on in week 3? It was a program that had making board s LED blink every second through a simple program.

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

Arduino Workshop. Overview. What is an Arduino? Why Arduino? Setting up your Arduino Environment. Get an Arduino based board and usb cable

Arduino Workshop. Overview. What is an Arduino? Why Arduino? Setting up your Arduino Environment. Get an Arduino based board and usb cable Arduino Workshop Overview Arduino, The open source Microcontroller for easy prototyping and development What is an Arduino? Arduino is a tool for making computers that can sense and control more of the

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

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

Adafruit Optical Fingerprint Sensor

Adafruit Optical Fingerprint Sensor Adafruit Optical Fingerprint Sensor Created by lady ada Last updated on 2017-11-27 12:27:09 AM UTC Guide Contents Guide Contents Overview Enrolling vs. Searching Enrolling New Users with Windows Searching

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

Objectives: Learn how to input and output analogue values Be able to see what the Arduino is thinking by sending numbers to the screen

Objectives: Learn how to input and output analogue values Be able to see what the Arduino is thinking by sending numbers to the screen Objectives: Learn how to input and output analogue values Be able to see what the Arduino is thinking by sending numbers to the screen By the end of this session: You will know how to write a program to

More information

Adafruit 1-Wire GPIO Breakout - DS2413

Adafruit 1-Wire GPIO Breakout - DS2413 Adafruit 1-Wire GPIO Breakout - DS2413 Created by Bill Earl Last updated on 2018-08-22 03:40:00 PM UTC Guide Contents Guide Contents Overview Assembly & Wiring Headers Position the Header And Solder! Wiring

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

TA0139 USER MANUAL ARDUINO 2 WHEEL DRIVE WIRELESS BLUETOOTH ROBOT KIT

TA0139 USER MANUAL ARDUINO 2 WHEEL DRIVE WIRELESS BLUETOOTH ROBOT KIT TA0139 USER MANUAL ARDUINO 2 WHEEL DRIVE WIRELESS BLUETOOTH ROBOT KIT I Contents Overview TA0139... 1 Getting started: Arduino 2 Wheel Drive Wireless Bluetooth Robot Kit using Arduino UNO... 1 2.1. What

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

SKU:TEL0092 WiFi Bee-ESP8266 Wirelss module

SKU:TEL0092 WiFi Bee-ESP8266 Wirelss module Page 1 of 32 SKU:TEL0092 WiFi Bee-ESP8266 Wirelss module Contents 1 Introduction 2 Specifications 3 Pin out 4 Tutorials 4.1 How to Use? 4.1.1 1 Connect AP 4.1.2 2 (/wiki/index.php/file:tel0092_frontpage.jpg)

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

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

BASIC Arduino. Part I

BASIC Arduino. Part I BASIC Arduino Part I Objectives Introduction to Arduino Build a 1-60MHz DDS VFO prototype, breadboard and write Sketches, with Buffer amps to be designed, and PCB Using your own laptop Go on to build other

More information

Arduino Package Tracker

Arduino Package Tracker Arduino Package Tracker Created by Vaughn Shinall Last updated on 2016-02-24 04:25:10 PM EST Guide Contents Guide Contents Overview Parts Credentials Generate Your Sketch Parse Your Output Add an Alert

More information

Connecting Arduino to Processing

Connecting Arduino to Processing Connecting Arduino to Processing Introduction to Processing So, you ve blinked some LEDs with Arduino, and maybe you ve even drawn some pretty pictures with Processing - what s next? At this point you

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

Adafruit 1-Wire Thermocouple Amplifier - MAX31850K

Adafruit 1-Wire Thermocouple Amplifier - MAX31850K Adafruit 1-Wire Thermocouple Amplifier - MAX31850K Created by lady ada Last updated on 2015-04-09 03:45:15 PM EDT Guide Contents Guide Contents Overview Pinouts Power Pins Address Pins Data Pin Themocouple

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

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

PM2.5 Air Quality Sensor

PM2.5 Air Quality Sensor PM2.5 Air Quality Sensor Created by lady ada Last updated on 2018-01-10 06:19:33 AM UTC Guide Contents Guide Contents Overview Arduino Code Wiring CircuitPython Code Downloads Files: 2 3 5 5 9 11 11 Adafruit

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

micro:bit Lesson 2. Controlling LEDs on Breadboard

micro:bit Lesson 2. Controlling LEDs on Breadboard micro:bit Lesson 2. Controlling LEDs on Breadboard Created by Simon Monk Last updated on 2018-03-09 02:39:14 PM UTC Guide Contents Guide Contents Overview Parts BBC micro:bit Half-size breadboard Small

More information

Phi-connect for Arduino (connector board V1.9)

Phi-connect for Arduino (connector board V1.9) Phi-connect for Arduino (connector board V1.9) Last reviewed on 3/29/2012 John Liu 1. Introduction... 2 2. Main features... 2 3. Parts list... 3 4. How to use... 4 5. Improving your Arduino experience

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

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

Adafruit 1-Wire Thermocouple Amplifier - MAX31850K

Adafruit 1-Wire Thermocouple Amplifier - MAX31850K Adafruit 1-Wire Thermocouple Amplifier - MAX31850K Created by lady ada Last updated on 2018-08-22 03:40:09 PM UTC Guide Contents Guide Contents Overview Pinouts Power Pins Address Pins Data Pin Themocouple

More information

Touch Board User Guide. Introduction

Touch Board User Guide. Introduction Touch Board User Guide Introduction The Crazy Circuits Touch Board is a fun way to create interactive projects. The Touch Board has 11 built in Touch Points for use with projects and also features built

More information

Bill of Materials: Turn Off the Lights Reminder PART NO

Bill of Materials: Turn Off the Lights Reminder PART NO Turn Off the Lights Reminder PART NO. 2209650 Have you ever woke up early in the morning to find out that the kids (or adults) in your home forgot to turn off the lights? I've had that happen a number

More information

GET YOUR DRAGONBOARD UP TO DATE

GET YOUR DRAGONBOARD UP TO DATE SAFESTOP (Instructable) A step-by-step guide on how to make this project. THINGS YOU WILL NEED DragonBoard-410c Mezzanine Shield 4 LED s 4 push bottons 4 1 Kohm resistances 4 220 ohm resistances Jumpers

More information

Random Spooky LED Eyes

Random Spooky LED Eyes Random Spooky LED Eyes Created by Bill Earl Last updated on 2016-08-27 12:48:22 PM UTC Guide Contents Guide Contents Overview and Materials Overview: Materials: Assembly Connect the Pixels: Load and Test:

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

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

User s Manual of Board ET-ESP32 WROVER MODULE V1 ET-ESP32 WROVER MODULE V1

User s Manual of Board ET-ESP32 WROVER MODULE V1 ET-ESP32 WROVER MODULE V1 ET-ESP32 WROVER MODULE V1 ET-ESP32 WROVER MODULE V1 is Module MCU ESP32 of Espressif Systems that uses the Module model ESP32 WROVER-I to be MCU on board. Memory o 4MB SPI Flash(32Mbits SPI flash)/ 8MB

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

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

MAE106 Laboratory Exercises Lab # 1 - Laboratory tools

MAE106 Laboratory Exercises Lab # 1 - Laboratory tools MAE106 Laboratory Exercises Lab # 1 - Laboratory tools University of California, Irvine Department of Mechanical and Aerospace Engineering Goals To learn how to use the oscilloscope, function generator,

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

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

Parts List. XBEE/Wifi Adapter board 4 standoffs ¼ inch screws Cable XBEE module or Wifi module

Parts List. XBEE/Wifi Adapter board 4 standoffs ¼ inch screws Cable XBEE module or Wifi module Rover Wifi Module 1 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 Sten-Bot kit against component

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

Lab 3 XBees and LCDs and Accelerometers, Oh My! Part 1: Wireless Communication Using XBee Modules and the Arduino

Lab 3 XBees and LCDs and Accelerometers, Oh My! Part 1: Wireless Communication Using XBee Modules and the Arduino University of Pennsylvania Department of Electrical and Systems Engineering ESE 205 Electrical Circuits and Systems Laboratory I Lab 3 XBees and LCDs and Accelerometers, Oh My! Introduction: In the first

More information

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

Lab 2 - Powering the Fubarino, Intro to Serial, Functions and Variables Lab 2 - Powering the 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 of 9 categories:

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

Computer Architectures

Computer Architectures Implementing the door lock with Arduino Gábor Horváth 2017. február 24. Budapest associate professor BUTE Dept. Of Networked Systems and Services ghorvath@hit.bme.hu Outline Aim of the lecture: To show

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

Arduino Dock 2. The Hardware

Arduino Dock 2. The Hardware Arduino Dock 2 The Arduino Dock 2 is our supercharged version of an Arduino Uno R3 board. These two boards share the same microcontroller, the ATmel ATmega328P microcontroller (MCU), and have identical

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

Basic Electronic Toolkit for under $40

Basic Electronic Toolkit for under $40 Basic Electronic Toolkit for under $40 Multimeter http://www.mpja.com/prodinfo.asp?number=17191+te Small Wire cutters http://www.mpja.com/prodinfo.asp?number=16761+tl Wire strippers http://www.mpja.com/prodinfo.asp?number=11715+tl

More information

Light Sensor. Overview. Features

Light Sensor. Overview. Features 1 Light Sensor Overview What is an electronic brick? An electronic brick is an electronic module which can be assembled like Lego bricks simply by plugging in and pulling out. Compared to traditional universal

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

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

MAKE & COLLABORATE: SECRET KNOCK LOCK

MAKE & COLLABORATE: SECRET KNOCK LOCK MAKE & COLLABORATE: SECRET KNOCK LOCK A project from Arduino Project Handbook: 25 Practical Projects to Get You Started Project 9: Secret KnocK LocK For centuries clandestine groups have used Secret KnocKS

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

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