Galileo Tutorial I/Os, Sensing and Actuation Senzations 2014

Size: px
Start display at page:

Download "Galileo Tutorial I/Os, Sensing and Actuation Senzations 2014"

Transcription

1 Galileo Tutorial I/Os, Sensing and Actuation Senzations 2014 Biograd na Moru 1. September 2013 Alex Gluhak Intel Labs Europe 1 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

2 Learning goals I/O Basics Available I/O options on the Galileo Serial I/O Sensing and actuating Grove starter kit Digital I/O Analog I/O 2 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

3 Available I/O options on the Galileo 3 Galileo Tutorial I/Os, Sensing and WHAT Actuation WILL YOU MAKE? WHAT WILL YOU MAKE? 3

4 I/O options on the Galileo RS232 Serial USB client USB host 14 Digital I/Os I2C/TWI SPI Arduino Uno 3 Compatible Headers JTAG 6 Analog Inputs 4 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

5 Serial communications on the Galileo 5 Galileo Tutorial I/Os, Sensing and WHAT Actuation WILL YOU MAKE? WHAT WILL YOU MAKE? 5

6 Serial communications (1/2) Arduino platforms have at least one serial port (also known as a UART or Universal Asynchronous Receiver/Transmitter) Useful for communications between the Arduino board and a computer or other devices Galileo provides several serial communication options Via RS232 serial port on 3.5mm phone jack connector (Linux console) Via USB client port (Sketches) Via UART on digital pins 0 (RX) & 1 (TX) Linux Console Serial Sketches Serial1 6 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

7 Serial communications (2/2) Initialising serial read and/or write interactions Arduino Syntax: Serial.begin(baudrate) Serial.begin (9600) // opens a serial port with 9600 bauds per sec Baud rates supported on Galileo: 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600, or Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

8 Serial write (1/2) Print data as human readable ASCII to serial port Arduino Syntax: Serial.print(val) or Serial.print(val, format) Arduino Syntax: Serial.println(val) or Serial.println(val, format) Serial.print ( Senzations 2014 ) // prints Senzations 2014 Serial.println ( , 2) // prints 3.14 with CR/LF Parameters Val data to be printed (any type) Format number base or number of decimal places to be printed 8 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

9 Serial write (2/2) Write binary data to serial port Arduino Syntax: Serial.write(val) Serial.write ( Senzations 2014 ) // writes Senzations 2014 Data is sent as byte or series of bytes 9 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

10 Serial read (1/2) Data sent to serial arrives into the serial receive buffer Size: 64 bytes Good practice is to check first the availability of data Syntax: Serial.available() Return number of bytes Data can be read either byte by byte Arduino Syntax: Serial.read() Returns a byte that has been read 10 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

11 Serial read (2/2) Data can also be read in chunks into a buffer Arduino Syntax: Serial.readBytes(buffer, length) Parameters Buffer: to store the read data, a char[] or byte[] Length: number of char to read Returns the number of char/bytes placed in the buffer Terminates when length is reached or time out occurs, you can set the timeout as follows: Arduino Syntax: Serial.setTimeout(time) // in milisec 11 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

12 User built-in serial monitor Select Tools -> Serial Monitor or click Serial Monitor Icon Note: Sketch must be loaded first; else, Serial Monitor will close on Sketch upload 12 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

13 Exercises Store your name(s) in a variable and write it character by character with a delay using all different serial write options Write all prime numbers between 1 and 50 via the serial interface in a single coma separated line Write a simple echo server that returns all data send via serial port (char by char and all at once) Try to use an alternative terminal for receiving data, not the built in one 13 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

14 Grove starter kit Sensors and actuators used in the tutorial 14 Galileo Tutorial I/Os, Sensing and WHAT Actuation WILL YOU MAKE? WHAT WILL YOU MAKE? 14

15 Grove starter kit 15 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

16 Sensors / input devices Sound sensor Analog Rotary angle sensor Button Digital Temperature sensor Light sensor Touch sensor 16 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

17 Actuators / output devices Relay switch LCD display (I2C) Buzzer LED Servo 17 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

18 Base shield 7 Digital I/Os (D2.D8) 1 UART (1 port) 4 Analog inputs (A0.A3) ISP (1 port) Power 3.3/5V switch Reset button 1 I2C (4 ports) 18 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

19 Principles HW interfacing Select appropriate port to plug in the sensor 4 wire interconnects (GND, VCC, data1, data 2) SW support Most sensors work out of the box with standard Arduino I/O Additional libraries needed for Servo LCD display 19 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

20 Digital I/O on the Galileo 20 Galileo Tutorial I/Os, Sensing and WHAT Actuation WILL YOU MAKE? WHAT WILL YOU MAKE? 20

21 Digital I/Os 14 Digital I/O pins which can be configured as either input or output 12 can serve as GPIOs (Pins 2-13) 2 can support UART (Pin 0 and 1) 6 can serve as PWM (Pins 3,5,6,9,10,11) - ~ Operating parameters Can work at both 3.3V and 5V (jumper to configure) Max (out/in): 10mA / 25mA Max total on all digital (out/in): 40mA/100mA 21 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

22 Configuring GPIOs GPIOs can be configured as either input or output Arduino Syntax: pinmode (pin, mode) pinmode(13, OUTPUT) // set pin 13 to output mode pinmode(4, INPUT) // set pin 4 to input mode 22 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

23 Digital write Allows pins configured as output to be set either HIGH or LOW Arduino Syntax: digitalwrite(pin, value) digitalwrite (9, HIGH) // 3.3/5V available on Pin9 digitalwrite (9, LOW) // 0V available on Pin9 23 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

