GPIO with ATmega328 (Arduino board)

Size: px
Start display at page:

Download "GPIO with ATmega328 (Arduino board)"

Transcription

1 GPIO with ATmega328 (Arduino board) This is pin configuration for the ATmega328 in PDIP28 package, which is used in Arduino Uno. The I/O pins are organized to ports. Ports are named port B, port C, etc. Port contains 8 pins. The notation PC6 means pin 6 on port C, etc. The pins are numbered from 0, so each port contains pins 0 thru 7. Not all pins are available in all packages, so you may see some ports with less than 8 pins. The Arduino Uno board uses different names for the I/O pins - they are not organized into ports but simply numbered from 0 up. For example, digital pin 0, digital pin 1, etc. Here is the mapping of Arduino names to the ports and pins of the MCU (The picture shows ATmega168 used in earlier Arduinos, but the pins are the same on the ATmega328p used in new Arduinos). 1

2 How to work with the I/O pins Each port is controlled by 3 registers: PORTx DDRx PINx Where x is the name of the port. For example, for port B the registers will be named PORTB, DDRB, PINB. This is description of the PORTB registers from the ATmega328 datasheet. 2

3 PORTB Writing to bits in this register drives the respective pin to high or low state if the pin is configured as output. If the pin in configured as input, writing 1 enables internal pull up resistor, writing 0 disables the resistor. DDRB The bits in this register select the direction of the pins. Writing 1 sets the pin as output, writing 0 makes the pin input. PINB This register can be read to obtain the state of the inputs (if pin is configured as input). If we read logic one from the bit, it means there is the high voltage (e.g. 5 V) at the pin. Example 1 - Turn on the LED in Arduino Uno board. The LED is connected to digital pin 13, which is pin PB5. DDRB = 0x20; // set the bit 5 to 1 (set the PB5 pin as output) PORTB = 0x20; // set the bit 5 to 1 (drive the PB5 high > turn LED on) 3

4 Example 2 - Read state of button connected to digital pin 2 (PD2) // We do not need to set the pin as input; it is input by default. But to be on the safe side DDRD &= ~(0x04); PORTD = 0x04; // clear bit 2 in DDRD register > set PD2 as input // set bit 2 > enable pull up resistor on PD2 If ( (PIND & 0x04) == 0 ) // if the button is pressed, we read logic zero and the condition will be true ; // do something when button is pressed Note To make the program easier to read, instead of using the masks such as DDRB = 0x20; we can use: DDRB = (1 << DDB5); Or macro _BV (bit value): DDRB = _BV(5); Trying the programs in CodeBlocks IDE We can use Arduino project without any additional set-up; the register definitions are included thru some basic header file. Here is example program for Arduino project: #include <Arduino.h> /* This program demonstrates use of direct port access to blink the LED The on-board LED on Arduino digital pin 13 is in fact connected to pin PB5 of the ATmega328 MCU. */ void setup() // Set the pin PB5 as output (onboard LED on Arduino Uno). // Any of these lines will do the job //DDRB = 0x20; //DDRB = (1 << DDB5); 4

5 DDRB = _BV(5); void loop() // Set pin PB5 high (logic one) > turn LED on //PORTB = 0x20; //PORTB = (1 << PORTB5); PORTB = _BV(5); delay(1000); // wait for a second // Set pin PB5 low (logic zero) > turn LED off //PORTB &= ~(0x20); //PORTB &= ~(1 << PORTB5); PORTB &= ~(_BV(5)); delay(1000); // wait for a second Creating the program in plain C We can also write the program in standard C language without the Arduino libraries. Use the AVR project type in CodeBlocks. Select AVR as the project type In the wizard leave most of the settings at default values, but select the atmega328p MCU as shown below: 5

6 Here is the example program which blinks on-board LED #include <avr/io.h> // we need to create our own delay function void mydelay(void); int main(void) // Insert code // Set the pin PB5 as output (onboard LED on Arduino Uno). // Any of these lines will do the job //DDRB = 0x20; //DDRB = (1 << DDB5); DDRB = _BV(5); while(1) // Set pin PB5 high (logic once) > turn LED on //PORTB = 0x20; 6

