Arduino 6: Analog I/O part 1. Jeffrey A. Meunier University of Connecticut

Size: px
Start display at page:

Download "Arduino 6: Analog I/O part 1. Jeffrey A. Meunier University of Connecticut"

Transcription

1 Arduino 6: Analog I/O part 1 Jeffrey A. Meunier jeffm@engr.uconn.edu University of Connecticut

2 About: How to use this document I designed this tutorial to be tall and narrow so that you can read it on one side of your screen while you follow along in the rest of the display area, like this: Tutorial work area Also, the pages in this tutorial are designed to be viewed as whole-page slides. I describe how to do that next. 2

3 Set your PDF viewer to single page mode (Mac) On a Mac, a PDF file will open in the Preview application by default. Hide the side bar and set it to Single Page. 3

4 Set your PDF viewer to single page mode (Windows) In Windows, a PDF file will open in the Reader application by default. You can open the menu from the icon in the upper left corner of the window and then choose Split Left or Split Right depending on your preference. Then right-click on the document and choose the One page viewing option. 4

5 Install Acrobat or some other reader (Windows 10) It seems that Microsoft has disabled (or will soon disable) the Reader application in Windows 10. You will need to use some other PDF application. You can install Adobe Acrobat Reader or just use a web browser to view PDF files. Whatever reader you use, I recommend setting it to page-mode in order to make it much easier to use. 5

6 Introduction This exercise in the series of exploring the I/O (input & output) capabilities of the Arduino will have you use its analog I/O features. 6

7 Objectives The objectives of this tutorial are: Understand how analog differs from digital. Use some of the analog input components that come with the Arduino kit to build an analog sensing circuit. Write a program that interacts with the circuit. 7

8 Prerequisites Before proceeding with this tutorial: Be sure to download the latest version of the arduino.py module found here: rduino/support/index.html I have added some features to it that you will need to use in this exercise. 8

9 Outline These are the sections you'll go through in this exercise: 1. Background 2. Potentiometer circuit 3. Potentiometer program 4. LED dimmer circuit 5. LED dimmer program 9

10 1. Background New arduino functions The arduino.py module has been improved to make it much easier to use. This is how you have been writing Arduino programs in Python: import arduino a = arduino.arduino() a.serialconnect() a.pinmode(13, 'o') a.digitalwrite(13, 1) a.serialdisconnect() That program will still work fine, but you can do it a little differently if you prefer. Keep reading. 10

11 1. Background New arduino functions This is an improved version of the same program: import arduino arduino.usbconnect() arduino.pinmode(13, 'o') arduino.digitalwrite(13, 1) arduino.usbdisconnect() Note these changes: The arduino.arduino() function call is gone. The serialconnect function has been renamed usbconnect. The remaining function calls are now called on the arduino module instead of that a variable. 11

12 1. Background New arduino functions That doesn't look like too much of an improvement, but keep reading. The next few slides show you how much better it can get. 12

13 1. Background Importing everything In this tutorial I use a different style of the import statement that looks like this: from arduino import * instead of just this: import arduino If you use the from style of an import, then you don't need to use the module name in front of all the functions in that module. 13

14 1. Background Importing everything Thus, we can change this program: import arduino arduino.usbconnect() arduino.pinmode(13, 'o') arduino.digitalwrite(13, 1) arduino.usbdisconnect() into this program: from arduino import * usbconnect() pinmode(13, 'o') digitalwrite(13, 1) usbdisconnect() Which, to me, is much easier to write and to understand. 14

15 1. Background Analog and digital Recall that a digital value is one that is represented by some (usually) small set of digits. The extreme case is that of a binary value, whereby we use the two digits 0 and 1. An analog value is one that can take on any value within a certain range (even a fractional value). For example, the ambient temperature outside the building you're in is an analog value that ranges from well below freezing in the winter to in the mid-90s F during the summer. 15

16 1. Background Analog and digital Some thermometers show the temperature reading on an analog scale: You can tell it's analog because given any temperature outside, the thermometer will indicate that temperature exactly to the smallest fraction of a degree. 16