24 Exercise 1 Digital write Write a sketch that toggles the LED every 2 seconds Hints: LED is connected to Pin 13 Use: Delay ( [ms] ) for waits 24 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

25 Digital read Allows pins configured as input to be read Arduino Syntax: digitalread(pin) Returns value either LOW or HIGH Example digitalread (8) // returns either low or high state available on Pin8 25 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

26 Exercise 2 Digital read/write Variation 1: Turn on a led if a button has been pressed + Variation 2: Turn on buzzer if a the touch sensor is pressed + Hint: Use any of the digital PINs D2-D8 26 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

27 Solution 27 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

28 Analog I/O on the Galileo 28 Galileo Tutorial I/Os, Sensing and WHAT Actuation WILL YOU MAKE? WHAT WILL YOU MAKE? 28

29 Analog I/O 6 Analogue inputs (Pins A0-A5) AD7298 analog-to-digital (A/D) converter, 12bit Measures from 0 to 5V by default, controlled by IOREF Resolution is limited to 10bits by default 1024 units -> at 5V = 4.9mV per unit Readings mapped into integer values from Analog pins can be configured to act as digital pins A0 -> PIN14. A5->PIN19 Analog output via PWM 29 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

30 Analog read Reading voltage level attached to a analogue pin Arduino Syntax: analogread(pin) Returns integer value between analogread (A1) // reads analog value of pin AP1 Mapping values to other voltage ranges Arduino Syntax: map(value, fromlow, fromhigh, tolow, tohigh) map(545, 0,1023, 0, 255) // reads analog value of pin AP1 30 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

31 Exercise Analog read Connect analog sensor to an analog input and read out Available options: Light sensor Noise sensor Temp sensor Rotation sensor Hint: Use any of the analog PINs A0-A3 31 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

32 Solution 32 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

33 Pulse Width Modulation (PWM) Technique for getting analog results with digital means PWM is supported on Pin 3, 5, 6, 9, 10, and 11 marked with a ~ Usage examples Light a LED at varying brightness Drive a motor at various speeds 33 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

34 PWM principles Digital pins are switched between HIGH and LOW to generate a square wave This on-off pattern can simulate voltages in between full on (5 Volts) and off (0 Volts) by changing the portion of the time the signal spends between the two states To get varying analog values, you change, or modulate, that pulse width Source: 34 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

35 Analog write Invoke analog write on a PWM pin to generate an analog value, which depends on the pulse width Arduino Syntax: analogwrite(pin, value) analogwrite (10, 32) // send PWM with 12.5% duty cycle to PIN10 Range of value parameter is 0 255: analogwrite of 255 requests a 100% duty cycle (always on) analogwrite of 127 is a 50% duty cycle (on half the time) analogwrite of 0 is a 0% duty cycle (Always off) 35 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

36 Exercise Analog write Modulate the intensity of the LED light Use the following options Light sensor Rotation sensor Hint: Use map to adjust output to input values 36 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

37 Solution Analog write 37 Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

38 Resources and further reading Grove Starter Kit Wiki: Grove starter kit sketch book https://github.com/seeed-studio/sketchbook_starter_kit_v Galileo Tutorial I/Os, Sensing and Actuation WHAT WILL YOU MAKE?

39

Arduino Leonardo ETH. Overview