7 //PORTB = (1 << PORTB5); PORTB = _BV(5); mydelay(); // wait a little // Set pin PB5 low (logic zero) > turn LED off //PORTB &= ~(0x20); //PORTB &= ~(1 << PORTB5); PORTB &= ~(_BV(5)); mydelay(); return 0; // wait a little void mydelay(void) unsigned int n = 0xFFFF; while (n > 0 ) n--; Copy the above code to your main.c file Build the project Load the project to Arduino board as follows: o In Tools menu select Arduino Builder o In Arduino builder window click the Load Sketch/HEX and select the.hex file for your project. This file is the output of the build process. It is located in \bin\debug folder in your project. For example, if your project is named test, the file will be located in \test\bin\debug\test.hex o Click the COMx button to load the program to board (same as when loading normal Arduino program) Now the program should be downloaded and run. Interesting experiment Try to compare the speed of the Arduino s digitalwrite functions when toggling output pin with the speed of direct register version. 7

8 Here is example code for measuring the time with Arduino functions. After measuring this, try to replace digitalwrite with writing to PORTB register. You can use any pin number, no need to actually toggle (and torture ) an LED! #include <Arduino.h> void setup() Serial.begin(9600); // initialize the digital pin as an output. // Pin 13 has an LED connected on most Arduino boards: pinmode(2, OUTPUT); void loop() int i; unsigned long start, stop; i = 500; start = micros(); while ( i-- > 0) digitalwrite(2, HIGH); digitalwrite(2, LOW); stop = micros(); // Print the number of microseconds it took to execute digitalwrite 1000-times Serial.print(stop - start); Serial.println(" us"); delay(5000); 8

Microcontroller Systems. ELET 3232 Topic 8: Slot Machine Example

Microcontroller Systems. ELET 3232 Topic 8: Slot Machine Example Microcontroller Systems ELET 3232 Topic 8: Slot Machine Example 1 Agenda We will work through a complete example Use CodeVision and AVR Studio Discuss a few creative instructions Discuss #define and #include

More information

AVR Butterfly Training. Atmel Norway, AVR Applications Group

AVR Butterfly Training. Atmel Norway, AVR Applications Group AVR Butterfly Training Atmel Norway, AVR Applications Group 1 Table of Contents INTRODUCTION...3 GETTING STARTED...4 REQUIRED SOFTWARE AND HARDWARE...4 SETTING UP THE HARDWARE...4 SETTING UP THE SOFTWARE...5

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

Start A New Project with Keil Microcontroller Development Kit Version 5 and Freescale FRDM-KL25Z

Start A New Project with Keil Microcontroller Development Kit Version 5 and Freescale FRDM-KL25Z Start A New Project with Keil Microcontroller Development Kit Version 5 and Freescale FRDM-KL25Z This tutorial is intended for starting a new project to develop software with Freescale FRDM-KL25Z board

More information

ET-BASE AVR ATmega64/128

ET-BASE AVR ATmega64/128 ET-BASE AVR ATmega64/128 ET-BASE AVR ATmega64/128 which is a Board Microcontroller AVR family from ATMEL uses MCU No.ATmega64 and ATmega128 64PIN. Board ET-BASE AVR ATmega64/128 uses MCU s resources on

More information

Application Note: Using the Motor Driver on the 3pi Robot and Orangutan Robot Controllers

Application Note: Using the Motor Driver on the 3pi Robot and Orangutan Robot Controllers Application Note: Using the Motor Driver on the 3pi Robot and Orangutan Robot 1. Introduction..................................................... 2 2. Motor Driver Truth Tables.............................................

More information

Adafruit MCP9808 Precision I2C Temperature Sensor Guide

Adafruit MCP9808 Precision I2C Temperature Sensor Guide Adafruit MCP9808 Precision I2C Temperature Sensor Guide Created by lady ada Last updated on 2014-04-22 03:01:18 PM EDT Guide Contents Guide Contents Overview Pinouts Power Pins I2C Data Pins Optional Pins

More information

Why using ATmega16? University of Wollongong Australia. 7.1 Overview of ATmega16. Overview of ATmega16

Why using ATmega16? University of Wollongong Australia. 7.1 Overview of ATmega16. Overview of ATmega16 s schedule Lecture 7 - C Programming for the Atmel AVR School of Electrical, l Computer and Telecommunications i Engineering i University of Wollongong Australia Week Lecture (2h) Tutorial (1h) Lab (2h)

More information

Working with microcontroller-generated audio frequencies (adapted from the Machine Science tutorial)

Working with microcontroller-generated audio frequencies (adapted from the Machine Science tutorial) Working with microcontroller-generated audio frequencies (adapted from the Machine Science tutorial) If we attach a speaker between a microcontroller output pin and ground, we can click the speaker in

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

STK500... User Guide