17 1. Background Analog and digital A digital thermometer, on the other hand, displays the temperature using digits: It may be just as accurate as an analog thermometer, but there's a problem: the digital thermometer shown above can't resolve (rather, it won't show you) anything less than 1/10 of a degree of accuracy, whereas the analog thermometer can (even though it may be really hard to read). 17

18 1. Background Analog on the Arduino The Arduino has the ability to read an analog value from the real world using any one of a variety of analog sensors. Your kit includes a light sensor, a temperature sensor, and a potentiometer, which is like a volume control knob. The Arduino can also emit an analog signal that varies in the range of 0 to 5 volts, although it's not a true analog value. It actually chops the range 0-5 V into 256 discrete steps, but those steps are small enough that it's hard for us to discern that it's not truly analog. Now let's use these sensors and build some circuits! 18

19 Outline 1. Background 2. Potentiometer circuit 3. Potentiometer program 4. LED dimmer circuit 5. LED dimmer program 19

20 2. Potentiometer circuit Introduction Pronounced po-ten-chi-om-eter. This is one of the most useful analog input devices. It has a knob that you can turn, and the Arduino can read the position of the knob with a high degree of accuracy. You can use a potentiometer for just about anything you can imagine: to vary the delay at which a light blinks, to change the brightness of a light, the volume of a speaker, or many other things that you haven't seen yet with this kit. 20

21 2. Potentiometer circuit Components needed Arduino board USB cable breadboard 3 wires (any color) 3 connecting pins (twist individual ones off the long pin strip) potentiometer (check the front label on the kit box to locate the part) 21

22 2. Potentiometer circuit Build the circuit This is a rather easy circuit to set up. 1. Plug the potentiometer into the breadboard such that each of its pins is in a different numbered row. 2. Plug three pins into the same rows as the potentiometer's pins. 3. Connect three wires to the pins. The middle wire is the one you care the most about. That's the yellow one here: 22

23 2. Potentiometer circuit Connect the wires Red board Find the analog input pins in the lower right corner of the board: 1. Connect the potentiometer's middle wire to the yellow S analog input pin for channel A0. It's the left-most one. They're labeled A0 to A5. 2. Connect one of the other two wires to a G pin (any pin in the blue row). 3. Connect the last wire to a V (any pin in the red row). 23

24 2. Potentiometer circuit Connect the wires Blue board Find the analog input pins in the lower right corner of the board: 1. Connect the potentiometer's middle wire to the to the A0 input pin. It's the left-most pin in the blue row. 2. Connect one of the other two wires to any pin in the black row. 3. Connect the last wire to any pin in the red row. 24

25 Outline 1. Background 2. Potentiometer circuit 3. Potentiometer program 4. LED dimmer circuit 5. LED dimmer program 25

26 3. Potentiometer program Make a new folder Make a new folder for this exercise. Name it Analog IO. Find the arduino.py program that you used in the previous exercise and copy it into this new folder. 26

27 3. Potentiometer program Start IDLE Start IDLE and enter the statements that every Arduino-Python program must start with: 1. Import everything from the arduino module. 2. Open a USB connection. The statements are shown on the next slide if you forgot how to do it. 27

28 3. Potentiometer program Initial program statements from arduino import * usbconnect() Remember that you may need to supply the name of your serial port in the usbconnect statement. 28

29 3. Potentiometer program Display A0 in a loop Add statements to your program so that it does the following things. Start an unbounded while loop. Inside that loop, do these two things: 1. Use the analogread statement to read the value of analog channel Display that value. I show the statements on the next slide. 29

30 3. Potentiometer program Display A0 in a loop An unbounded loop is one that doesn't end. Another name for it is infinite loop. while???: What goes here? # analog read chan 0 # display that value 30

31 3. Potentiometer program Display A0 in a loop An unbounded loop is one that doesn't end. Another name for it is infinite loop. while True: # analog read chan 0 # display that value Solution on next slide 31

32 3. Potentiometer program Display A0 in a loop An unbounded loop is one that doesn't end. Another name for it is infinite loop. while True: a0 = analogread(0) print(a0) 32

33 3. Potentiometer program Display A0 in a loop An unbounded loop is one that doesn't end. Another name for it is infinite loop. while True: a0 = analogread(0) print(a0) There are different ways to write the statements in the loop, but this is my preferred way. I like naming variables in the program based on what Arduino channel they were read from or are being written to, like a0 or d13. 33

34 3. Potentiometer program Run the program Here's the output: The number changes as you twist the potentiometer ^CTraceback (most recent call last):... KeyboardInterrupt >>> 34

35 Outline 1. Background 2. Potentiometer circuit 3. Potentiometer program 4. LED dimmer circuit 5. LED dimmer program 35

36 4. LED Dimmer circuit Components needed In addition to the parts from the previous section, you will need these parts: LED: any color; the kind with 2 pins there's a single multi-color LED with 4 pins, but we're not going to use that one here 220Ω resistor: or a 1K Ω resistor; if you have options then choose the one that has the smaller value 2 wires: any color 2 connecting pins 36

37 4. LED Dimmer circuit Assembly Notice that the LED has two pins, one of which is shorter than the other. The sort pin is referred to as the negative pin, or cathode, and the long pin is the positive pin, or anode. Short = Cathode Long = Anode 37

38 4. LED Dimmer circuit Connect the LED & resistor 1. Plug the LED into two rows of the breadboard, making a note of which rows the long and short pins are in. 2. Plug the resistor into the breadboard so that one of its pins is in the same row as the resistor's negative pin. Its other pin can go into any other row. 3. Connect two pins and wires as shown. Anode wire Long Short Cathode wire 38

39 4. LED Dimmer circuit Connect it to the Arduino Connect the free end of the cathode wire to one of the blue G pins in the top row of pins on the Arduino. Connect the free end of the anode wire to digital output D11: locate D13 in the yellow row of pins, and it's the second one to the right of it. Even though D11 is a digital output pin, the Arduino can do analog output on it. It does that through something called pulse-width modulation, which I don't want to get into right now, but have a look at that link if you want to learn more. 39

40 Outline 1. Background 2. Potentiometer circuit 3. Potentiometer program 4. LED dimmer circuit 5. LED dimmer program 40

41 5. LED dimmer program About analog input & output Analog input: Using an analog input gives you a value in the range 0 to Analog output: The Arduino expects an analog output value to be in the range 0 to 255. You will add to your existing program so that it takes whatever the value it read from analog input A0 was and sends it to analog output D11 (it's an analog output sent over digital pin number 11). The value that it sends to D11 will need to be scaled first so that any number in the range 0 to 1023 becomes a number in the range 0 to

42 5. LED dimmer program Scaling input to output There is a function called converrt in the arduino module that converts a number in one range into a number in another range: convert(value, fromlo, fromhi, tolo, tohi) For example, to convert a temperature in Fahrenheit into a temperature in Centigrade you could use this statement: >>> convert(70, 0, 212, 0, 100) 33 Fahrenheit range Centigrade range 42

43 5. LED dimmer program Scaling input to output In your program you need to convert a number from the range 0 to 1023 into a number in the range 0 to 255. In this case fromlo is 0, fromhi is 1023, tolo is 0, and tohi is 255. If the analog value is in a0, then the call to the map function you need will look like this: d11 = convert(a0, _, _, _, _) Add that statement to your program and fill in the blanks. The statement should go inside the while loop below all the existing statements. 43

44 5. LED dimmer program Write the program Now you need to send the value in d11 to the analog output channel number 11. The statement will look like this: analogwrite(channel, value) Can you complete that statement by supplying the proper things for channel and value? Answer on next slide. 44

45 5. LED dimmer program Write the program Now you need to send the value in d11 to the analog output channel number 11. The statement will look like this: analogwrite(channel, value) Can you complete that statement by supplying the proper things for channel and value? Answer: analogwrite(11, d11) 45

46 5. LED dimmer program Run it Run the program in Python. Turn the knob on the potentiometer. The LED's brightness level should change. w00t 46

47 Outline 1. Background 2. Potentiometer circuit 3. Potentiometer program 4. LED dimmer circuit 5. LED dimmer program You're done! 47

Arduino 05: Digital I/O. Jeffrey A. Meunier University of Connecticut

Arduino 05: Digital I/O. Jeffrey A. Meunier University of Connecticut Arduino 05: Digital I/O Jeffrey A. Meunier jeffm@engr.uconn.edu University of Connecticut About: How to use this document I designed this tutorial to be tall and narrow so that you can read it on one side

More information

Arduino 04: Python Arduino reference. Jeffrey A. Meunier University of Connecticut

Arduino 04: Python Arduino reference. Jeffrey A. Meunier University of Connecticut Arduino 04: Python Arduino reference Jeffrey A. Meunier jeffm@engr.uconn.edu University of Connecticut About: How to use this document I designed this tutorial to be tall and narrow so that you can read

More information

Arduino 02: Using the Arduino with Python. Jeffrey A. Meunier University of Connecticut

Arduino 02: Using the Arduino with Python. Jeffrey A. Meunier University of Connecticut Arduino 02: Using the Arduino with Python Jeffrey A. Meunier jeffm@engr.uconn.edu University of Connecticut About: How to use this document I designed this tutorial to be tall and narrow so that you can

More information

Arduino 01: Installing the Arduino Application and Firmware. Jeffrey A. Meunier University of Connecticut

Arduino 01: Installing the Arduino Application and Firmware. Jeffrey A. Meunier University of Connecticut Arduino 01: Installing the Arduino Application and Firmware Jeffrey A. Meunier jeffm@engr.uconn.edu University of Connecticut About: How to use this document I designed these tutorial slides to be tall

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

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

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 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

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

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

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

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

More information

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

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

More information

Arduino Programming 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

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

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

Physical Computing Self-Quiz

Physical Computing Self-Quiz Physical Computing Self-Quiz The following are questions you should be able to answer without reference to outside material by the middle of the semester in Introduction to Physical Computing. Try to answer

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

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

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

CircuitPython Made Easy on Circuit Playground Express

CircuitPython Made Easy on Circuit Playground Express CircuitPython Made Easy on Circuit Playground Express Created by Kattni Rembor Last updated on 2018-12-10 10:21:42 PM UTC Guide Contents Guide Contents Circuit Playground Express Library First Things First

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

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

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

ADOBE DREAMWEAVER CS4 BASICS

ADOBE DREAMWEAVER CS4 BASICS ADOBE DREAMWEAVER CS4 BASICS Dreamweaver CS4 2 This tutorial focuses on the basic steps involved in creating an attractive, functional website. In using this tutorial you will learn to design a site layout,

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

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

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

TMP36 Temperature Sensor

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

More information

NAME EET 2259 Lab 3 The Boolean Data Type

NAME EET 2259 Lab 3 The Boolean Data Type NAME EET 2259 Lab 3 The Boolean Data Type OBJECTIVES - Understand the differences between numeric data and Boolean data. -Write programs using LabVIEW s Boolean controls and indicators, Boolean constants,

More information

Circuit Playground Express: Piano in the Key of Lime

Circuit Playground Express: Piano in the Key of Lime Circuit Playground Express: Piano in the Key of Lime Created by Kattni Rembor Last updated on 2017-10-21 09:59:14 PM UTC Guide Contents Guide Contents Overview Required parts Meet Circuit Playground Express

More information

MITOCW watch?v=kz7jjltq9r4

MITOCW watch?v=kz7jjltq9r4 MITOCW watch?v=kz7jjltq9r4 PROFESSOR: We're going to look at the most fundamental of all mathematical data types, namely sets, and let's begin with the definitions. So informally, a set is a collection

More information

How to Convert a Microsoft Word Document to PDF Format

How to Convert a Microsoft Word Document to PDF Format How to Convert a Microsoft Word Document to PDF Format Community Tested In this Article: Article Summary Using SmallPDF Using Google Drive Using Word on Windows Using Word on Mac This wikihow teaches you

More information

Digital Circuits. Page 1 of 5. I. Before coming to lab. II. Learning Objectives. III. Materials

Digital Circuits. Page 1 of 5. I. Before coming to lab. II. Learning Objectives. III. Materials I. Before coming to lab Read this handout and the supplemental. Also read the handout on Digital Electronics found on the course website. II. Learning Objectives Using transistors and resistors, you'll

More information

Analog Input. Sure sure, but how to make a varying voltage? With a potentiometer. Or just pot.

Analog Input. Sure sure, but how to make a varying voltage? With a potentiometer. Or just pot. Analog Input Sure sure, but how to make a varying voltage? With a potentiometer. Or just pot. +5V measure gnd Color coding: red goes to power, blue to ground, purple to measure here (it s a mix, see?)

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

Shape Cluster Photo Written by Steve Patterson

Shape Cluster Photo Written by Steve Patterson Shape Cluster Photo Written by Steve Patterson Before After Step 1: Create A New Document Let's begin by creating a new Photoshop document. Go up to the File menu in the Menu Bar along the top of the screen

More information

Lab 2.2 Ohm s Law and Introduction to Arduinos

Lab 2.2 Ohm s Law and Introduction to Arduinos Lab 2.2 Ohm s Law and Introduction to Arduinos Objectives: Get experience using an Arduino Learn to use a multimeter to measure Potential units of volts (V) Current units of amps (A) Resistance units of

More information

Arduino Programming. Arduino UNO & Innoesys Educational Shield

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

More information

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

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

Android Programming Family Fun Day using AppInventor

Android Programming Family Fun Day using AppInventor Android Programming Family Fun Day using AppInventor Table of Contents A step-by-step guide to making a simple app...2 Getting your app running on the emulator...9 Getting your app onto your phone or tablet...10

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

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

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

Layad Circuits Arduino Basic Kit B. Content Summary

Layad Circuits Arduino Basic Kit B. Content Summary Layad Circuits This kit is a careful selection of sensors, displays, modules, an Arduino Uno, connectors and other essential parts meant to facilitate learning of the hardware and software components of

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

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

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

More information

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

Adafruit VL53L0X Time of Flight Micro-LIDAR Distance Sensor Breakout

Adafruit VL53L0X Time of Flight Micro-LIDAR Distance Sensor Breakout Adafruit VL53L0X Time of Flight Micro-LIDAR Distance Sensor Breakout Created by lady ada Last updated on 2016-12-05 06:40:45 PM UTC Guide Contents Guide Contents Overview Sensing Capablities Pinouts Power

More information

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

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

More information

The Stack, Free Store, and Global Namespace

The Stack, Free Store, and Global Namespace Pointers This tutorial is my attempt at clarifying pointers for anyone still confused about them. Pointers are notoriously hard to grasp, so I thought I'd take a shot at explaining them. The more information

More information

TMP36 Temperature Sensor

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

More information

Electronics Design - Eagle

Electronics Design - Eagle Back to tutorial index Electronics Design - Eagle This week's assignment is to: add a button and LED to the echo hello-world board, check the design rules, and make it. Review Neil's class page: http://academy.cba.mit.edu/classes/electronics_design/index.html

More information

Linked Lists. What is a Linked List?

Linked Lists. What is a Linked List? Linked Lists Along with arrays, linked lists form the basis for pretty much every other data stucture out there. This makes learning and understand linked lists very important. They are also usually the

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

Introduction. Basic Troubleshooting Tips. Computer Basics What are some troubleshooting techniques? What are Some Troubleshooting Techniques?

Introduction. Basic Troubleshooting Tips. Computer Basics What are some troubleshooting techniques? What are Some Troubleshooting Techniques? Computer Basics What are some troubleshooting techniues? Introduction What are Some Troubleshooting Techniues? The computer goes blank before the Word document was saved. The browser window freezes for

More information

Assembly Instructions (8/14/2014) Your kit should contain the following items. If you find a part missing, please contact NeoLoch for a replacement.

Assembly Instructions (8/14/2014) Your kit should contain the following items. If you find a part missing, please contact NeoLoch for a replacement. NeoLoch NLT-28P-LCD-5S Assembly Instructions (8/14/2014) Your kit should contain the following items. If you find a part missing, please contact NeoLoch for a replacement. Kit contents: 1 Printed circuit

More information

Connecting LEDs to the ADB I/O

Connecting LEDs to the ADB I/O Application Note AN-2 By Magnus Pettersson September 26 1996 Connecting LEDs to the I/O Introduction The following notes are for those of you who are a bit inexperienced with hardware components. This

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

PHYC 500: Introduction to LabView. Exercise 16 (v 1.2) Controlling hardware with DAQ device. M.P. Hasselbeck, University of New Mexico

PHYC 500: Introduction to LabView. Exercise 16 (v 1.2) Controlling hardware with DAQ device. M.P. Hasselbeck, University of New Mexico PHYC 500: Introduction to LabView M.P. Hasselbeck, University of New Mexico Exercise 16 (v 1.2) Controlling hardware with DAQ device This exercise has two parts. First, simulate a traffic light circuit

More information

Getting help with Edline 2. Edline basics 3. Displaying a class picture and description 6. Using the News box 7. Using the Calendar box 9

Getting help with Edline 2. Edline basics 3. Displaying a class picture and description 6. Using the News box 7. Using the Calendar box 9 Teacher Guide 1 Henry County Middle School EDLINE March 3, 2003 This guide gives you quick instructions for the most common class-related activities in Edline. Please refer to the online Help for additional

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

OpenSprinkler v2.2u Build Instructions

OpenSprinkler v2.2u Build Instructions OpenSprinkler v2.2u Build Instructions (Note: all images below are 'clickable', in order for you to see the full-resolution details. ) Part 0: Parts Check Part 1: Soldering Part 2: Testing Part 3: Enclosure

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

Interface. 2. Interface Adobe InDesign CS2 H O T

Interface. 2. Interface Adobe InDesign CS2 H O T 2. Interface Adobe InDesign CS2 H O T 2 Interface The Welcome Screen Interface Overview The Toolbox Toolbox Fly-Out Menus InDesign Palettes Collapsing and Grouping Palettes Moving and Resizing Docked or

More information

Bill of Materials: Picaxe-based IR Control Module Pair PART NO

Bill of Materials: Picaxe-based IR Control Module Pair PART NO Picaxe-based IR Control Module Pair PART NO. 2171014 The IRGEII is an IR (Infra Red) Transmitter and Receiver pair that uses a 38 KHZ frequency of invisible light to communicate simple instructions. The

More information

One Grove Base Shield board this allows you to connect various Grove units (below) to your Seeeduino board; Nine Grove Grove units, consisting of:

One Grove Base Shield board this allows you to connect various Grove units (below) to your Seeeduino board; Nine Grove Grove units, consisting of: GROVE - Starter Kit V1.0b Introduction The Grove system is a modular, safe and easy to use group of items that allow you to minimise the effort required to get started with microcontroller-based experimentation

More information

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

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

More information

INSTRUCTIONS. How to use Makes Sense Strategies- The Works! TM. How to load Makes Sense Strategies- The Works! TM

INSTRUCTIONS. How to use Makes Sense Strategies- The Works! TM. How to load Makes Sense Strategies- The Works! TM INSTRUCTIONS Makes Sense Strategies TM (MSS) is composed of an extensive set of Microsoft Word TM and Power Point TM documents that are accessed from links embedded onto Adobe PDF files and thus, is not

More information

their in the new a program such as Excel or Links aren't just document.

their in the new a program such as Excel or Links aren't just document. Navigating with Hyperlinks Hyperlinks are those bits of underlinedd text or pictures that, when you click them, take you to a new place, like another Web page. Most people never think of adding links to

More information

ArdOS The Arduino Operating System Quick Start Guide and Examples

ArdOS The Arduino Operating System Quick Start Guide and Examples ArdOS The Arduino Operating System Quick Start Guide and Examples Contents 1. Introduction... 1 2. Obtaining ArdOS... 2 3. Installing ArdOS... 2 a. Arduino IDE Versions 1.0.4 and Prior... 2 b. Arduino

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

In our first lecture on sets and set theory, we introduced a bunch of new symbols and terminology.

In our first lecture on sets and set theory, we introduced a bunch of new symbols and terminology. Guide to and Hi everybody! In our first lecture on sets and set theory, we introduced a bunch of new symbols and terminology. This guide focuses on two of those symbols: and. These symbols represent concepts

More information

Azon Master Class. By Ryan Stevenson Guidebook #5 WordPress Usage

Azon Master Class. By Ryan Stevenson   Guidebook #5 WordPress Usage Azon Master Class By Ryan Stevenson https://ryanstevensonplugins.com/ Guidebook #5 WordPress Usage Table of Contents 1. Widget Setup & Usage 2. WordPress Menu System 3. Categories, Posts & Tags 4. WordPress

More information

Title and Modify Page Properties

Title and Modify Page Properties Dreamweaver After cropping out all of the pieces from Photoshop we are ready to begin putting the pieces back together in Dreamweaver. If we were to layout all of the pieces on a table we would have graphics

More information

SPDM Level 2 Smart Electronics Unit, Level 2

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

More information

A PROGRAM IS A SEQUENCE of instructions that a computer can execute to

A PROGRAM IS A SEQUENCE of instructions that a computer can execute to A PROGRAM IS A SEQUENCE of instructions that a computer can execute to perform some task. A simple enough idea, but for the computer to make any use of the instructions, they must be written in a form

More information

Hi everyone. Starting this week I'm going to make a couple tweaks to how section is run. The first thing is that I'm going to go over all the slides

Hi everyone. Starting this week I'm going to make a couple tweaks to how section is run. The first thing is that I'm going to go over all the slides Hi everyone. Starting this week I'm going to make a couple tweaks to how section is run. The first thing is that I'm going to go over all the slides for both problems first, and let you guys code them

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

Necessary software and hardware:

Necessary software and hardware: Necessary software and hardware: Bases: First, remember that I m a French guy so my English is not perfect ;) If you see any mistakes, don t hesitate to tell me so I can correct them (my email is at the

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

Raspberry Pi GPIO Zero Reaction Timer

Raspberry Pi GPIO Zero Reaction Timer Raspberry Pi GPIO Zero Reaction Timer Tutorial by Andrew Oakley Public Domain 1 Feb 2016 www.cotswoldjam.org Introduction This Python programming tutorial, shows you how simple it is to use an LED light

More information

In the first class, you'll learn how to create a simple single-view app, following a 3-step process:

In the first class, you'll learn how to create a simple single-view app, following a 3-step process: Class 1 In the first class, you'll learn how to create a simple single-view app, following a 3-step process: 1. Design the app's user interface (UI) in Xcode's storyboard. 2. Open the assistant editor,

More information

BASIC ARDUINO WORKSHOP. Mr. Aldwin and Mr. Bernardo

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

More information

Laboratory of Sensors Engineering Sciences 9 CFU

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

More information

Earthshine Design Arduino Starters Kit Manual - A Complete Beginners Guide to the Arduino. Project 13. Serial Temperature Sensor

Earthshine Design Arduino Starters Kit Manual - A Complete Beginners Guide to the Arduino. Project 13. Serial Temperature Sensor Project 13 Serial Temperature Sensor 75 Project 13 - Serial Temperature Sensor Now we are going to make use of the Temperature Sensor in your kit, the LM35DT. You will need just one component. What you

More information

CAN I SEE TEXT MESSAGES ONLINE ATT CAN I SEE TEXT PDF WHY CAN'T I SEE THE TEXT IN A FORM UNTIL I CLICK ON THE

CAN I SEE TEXT MESSAGES ONLINE ATT CAN I SEE TEXT PDF WHY CAN'T I SEE THE TEXT IN A FORM UNTIL I CLICK ON THE CAN I SEE TEXT PDF WHY CAN'T I SEE THE TEXT IN A FORM UNTIL I CLICK ON THE CANNOT SEE TEXT BOXES - LEARN ADOBE ACROBAT - PDF HELP 1 / 5 2 / 5 3 / 5 can i see text pdf Why can't I see the text in a form

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

PIC Dev 14 Through hole PCB Assembly and Test Lab 1

PIC Dev 14 Through hole PCB Assembly and Test Lab 1 Name Lab Day Lab Time PIC Dev 14 Through hole PCB Assembly and Test Lab 1 Introduction: The Pic Dev 14 is a simple 8-bit Microchip Pic microcontroller breakout board for learning and experimenting with

More information

9 Output Devices: Buzzers

9 Output Devices: Buzzers 9 Output Devices: Buzzers Project In this project, you will learn how to connect and control LEDs (Light Emitting Diode) and a buzzer with the Raspberry Pi. Components In addition to your Raspberry Pi,

More information

Arduino Robots Robot Kit Parts List

Arduino Robots Robot Kit Parts List Arduino Robots Robot Kit Parts List (1) Metal Chassis (2) Push Button Activators (2) Servo Motors w/ Cross Wheels (2) IR Receivers (1) Control Board (1) Piezo Speaker (1) Dual-Sided Screwdriver (1) Cotter

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

REQUIRED MATERIALS Epiphany-DAQ board Wire Jumpers Switch LED Resistors Breadboard Multimeter (if needed)

REQUIRED MATERIALS Epiphany-DAQ board Wire Jumpers Switch LED Resistors Breadboard Multimeter (if needed) Page 1/6 Lab 1: Intro to Microcontroller Development, 06-Jan-16 OBJECTIVES This lab will introduce you to the concept of developing with a microcontroller while focusing on the use of General Purpose Input/Output

More information

Adafruit Metro Mini. Created by lady ada. Last updated on :12:28 PM UTC

Adafruit Metro Mini. Created by lady ada. Last updated on :12:28 PM UTC Adafruit Metro Mini Created by lady ada Last updated on 2018-01-24 08:12:28 PM UTC Guide Contents Guide Contents Overview Pinouts USB & Serial converter Microcontroller & Crystal LEDs Power Pins & Regulators

More information

Physical Computing Self-Quiz

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

More information

Contents. What's New. Version released. Newsletter #31 (May 24, 2008) What's New New version released, version 4.3.3

Contents. What's New. Version released. Newsletter #31 (May 24, 2008) What's New New version released, version 4.3.3 Campground Master Newsletter #31 (May 24, 2008) 1 Newsletter #31 (May 24, 2008) Contents What's New New version released, version 4.3.3 Q & A Retrieving credit card information Guarantee Info missing the

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

Using X-Particles with Team Render

Using X-Particles with Team Render Using X-Particles with Team Render Some users have experienced difficulty in using X-Particles with Team Render, so we have prepared this guide to using them together. Caching Using Team Render to Picture

More information

Arduino IDE Friday, 26 October 2018

Arduino IDE Friday, 26 October 2018 Arduino IDE Friday, 26 October 2018 12:38 PM Looking Under The Hood Of The Arduino IDE FIND THE ARDUINO IDE DOWNLOAD First, jump on the internet with your favorite browser, and navigate to www.arduino.cc.

More information

INTRODUCING THE CODEBIT!

INTRODUCING THE CODEBIT! GETTING STARTED Downloading the littlebits Code Kit app STEP 1 Download and open the littlebits Code Kit app at littlebits.com/code-kit-app STEP 2 Click the pink open blank canvas button to start writing

More information