Arduino Leonardo ETH. Overview Arduino Leonardo ETH Page 1 of 10 Arduino Leonardo ETH Overview The Leonardo ETH is a microcontroller board based on the ATmega32U4 (datasheet (http://download.arduino.org/products/leonardoeth/atmel-7766-8-bit-avr-atmega16u4-32u4_datasheet.pdf))

More information

Lab 6 Introduction to Serial and Wireless Communication

Lab 6 Introduction to Serial and Wireless Communication University of Pennsylvania Department of Electrical and Systems Engineering ESE 111 Intro to Elec/Comp/Sys Engineering Lab 6 Introduction to Serial and Wireless Communication Introduction: Up to this point,

More information

PROGRAMMING WITH ARDUINO - 1

PROGRAMMING WITH ARDUINO - 1 PROGRAMMING WITH ARDUINO - 1 IESL RoboGames 2014 University of Moratuwa Department of Computer Science & Engineering Table of Contents Introduction... 2 Arduino Development Board... 2 How to Setup Arduino

More information

Microcontroller Programming Beginning with Arduino. Charlie Mooney

Microcontroller Programming Beginning with Arduino. Charlie Mooney Microcontroller Programming Beginning with Arduino Charlie Mooney Microcontrollers Tiny, self contained computers in an IC Often contain peripherals Different packages availible Vast array of size and

More information

Arduino ADK Back. For information on using the board with the Android OS, see Google's ADK documentation.

Arduino ADK Back. For information on using the board with the Android OS, see Google's ADK documentation. Arduino ADK Arduino ADK R3 Front Arduino ADK R3 Back Arduino ADK Front Arduino ADK Back Overview The Arduino ADK is a microcontroller board based on the ATmega2560 (datasheet). It has a USB host interface

More information

8.1 Goal of this assignment Results Primer Assignment... 62

8.1 Goal of this assignment Results Primer Assignment... 62 CHAPTER 8 Lab 8: Arduino Contents 8.1 Goal of this assignment........................... 61 8.2 Results.................................... 61 8.3 Primer.................................... 62 8.4 Assignment..................................

More information

Theory and Practice of Tangible User Interfaces. Thursday Week 2: Digital Input and Output. week. Digital Input and Output. RGB LEDs fade with PWM

Theory and Practice of Tangible User Interfaces. Thursday Week 2: Digital Input and Output. week. Digital Input and Output. RGB LEDs fade with PWM week 02 Digital Input and Output RGB LEDs fade with PWM 1 Microcontrollers Output Transducers actuators (e.g., motors, buzzers) Arduino Input Transducers sensors (e.g., switches, levers, sliders, etc.)

More information

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide Sensors LCD Real Time Clock/ Calendar DC Motors Buzzer LED dimming Relay control I2C-FLEXEL PS2 Keyboards Servo Motors IR Remote Control

More information

Arduino Due Back. Warning: Unlike other Arduino boards, the Arduino Due board runs at 3.3V. The maximum. Overview

Arduino Due Back. Warning: Unlike other Arduino boards, the Arduino Due board runs at 3.3V. The maximum. Overview R Arduino Due Arduino Due Front Arduino Due Back Overview The Arduino Due is a microcontroller board based on the Atmel SAM3X8E ARM Cortex-M3 CPU (datasheet). It is the first Arduino board based on a 32-bit

More information

Work with Arduino Hardware

Work with Arduino Hardware 1 Work with Arduino Hardware Install Support for Arduino Hardware on page 1-2 Open Block Libraries for Arduino Hardware on page 1-9 Run Model on Arduino Hardware on page 1-12 Tune and Monitor Models Running

More information

Basics of Arduino EPICS Workshop. Arduino (RedBoard), Breadboard, LEDs Professor John Steele Mechanical Engineering Department October 23, 2015

Basics of Arduino EPICS Workshop. Arduino (RedBoard), Breadboard, LEDs Professor John Steele Mechanical Engineering Department October 23, 2015 Basics of Arduino EPICS Workshop Arduino (RedBoard), Breadboard, LEDs Professor John Steele Mechanical Engineering Department October 23, 2015 What is an Arduino/RedBoard? Arduino Uno (and the Sparkfun

More information

Arduino Programming Part 1

Arduino Programming Part 1 Arduino Programming Part 1 EAS 199A, Fall 2010, Lecture 5 Gerald Recktenwald Portland State University gerry@me.pdx.edu Overview Discuss details, now that you had a taste Arduino Environment Basic code

More information

UPS PIco. to be used with. Raspberry Pi B+, A+, B, and A. HAT Compliant. Raspberry Pi is a trademark of the Raspberry Pi Foundation

UPS PIco. to be used with. Raspberry Pi B+, A+, B, and A. HAT Compliant. Raspberry Pi is a trademark of the Raspberry Pi Foundation UPS PIco Uninterruptible Power Supply with Peripherals and I 2 C control Interface to be used with Raspberry Pi B+, A+, B, and A HAT Compliant Raspberry Pi is a trademark of the Raspberry Pi Foundation

More information

Lab Experiment 1: The LPC 2148 Education Board

Lab Experiment 1: The LPC 2148 Education Board Lab Experiment 1: The LPC 2148 Education Board 1 Introduction The aim of this course ECE 425L is to help you understand and utilize the functionalities of ARM7TDMI LPC2148 microcontroller. To do that,

More information

UniPi technical documentation REV 1.1

UniPi technical documentation REV 1.1 technical documentation REV 1.1 Contents Overview... 2 Description... 3 GPIO port map... 4 Power Requirements... 5 Connecting Raspberry Pi to UniPi... 5 Building blocks... 5 Relays... 5 Digital Inputs...

More information

Arduino and PLC Communication

Arduino and PLC Communication Arduino and PLC Communication Designed and written by: Jason Eddrief 1 Table of Contents System Introduction... 3 Communication Protocol... 5 Arduino... 6 Sending Data:... 6 Receiving Data:... 7 Communicating:...

More information

Simple Serial MaxMSP Arduino

Simple Serial MaxMSP Arduino Simple Serial MaxMSP Arduino int inbyte = 0; // incoming serial byte pinmode(13, OUTPUT); // connect an LED here inbyte = Serial.read(); if (inbyte == 97) digitalwrite(13, HIGH); // letter 'a' turns LED

More information

Table 1 below is a complete list of MPTH commands with descriptions. Table 1 : MPTH Commands. Command Name Code Setting Value Description

Table 1 below is a complete list of MPTH commands with descriptions. Table 1 : MPTH Commands. Command Name Code Setting Value Description MPTH: Commands Table 1 below is a complete list of MPTH commands with descriptions. Note: Commands are three bytes long, Command Start Byte (default is 128), Command Code, Setting value. Table 1 : MPTH

More information

Linksprite Arduino Motorshield. Introduction

Linksprite Arduino Motorshield. Introduction Linksprite Arduino Motorshield Introduction The Motor Shield is a perfect platform for robotics and mechanical applications. It enables the Arduino to drive two brushed DC motors or one 4-wire two-phase

More information

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK Because Arduino that is the development project on AVR MCU as Open Source has been published, it is popular and widespread shortly.

More information

www.dragino.com Yun Shield Quick Start Guide VERSION: 1.0 Version Description Date 1.0 Release 2014-Jul-08 Yun Shield Quick Start Guide 1 / 14

www.dragino.com Yun Shield Quick Start Guide VERSION: 1.0 Version Description Date 1.0 Release 2014-Jul-08 Yun Shield Quick Start Guide 1 / 14 Yun Shield Quick Start Guide VERSION: 1.0 Version Description Date 1.0 Release 2014-Jul-08 Yun Shield Quick Start Guide 1 / 14 Index: 1 Introduction... 3 1.1 About this quick start guide... 3 1.2 What

More information

GM862 Arduino Shield

GM862 Arduino Shield User s Manual GM862 Arduino Shield Rev. 1.3 MCI-MA-0063 MCI Electronics Luis Thayer Ojeda 0115. Of. 402 Santiago, Chile Tel. +56 2 3339579 info@olimex.cl MCI Ltda. Luis Thayer Ojeda 0115. Of. 402 Santiago,

More information

Arduino project. Arduino board. Serial transmission

Arduino project. Arduino board. Serial transmission Arduino project Arduino is an open-source physical computing platform based on a simple microcontroller board, and a development environment for writing software for the board. Open source means that the

More information

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science 6.115 Microprocessor Project Laboratory

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science 6.115 Microprocessor Project Laboratory Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science 6.115 Microprocessor Project Laboratory Connecting your PSoC Evaluation Board It is easy and fun to avoid

More information

Basic Pulse Width Modulation

Basic Pulse Width Modulation EAS 199 Fall 211 Basic Pulse Width Modulation Gerald Recktenwald v: September 16, 211 gerry@me.pdx.edu 1 Basic PWM Properties Pulse Width Modulation or PWM is a technique for supplying electrical power

More information

BE635 User Manual. Rev. V1.0. 2013-2014 Bolymin, Inc. All Rights Reserved.

BE635 User Manual. Rev. V1.0. 2013-2014 Bolymin, Inc. All Rights Reserved. BE635 User Manual Rev. V1.0 2013-2014 Bolymin, Inc. All Rights Reserved. Copyright Copyright 2013-2014 BOLYMIN, INC. All rights reserved. No part of the materials may be reproduced, copied or translated

More information

Technical Description

Technical Description abcxyz Contents 1. General...1 2. Block Diagram...2 3. First Steps...2 4. Technical Data...3 4.1 AS-Interface...3 4.2 Pin Out...4 4.3 Supply of Periphery...4 4.4 Inputs...5 4.5 Outputs...5 4.6 Mechanical

More information

Arduino Wifi shield And reciever. 5V adapter. Connecting wifi module on shield: Make sure the wifi unit is connected the following way on the shield:

Arduino Wifi shield And reciever. 5V adapter. Connecting wifi module on shield: Make sure the wifi unit is connected the following way on the shield: the following parts are needed to test the unit: Arduino UNO R3 Arduino Wifi shield And reciever 5V adapter Connecting wifi module on shield: Make sure the wifi unit is connected the following way on the

More information

Serial Communications

Serial Communications April 2014 7 Serial Communications Objectives - To be familiar with the USART (RS-232) protocol. - To be able to transfer data from PIC-PC, PC-PIC and PIC-PIC. - To test serial communications with virtual

More information

SGD 43-A 4.3 PanelPilotACE Compatible Display

SGD 43-A 4.3 PanelPilotACE Compatible Display is a 4.3 capacitive touch display designed for use with PanelPilotACE Design Studio, a free drag-and-drop style software package for rapid development of advanced user interfaces and panel meters. The

More information

Servo Motors (SensorDAQ only) Evaluation copy. Vernier Digital Control Unit (DCU) LabQuest or LabPro power supply

Servo Motors (SensorDAQ only) Evaluation copy. Vernier Digital Control Unit (DCU) LabQuest or LabPro power supply Servo Motors (SensorDAQ only) Project 7 Servos are small, relatively inexpensive motors known for their ability to provide a large torque or turning force. They draw current proportional to the mechanical

More information

Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board

Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board Abstract This application note is a tutorial of how to use an Arduino UNO microcontroller to

More information

Communications and smart Motion control in one shield!

Communications and smart Motion control in one shield! Communications and smart Motion control in one shield! 3.3V Power FTDI 1 DTR TX RX NC NC GND I²C Address elect 5V Power Reset Button Encoder 2 3.3V 300mA 5V 1A Vin Isolation Jumper Motor 2 MCU Program

More information

Accurate Measurement of the Mains Electricity Frequency

Accurate Measurement of the Mains Electricity Frequency Accurate Measurement of the Mains Electricity Frequency Dogan Ibrahim Near East University, Faculty of Engineering, Lefkosa, TRNC dogan@neu.edu.tr Abstract The frequency of the mains electricity supply

More information

Six-servo Robot Arm. DAGU Hi-Tech Electronic Co., LTD www.arexx.com.cn. Six-servo Robot Arm

Six-servo Robot Arm. DAGU Hi-Tech Electronic Co., LTD www.arexx.com.cn. Six-servo Robot Arm Six-servo Robot Arm 1 1, Introduction 1.1, Function Briefing Servo robot, as the name suggests, is the six servo motor-driven robot arm. Since the arm has a few joints, we can imagine, our human arm, in

More information

Arduino Lesson 5. The Serial Monitor

Arduino Lesson 5. The Serial Monitor Arduino Lesson 5. The Serial Monitor Created by Simon Monk Last updated on 2013-06-22 08:00:27 PM EDT Guide Contents Guide Contents Overview The Serial Monitor Arduino Code Other Things to Do 2 3 4 7 10

More information

Ocean Controls KTA-223 Arduino Compatible USB Relay Controller

Ocean Controls KTA-223 Arduino Compatible USB Relay Controller Ocean Controls - KTA-223 12/11/2009 Ocean Controls KTA-223 Arduino Compatible USB Relay Controller 8 Relay Outputs 5A 250VAC 4 Opto-Isolated Inputs 5-30VDC 3 Analog Inputs (10 bit) Connections via Pluggable

More information

Project 1: Introduction to Arduino and LED Blink (Sketch Version) Description:

Project 1: Introduction to Arduino and LED Blink (Sketch Version) Description: Project 1: Introduction to Arduino and LED Blink (Sketch Version) Description: The Arduino is a microprocessor. A Microprocessor is a compact programmable computing device with memory, processing, input,

More information

Arduino Shield Manual

Arduino Shield Manual Arduino Shield Manual Version 1.4 www.dfrobot.com Copyright 2010 by DFRobot.com Table of Contents Arduino I/O Expansion Shield... 4 Introduction... 4 Diagram... 4 Sample Code... 4 Arduino Motor Shield...

More information

The elabtronics USB PORT Module: 2 in 1 PIC Programmer Controller

The elabtronics USB PORT Module: 2 in 1 PIC Programmer Controller The elabtronics USB PORT Module: 2 in 1 PIC Programmer Controller The compact USB PORT Module from elabtronics can be used as a PIC programmer and a controller. It programs user PIC projects using the

More information

MANUAL FOR RX700 LR and NR

MANUAL FOR RX700 LR and NR MANUAL FOR RX700 LR and NR 2013, November 11 Revision/ updates Date, updates, and person Revision 1.2 03-12-2013, By Patrick M Affected pages, ETC ALL Content Revision/ updates... 1 Preface... 2 Technical

More information

Wireless Communication With Arduino

Wireless Communication With Arduino Wireless Communication With Arduino Using the RN-XV to communicate over WiFi Seth Hardy shardy@asymptotic.ca Last Updated: Nov 2012 Overview Radio: Roving Networks RN-XV XBee replacement : fits in the

More information

1602 LCD adopts standard 14 pins(no backlight) or 16pins(with backlight) interface, Instruction of each pin interface is as follows:

1602 LCD adopts standard 14 pins(no backlight) or 16pins(with backlight) interface, Instruction of each pin interface is as follows: LCD 1602 Shield Description: Arduino LCD 1602 adopts 2 lines with 16 characters LCD, with contrast regulating knob, backlight optional switch, and with 4 directional push-buttons, 1 choice button and1

More information

INTRODUCTION TO SERIAL ARM

INTRODUCTION TO SERIAL ARM INTRODUCTION TO SERIAL ARM A robot manipulator consists of links connected by joints. The links of the manipulator can be considered to form a kinematic chain. The business end of the kinematic chain of

More information

KTA-225 Arduino Compatible Relay Controller v3

KTA-225 Arduino Compatible Relay Controller v3 8 Relay Outputs 5 A 250 VAC 8 Analog Inputs (10 bit) Connections via Pluggable Screw Terminals 0 to 5 V, 0 to 3.3 V or 0 to 20 ma Analog Inputs, Jumper Selectable 5 A Relay Switching Power Indicator LED

More information

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205]

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205] Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205] Users Manual Robokits India info@robokits.co.in http://www.robokitsworld.com Page 1 Bluetooth + USB 16 Servo Controller is used to control up to