STK500... User Guide STK500... User Guide Table of Contents Section 1 Introduction... 1-1 1.1 Starter Kit Features...1-1 1.2 Device Support...1-2 Section 2 Getting Started... 2-1 2.1 Unpacking the System...2-1 2.2 System

More information

An Introduction to MPLAB Integrated Development Environment

An Introduction to MPLAB Integrated Development Environment An Introduction to MPLAB Integrated Development Environment 2004 Microchip Technology Incorporated An introduction to MPLAB Integrated Development Environment Slide 1 This seminar is an introduction to

More information

Arduino Lesson 1. Blink

Arduino Lesson 1. Blink Arduino Lesson 1. Blink Created by Simon Monk Last updated on 2015-01-15 09:45:38 PM EST Guide Contents Guide Contents Overview Parts Part Qty The 'L' LED Loading the 'Blink' Example Saving a Copy of 'Blink'

More information

Programming PIC Microcontrollers in PicBasic Pro Lesson 1 Cornerstone Electronics Technology and Robotics II

Programming PIC Microcontrollers in PicBasic Pro Lesson 1 Cornerstone Electronics Technology and Robotics II Programming PIC Microcontrollers in PicBasic Pro Lesson 1 Cornerstone Electronics Technology and Robotics II Administration: o Prayer PicBasic Pro Programs Used in This Lesson: o General PicBasic Pro Program

More information

AVR Timer/Counter. Prof Prabhat Ranjan DA-IICT, Gandhinagar

AVR Timer/Counter. Prof Prabhat Ranjan DA-IICT, Gandhinagar AVR Timer/Counter Prof Prabhat Ranjan DA-IICT, Gandhinagar 8-bit Timer/Counter0 with PWM Single Compare Unit Counter Clear Timer on Compare Match (Auto Reload) Glitch-free, Phase Correct Pulse Width Modulator

More information

WIZ-Embedded WebServer User s Manual (Ver. 1.0)

WIZ-Embedded WebServer User s Manual (Ver. 1.0) [텍스트 입력] WIZ-Embedded WebServer User s Manual (Ver. 1.0) 2007 WIZnet Inc. All Rights Reserved. For more information, visit our website at www.wiznet.co.kr Document History Information Revision Data Description

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

SharePoint Wiki Redirect Installation Instruction

SharePoint Wiki Redirect Installation Instruction SharePoint Wiki Redirect Installation Instruction System Requirements: Microsoft Windows SharePoint Services v3 or Microsoft Office SharePoint Server 2007. License management: To upgrade from a trial license,

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

Intro to Intel Galileo - IoT Apps GERARDO CARMONA

Intro to Intel Galileo - IoT Apps GERARDO CARMONA Intro to Intel Galileo - IoT Apps GERARDO CARMONA IRVING LLAMAS Welcome! Campus Party Guadalajara 2015 Introduction In this course we will focus on how to get started with the Intel Galileo Gen 2 development

