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

Size: px
Start display at page:

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

Transcription

1 Memo on development of the car-rangefinder device/data logger for crosswalk study -Alex Bigazzi; alexbigazzi.com; Sept. 16 th -19 th, 2013 The device is supposed to measure distances to vehicles, in order to measure where they stop WRT the crosswalk. By placing the device downstream of the crosswalk, angled upstream and in, one per lane, the measurements can be made. Locations and angles will have to be carefully measured in the field for each data collection. Hardware The device uses an Arduino microcontroller, Adafruit data logging shield, and MaxSonar ultrasonic rangefinder (MB1020-EZ2; I started with the code from Ian Walker s website mashed with code from my Portland ACE device Arduino sketch Compared to Ian Walker s device, I removed the record start/stop functionality of the button and decided to let recording be automatically started and stopped with device power. It is simpler and more appropriate in this context. The button now only is used to mark events. Application notes on the logger shield are here: Note that the Chip Select is automatically digital pin 10 on the Arduino for this shield, but can be modified with the CS connector on the shield (the chip select is also part of the code). There is a built-in red LED to indicate SD card activity, which is also connected to digital pin 13 (automatically). There are 2 additional yellow LED s on the shield I jumped LED1 to pin D3, to provide a separate feedback. To install the Arduino IDE (which you ll need to upload code), the official release is here: but there s a version I like better here: = Install the IDE and you ll be able to easily upload sketches once you identify which COM port your Arduino is attached to (via USB). In order to view the real-time Serial output from the Arduino, call up Tools > Serial Monitor (the COM port must also be set correctly for this). The wiring schematic and other details on the device are in the Appendices. Rangefinder Datalogger A. Bigazzi 1

2 Setting the Real-Time Clock (RTC) A separate Arduino sketch has to be run every time a new coin cell battery is inserted in the logging shield, to set the internal clock. The sketch is located in the Arduino example menu, File > Examples > RTClib > ds1307.ini. The clock will be set to the time of the computer which is uploading the sketch. Note that the default baud for this sketch is 57600, while the default on the Serial Monitor is 9600; you ll have to change one to view the output to confirm that it worked (though you don t have to check this). I don t know how well the shield holds the time, so I would recommend doing some time sync checks with the button each data collection (and maybe resetting the clock shortly before the data collections). SD Cards You need a separate SD card reader to get the data off (most laptops have them now). Format the card with FAT16 or FAT32 file systems on your computer. You CANNOT format in FAT32 with a 64 Gb SD cards in Windows! Only up to a 32 Gb SD card can be formatted in FAT32, though you CAN format larger SD cards with a custom formatting utility. To check your SD card is working properly, run the example SD card sketch in Arduino File > Examples > SD > CardInfo.ino, to make sure the card is working. Operation Just power the device; it ll go through a ~6 second initialization process, then begin recording. It records continuously to a single file while powered on; remove power to stop recording, or press reset to start a new file. The initialization process begins with a fast 5-series blink of the yellow light, followed by a few slow flashes and another fast 5-series blink. There are separate LED s for writing to the SD card (red) and noting button presses (yellow). If there is a problem with initializing or opening a file, the yellow light will blink continuously, indicating a problem; if it s off, you re good to go. The yellow light will illuminate while the button is pressed (after the initialization process). If you have the device plugged into a computer via USB, you ll see continuous output (and any error messages from initialization) on the Serial Monitor. I made three devices and two 16-foot extension cords (between the device and the rangefinder head). The button is attached to the device, so that will be kept by the experimenter, and the rangefinder head can be mounted on a pole (up to 16 away). When connecting the device to the rangefinder header, (with or without the extensions) make sure the wire colors match up. The device is easily powered with a 9-volt battery. Note that the bottom of the Arduino has open metal connections, so it will need to be placed on an insulating surface. Rangefinder Datalogger A. Bigazzi 2

3 Output Data are saved in.csv files on the SD card, named with the file creation timestamp as mmddhhmm.csv. The CSV files have 4 columns: milliseconds counter, timestamp, range (in inches), and whether the button was depressed that interval (1=yes, 0=no). Samples/rows are batch written to the file every 5 seconds, but each row represents 200ms (i.e. 5 rows/second). These timings can easily be changed in the header section of the code ( sketch ). Appendix A: Device Schematic and Photos Rangefinder Datalogger A. Bigazzi 3

4 Rangefinder Datalogger A. Bigazzi 4

5 Appendix B: Arduino Source Code /* ** Crosswalk Study Code; Alex Bigazzi; alexbigazzi.com ** Loosely based on the "BikeSense Distance Sensor and Data Logger" by Ian Walker, University of Bath Changelog Version 0.1 Initial version, drawing from Ian Walker's code and the Portland ACE code Version 0.2 Functional version; reads/writes to SD card; always records; new file on each power-up; Separate LED for writing and communicating button presses */ // Libraries #include <Wire.h> #include "RTClib.h" // from #include <SD.h> // Definitions (replaced in the code upon compilation) #define sensorpin A0 // Analog Pin connected to the analog output on the rangefinder #define buttonpin 8 // Digital Pin connected to the pushbutton #define lightpin 3 // controls the signal light (13 is the built-in LED) #define samplepause 200 // in ms (200 ms is 1000/200=5 Hz #define syncinterval 5000 // ms between writes to disk #define CORRECTION 0 // adjustment to calibrate the sensor. in added inches RTC_DS1307 RTC; // initalize real time clock // Set up variables DateTime nowtime; // for real time clock readings float nowdistance = 999; // distance readings byte buttonreading = 0; // button state readings unsigned long lastreadingtime = 0; // for internal reading timer (working with millis) unsigned long readingtime; // will indicate the millis of the current reading unsigned long lastsynctime = 0; // when was the file last written? byte problem = 0; // to indicate trouble to the user const int chipselect = 10; // 10 for the Adafruit SD card system File logfile; // file pointer const int readperinch = 1024/512; // conversion for Vcc/512 per inch byte recording = 0; // indicates recording is happening Rangefinder Datalogger A. Bigazzi 5

6 const byte SerialOutput = 1; // Do we want to send to the computer display? /* ************************* ** Initialization ************************* */ void setup() { if (SerialOutput) { Serial.begin(9600); // for reading out on the computer pinmode(buttonpin, INPUT); // button will be used as an input pinmode(lightpin, OUTPUT); // LED as an output pinmode(sensorpin, INPUT); // setup analog input pin pinmode(chipselect, OUTPUT); // SD card Wire.begin(); RTC.begin(); flashlight(5, 50); // we've got this far okay, first flashes are distinctive to mark beginning delay(300); // Check RTC is okay if (! RTC.isrunning()) { problem = 1; if (SerialOutput) Serial.println("RTC fail"); return; // don't do anything more else { flashlight(1, 500); // Clock system is okay // see if the card is present and can be initialized: if (! SD.begin(chipSelect)) { problem = 1; if (SerialOutput) Serial.println("Card initialization fail"); return; // don't do anything more else { flashlight(1, 500); // Sd card is present and correct // Try to open a new file if (! problem &&! recording) { newfile(); if(! logfile) { // Did the file open successfully? problem = 1; if (SerialOutput) Serial.println("New File fail"); else { Rangefinder Datalogger A. Bigazzi 6

7 logfile.println("counter_ms,timestamp,range_in,button_down"); // Output the datafile headings recording = 1; // setup complete flashlight(5, 50); // we're all ready to go! delay(500); // short delay so the READY signal is distinct from the waiting-to-begin signal /* ************ ** MAIN LOOP ** ************ */ void loop() { // error reporting system if (problem) { // If something is wrong, do nothing but alert the user sos(); // Indicate with a continuous flashing light // Each loop, grab the timings nowtime = timestamp(); // Get the current real time readingtime = millis(); // and the millis time for checking interreading delay // Check the button if(!buttonreading) { buttonreading = 1-digitalRead(buttonPin); if(buttonreading) { digitalwrite(lightpin,high); // turn the LED on to indicate the button press else { digitalwrite(lightpin,low); // Output to computer, if desired if(serialoutput){ Serial.print((float)readingTime/1000); Serial.print("; "); if(buttonreading) { Serial.print("Button; "); else { Serial.print("No Button; "); Serial.println(distanceReading()); // if we're recording and ready for the next reading if (! problem && recording && (readingtime - lastreadingtime) >= samplepause) { nowdistance = distancereading(); // Get the range in centimetres nowdistance = nowdistance + CORRECTION; // correct it, if needed Rangefinder Datalogger A. Bigazzi 7

8 logfile.print(readingtime); // serial # logfile.print(","); logfile.print(nowtime.year()); logfile.print("-"); leadingzero(nowtime.month()); logfile.print("-"); leadingzero(nowtime.day()); logfile.print("t"); leadingzero(nowtime.hour()); logfile.print("-"); leadingzero(nowtime.minute()); logfile.print("-"); leadingzero(nowtime.second()); logfile.print(","); // CSV comma logfile.print(nowdistance); // write the distance datum logfile.print(","); logfile.println(buttonreading); // was the button down this loop? lastreadingtime = readingtime; the file // note when we last wrote to buttonreading = 0; // reset // end of reading IF // check if we need to write to disk if (! problem && recording && (readingtime - lastsynctime) >= syncinterval) { logfile.flush(); lastsynctime = readingtime; // end of sync IF /* **************** ** The functions ** **************** */ // Function to provide a timestamp DateTime timestamp() { // Written to work with the real-time clock that is integrated into an // Adafruit data logger shield. // Should also work with stand-alone clocks such as the Sparkfun RTC module // // as it's the same chip, provided the same arduino pins are used DateTime nowtime = RTC.now(); return(nowtime); float distancereading() { // use a float format for decimal inches Rangefinder Datalogger A. Bigazzi 8

9 float inch; inch = analogread(sensorpin)/readperinch; return(inch); // Prints number to file with a leading zero if necessary. FIXME - make this a proper // function that returns the text rather than print it directly void leadingzero(uint8_t x) { if(x < 10) { logfile.print(0); logfile.print(x); // Flashes the signal light "x" times for "time" ms void flashlight(int x, int time) { for (int i = 0; i < x; i++) { digitalwrite(lightpin, HIGH); delay(time); digitalwrite(lightpin, LOW); delay(time); // error signal void sos() { flashlight(20,200); // quick flashing light // Create new file on SD card File newfile() { nowtime = timestamp(); // get the time, which we'll use for the filename String filename = String(); //filename += nowtime.year(); if (nowtime.month() < 10) { filename+= "0"; filename += nowtime.month(); if (nowtime.day() < 10) { filename+= "0"; filename += nowtime.day(); if (nowtime.hour() < 10) { filename+= "0"; filename += nowtime.hour(); if (nowtime.minute() < 10) { filename+= "0"; Rangefinder Datalogger A. Bigazzi 9

10 filename += nowtime.minute(); filename += ".csv"; // convert file string to character array and open the file for writing char filename2[30]; filename.tochararray(filename2, 30); logfile = SD.open(filename2, FILE_WRITE); // return(logfile); Rangefinder Datalogger A. Bigazzi 10

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

#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

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

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

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

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

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

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

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

MLT. SD Card Shield Plus. Manual For Arduino

MLT. SD Card Shield Plus. Manual For Arduino MLT SD Card Shield Plus Manual For Arduino Page 1 of 17 Table of Contents Chapter1. Overview and Board Description Introduction...2 Board Feature...3 Board Description...4 Standard signal pins between

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

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

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

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

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

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

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

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

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

PF2100 MODBUS LOGGER CARD SYSTEM SPECIFICATION. v1.0 DRAFT Revised Dec 4, 2014 Last Revised by Alex Messner

PF2100 MODBUS LOGGER CARD SYSTEM SPECIFICATION. v1.0 DRAFT Revised Dec 4, 2014 Last Revised by Alex Messner PF2100 MODBUS LOGGER CARD SYSTEM SPECIFICATION Revised Last Revised by Alex Messner This page was intentionally left blank. Table of Contents 1 Overview... 2 2 User Interface... 3 2.1 LEDs... 3 2.2 Buttons...

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

Arduino Uno Microcontroller Overview

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

More information

#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

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

Freeduino USB 1.0. Arduino Compatible Development Board Starter Guide. 1. Overview

Freeduino USB 1.0. Arduino Compatible Development Board Starter Guide. 1. Overview Freeduino USB 1.0 Arduino Compatible Development Board Starter Guide 1. Overview 1 Arduino is an open source embedded development platform consisting of a simple development board based on Atmel s AVR

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

Battery Discharge Tester

Battery Discharge Tester Battery Discharge Tester I have quite a few rechargable AA and AAA batteries kicking around that I'd like to use in various projects, but I am very aware that some of them are a little weak for lack of

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

Halloween Pumpkinusing. Wednesday, October 17, 12

Halloween Pumpkinusing. Wednesday, October 17, 12 Halloween Pumpkinusing Blink LED 1 What you will need: 1 MSP-EXP430G2 1 3 x 2 Breadboard 3 560 Ohm Resistors 3 LED s (in Red Color Range) 3 Male to female jumper wires 1 Double AA BatteryPack 2 AA Batteries

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

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

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

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

USER MANUAL ARDUINO I/O EXPANSION SHIELD

USER MANUAL ARDUINO I/O EXPANSION SHIELD USER MANUAL ARDUINO I/O EXPANSION SHIELD Description: Sometimes Arduino Uno users run short of pins because there s a lot of projects that requires more than 20 signal pins. The only option they are left

More information

The short program to blink the red LED used the delay() function. This is very handy function for introducing a short time delays into programs.

The short program to blink the red LED used the delay() function. This is very handy function for introducing a short time delays into programs. Timing The short program to blink the red LED used the delay() function. This is very handy function for introducing a short time delays into programs. It helps buffer the differing time scales of humans

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

ARDUINO LEONARDO ETH Code: A000022

ARDUINO LEONARDO ETH Code: A000022 ARDUINO LEONARDO ETH Code: A000022 All the fun of a Leonardo, plus an Ethernet port to extend your project to the IoT world. You can control sensors and actuators via the internet as a client or server.

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

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

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

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

Grove - 80cm Infrared Proximity Sensor User Manual

Grove - 80cm Infrared Proximity Sensor User Manual Grove - 80cm Infrared Proximity Sensor User Manual Release date: 2015/9/22 Version: 1.0 Wiki: http://www.seeedstudio.com/wiki/index.php?title=twig_-_80cm_infrared_proximity_sensor_v0.9 Bazaar: http://www.seeedstudio.com/depot/grove-80cm-infrared-

More information

Grove - 80cm Infrared Proximity Sensor

Grove - 80cm Infrared Proximity Sensor Grove - 80cm Infrared Proximity Sensor Introduction 3.3V 5.0V Analog The 80cm Infrared Proximity Sensor is a General Purpose Type Distance Measuring Sensor. This sensor SharpGP2Y0A21YK, boasts a small

More information

Introduction to Arduino. Wilson Wingston Sharon

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

More information

AndyMark Arduino Tutorial

AndyMark Arduino Tutorial AndyMark Arduino Tutorial Tank Drive June 2014 Required: Required Software List: - Kit Arduino IDE - Robot Power Cable Kit (am-0975) RobotOpen Arduino Shield Software - Battery Base Package (am-0477) RobotOpen

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

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

Arduino Panel Meter Clock. By Russ Hughes

Arduino Panel Meter Clock. By Russ Hughes Arduino Panel Meter Clock By Russ Hughes (russ@owt.com) OVERVIEW My father has been a lifelong Ham Radio Operator with a fondness for almost anything with a panel meter. After seeing the Trinket Powered

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

Section 3 Board Experiments

Section 3 Board Experiments Section 3 Board Experiments Section Overview These experiments are intended to show some of the application possibilities of the Mechatronics board. The application examples are broken into groups based

More information

ARDUINO LEONARDO WITH HEADERS Code: A000057

ARDUINO LEONARDO WITH HEADERS Code: A000057 ARDUINO LEONARDO WITH HEADERS Code: A000057 Similar to an Arduino UNO, can be recognized by computer as a mouse or keyboard. The Arduino Leonardo is a microcontroller board based on the ATmega32u4 (datasheet).

More information

Low Power Coin Cell Voltage Logger. Created by Phillip Burgess

Low Power Coin Cell Voltage Logger. Created by Phillip Burgess Low Power Coin Cell Voltage Logger Created by Phillip Burgess Guide Contents Guide Contents Overview Hardware Activating the watch Mental models Software Results Other Lessons 2 3 4 4 6 8 10 12 Adafruit

More information

THE WORLD LEADER IN CLEAN AIR SOLUTIONS. SAAFShield INSTALLATION, OPERATION, AND MAINTENANCE INSTRUCTIONS. Read and Save These Instructions!

THE WORLD LEADER IN CLEAN AIR SOLUTIONS. SAAFShield INSTALLATION, OPERATION, AND MAINTENANCE INSTRUCTIONS. Read and Save These Instructions! THE WORLD LEADER IN CLEAN AIR SOLUTIONS SAAFShield Reading Unit Real-Time Reactivity Monitor INSTALLATION, OPERATION, AND MAINTENANCE INSTRUCTIONS Table of Contents 1.0 Principles of Operation 2.0 Components

More information

4x4 Matrix Membrane Keypad

4x4 Matrix Membrane Keypad Handson Technology Data Specs 4x4 Matrix Membrane Keypad This 16-button kepyad provides a useful human interface component for micro-controller projects. Convenient adhesive backing provides a simple way

More information

ARDUINO YÚN Code: A000008

ARDUINO YÚN Code: A000008 ARDUINO YÚN Code: A000008 Arduino YÚN is the perfect board to use when designing connected devices and, more in general, Internet of Things projects. It combines the power of Linux with the ease of use

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

1 Introduction Required components Datalogger TrueLog Baseboard... 1

1 Introduction Required components Datalogger TrueLog Baseboard... 1 - 1 Contents 1 Introduction... 1 2 Required components... 1 2.1 Datalogger TrueLog100... 1 2.1.1 Baseboard... 1 2.1.2 Battery holder with 2 pole power plug... 1 2.2 USB cable for logger configuration...

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

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

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

More information

SX1509 I/O Expander Breakout Hookup Guide

SX1509 I/O Expander Breakout Hookup Guide Page 1 of 16 SX1509 I/O Expander Breakout Hookup Guide Introduction Is your Arduino running low on GPIO? Looking to control the brightness of 16 LEDs individually? Maybe blink or breathe a few autonomously?

More information

Experiment 4.A. Speed and Position Control. ECEN 2270 Electronics Design Laboratory 1

Experiment 4.A. Speed and Position Control. ECEN 2270 Electronics Design Laboratory 1 .A Speed and Position Control Electronics Design Laboratory 1 Procedures 4.A.0 4.A.1 4.A.2 4.A.3 4.A.4 Turn in your Pre-Lab before doing anything else Speed controller for second wheel Test Arduino Connect

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

Hardware Overview and Features

Hardware Overview and Features Hardware Overview and Features Don t snap apart your LilyPad ProtoSnap Plus until you're ready to use the pieces in a project. If you leave the pieces attached to the board, you'll be able to prototype

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

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

TANGIBLE MEDIA & PHYSICAL COMPUTING INTRODUCTION TO ARDUINO

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

More information

How to use Arduino Uno

How to use Arduino Uno 1 How to use Arduino Uno Typical Application Xoscillo, an open-source oscilloscope Arduinome, a MIDI controller device that mimics the Monome OBDuino, a trip computer that uses the on-board diagnostics

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

RB-Dfr-12 DFRobot URM04 v2.0 Ultrasonic Sensor

RB-Dfr-12 DFRobot URM04 v2.0 Ultrasonic Sensor RB-Dfr-12 DFRobot URM04 v2.0 Ultrasonic Sensor URM04 is developed based upon our popular URM37 ultrasonic sensor. The RS485 interface allows a number of sensors working together. Up to 32 URM04 may be

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

Overview. Introduction. Features

Overview. Introduction. Features P4S-348-R2 User Manual > Overview Overview Introduction The P4S-348-R2 (PHPoC Shield 2 for Arduino) is a shield that connects Arduino to a wired or wireless network. After attaching this shield on top

More information

GPS Series. Build a GPS Smart Logger. By Michael Simpson. As seen in November 2008 of Servo Magazine Pick up an issue at

GPS Series. Build a GPS Smart Logger. By Michael Simpson. As seen in November 2008 of Servo Magazine Pick up an issue at GPS Series By Michael Simpson Build a GPS Smart Logger As seen in November 2008 of Servo Magazine Pick up an issue at www.servomagazine.com I recently did a GPS series covering various GPS modules and

More information

GE-INTERNATIONAL JOURNAL OF ENGINEERING RESEARCH VOLUME -3, ISSUE -5 (May 2015) IF ISSN: ( )

GE-INTERNATIONAL JOURNAL OF ENGINEERING RESEARCH VOLUME -3, ISSUE -5 (May 2015) IF ISSN: ( ) DESIGN AND IMPLEMENTATION OF MICROCONTROLLER BASED SPEED DATA LOGGER Kriti Jain *, Prem Chand #, Saad Shamsi #, Dimple Taneja #, Rahul Yadav #, Sanjeev Yadav # *Assistant Professor, ECE Department, Amity

More information

TA0297 WEMOS D1 R2 WIFI ARDUINO DEVELOPMENT BOARD ESP8266

TA0297 WEMOS D1 R2 WIFI ARDUINO DEVELOPMENT BOARD ESP8266 TA0297 WEMOS D1 R2 WIFI ARDUINO DEVELOPMENT BOARD ESP8266 Contents 1. Overview TA0297... 3 2. Getting started:... 3 2.1. What is WeMos D1 R2 Wifi Arduino Development Board?... 3 2.2. What is IDUINO UNO?...

More information

KNOCK LOCK MAKE YOUR OWN SECRET LOCKING MECHANISM TO KEEP UNWANTED GUESTS OUT OF YOUR SPACE! Discover: input with a piezo, writing your own functions

KNOCK LOCK MAKE YOUR OWN SECRET LOCKING MECHANISM TO KEEP UNWANTED GUESTS OUT OF YOUR SPACE! Discover: input with a piezo, writing your own functions 125 KNOCK LOCK MAKE YOUR OWN SECRET LOCKING MECHANISM TO KEEP UNWANTED GUESTS OUT OF YOUR SPACE! Discover: input with a piezo, writing your own functions Time: 1 HOUR Level: Builds on projects: 1, 2, 3,

More information

OPERATION MANUAL. SD card real time datalogger 3 channels 4-20 ma CURRENT RECORDER. Model : MMA-386SD

OPERATION MANUAL. SD card real time datalogger 3 channels 4-20 ma CURRENT RECORDER. Model : MMA-386SD SD card real time datalogger 3 channels 4-20 ma CURRENT RECORDER Model : MMA-386SD Your purchase of this 3 channels 4-20 ma CURRENT RECORDER marks a step forward for you into the field of precision measurement.

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

ZLog Z6R Altitude Data Recording and Monitoring System

ZLog Z6R Altitude Data Recording and Monitoring System ZLog Z6R Altitude Data Recording and Monitoring System 2014-04-28 Page 1 of 24 Introduction ZLog was designed to provide a lightweight, compact device for measuring and recording altitude over time. It

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

VKey Voltage Keypad Hookup Guide

VKey Voltage Keypad Hookup Guide Page 1 of 8 VKey Voltage Keypad Hookup Guide Introduction If you need to add a keypad to your microcontroller project, but don t want to use up a lot of I/O pins to interface with it, the VKey is the solution

More information

User-defined Functions Case study

User-defined Functions Case study User-defined Functions Case study A function to return the average of readings on an analog input channel ME 121: Portland State University Scenario is reading a nominally steady signal that has some noise.

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

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

SD Model. Instruction Manual. Sound Level Meter/ Data logger. reedinstruments. www. com

SD Model. Instruction Manual. Sound Level Meter/ Data logger. reedinstruments. www. com Model SD-4023 Sound Level Meter/ Data logger Instruction Manual www com Table of Contents Features... 3 Specifications...4-5 Instrument Description... 6 Operating Instructions...7-11 Function Selection...

More information

Arduino Programming and Interfacing

Arduino Programming and Interfacing Arduino Programming and Interfacing Stensat Group LLC, Copyright 2017 1 Robotic Arm Experimenters Kit 2 Legal Stuff Stensat Group LLC assumes no responsibility and/or liability for the use of the kit and

More information

Phi -1 shield Documentation. Table of content

Phi -1 shield Documentation. Table of content Phi -1 shield Documentation Last reviewed on 01/03/11 John Liu Table of content 1. Introduction: 2 2. List of functions: 2 3. List of possible projects: 2 4. Parts list: 3 5. Shield pin usage: 3 6. List

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

URM04 V2.0 (SKU:SEN0002)

URM04 V2.0 (SKU:SEN0002) URM04 V2.0 (SKU:SEN0002) URM04 V2.0 Figure 1: URM04 Beam Width 60 degree Contents 1 Introduction 2 Specification 3 Dimension and Pin definition 4 Communication Protocols 4.1 Set Device Address 4.2 Trigger

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

DESERT CODE CAMP

DESERT CODE CAMP Implementing Multiple Serial Ports On An Arduino DESERT CODE CAMP 2011.2 Presented by Don Doerres Embedded Pro Guy don@azlaborlaw.com THE ARDUINO Arduino is Italian for Strong Friend The basic Arduino

More information

IOX-16 User s Manual. Version 1.00 April Overview

IOX-16 User s Manual. Version 1.00 April Overview UM Unified Microsystems IOX-16 User s Manual Version 1.00 April 2013 Overview The IOX-16 Arduino compatible shield is an easy way to add 16 additional digital Input/Output (I/O) lines to your Arduino system.

More information

ZLog Z7 High Altitude Data Logging System

ZLog Z7 High Altitude Data Logging System ZLog Z7 High Altitude Data Logging System 2013-02-04 Page 1 of 16 Introduction ZLog was designed to provide a lightweight, compact device for measuring and recording data in high-altitude scientific experiments.

More information

Seeeduino Stalker. Overview. Basic features: License

Seeeduino Stalker. Overview. Basic features: License Seeeduino Stalker Overview Seeeduino Stalker is an extensive Wireless Sensor Network node, with native data logging features and considered modular structure. It could be conveniently used as sensor hub

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

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

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

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

More information

SquareWear Programming Reference 1.0 Oct 10, 2012

SquareWear Programming Reference 1.0 Oct 10, 2012 Content: 1. Overview 2. Basic Data Types 3. Pin Functions 4. main() and initsquarewear() 5. Digital Input/Output 6. Analog Input/PWM Output 7. Timing, Delay, Reset, and Sleep 8. USB Serial Functions 9.

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