More information

RPLIDAR. Low Cost 360 degree 2D Laser Scanner (LIDAR) System Development Kit User Manual. 2014-2 Rev.1

RPLIDAR. Low Cost 360 degree 2D Laser Scanner (LIDAR) System Development Kit User Manual. 2014-2 Rev.1 RPLIDAR Low Cost 360 degree 2D Laser Scanner (LIDAR) Development Kit User Manual 2014-2 Rev.1 Team Contents: 1. OVERVIEW... 2 ITEMS IN DEVELOPMENT KIT... 2 RPLIDAR... 2 USB ADAPTER... 3 2. CONNECTION AND

More information

USB to RS-232/422/485 Isolated Converter. Quatech Model SSU2-400I Operation Manual

USB to RS-232/422/485 Isolated Converter. Quatech Model SSU2-400I Operation Manual USB to RS-232/422/485 Isolated Converter Quatech Model SSU2-400I Operation Manual First Edition, Jun 2008 1 Table of Contents 1. Introduction 2 2. Package checklist 3 3. Product Specification 4 4. Product

More information

Software User Guide UG-461

Software User Guide UG-461 Software User Guide UG-461 One Technology Way P.O. Box 9106 Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 Fax: 781.461.3113 www.analog.com ezlinx icoupler Isolated Interface Development Environment