More information

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc. SKP16C62P Tutorial 1 Software Development Process using HEW Renesas Technology America Inc. 1 Overview The following tutorial is a brief introduction on how to develop and debug programs using HEW (Highperformance

More information

Introducing AVR Dragon

Introducing AVR Dragon Introducing AVR Dragon ' Front Side Back Side With the AVR Dragon, Atmel has set a new standard for low cost development tools. AVR Dragon supports all programming modes for the Atmel AVR device family.

More information

TRILOGI 5.3 PLC Ladder Diagram Programmer and Simulator. A tutorial prepared for IE 575 by Dr. T.C. Chang. Use On-Line Help

TRILOGI 5.3 PLC Ladder Diagram Programmer and Simulator. A tutorial prepared for IE 575 by Dr. T.C. Chang. Use On-Line Help TRILOGI 5.3 PLC Ladder Diagram Programmer and Simulator A tutorial prepared for IE 575 by Dr. T.C. Chang 1 Use On-Line Help Use on-line help for program editing and TBasic function definitions. 2 Open

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

MSP-EXP430G2 LaunchPad Workshop

MSP-EXP430G2 LaunchPad Workshop MSP-EXP430G2 LaunchPad Workshop Meet the LaunchPad Lab 1 : Blink LaunchPad LEDs By Adrian Fernandez Meet the LaunchPad MSP430 MCU Value Line LaunchPad only $4.30 A look inside the box Complete LaunchPad

More information

The FlexiSchools Online Order Management System Installation Guide

The FlexiSchools Online Order Management System Installation Guide The FlexiSchools Online Order Management System Installation Guide Installation Pack Welcome to the FlexiSchools system. You will have received a disc containing: Zebra Drivers FlexiSchools Online Order

More information

cs281: Introduction to Computer Systems Lab08 Interrupt Handling and Stepper Motor Controller

cs281: Introduction to Computer Systems Lab08 Interrupt Handling and Stepper Motor Controller cs281: Introduction to Computer Systems Lab08 Interrupt Handling and Stepper Motor Controller Overview The objective of this lab is to introduce ourselves to the Arduino interrupt capabilities and to use

More information

Microcontroller Code Example Explanation and Words of Wisdom For Senior Design

Microcontroller Code Example Explanation and Words of Wisdom For Senior Design Microcontroller Code Example Explanation and Words of Wisdom For Senior Design For use with the following equipment: PIC16F877 QikStart Development Board ICD2 Debugger MPLAB Environment examplemain.c 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

Adafruit SHT31-D Temperature & Humidity Sensor Breakout

Adafruit SHT31-D Temperature & Humidity Sensor Breakout Adafruit SHT31-D Temperature & Humidity Sensor Breakout Created by lady ada Last updated on 2016-06-23 10:13:40 PM EDT Guide Contents Guide Contents Overview Pinouts Power Pins: I2C Logic pins: Other Pins:

More information

How To Program A Microcontroller Board (Eb064) With A Psp Microcontroller (B064-74) With An Ios 2.5V (Power) And A Ppt (Power Control) (Power Supply) (

How To Program A Microcontroller Board (Eb064) With A Psp Microcontroller (B064-74) With An Ios 2.5V (Power) And A Ppt (Power Control) (Power Supply) ( dspic / PIC24 Multiprogrammer datasheet EB064-00 00-1 Contents 1. About this document... 2 2. General information... 3 3. Board layout... 4 4. Testing this product... 5 5. Circuit description... 6 Appendix

More information

UM0834 User manual. Developing and debugging your STM8S-DISCOVERY application code. Introduction. Reference documents

UM0834 User manual. Developing and debugging your STM8S-DISCOVERY application code. Introduction. Reference documents User manual Developing and debugging your STM8S-DISCOVERY application code Introduction This document complements the information in the STM8S datasheets by describing the software environment and development

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

WebIOPi. Installation Walk-through Macros

WebIOPi. Installation Walk-through Macros WebIOPi Installation Walk-through Macros Installation Install WebIOPi on your Raspberry Pi Download the tar archive file: wget www.cs.unca.edu/~bruce/fall14/webiopi-0.7.0.tar.gz Uncompress: tar xvfz WebIOPi-0.7.0.tar.gz

More information

How to use AVR Studio for Assembler Programming

How to use AVR Studio for Assembler Programming How to use AVR Studio for Assembler Programming Creating your first assembler AVR project Run the AVRStudio program by selecting Start\Programs\Atmel AVR Tools\AVR Studio. You should see a screen like

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

How to use the VMware Workstation / Player to create an ISaGRAF (Ver. 3.55) development environment?

How to use the VMware Workstation / Player to create an ISaGRAF (Ver. 3.55) development environment? Author Janice Hong Version 1.0.0 Date Mar. 2014 Page 1/56 How to use the VMware Workstation / Player to create an ISaGRAF (Ver. 3.55) development environment? Application Note The 32-bit operating system

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

Controlling a Dot Matrix LED Display with a Microcontroller

Controlling a Dot Matrix LED Display with a Microcontroller Controlling a Dot Matrix LED Display with a Microcontroller By Matt Stabile and programming will be explained in general terms as well to allow for adaptation to any comparable microcontroller or LED matrix.

More information

Clock Link Installation Guide. Detailed brief on installing Clock Link

Clock Link Installation Guide. Detailed brief on installing Clock Link Clock Link Installation Guide Detailed brief on installing Clock Link 1 Table of Contents 1. Overview... 3 2. Configuring the Time Clock... 3 Instructions:... 3 2.1 IP Address Setup... 3 2.2 Subnet Mask

More information

1 of 5 12/31/2009 11:51 AM

1 of 5 12/31/2009 11:51 AM of 5 2/3/29 :5 AM 29 May 29 L298 Hbridge meets Arduino mega Filed under Sketch I ve recently purchased a L298 Hbridge to help me help arduino help a remote controlled car think by itself and move. Does

More information

Arduino Microcontroller Guide W. Durfee, University of Minnesota ver. oct-2011 Available on-line at www.me.umn.edu/courses/me2011/arduino/

Arduino Microcontroller Guide W. Durfee, University of Minnesota ver. oct-2011 Available on-line at www.me.umn.edu/courses/me2011/arduino/ Arduino Microcontroller Guide W. Durfee, University of Minnesota ver. oct-2011 Available on-line at www.me.umn.edu/courses/me2011/arduino/ 1 Introduction 1.1 Overview The Arduino microcontroller is an

More information

Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester

Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester Leonardo Journal of Sciences ISSN 1583-0233 Issue 20, January-June 2012 p. 31-36 Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester Ganesh Sunil NHIVEKAR *, and Ravidra Ramchandra MUDHOLKAR

More information

Arbeitskreis Hardware. Prof. Dr. Michael Rohs, Dipl.-Inform. Sven Kratz michael.rohs@ifi.lmu.de MHCI Lab, LMU München

Arbeitskreis Hardware. Prof. Dr. Michael Rohs, Dipl.-Inform. Sven Kratz michael.rohs@ifi.lmu.de MHCI Lab, LMU München Arbeitskreis Hardware Prof. Dr. Michael Rohs, Dipl.-Inform. Sven Kratz michael.rohs@ifi.lmu.de MHCI Lab, LMU München Arbeitskreis Hardware 2 Organization Objective: Learn about embedded interactive systems

More information

Sending an SMS with Temboo

Sending an SMS with Temboo Sending an SMS with Temboo Created by Vaughn Shinall Last updated on 2015-01-21 01:15:14 PM EST Guide Contents Guide Contents Overview Get Set Up Generate Your Sketch Upload and Run Push to Send Wiring

More information

Workshop Intel Galileo Board

Workshop Intel Galileo Board Workshop Intel Galileo Board Introduction and Basics of Intel Galileo Board Walter Netto November 03th, 2014 Agenda Intel Galileo Board Overview Physical Characteristics Communication Processor Features

More information

Getting Started Guide: Transaction Download for QuickBooks 2009-2011 Windows. Information You ll Need to Get Started

Getting Started Guide: Transaction Download for QuickBooks 2009-2011 Windows. Information You ll Need to Get Started Getting Started Guide: Transaction Download for QuickBooks 2009-2011 Windows Refer to the Getting Started Guide for instructions on using QuickBooks online account services; to save time, improve accuracy,

More information

How to share media files through Windows Media Player 11

How to share media files through Windows Media Player 11 How to share media files through Windows Media Player 11 With Windows Media Player 11 (WMP 11), you can setup an UPnP AV server to offer your media files to an UPnP AV client, such as the Conceptronic

More information

DS1307 Real Time Clock Breakout Board Kit

DS1307 Real Time Clock Breakout Board Kit DS1307 Real Time Clock Breakout Board Kit Created by Tyler Cooper Last updated on 2015-10-15 11:00:14 AM EDT Guide Contents Guide Contents Overview What is an RTC? Parts List Assembly Arduino Library Wiring

More information

Switch board datasheet EB007-00-1

Switch board datasheet EB007-00-1 Switch board datasheet EB007-00-1 Contents 1. About this document... 2 2. General information... 3 3. Board layout... 4 4. Testing this product... 5 5. Circuit description... 6 Appendix 1 Circuit diagram

More information

Guide for Remote Control PDA

Guide for Remote Control PDA 030.0051.01.0 Guide for Remote Control PDA For Use with Bluetooth and a PC Running Windows 7 Table of Contents A. Required Parts... 3 B. PC Software Installation... 3 C. Configure PC Software... 4 D. Testing

More information

USER GUIDE EDBG. Description

USER GUIDE EDBG. Description USER GUIDE EDBG Description The Atmel Embedded Debugger (EDBG) is an onboard debugger for integration into development kits with Atmel MCUs. In addition to programming and debugging support through Atmel

More information

FTP-628WSL-110 Bluetooth Configuration Guide

FTP-628WSL-110 Bluetooth Configuration Guide FTP-628WSL-110 Bluetooth Configuration Guide Configuring the Bluetooth Interface with MS Windows XP Background: The Bluetooth Interface is typically easy to configure, as is the FTP-628 Driver. The mechanics

More information

Tutorial: Configuring GOOSE in MiCOM S1 Studio 1. Requirements

Tutorial: Configuring GOOSE in MiCOM S1 Studio 1. Requirements Tutorial: Configuring GOOSE in MiCOM S1 Studio 1. Requirements - Two (2) MiCOM Px4x IEDs with Version 2 implementation of IEC 61850 - Two (2) Cat 5E Ethernet cable - An Ethernet switch 10/100 Mbps - MiCOM

More information

Lab 1 Course Guideline and Review

Lab 1 Course Guideline and Review Lab 1 Course Guideline and Review Overview Welcome to ECE 3567 Introduction to Microcontroller Lab. In this lab we are going to experimentally explore various useful peripherals of a modern microcontroller

More information

E-Map Application CHAPTER. The E-Map Editor

E-Map Application CHAPTER. The E-Map Editor CHAPTER 7 E-Map Application E-Map displays the monitoring area on an electronic map, by which the operator can easily locate the cameras, sensors and alarms triggered by motion or I/O devices. Topics discussed

More information

MeshBee Open Source ZigBee RF Module CookBook

MeshBee Open Source ZigBee RF Module CookBook MeshBee Open Source ZigBee RF Module CookBook 2014 Seeed Technology Inc. www.seeedstudio.com 1 Doc Version Date Author Remark v0.1 2014/05/07 Created 2 Table of contents Table of contents Chapter 1: Getting

More information

Application Note: AN00141 xcore-xa - Application Development

Application Note: AN00141 xcore-xa - Application Development Application Note: AN00141 xcore-xa - Application Development This application note shows how to create a simple example which targets the XMOS xcore-xa device and demonstrates how to build and run this

More information

20 Saving Device Data Backup

20 Saving Device Data Backup 20 Saving Device Data Backup 20.1 Try to Save Device Data Backup...20-2 20.2 Setting Guide...20-6 20-1 Try to Save Device Data Backup 20.1 Try to Save Device Data Backup The device data in Device/PLC can

More information

ZX-NUNCHUK (#8000339)

ZX-NUNCHUK (#8000339) ZX-NUNCHUK documentation 1 ZX-NUNCHUK (#8000339) Wii-Nunchuk interface board 1. Features l Interface with Wii Nunchuk remote control directly. Modification the remote control is not required. l Two-wire

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

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual Copyright 2007 SofTec Microsystems DC01197 We want your feedback! SofTec Microsystems is always on

More information

mdm-mp3 minidirector with MP3 Player

mdm-mp3 minidirector with MP3 Player minidirector with MP3 Player User Manual December 15, 2014 V1.02 Copyright Light O Rama, Inc. 2007, 2008 Table of Contents Introduction... 4 What s in the Box... 4 Hardware Utility Version... 5 Important

More information

Using Arduino Microcontrollers to Sense DC Motor Speed and Position

Using Arduino Microcontrollers to Sense DC Motor Speed and Position ECE480 Design Team 3 Using Arduino Microcontrollers to Sense DC Motor Speed and Position Tom Manner April 4, 2011 page 1 of 7 Table of Contents 1. Introduction ----------------------------------------------------------

More information

Programing the Microprocessor in C Microprocessor System Design and Interfacing ECE 362

Programing the Microprocessor in C Microprocessor System Design and Interfacing ECE 362 PURDUE UNIVERSITY Programing the Microprocessor in C Microprocessor System Design and Interfacing ECE 362 Course Staff 1/31/2012 1 Introduction This tutorial is made to help the student use C language

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

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

APPLICATION NOTE. Atmel AT01095: Joystick Game Controller Reference Design. 8-/16-bit Atmel Microcontrollers. Features.

APPLICATION NOTE. Atmel AT01095: Joystick Game Controller Reference Design. 8-/16-bit Atmel Microcontrollers. Features. APPLICATION NOTE Features Atmel AT01095: Joystick Game Controller Reference Design 8-/16-bit Atmel Microcontrollers Joystick Game Controller Atmel ATxmega32A4U microcontroller In System Programming (ISP)

More information

Assignment 09. Problem statement : Write a Embedded C program to switch-on/switch-off LED.

Assignment 09. Problem statement : Write a Embedded C program to switch-on/switch-off LED. Assignment 09 Problem statement : Write a Embedded C program to switch-on/switch-off LED. Learning Objective: -> To study embedded programming concepts -> To study LCD control functions -> How output is

More information

CenterLight Remittance Reader Installation Guide(64 bit) CenterLight Remittance Reader Installation Guide (64 bit) Page 1 of 15

CenterLight Remittance Reader Installation Guide(64 bit) CenterLight Remittance Reader Installation Guide (64 bit) Page 1 of 15 CenterLight Remittance Reader Installation Guide(64 bit) CenterLight Remittance Reader Installation Guide (64 bit) Page 1 of 15 Table of Contents 1. Installing CenterLight Remittance Reader... 3 2. Opening

More information

Software Licensing Management North Carolina State University software.ncsu.edu

Software Licensing Management North Carolina State University software.ncsu.edu When Installing Erdas Imagine: A.) Install the Intergraph License Administration Tool because this provides you with the license for the product so that it can actually run on your machine B.) Secondly,

More information

Arduino Lesson 16. Stepper Motors

Arduino Lesson 16. Stepper Motors Arduino Lesson 16. Stepper Motors Created by Simon Monk Last updated on 2013-11-22 07:45:14 AM EST Guide Contents Guide Contents Overview Parts Part Qty Breadboard Layout Arduino Code Stepper Motors Other

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

Using TS-ACCESS for Remote Desktop Access

Using TS-ACCESS for Remote Desktop Access Using TS-ACCESS for Remote Desktop Access Introduction TS-ACCESS is a remote desktop access feature available to CUA faculty and staff who need to access administrative systems or other computing resources

More information

Appendix F: Instructions for Downloading Microsoft Access Runtime

Appendix F: Instructions for Downloading Microsoft Access Runtime Appendix F: Instructions for Downloading Microsoft Access Runtime The Consumer Products Reporting Tool is designed to work with Microsoft Access 2010 or later. For the best compatibility, please refer

More information

AN3265 Application note

AN3265 Application note Application note Handling hardware and software failures with the STM8S-DISCOVERY Application overview This application is based on the STM8S-DISCOVERY. It demonstrates how to use the STM8S window watchdog

More information

BIODEX. ATOMLAB 500/WIPE TEST COUNTER DATA MANAGER SOFTWARE Version 1.10 (and higher). OPERATION MANUAL 086-333

BIODEX. ATOMLAB 500/WIPE TEST COUNTER DATA MANAGER SOFTWARE Version 1.10 (and higher). OPERATION MANUAL 086-333 ATOMLAB 500/WIPE TEST COUNTER DATA MANAGER SOFTWARE Version 1.10 (and higher). OPERATION MANUAL 086-333 BIODEX Biodex Medical Systems, Inc. 20 Ramsey Road, Shirley, New York, 11967-4704, Tel: 800-224-6339

More information

Arduino Lesson 14. Servo Motors

Arduino Lesson 14. Servo Motors Arduino Lesson 14. Servo Motors Created by Simon Monk Last updated on 2013-06-11 08:16:06 PM EDT Guide Contents Guide Contents Overview Parts Part Qty The Breadboard Layout for 'Sweep' If the Servo Misbehaves

More information

BodyMedia SenseWear Retrieve (V1)

BodyMedia SenseWear Retrieve (V1) BodyMedia SenseWear Retrieve (V1) Introduction Overview System Requirement Retrieve Installation Set Up 1 Introduction Overview SenseWear Retrieve is used to retrieve Armband data and send it to a central

More information

How To Control A Car With A Thermostat

How To Control A Car With A Thermostat :» : :.:35152, 2013 2 5 1: 6 1.1 6 1.2 7 1.3 7 1.4 7 1.5 8 1.6 8 1.7 10 1.8 11 1.9 11 2: 14 2.1 14 2.2 14 2.2.1 14 2.2.2 16 2.2.3 19 2.2.4 20 2.2.5 21 2.2.6 Reed Relay 23 2.2.7 LCD 2x16 5VDC 23 2.2.8 RGB

More information

Capture Pro Software FTP Server System Output

Capture Pro Software FTP Server System Output Capture Pro Software FTP Server System Output Overview The Capture Pro Software FTP server will transfer batches and index data (that have been scanned and output to the local PC) to an FTP location accessible

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

Computer Organization and Components

Computer Organization and Components Computer Organization and Components IS1500, fall 2015 Lecture 5: I/O Systems, part I Associate Professor, KTH Royal Institute of Technology Assistant Research Engineer, University of California, Berkeley

More information

http://www.abacom-online.de/div/setup_usb_µpio.exe

http://www.abacom-online.de/div/setup_usb_µpio.exe USB-µPIO USB AVR board Compact AVR board with Atmel ATmega168-20 High speed clock frequency 18.432000 MHz 100% error free High baud rates Screw-terminal and pin connections 6 pin ISP connector Power supply

More information

PWM IN AVR. Developed by: Krishna Nand Gupta Prashant Agrawal Mayur Agarwal

PWM IN AVR. Developed by: Krishna Nand Gupta Prashant Agrawal Mayur Agarwal PWM IN AVR Developed by: Krishna Nand Gupta Prashant Agrawal Mayur Agarwal PWM (pulse width Modulation) What is PWM? Frequency = (1/T) Duty Cycle = (Thigh/T) What is need of PWM? I answer this in respect

More information

isppac-powr1220at8 I 2 C Hardware Verification Utility User s Guide

isppac-powr1220at8 I 2 C Hardware Verification Utility User s Guide November 2005 Introduction Application Note AN6067 The isppac -POWR1220AT8 device from Lattice is a full-featured second-generation Power Manager chip. As part of its feature set, this device supports

More information

Installing Office 365 Pro Plus (Office 2013 Suite) from the SSCC Office 365 Student Email (MyMail) Portal

Installing Office 365 Pro Plus (Office 2013 Suite) from the SSCC Office 365 Student Email (MyMail) Portal Installing Office 365 Pro Plus (Office 2013 Suite) from the SSCC Office 365 Student Email (MyMail) Portal SSCC students are now eligible to receive a free copy of Microsoft Office 365 Pro Plus (Office

More information

AVR030: Getting Started with IAR Embedded Workbench for Atmel AVR. 8-bit Microcontrollers. Application Note. Features.

AVR030: Getting Started with IAR Embedded Workbench for Atmel AVR. 8-bit Microcontrollers. Application Note. Features. AVR030: Getting Started with IAR Embedded Workbench for Atmel AVR Features How to open a new workspace and project in IAR Embedded Workbench Description and option settings for compiling the c-code Setting

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

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

ScanWin Installation and Windows 7-64 bit operating system

ScanWin Installation and Windows 7-64 bit operating system ScanWin Installation and Windows 7-64 bit operating system In order to run the ScanWin Pro install and program on Windows 7 64 bit operating system you need to install a Virtual PC and then install a valid,

More information

Using the TASKING Software Platform for AURIX

Using the TASKING Software Platform for AURIX Using the TASKING Software Platform for AURIX MA160-869 (v1.0rb3) June 19, 2015 Copyright 2015 Altium BV. All rights reserved. You are permitted to print this document provided that (1) the use of such

More information

USB HSPA Modem. User Manual

USB HSPA Modem. User Manual USB HSPA Modem User Manual Congratulations on your purchase of this USB HSPA Modem. The readme file helps you surf the Internet, send and receive SMS, manage contacts and use many other functions with

More information

SSL Enforcer Documentation

SSL Enforcer Documentation SSL Enforcer Documentation Introduction Install and Uninstall Getting Started Main Settings Options Log Introduction Today a vast majority of Internet activities like social networking, streaming videos,

More information

PL2303HXA/XA Windows 8 Update Driver Installation. How to Update Driver to Support PL2303HXA/XA in Windows 8 Operating Systems

PL2303HXA/XA Windows 8 Update Driver Installation. How to Update Driver to Support PL2303HXA/XA in Windows 8 Operating Systems How to Update Driver to Support PL2303HXA/XA in Windows 8 Operating Systems Requirements USB Device with embedded PL2303HX (Rev A) or PL2303X (Rev A) chip version Driver Installer & Build date: 1.5.0 (10/21/2011)

More information

Freescale Semiconductor, I

Freescale Semiconductor, I nc. Application Note 6/2002 8-Bit Software Development Kit By Jiri Ryba Introduction 8-Bit SDK Overview This application note describes the features and advantages of the 8-bit SDK (software development

More information

Configuring the Switch with the CLI Setup Program

Configuring the Switch with the CLI Setup Program APPENDIXC Configuring the Switch with the CLI Setup Program This appendix provides a command-line interface (CLI) setup procedure for a standalone switch. To set up the switch by using Express Setup, see

More information

PC Base Adapter Daughter Card UART GPIO. Figure 1. ToolStick Development Platform Block Diagram

PC Base Adapter Daughter Card UART GPIO. Figure 1. ToolStick Development Platform Block Diagram TOOLSTICK VIRTUAL TOOLS USER S GUIDE RELEVANT DEVICES 1. Introduction The ToolStick development platform consists of a ToolStick Base Adapter and a ToolStick Daughter card. The ToolStick Virtual Tools

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

8-bit Microcontroller. Application Note. AVR286: LIN Firmware Base for LIN/UART Controller. LIN Features. 1. Atmel LIN/UART Controller

8-bit Microcontroller. Application Note. AVR286: LIN Firmware Base for LIN/UART Controller. LIN Features. 1. Atmel LIN/UART Controller AVR286: LIN Firmware Base for LIN/UART Controller LIN Features The LIN (Local Interconnect Network) is a serial communications protocol which efficiently supports the control of mechatronics nodes in distributed

More information