More information

LEDs and Sensors: Analog to Digital

LEDs and Sensors: Analog to Digital LEDs and Sensors: Analog to Digital In the last lesson, we used switches to create input for the Arduino, and, via the microcontroller, the inputs controlled our LEDs when playing Simon. In this lesson,

More information

PN532 NFC RFID Module User Guide

PN532 NFC RFID Module User Guide PN532 NFC RFID Module User Guide Version 3 Introduction NFC is a popular technology in recent years. We often heard this word while smart phone company such as Samsung or HTC introduces their latest high-end

More information

CAN-Bus Shield Hookup Guide

CAN-Bus Shield Hookup Guide Page 1 of 8 CAN-Bus Shield Hookup Guide Introduction The CAN-Bus Shield provides your Arduino or Redboard with CAN-Bus capabilities and allows you to hack your vehicle! CAN-Bus Shield connected to a RedBoard.

More information

ABACOM - netpio. http://www.abacom-online.de/div/setup_netpio.exe

ABACOM - netpio. http://www.abacom-online.de/div/setup_netpio.exe ABACOM - netpio Download http://www.abacom-online.de/div/setup_netpio.exe The ABACOM netpio board is a 10Mbit network interface designed for measurement and control applications. The board is available

More information

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM-.01. www.rovingnetworks.com 1

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM-.01. www.rovingnetworks.com 1 RN-WIFLYCR-UM-.01 RN-ISP-UM In-System Programmer 2012 Roving Networks. All rights reserved. Version 1.1 1/19/2012 USER MANUAL www.rovingnetworks.com 1 OVERVIEW You use Roving Networks In-System-Programmer

More information

KTA-223 Arduino Compatible Relay Controller

KTA-223 Arduino Compatible Relay Controller 8 Relay Outputs 5A 250VAC 4 Opto-Isolated Inputs 5-30VDC 3 Analog Inputs (10 bit) Connections via Pluggable Screw Terminals 0-5V or 0-20mA Analog Inputs, Jumper Selectable 5A Relay Switching Power Indicator

More information

[F/T] [5] [KHz] [AMP] [3] [V] 4 ) To set DC offset to -2.5V press the following keys [OFS] [+/-] [2] [.] [5] [V]

[F/T] [5] [KHz] [AMP] [3] [V] 4 ) To set DC offset to -2.5V press the following keys [OFS] [+/-] [2] [.] [5] [V] FG085 minidds Function Generator Manual of Operation Applicable Models: 08501, 08501K, 08502K, 08503, 08503K Applicable Firmware Version: 1 ) 113-08501-100 or later (for U5) 2 ) 113-08502-030 or later

More information

ALL-USB-RS422/485. User Manual. USB to Serial Converter RS422/485. ALLNET GmbH Computersysteme 2015 - Alle Rechte vorbehalten

ALL-USB-RS422/485. User Manual. USB to Serial Converter RS422/485. ALLNET GmbH Computersysteme 2015 - Alle Rechte vorbehalten ALL-USB-RS422/485 USB to Serial Converter RS422/485 User Manual ALL-USB-RS422/485 USB to RS-422/485 Plugin Adapter This mini ALL-USB-RS422/485 is a surge and static protected USB to RS-422/485 Plugin Adapter.

More information

SainSmart UNO R3 Starter Kit

SainSmart UNO R3 Starter Kit SainSmart UNO R3 Starter Kit //SainSmart UNO R3 The SainSmart UNO R3 is one of several development boards based on the ATmega328-AU. We like it mainly because of its extensive support network and its versatility.

More information

Digital I/O: OUTPUT: Basic, Count, Count+, Smart+

Digital I/O: OUTPUT: Basic, Count, Count+, Smart+ Digital I/O: OUTPUT: Basic, Count, Count+, Smart+ The digital I/O option port in the 4-Series provides us with 4 optically isolated inputs and 4 optically isolated outputs. All power is supplied externally.

More information

Interfacing a Servo to the ATmega16

Interfacing a Servo to the ATmega16 Learning Objectives: Interfacing a Servo to the ATmega16 After successfully completing this lab, students will be able to: Desribe how a radio control (RC) servo works Interface a RC servo to a microcontroller

More information

Module: Wall-Following using Arduino

Module: Wall-Following using Arduino Module: Wall-Following using Arduino Now that you have a working wall-following vehicle enjoy a moment of satisfaction and then think how you might change the design to include more functionality. Maybe

More information

ADAM-4561 1-port Isolated USB to RS-232/422/485 Converter User s Manual

ADAM-4561 1-port Isolated USB to RS-232/422/485 Converter User s Manual ADAM-4561 1-port Isolated USB to RS-232/422/485 Converter User s Manual Part No. 2000456100 Printed in Taiwan Feb. 2001 1.1 Introduction Advantech s ADAM-4561 allows PC users to connect their serial devices

More information

EARTH PEOPLE TECHNOLOGY SERIAL GRAPH TOOL FOR THE ARDUINO UNO USER MANUAL

EARTH PEOPLE TECHNOLOGY SERIAL GRAPH TOOL FOR THE ARDUINO UNO USER MANUAL EARTH PEOPLE TECHNOLOGY SERIAL GRAPH TOOL FOR THE ARDUINO UNO USER MANUAL The Serial Graph Tool for the Arduino Uno provides a simple interface for graphing data to the PC from the Uno. It can graph up

More information

UPiS - Uninterruptible Power intelligent Supply

UPiS - Uninterruptible Power intelligent Supply UPiS - Uninterruptible Power intelligent Supply www.pimodules.com Introduction The UPiS is an Advanced Powering add-on Module for the RaspberryPi that adds a wealth of additional features to the powering

More information

Arduino Shield Manual

Arduino Shield Manual Arduino Shield Manual Version 1.5 www.dfrobot.com Copyright 2010 by DFRobot.com Table of Contents Table of Contents... 2 Arduino I/O Expansion Shield... 4 Introduction... 4 Diagram... 4 Sample Code...

More information

NHD-0420D3Z-FL-GBW-V3

NHD-0420D3Z-FL-GBW-V3 NHD-0420D3Z-FL-GBW-V3 Serial Liquid Crystal Display Module NHD- Newhaven Display 0420-4 Lines x 20 Characters D3Z- Model F- Transflective L- Yellow/Green LED Backlight G- STN-Gray B- 6:00 Optimal View

More information

Board also Supports MicroBridge

Board also Supports MicroBridge This product is ATmega2560 based Freeduino-Mega with USB Host Interface to Communicate with Android Powered Devices* like Android Phone or Tab using Android Open Accessory API and Development Kit (ADK)

More information

TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL

TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL w w w. c d v g r o u p. c o m CA-ETHR-A: TCP/IP Module Installation Manual Page Table of Contents Introduction...5 Hardware Components... 6 Technical Specifications...

More information

USB I/O Data Sheet. 802x USB Chip 16 Bit IO SOIC USB Chip 12 Bit IO DIP USB Chip 12 Bit IO SOIC20

USB I/O Data Sheet. 802x USB Chip 16 Bit IO SOIC USB Chip 12 Bit IO DIP USB Chip 12 Bit IO SOIC20 USB I/O Data Sheet 802x00 802600 USB Chip 16 Bit IO SOIC24 802300 USB Chip 12 Bit IO DIP20 802200 USB Chip 12 Bit IO SOIC20 802270 USB Chip 10 Bit IO SOIC18 802370 USB Chip 10 Bit IO DIP18 802670 USB Chip

More information

Arduino Microcontrollers. By Norm Berls

Arduino Microcontrollers. By Norm Berls Arduino Microcontrollers By Norm Berls Back in the day Arduino invented in 2005 Art students at the Interaction Design Institute Ivrea in Ivrea, Italy, needed controller for kinetic art Invention worked

More information

Flight Controller. Mini Fun Fly

Flight Controller. Mini Fun Fly Flight Controller Mini Fun Fly Create by AbuseMarK 0 Mini FunFly Flight Controller Naze ( Introduction 6x6mm. 6 grams (no headers, 8 grams with). 000 degrees/second -axis MEMS gyro. auto-level capable

More information

Ultrasonic Distance Measurement Module

Ultrasonic Distance Measurement Module Ultrasonic Distance Measurement Module General Description Distance measurement sensor is a low cost full functionality solution for distance measurement applications. The module is based on the measurement

More information

Using Xbee 802.15.4 in Serial Communication

Using Xbee 802.15.4 in Serial Communication Using Xbee 802.15.4 in Serial Communication Jason Grimes April 2, 2010 Abstract Instances where wireless serial communication is required to connect devices, Xbee RF modules are effective in linking Universal

More information

GSM/GPRS SHIELD MANUAL

GSM/GPRS SHIELD MANUAL GSM/GPRS SHIELD MANUAL Overview This GSM/GPRS Shield could change your Arduino to a phone. This shield allows your Arduino to access to the internet using the GPRS wireless network. Just plug this shield

More information

BV4221. USB to I2C Terminal. Product specification. January 2008 V0.a. ByVac 2006 ByVac Page 1 of 7

BV4221. USB to I2C Terminal. Product specification. January 2008 V0.a. ByVac 2006 ByVac Page 1 of 7 Product specification January 2008 V0.a ByVac 2006 ByVac Page 1 of 7 Contents 1. Introduction...3 2. Features...3 3. Physical Specification...3 4. Terminal Interface...3 5. s...4 6. The I2C Set...4 6.1.

More information

Model 5511 Filler Controller User s Manual Version 1.1 October 2011

Model 5511 Filler Controller User s Manual Version 1.1 October 2011 Thompson Scale Company WEIGHING SYSTEMS & PACKAGING MACHINERY CONTROLS 2758 Bingle Road Houston, Texas 77055 Phone: 713/932-9071 Fax: 713/932-9379 www.thompsonscale.com Model 5511 Filler Controller User

More information

Voice Recognition Module V2

Voice Recognition Module V2 Voice Recognition Module V2 Speak to control (Arduino Compatible) Introduction The module could recognize your voice. It receives configuration commands or responds through serial port interface. With

More information

SenseLink TM. End-Point Controller. Addendum

SenseLink TM. End-Point Controller. Addendum SenseLink TM End-Point Controller Addendum MKS Instruments, Inc. Control & Information Technology Products Group 3350 Scott Blvd Bldg 4 Santa Clara, CA 95054 Main: 408.235.7620 Fax: 408.235.7625 SenseLink

More information

Figure 1 - Connecting multiple controllers with a RS-485 network

Figure 1 - Connecting multiple controllers with a RS-485 network 8 Relays with 10 A, 250 VAC rated contacts 4 Optically isolated digital inputs up to 30 VDC Connections via pluggable screw terminals 3 Analog inputs, 0 to 5 V or 0 to 20 ma jumper selectable Power indicator

More information

ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL

ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL X1: DE-9 serial connector Used to connect computer (or other devices) using RS-232 standard. Needs a serial cable, with at least

More information

Radio sensor powered by a mini solar cell the EnOcean STM 110 now functions with even less light

Radio sensor powered by a mini solar cell the EnOcean STM 110 now functions with even less light Radio sensor powered by a mini solar cell the EnOcean STM 110 now functions with even less light In this issue, we would like to present the EnOcean radio sensor module STM 110 in more detail. The module

More information

Your Multimeter. The Arduino Uno 10/1/2012. Using Your Arduino, Breadboard and Multimeter. EAS 199A Fall 2012. Work in teams of two!

Your Multimeter. The Arduino Uno 10/1/2012. Using Your Arduino, Breadboard and Multimeter. EAS 199A Fall 2012. Work in teams of two! Using Your Arduino, Breadboard and Multimeter Work in teams of two! EAS 199A Fall 2012 pincer clips good for working with breadboard wiring (push these onto probes) Your Multimeter probes leads Turn knob

More information

FLYPORT Wi-Fi 802.11G

FLYPORT Wi-Fi 802.11G FLYPORT Wi-Fi 802.11G System on module 802.11g WIFI - Infrastructure mode - softap mode - Ad hoc mode Microchip PIC 24F 16 bit processor Microchip MRF24WG0MA/MB - Native WiFi 802.11g transceiver - PCB

More information

DKWF121 WF121-A 802.11 B/G/N MODULE EVALUATION BOARD

DKWF121 WF121-A 802.11 B/G/N MODULE EVALUATION BOARD DKWF121 WF121-A 802.11 B/G/N MODULE EVALUATION BOARD PRELIMINARY DATA SHEET Wednesday, 16 May 2012 Version 0.5 Copyright 2000-2012 Bluegiga Technologies All rights reserved. Bluegiga Technologies assumes

More information

A RF18 Remote control receiver MODULE

A RF18 Remote control receiver MODULE A RF18 Remote control receiver MODULE User Guide No part of this document may be reproduced or transmitted (in electronic or paper version, photocopy) without Adeunis RF consent. This document is subject

More information

SUDT AccessPort TM Advanced Terminal / Monitor / Debugger Version 1.37 User Manual

SUDT AccessPort TM Advanced Terminal / Monitor / Debugger Version 1.37 User Manual SUDT AccessPort TM Advanced Terminal / Monitor / Debugger Version 1.37 User Manual Version 1.0 - January 20, 2015 CHANGE HISTORY Version Date Description of Changes 1.0 January 20, 2015 Initial Publication

More information

Yun Shield User Manual VERSION: 1.0. Yun Shield User Manual 1 / 22. www.dragino.com

Yun Shield User Manual VERSION: 1.0. Yun Shield User Manual 1 / 22. www.dragino.com Yun Shield User Manual VERSION: 1.0 Version Description Date 0.1 Initiate 2014-Jun-21 1.0 Release 2014-Jul-08 Yun Shield User Manual 1 / 22 Index: 1 Introduction... 3 1.1 What is Yun Shield... 3 1.2 Specifications...

More information

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs AN033101-0412 Abstract This describes how to interface the Dallas 1-Wire bus with Zilog s Z8F1680 Series of MCUs as master devices. The Z8F0880,

More information

DATASHEET. ADAM Arduino Display Adaptor Module. Arduino Compatible Shield P/N: 4Display-Shield-FT843 For the 4D Systems 4DLCD-FT843 Display

DATASHEET. ADAM Arduino Display Adaptor Module. Arduino Compatible Shield P/N: 4Display-Shield-FT843 For the 4D Systems 4DLCD-FT843 Display DATASHEET ADAM Arduino Display Adaptor Module Arduino Compatible Shield P/N: 4Display-Shield-FT843 For the 4D Systems 4DLCD-FT843 Display Document Date: 8 th January 2014 Document Revision: 1.0 Uncontrolled

More information

IQ151 CONTROLLER DATA SHEET

IQ151 CONTROLLER DATA SHEET IQ151 CONTROLLER DATA SHEET The IQ151 is a controller in the Trend range with 64 inputs and 32 outputs. Full DDC (direct digital control) with PID control loops is provided. The output channels may be

More information

PCAN-MicroMod Universal I/O Module with CAN Interface. User Manual. Document version 2.1.0 (2014-01-16)

PCAN-MicroMod Universal I/O Module with CAN Interface. User Manual. Document version 2.1.0 (2014-01-16) PCAN-MicroMod Universal I/O Module with CAN Interface User Manual Document version 2.1.0 (2014-01-16) Products taken into account Product Name Part number Model PCAN-MicroMod IPEH-002080 with firmware

More information

USB-CPLD DEVELOPMENT SYSTEM FOR THE ARDUINO

USB-CPLD DEVELOPMENT SYSTEM FOR THE ARDUINO USB-CPLD DEVELOPMENT SYSTEM FOR THE ARDUINO The EPT USB-CPLD development system provides an innovative method of developing and debugging programmable logic code. It also provides a high speed data transfer

More information

Texas Instrument (TI) LaunchPad Evaluation Kit. A complete tutorial and guide for the TI LaunchPad with featured microcontroller MSP430F5529

Texas Instrument (TI) LaunchPad Evaluation Kit. A complete tutorial and guide for the TI LaunchPad with featured microcontroller MSP430F5529 Texas Instrument (TI) LaunchPad Evaluation Kit A complete tutorial and guide for the TI LaunchPad with featured microcontroller MSP430F5529 1 TI LaunchPad MSP-EXP430F5529LP 2 TI LaunchPad MSP-EXP430F5529LP

More information

Advanced Fingerprint Module for Arduino

Advanced Fingerprint Module for Arduino Advanced Fingerprint Module for Arduino System Overview FINGERPRINT background highlight optic fingerprint verification. It consists of optical fingerprint sensor, high performance DSP processor and Flash.

More information

USB-to-I2C Hardware User s Manual

USB-to-I2C Hardware User s Manual USB-to-I2C Hardware User s Manual http://www.i2ctools.com/ Information provided in this document is solely for use with the USB-to-I2C product from SB Solutions, Inc. SB Solutions, Inc. reserves the right

More information

1. SAFETY INFORMATION

1. SAFETY INFORMATION RS-232 Sound Level Meter 72-860A INSTRUCTION MANUAL www.tenma.com 1. SAFETY INFORMATION Read the following safety information carefully before attempting to operate or service the meter. Use the meter

More information

DISCONTINUED. AtlasScientific. as of 10/21/13. E.C. Circuit. Biology Technology. Features

DISCONTINUED. AtlasScientific. as of 10/21/13. E.C. Circuit. Biology Technology. Features DISCONTINUED as of 10/21/13 E.C. Circuit V 3.0 Features E.C. readings +/- 5µs/cm Full E.C. capability from 11µs/cm to 92,000µs/cm Temperature dependent or temperature independent readings Total dissolved

More information

Tutorial for MPLAB Starter Kit for PIC18F

Tutorial for MPLAB Starter Kit for PIC18F Tutorial for MPLAB Starter Kit for PIC18F 2006 Microchip Technology Incorporated. All Rights Reserved. WebSeminar Title Slide 1 Welcome to the tutorial for the MPLAB Starter Kit for PIC18F. My name is

More information

Single channel data transceiver module WIZ2-434

Single channel data transceiver module WIZ2-434 Single channel data transceiver module WIZ2-434 Available models: WIZ2-434-RS: data input by RS232 (±12V) logic, 9-15V supply WIZ2-434-RSB: same as above, but in a plastic shell. The WIZ2-434-x modules

More information

BIT COMMANDER. Serial RS232 / RS485 to Ethernet Converter

BIT COMMANDER. Serial RS232 / RS485 to Ethernet Converter BIT COMMANDER Serial RS232 / RS485 to Ethernet Converter (Part US2000A) Copyrights U.S. Converters 1 Contents Overview and Features... 3 Functions..5 TCP Server Mode... 5 Httpd Client Mode.5 TCP Auto mode....6

More information