Table of Contents. Chapter 1 Getting Started. Introduction. Installing the Integrated Development Environment (IDE) Setting Up the Arduino Board

Size: px
Start display at page:

Download "Table of Contents. Chapter 1 Getting Started. Introduction. Installing the Integrated Development Environment (IDE) Setting Up the Arduino Board"

Transcription

1 Table of Contents Chapter 1 Getting Started Installing the Integrated Development Environment (IDE) Setting Up the Arduino Board Using the Integrated Development Environment (IDE) to Prepare an Arduino Sketch Uploading and Running the Blink Sketch Creating and Saving a Sketch Using Arduino Chapter 2 Making the Sketch Do Your Bidding Structuring an Arduino Program Using Simple Primitive Types (Variables) Using Floating-Point Numbers Working with Groups of Values Using Arduino String Functionality Using C Character Strings Splitting Comma-Separated Text into Groups Converting a Number to a String Converting a String to a Number Structuring Your Code into Functional Blocks Returning More Than One Value from a Function Taking Actions Based on Conditions Repeating a Sequence of Statements Repeating Statements with a Counter

2 Breaking Out of Loops Taking a Variety of Actions Based on a Single Variable Comparing Character and Numeric Values Comparing Strings Performing Logical Comparisons Performing Bitwise Operations Combining Operations and Assignment Chapter 3 Using Mathematical Operators Adding, Subtracting, Multiplying, and Dividing Incrementing and Decrementing Values Finding the Remainder After Dividing Two Values Determining the Absolute Value Constraining a Number to a Range of Values Finding the Minimum or Maximum of Some Values Raising a Number to a Power Taking the Square Root Rounding Floating-Point Numbers Up and Down Using Trigonometric Functions Generating Random Numbers Setting and Reading Bits Shifting Bits Extracting High and Low Bytes in an int or long Forming an int or long from High and Low Bytes

3 Chapter 4 Serial Communications Sending Debug Information from Arduino to Your Computer Sending Formatted Text and Numeric Data from Arduino Receiving Serial Data in Arduino Sending Multiple Text Fields from Arduino in a Single Message Receiving Multiple Text Fields in a Single Message in Arduino Sending Binary Data from Arduino Receiving Binary Data from Arduino on a Computer Sending Binary Values from Processing to Arduino Sending the Value of Multiple Arduino Pins How to Move the Mouse Cursor on a PC or Mac Controlling Google Earth Using Arduino Logging Arduino Data to a File on Your Computer Sending Data to Two Serial Devices at the Same Time Receiving Serial Data from Two Devices at the Same Time Setting Up Processing on Your Computer to Send and Receive Serial Data Chapter 5 Simple Digital and Analog Input Using a Switch Using a Switch Without External Resistors Reliably Detecting the Closing of a Switch Determining How Long a Switch Is Pressed Reading a Keypad Reading Analog Values

4 Changing the Range of Values Reading More Than Six Analog Inputs Displaying Voltages Up to 5V Responding to Changes in Voltage Measuring Voltages More Than 5V (Voltage Dividers) Chapter 6 Getting Input from Sensors Detecting Movement Detecting Light Detecting Motion (Integrating Passive Infrared Detectors) Measuring Distance Measuring Distance Accurately Detecting Vibration Detecting Sound Measuring Temperature Reading RFID Tags Tracking Rotary Movement Tracking the Movement of More Than One Rotary Encoder Tracking Rotary Movement in a Busy Sketch Using a Mouse Getting Location from a GPS Detecting Rotation Using a Gyroscope Detecting Direction Getting Input from a Game Control Pad (PlayStation) Reading Acceleration

5 Chapter 7 Visual Output Connecting and Using LEDs Adjusting the Brightness of an LED Driving High-Power LEDs Adjusting the Color of an LED Sequencing Multiple LEDs: Creating a Bar Graph Sequencing Multiple LEDs: Making a Chase Sequence (Knight Rider) Controlling an LED Matrix Using Multiplexing Displaying Images on an LED Matrix Controlling a Matrix of LEDs: Charlieplexing Driving a 7-Segment LED Display Driving Multidigit, 7-Segment LED Displays: Multiplexing Driving Multidigit, 7-Segment LED Displays Using MAX7221 Shift Registers Controlling an Array of LEDs by Using MAX72xx Shift Registers Increasing the Number of Analog Outputs Using PWM Extender Chips (TLC5940) Using an Analog Panel Meter as a Display Chapter 8 Physical Output Controlling the Position of a Servo Controlling One or Two Servos with a Potentiometer or Sensor Controlling the Speed of Continuous Rotation Servos Controlling Servos Using Computer Commands Driving a Brushless Motor (Using a Hobby Speed Controller) Controlling Solenoids and Relays

6 Making an Object Vibrate Driving a Brushed Motor Using a Transistor Controlling the Direction of a Brushed Motor with an H-Bridge Controlling the Direction and Speed of a Brushed Motor with an H-Bridge Using Sensors to Control the Direction and Speed of Brushed Motors (L293 H-Bridge) Driving a Bipolar Stepper Motor Driving a Bipolar Stepper Motor (Using the EasyDriver Board) Driving a Unipolar Stepper Motor (ULN2003A) Chapter 9 Audio Output Playing Tones Playing a Simple Melody Generating More Than One Simultaneous Tone Generating Audio Tones and Fading an LED Playing a WAV File Controlling MIDI Making an Audio Synthesizer Chapter 10 Remotely Controlling External Devices Responding to an Infrared Remote Control Decoding Infrared Remote Control Signals Imitating Remote Control Signals Controlling a Digital Camera Controlling AC Devices by Hacking a Remote-Controlled Switch

7 Chapter 11 Using Displays Connecting and Using a Text LCD Display Formatting Text Turning the Cursor and Display On or Off Scrolling Text Displaying Special Symbols Creating Custom Characters Displaying Symbols Larger Than a Single Character Displaying Pixels Smaller Than a Single Character Connecting and Using a Graphical LCD Display Creating Bitmaps for Use with a Graphical Display Displaying Text on a TV Chapter 12 Using Time and Dates Creating Delays Using millis to Determine Duration More Precisely Measuring the Duration of a Pulse Using Arduino as a Clock Creating an Alarm to Periodically Call a Function Using a Real-Time Clock Chapter 13 Communicating Using I2C and SPI Controlling an RGB LED Using the BlinkM Module Using the Wii Nunchuck Accelerometer

8 Interfacing to an External Real-Time Clock Adding External EEPROM Memory Reading Temperature with a Digital Thermometer Driving Four 7-Segment LEDs Using Only Two Wires Integrating an I2C Port Expander Driving Multidigit, 7-Segment Displays Using SPI Communicating Between Two or More Arduino Boards Chapter 14 Wireless Communication Sending Messages Using Low-Cost Wireless Modules Connecting Arduino to a ZigBee or Network Sending a Message to a Particular XBee Sending Sensor Data Between XBees Activating an Actuator Connected to an XBee Sending Messages Using Low-Cost Transceivers Communicating with Bluetooth Devices Chapter 15 Ethernet and Networking Setting Up the Ethernet Shield Obtaining Your IP Address Automatically Resolving Hostnames to IP Addresses (DNS) Requesting Data from a Web Server Requesting Data from a Web Server Using XML Setting Up an Arduino to Be a Web Server Handling Incoming Web Requests

9 Handling Incoming Requests for Specific Pages Using HTML to Format Web Server Responses Serving Web Pages Using Forms (POST) Serving Web Pages Containing Large Amounts of Data Sending Twitter Messages Sending and Receiving Simple Messages (UDP) Getting the Time from an Internet Time Server Monitoring Pachube Feeds Sending Information to Pachube Chapter 16 Using, Modifying, and Creating Libraries Using the Built-in Libraries Installing Third-Party Libraries Modifying a Library Creating Your Own Library Creating a Library That Uses Other Libraries Updating Third-Party Libraries for Arduino 1.0 Chapter 17 Advanced Coding and Memory Handling Understanding the Arduino Build Process Determining the Amount of Free and Used RAM Storing and Retrieving Numeric Values in Program Memory Storing and Retrieving Strings in Program Memory Using #define and const Instead of Integers Using Conditional Compilations

10 Chapter 18 Using the Controller Chip Hardware Storing Data in Permanent EEPROM Memory Using Hardware Interrupts Setting Timer Duration Setting Timer Pulse Width and Duration Creating a Pulse Generator Changing a Timer s PWM Frequency Counting Pulses Measuring Pulses More Accurately Measuring Analog Values Quickly Reducing Battery Drain Setting Digital Pins Quickly Uploading Sketches Using a Programmer Replacing the Arduino Bootloader Reprogram the Uno to Emulate a Native USB device Appendix Electronic Components Capacitor Diode Integrated Circuit Keypad LED Motor (DC) Optocoupler Photocell (Photoresistor)

11 Piezo Pot (Potentiometer) Relay Resistor Solenoid Speaker Stepper Motor Switch Transistor See Also Appendix: Using Schematic Diagrams and Data Sheets How to Read a Data Sheet Choosing and Using Transistors for Switching Appendix: Building and Connecting the Circuit Using a Breadboard Connecting and Using External Power Supplies and Batteries Using Capacitors for Decoupling Using Snubber Diodes with Inductive Loads Working with AC Line Voltages Appendix: Tips on Troubleshooting Software Problems Code That Won t Compile Code That Compiles but Does Not Work as Expected Appendix: Tips on Troubleshooting Hardware Problems Still Stuck?

12 Appendix: Digital and Analog Pins Appendix: ASCII and Extended Character Sets Appendix: Migrating to Arduino 1.0 Migrating Print Statements Migrating Wire (I2C) Statements Migrating Ethernet Statements Migrating Libraries New Stream Parsing Functions Colophon

ELECTRONICS SYLLABUS ELECTROGRAMMING

ELECTRONICS SYLLABUS ELECTROGRAMMING ELECTROGRAMMING About Arduino Arduino is an open-source hardware project that allows people to quickly learn about electronics and sensors. As part of this Project Next Generation Program, tweens and teens

More information

Exploring Arduino. Tools and Techniques for Engineering Wizardry

Exploring Arduino. Tools and Techniques for Engineering Wizardry Brochure More information from http://www.researchandmarkets.com/reports/2330956/ Exploring Arduino. Tools and Techniques for Engineering Wizardry Description: Jeremy s easy to understand style and depth

More information

Arduino. Extracted from: A Quick-Start Guide. The Pragmatic Bookshelf

Arduino. Extracted from: A Quick-Start Guide. The Pragmatic Bookshelf Extracted from: Arduino A Quick-Start Guide This PDF file contains pages extracted from Arduino, published by the Pragmatic Bookshelf. For more information or to purchase a paperback or PDF copy, please

More information

COURSE CONTENT 8051 microcontroller

COURSE CONTENT 8051 microcontroller COURSE CONTENT 8051 microcontroller 1. Introduction to Embedded System History & need of Embedded System Basic components of Embedded System Hardware Classification of Embedded System Programming Language

More information

Lecture 3 Architecture of Arduino development board.

Lecture 3 Architecture of Arduino development board. Lecture 3 Architecture of Arduino development board http://www.arduino.cc/ 1 What do you need to start working 1. Arduino board 2. USB cable with Arduino? 3. Computer with USB interface 4. USB driver and

More information

PART N 2 Hardware description

PART N 2 Hardware description Linear actuator electronic control with ARDUINO PART N 2 Hardware description Block diagram prototype electronic board. Remote power supply 24 Vdc Power supply regulator 5 Vdc 12 Vdc 24 Vdc Drive power

More information

ECE 4510 Introduction to Microprocessors. Lab Final Review

ECE 4510 Introduction to Microprocessors. Lab Final Review ECE 4510 Introduction to Microprocessors Lab Final Review Dr. Bradley J. Bazuin Associate Professor Department of Electrical and Computer Engineering College of Engineering and Applied Sciences Ground

More information

Robotics & Embedded Systems (Summer Training Program) 4 Weeks/30 Days

Robotics & Embedded Systems (Summer Training Program) 4 Weeks/30 Days (Summer Training Program) 4 Weeks/30 Days PRESENTED BY RoboSpecies Technologies Pvt. Ltd. Office: W-53G, Sector-11, Noida-201301, U.P. Contact us: Email: stp@robospecies.com Website: www.robospecies.com

More information

Getting Started with the Arduino

Getting Started with the Arduino Getting Started with the Arduino What is an Arduino? Arduino is a family of PC board-based-computing systems built around a microcontroller (microprocessor if you wish). Currently, the most popular Arduinos

More information

Programming Interactivity

Programming Interactivity SECOND EDITION Programming Interactivity Joshua Noble ULB Darmstadt Illlllllllllllll 17536109 O'REILLY 8 Beijing Cambridge Farnham Koln Sebastopol Tokyo Table of Contents Preface xiii 1. Introducing Interaction

More information

Training on Embedded Systems & Development

Training on Embedded Systems & Development Winnii Solutions Private Limited 1742, Second Floor, 18 th Main Road, Anna Nagar West, Chennai-600040. India. Tel: 91-44-26187331 Fax: 91-44-26187331 E-mail: bala@winnii.com Training on Embedded Systems

More information

Programming Interactivity: A Designer's Guide to Processing, Arduino, and openframeworks

Programming Interactivity: A Designer's Guide to Processing, Arduino, and openframeworks Programming Interactivity: A Designer's Guide to Processing, Arduino, and openframeworks Table of contents Introductions Chapter 1: Introducing Interaction Design What This Book Is for Programming for

More information

DIPLOMA IN EMBEDDED SYSTEM- SYLLABUS ATMEL 8051 AND AVR MICROCONTROLLER

DIPLOMA IN EMBEDDED SYSTEM- SYLLABUS ATMEL 8051 AND AVR MICROCONTROLLER DIPLOMA IN EMBEDDED SYSTEM- SYLLABUS ATMEL 8051 AND AVR MICROCONTROLLER Duration-3 Months Level-1: Basic Electronics Definition of Electronic -Components Used in an Embedded System -Resistor & Types &

More information

Arduino Workshop 03 Output: Actuators

Arduino Workshop 03 Output: Actuators AD32600 Physical Computing Prof. Fabian Winkler Fall 2014 Arduino Workshop 03 Output: Actuators This workshop introduces important strategies for the control of actuators (motors, lights, other forms of

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

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software!

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software! Summer Training 2016 Robotics- Based on AVR &Ardunio covering Projects. 1. Hands on Topics and Sessions Covered in Summer Internship: Introduction of Embedded Systems Understanding Robotics: Autonomous

More information

Beginning Arduino. Michael McRoberts

Beginning Arduino. Michael McRoberts Beginning Arduino Michael McRoberts LED About the Author About the Technical Reviewer Acknowledgments Introduction xvii xviii xix xx Chapter 1: Introduction 1 How to Use This Book, 1 What You Will Need

More information

An introduction to Arduino. Rita Pucci

An introduction to Arduino. Rita Pucci An introduction to Arduino Rita Pucci pucci@di.unipi.it Introduction on Arduino world; Idea of Arduino project; Arduino employment; Arduino: the device; Models of devices; Models enable for your projects;

More information

Practical Arduino. Engineering. Timmis

Practical Arduino. Engineering. Timmis Practical Arduino Engineering Timmis Contents J About the Author.. xiii About the Technical Reviewer - xvi Acknowledgments Preface xv xvi Chapter 1: The Process of Arduino Engineering 1 Gathering Your

More information

PCB & Circuit Designing (Winter Training Program) 6 Weeks/ 45 Days PRESENTED BY

PCB & Circuit Designing (Winter Training Program) 6 Weeks/ 45 Days PRESENTED BY (Winter Training Program) 6 Weeks/ 45 Days PRESENTED BY RoboSpecies Technologies Pvt. Ltd. Office: W-53G, Sector-11, Noida-201301, U.P. Contact us: Email: stp@robospecies.com Website: www.robospecies.com

More information

Build your career in Embedded Systems

Build your career in Embedded Systems Build your career in Embedded Systems For More details contact: Saitech systems Mob: 9820436881 Email:saitechalpesh@gmail.com www.embeddedindia.net www.saitechsystems.net Page: www.facebook.com/saitechsystems

More information

When not in use the A3906 can be put into sleep mode and it s control pins (D5 D8) used for other purposes.

When not in use the A3906 can be put into sleep mode and it s control pins (D5 D8) used for other purposes. The Micro Magician robot controller is the perfect choice for small / low voltage robot projects. This low cost Arduino compatible controller is packed full of features: Small size of just 60mm x 30mm

More information

Contents. Introduction 1. What is a microcontroller? 2. What is Arduino? 3. Different types of Arduinos.

Contents. Introduction 1. What is a microcontroller? 2. What is Arduino? 3. Different types of Arduinos. Arduino course 2015 Introduction 1. What is a microcontroller? 2. What is Arduino? 3. Different types of Arduinos. Contents The physical side of Arduino 1. Electrical components 2. Schematics and circuitry

More information

Peripheral devices, Input/output devices

Peripheral devices, Input/output devices Peripheral devices, Input/output devices Peripheral devices Input/output devices A peripheral is a device that is connected to a host computer, but not part of it. It expands the host's capabilities but

More information

Fast and Effective Embedded Systems Design

Fast and Effective Embedded Systems Design Fast and Effective Embedded Systems Design Applying the ARM mbed Rob Toulson Tim Wilmshurst AMSTERDAM BOSTON HEIDELBERG LONDON NEW YORK OXFORD чч*?? &Ш& PARIS SAN DIEGO SAN FRANCISCO SINGAPORE SYDNEY TOKYO

More information

PERIPHERAL INTERFACE CONTROLLERS. There are many different Peripheral Interface Controllers: examples include the PIC16F873 and the PIC16F876 and the

PERIPHERAL INTERFACE CONTROLLERS. There are many different Peripheral Interface Controllers: examples include the PIC16F873 and the PIC16F876 and the PERIPHERAL INTERFACE CONTROLLERS There are many different Peripheral Interface Controllers: examples include the PIC16F873 and the PIC16F876 and the PIC16F877. The PIC16F873 and PIC16F876 have the same

More information

1/Introduction to Galileo

1/Introduction to Galileo 1/Introduction to Galileo The purpose of the hardware and software that make up the Arduino platform is to reduce complexity when making an electronic project. It s meant to let you experiment, invent,

More information

Start Arduino course 04 - Servos

Start Arduino course 04 - Servos Introduction: In this session you will look at a piece of equipment called a Servo Motor. This is a type motor used to create really precise movement. Unlike DC (Direct Current) motors, which can only

More information

HARDWARE PROTOTYPING WITH ARDUINO. with an introduction to Raspberry Pi and ESP8266

HARDWARE PROTOTYPING WITH ARDUINO. with an introduction to Raspberry Pi and ESP8266 HARDWARE PROTOTYPING WITH ARDUINO with an introduction to Raspberry Pi and ESP8266 WHAT S ARDUINO? Rapid prototyping tool Based on a micro controller board and development environment The micro controller

More information

ARM Microcontroller Projects

ARM Microcontroller Projects ARM Microcontroller Projects Beginner to Intermediate Prof Dr Dogan Ibrahim Near East University an Elektor Publication LEARN DESIGN SHARE Table of Contents Table of Contents Preface.... 15 Chapter 1 Microcomputer

More information

Figure 1 - Connecting multiple controllers with a RS485 network

Figure 1 - Connecting multiple controllers with a RS485 network 8 Relays with 5 A, 250 VAC rated contacts 4 Optically isolated digital inputs up to 30 VDC DIN rail mountable 3 Analog inputs, 0 to 5 V or 0 to 20 ma jumper selectable On board 10/100baseTX Ethernet with

More information

Foundation Course. Fees & Duration Fees: Rs 1500 Duration: 15 Days. Benefits

Foundation Course. Fees & Duration Fees: Rs 1500 Duration: 15 Days. Benefits Foundation Course Session : 1 Basics of Electronics Resistor, Disc capacitor, Electrolytic capacitor, LED, Crystal oscillator, LCD Display, 7-segment display, Matrix keypad, DC Motor & Driver, Stepper

More information

16-Servo Controller Shield

16-Servo Controller Shield Features: Control 16 R/C hobby servos Arduino Compatible Mount Shield Supports Sequencer feature with internal EEPROM Dual power option External 5.5-6.5V Regulated 6V supply (optional with external Regulator

More information

Understanding Arduino 7

Understanding Arduino 7 Contents Contents 1 2 3 4 Understanding Arduino 7 What is Arduino? 8 Why Arduino? 9 Which Arduino? 10 What Can You Do With It? 13 Basic Principles 14 Hardware 14 Software 15 Required Skills 16 The Arduino

More information

EMBEDDED SYSTEM IMPLEMENTATION USING ARDUINO

EMBEDDED SYSTEM IMPLEMENTATION USING ARDUINO KAAV INTERNATIONAL JOURNAL OF SCIENCE, ENGINEERING & TECHNOLOGY EMBEDDED SYSTEM IMPLEMENTATION USING ARDUINO HIRAL VEGDA School of Computer Studies, Ahmedabad University, Ahmedabad, Gujarat, India ABSTRACT

More information

EE389 Electronic Design Lab II Project Report, EE Dept, IIT Bombay, November RFID Access Control

EE389 Electronic Design Lab II Project Report, EE Dept, IIT Bombay, November RFID Access Control EE389 Electronic Design Lab II Project Report, EE Dept, IIT Bombay, November 2008 RFID Access Control Group No: D8 Gauri Joshi, 05D10019, gaurijoshi@iitb.ac.in Nistha Tandiya, 05D07036, nistha@iitb.ac.in

More information

CONTENTS. Easy PSoC4 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6

CONTENTS. Easy PSoC4 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6 CONTENTS Easy PSoC4 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6 Switches and Jumpers 7 MCU Sockets 8 Power Supply 10 On-board USB 2.0 Programmer 11 RS-232 Communication 12 RS-485 Communication

More information

Embedded Systems on ARM Cortex-M3 (4weeks/45hrs)

Embedded Systems on ARM Cortex-M3 (4weeks/45hrs) Embedded Systems on ARM Cortex-M3 (4weeks/45hrs) Course & Kit Contents LEARN HOW TO: Use of Keil Real View for ARM Use ARM Cortex-M3 MCU for professional embedded application development Understanding

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

Special Lecture. Basic Stamp 2 Programming. (Presented on popular demand)

Special Lecture. Basic Stamp 2 Programming. (Presented on popular demand) Special Lecture Basic Stamp 2 Programming (Presented on popular demand) Programming Environment Servo Motor: How It Work? The editor window consists of the main edit pane with an integrated explorer panel

More information

Introduction to Microcontroller World. XMC TM Microcontrollers March 2016

Introduction to Microcontroller World. XMC TM Microcontrollers March 2016 Introduction to Microcontroller World XMC TM Microcontrollers March 2016 Agenda 1 2 3 4 5 6 7 What is a Microcontroller Co Processor On Chip Memories Communication Peripherals Analog Peripherals Timers

More information

Sensors Collecting Manufacturing Process Data

Sensors Collecting Manufacturing Process Data Sensors & Actuators Sensors Collecting Manufacturing Process Data Data must be collected from the manufacturing process Data (commands and instructions) must be communicated to the process Data are of

More information

Reference: C.W. Alexander and M.N.O Sadiku, Fundamentals of Electric Circuits

Reference: C.W. Alexander and M.N.O Sadiku, Fundamentals of Electric Circuits APPLICATION OF OPAMPS AND PHOTORESISTORS YOUR NAME LAB MEETING TIME Reference: C.W. Alexander and M.N.O Sadiku, Fundamentals of Electric Circuits ANALYZING CIRCUIT ELEMENTS List any references you may

More information

An overview of microcontrollers.

An overview of microcontrollers. An overview of microcontrollers. Microcontrollers are often described as single chip computers. They contain a microprocessor core, (often) some memory and various peripheral devices such as parallel i/o

More information

DCS-BIOS Documentation. Release 2.0

DCS-BIOS Documentation. Release 2.0 DCS-BIOS Documentation Release 2.0 December 26, 2016 Contents 1 Installing DCS-BIOS 3 2 Physical Panels 5 2.1 Overview: Hardware........................................... 6 2.2 Overview: Software...........................................

More information

Programmable Logic Controller

Programmable Logic Controller Programmable Logic Controller 2.1. Programmable logic controller hardware parts Based on section 1.4, a PLC is nothing more than a computer (device), tailored specifically for certain control tasks by

More information

ADVANCED ELECTRONIC COMPONENTS

ADVANCED ELECTRONIC COMPONENTS ADVANCED ELECTRONIC COMPONENTS Tangible interaction course, 2012 Final project Farshid Jafari Harandi TOPICS Types of Arduino More on sensors More on actuators 1 HOW WORK A sensor measures a physical quantity

More information

EMBEDDED SYSTEM Mini PROJECT LIST-2013

EMBEDDED SYSTEM Mini PROJECT LIST-2013 WebSite: www.rkembedded.in 1 AUTOMATIC ROOM LIGHT CONTROLLERS WITH VISITORS COUNTER 2 GSM BASED BUILDING AUTOMATION. 3 EMBEDDED SECURITY SYSTEM (KEY PAD AND LCD DISPLAY) 4 HOME / OFFICE SECURITY SYSTEM.

More information

IBM Smarter Planet Instrumented Labs Smarter Health Arduino Lab

IBM Smarter Planet Instrumented Labs Smarter Health Arduino Lab March 2011 IBM Smarter Planet Instrumented Labs Smarter Health Arduino Lab Agenda Arduino What is it? Hardware Summary Temperature Sensor Lab Step 1 Temperature Sensor Lab Step 2 Optional Temperature Sensor

More information

Project 3: Music with Piezo and Arduino. Description:

Project 3: Music with Piezo and Arduino. Description: Project 3: Music with Piezo and Arduino Description: The Piezo speaker is a small metal plate enclosed in a round case that flexes and clicks when current current is passed through the plate. By quickly

More information

EE2304 Implementation of a Stepper Motor Controller using CMOS Devices Fall 2004 WEEK -1-

EE2304 Implementation of a Stepper Motor Controller using CMOS Devices Fall 2004 WEEK -1- WEEK -1-1. Objective Design a controller for a stepper motor that will be capable of: Making the motor rotate with variable speed (the user should be able to adjust the rotational speed easily and without

More information

PHYS 2P32 Project: MIDI for Arduino/ 8 Note Keyboard

PHYS 2P32 Project: MIDI for Arduino/ 8 Note Keyboard PHYS 2P32 Project: MIDI for Arduino/ 8 Note Keyboard University April 13, 2016 About Arduino: The Board Variety of models of Arduino Board (I am using Arduino Uno) Microcontroller constructd similarly

More information

Leaving Certificate. Technology. Applied Control Technology. Using PIC LOGICATOR for Robotic Control

Leaving Certificate. Technology. Applied Control Technology. Using PIC LOGICATOR for Robotic Control Leaving Certificate Technology Applied Control Technology Using PIC LOGICATOR for Robotic Control USB Cable Drivers Installation... 3 Simple DC Motor Control... 11 Stepper Motor Control... 14 Rotation

More information

LABORATORY MANUAL EMBEDDED SYSTEMS AND REAL TIME PROGRAMMING

LABORATORY MANUAL EMBEDDED SYSTEMS AND REAL TIME PROGRAMMING EMBEDDED SYSTEMS AND REAL TIME PROGRAMMINGB.E. (Electronics) (Sem. VIII) LABORATORY MANUAL EMBEDDED SYSTEMS AND REAL TIME PROGRAMMING B.E. (E lectr onics) ( S e m. V III) - - 1 - - EMBEDDED SYSTEMS AND

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

PIC Microcontrollers: Principles and Applications (Advanced Higher)

PIC Microcontrollers: Principles and Applications (Advanced Higher) National Unit Specification: general information NUMBER D8XR 13 COURSE Mechatronics SUMMARY The candidate will develop an understanding of PIC microcontrollers and their applications. OUTCOMES 1 Describe

More information

Engineering and Computational Thinking For Kids

Engineering and Computational Thinking For Kids Appendix A - The Voltage Divider...2 Appendix B Arduino Hardware diagram...4 Appendix C digitalread/write and analogread/write...5 Appendix D Pulse Width Modulation (PWM )...6 Appendix E Programming the

More information

PIC Development Board User Manual. PIC Development Board User Manual Version 1.0

PIC Development Board User Manual. PIC Development Board User Manual Version 1.0 PIC Development Board Version 1.0 1 Contents 1. Features On Board...3 2. Programmer Connectivity...4 3. Getting Started...5 4. Light Emitting Diodes...6 5. Liquid Crystal Display...7 6. Switches...8 7.

More information

Chapter 1: Internet-Controlled PowerSwitch

Chapter 1: Internet-Controlled PowerSwitch Chapter 1: Internet-Controlled PowerSwitch Getting started Arduino Ethernet Shield Arduino UNO R3 (Front View) Arduino Ethernet Shield R3 (Front View) Arduino Ethernet Shield R3 (top) is stacked with Arduino

More information

Programmable Logic Controller

Programmable Logic Controller Programmable Logic Controller By Dr. Mohammad Salah Mechatronics Engineering Department Hashemite University Outlines Introduction What can a PLC do? Structure and Hardware Programming the PLC PLC Operation

More information

P.D.E.A. s BABURAOJI GHOLAP COLLEGE

P.D.E.A. s BABURAOJI GHOLAP COLLEGE P.D.E.A. s BABURAOJI GHOLAP COLLEGE Syllabus for Career Oriented course in Embedded Systems Certificate course: 2modules worth 20 credits Diploma course: 4 modules worth 40 credits Module 1: Basics of

More information

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE LABORATORY 2: INTRODUCTION TO ARDUINO UNO AND DANGER SHIELD DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING UNIVERSITY OF NEVADA, LAS VEGAS GOAL: This

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

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

Start Arduino course 06 - Buzzer

Start Arduino course 06 - Buzzer Introduction: For your final project, we will be combining the different circuits and code elements we ve created to create a musical instrument. It can use any of our sensors and inputs to control our

More information

Driving multiple LEDS

Driving multiple LEDS Driving multiple LEDS (always on) Voltage (V) must be greater than the number of LEDS (n) times their characteristic voltage (about 1.5V each) Resistor should set current to about 20mA Calculate resistor

More information

Getting Started with Arduino

Getting Started with Arduino Getting Started with Arduino What is Arduino? Arduino is Small, programmable microcontroller. Software that runs on Mac, PC, and Linux. (IDE) Learning platform (for electronics & programming). Community

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

Start Arduino course 01 - Blink

Start Arduino course 01 - Blink Introduction: Welcome to your Start Arduino Kit! With this kit, were going to start you on your journey into programming and electronics, taking you through the basics up to some more advanced challenges.

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

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

Arduino and Kinect Projects

Arduino and Kinect Projects Arduino and Kinect Projects Design, Build, Blow Their Minds Enrique Ramos Melgar Ciriaco Castro Diez with Przemek Jaworski Apress* Contents Contents at a Glance About the Authors About the Technical Reviewer

More information

Ace PLC. Velocio s Ace PLC. Applications Machine control Process control Small machine control Home automation Automated Test Motion system control

Ace PLC. Velocio s Ace PLC. Applications Machine control Process control Small machine control Home automation Automated Test Motion system control Ace PLC Velocio s Ace PLC The Ace PLC is a member of the Velocio s groundbreaking series of programmable logic controllers. These PLCs introduce revolutionary new concepts, capabilities, performance and

More information

Get control of other components around you using some additional circuitry, you can "press" buttons with you Arduino

Get control of other components around you using some additional circuitry, you can press buttons with you Arduino HACKING BUTTONS Get control of other components around you using some additional circuitry, you can "press" buttons with you Arduino Discover : Optocoupler, connecting with other components Time : minutes

More information

Intelligent Mixed Signal FPGAs in Portable Medical Devices

Intelligent Mixed Signal FPGAs in Portable Medical Devices Application Note AB 242 Intelligent Mixed Signal FPGAs in Portable Medical Devices Overview Home-based and consumer medical devices have traditionally been used for testing and monitoring. Examples of

More information

CONTENTS. EasyPIC5 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6

CONTENTS. EasyPIC5 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6 CONTENTS EasyPIC5 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6 Switches 7 Jumpers 8 MCU Sockets 9 Power Supply 11 On-Board USB 2.0 Programmer 12 Oscillator 14 mikroicd (Hardware In-Circuit Debugger)

More information

Arduino. Physical Computing

Arduino. Physical Computing Physical Computing 1 Physical Computing System Model Behaviors 2 Physical Computing System Model Inputs Outputs Behaviors 3 Physical Computing System Model Inputs Outputs Sensors Actuators Behaviors Software/Hardware

More information

WANT TO LEARN MORE ABOUT ELECTRONICS USING SNAP CIRCUITS?

WANT TO LEARN MORE ABOUT ELECTRONICS USING SNAP CIRCUITS? WANT TO LEARN MORE ABOUT ELECTRONICS USING SNAP CIRCUITS? The project manuals include a brief description of how your parts work (the About Your Snap Circuits Parts page) and the projects you build are

More information

LABORATORY OF EMBEDDED SYSTEMS ARCHITECTURE. Exercise 4. Topic: Web server as a communication interface with the embedded system.

LABORATORY OF EMBEDDED SYSTEMS ARCHITECTURE. Exercise 4. Topic: Web server as a communication interface with the embedded system. LABORATORY OF EMBEDDED SYSTEMS ARCHITECTURE Exercise 4 Topic: Web server as a communication interface with the embedded system. 1. Laboratory stand The laboratory stand consists of a PC, Intel evaluation

More information

List of Examples and Exercises

List of Examples and Exercises Circuit Design and Simulation with VHDL 2nd edition Volnei A. Pedroni MIT Press, 2010 Book web: www.vhdl.us Chapter 2: Code Structure Example 2.1: Compare add circuit Example 2.2: D type flip flop (DFF)

More information

Extending Linux with Arduinos

Extending Linux with Arduinos Extending Linux with Arduinos Leveraging the Ecosystem Mike Anderson Chief Scientist The PTR Group, Inc. http://www.theptrgroup.com What We Will Talk What is an Arduino? Development model Why Linux comes

More information

Introduction to Microprocessor & Digital Logic

Introduction to Microprocessor & Digital Logic ME262 Introduction to Microprocessor & Digital Logic (Sensor and Sensor Technology) Summer 2008 1 What is sensor? A measuring device to measure a physical quantity. It is also known as a feedback control

More information

Automotive Technology. Objectives

Automotive Technology. Objectives Automotive Technology FIFTH EDITION CHAPTER 71 Computer Fundamentals Objectives List the various parts of onboard computers. Explain the purpose and function of onboard computers. Explain the parts and

More information

by Jody Culkin resources that can be used, redistributed or rewritten free of charge. often software or hardware.

by Jody Culkin resources that can be used, redistributed or rewritten free of charge. often software or hardware. what is an arduino? it s an open source electronics prototyping platform. by Jody Culkin what does that mean? open source resources that can be used, redistributed or rewritten free of charge. often software

More information

Programming Assignment #1 - Variable Blinking LED CSE30 - Computer Organization and Systems Programming Quarter Year

Programming Assignment #1 - Variable Blinking LED CSE30 - Computer Organization and Systems Programming Quarter Year Programming Assignment #1 - Variable Blinking LED CSE30 - Computer Organization and Systems Programming Quarter Year Overview: The goal of this assignment is to get you started on the Cypress PSoC platform.

More information

Michelin North America, Inc. Industrial Maintenance Interview Outline

Michelin North America, Inc. Industrial Maintenance Interview Outline Michelin North America, Inc. Industrial Maintenance Interview Outline Copyright 2012 Michelin North America, Inc. All rights reserved. The Michelin Man is a registered trademark of Michelin North America,

More information

DHANALAKSHMI COLLEGE OF ENGINEERING CHENNAI. EC6504 Microprocessor and Microcontroller. Question Bank

DHANALAKSHMI COLLEGE OF ENGINEERING CHENNAI. EC6504 Microprocessor and Microcontroller. Question Bank DHANALAKSHMI COLLEGE OF ENGINEERING CHENNAI. EC6504 Microprocessor and Microcontroller Question Bank IV Semester ECE Department of Electronics and Communication Engineering 1 UNIT I THE 8086 MICROPROCESSOR

More information

I 2 C Communication with an Arduino

I 2 C Communication with an Arduino I 2 C Communication with an Arduino Alex Lange ECE 480 Design Team 3 November 13, 2015 Executive Summary: Arduino is an open-source microcontroller perfect for prototyping or hobbyists. They are easy to

More information

myrio Overview. Hans-Petter Halvorsen

myrio Overview.  Hans-Petter Halvorsen 2016.08.17 myrio Overview http://home.hit.no/~hansha/?equipment=myrio Hans-Petter Halvorsen myrio Resources http://www.ni.com/myrio http://home.hit.no/~hansha/?equipment=myrio http://home.hit.no/~hansha

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

Automation System TROVIS 6400 TROVIS 6493 Compact Controller

Automation System TROVIS 6400 TROVIS 6493 Compact Controller Automation System TROVIS 6400 TROVIS 6493 Compact Controller For panel mounting (front frame 48 x 96 mm/1.89 x 3.78 inch) Application Digital controller to automate industrial and process plants for general

More information

LBFP Front view 16x2 Multicolor Backlight LCD. Back view for HMI with built-in I/O. Back view for HMI

LBFP Front view 16x2 Multicolor Backlight LCD. Back view for HMI with built-in I/O. Back view for HMI LBFP774020 Front view 16x2 Backlight LCD Back view for HMI with built-in I/ Back view for HMI Salient Features :- 16 x 2 text Backlight LCD nly HMI or Integrated Digital Inputs and utputs options available

More information

Data sheet CPU M13C (M13-CCF0000)

Data sheet CPU M13C (M13-CCF0000) Data sheet CPU M13C (M13-CCF0000) Technical data Order no. M13-CCF0000 Type CPU M13C Module ID - General information Note - Features SPEED7 technology 16 x DI, 12 x DO, 2 x AI, from which are 4 input channels

More information

Lab 3 Introduction to Arduino

Lab 3 Introduction to Arduino Introduction to Arduino: University of Pennsylvania Department of Electrical and Systems Engineering ESE 111 Intro to Elec/Comp/Sys Engineering Lab 3 Introduction to Arduino The Arduino (shown in Figure

More information

Branch PLC. Velocio s Branch PLC

Branch PLC. Velocio s Branch PLC Velocio s Branch PLC Branch PLC The Branch PLC is a member of the Velocio s groundbreaking series of programmable logic controllers. These PLCs introduce revolutionary new concepts, capabilities, performance

More information

Date of Change - 16 Oct 2008 Document creation Jason Jack - 24 Oct 2008 Document updated to include Power System Emily Phillips

Date of Change - 16 Oct 2008 Document creation Jason Jack - 24 Oct 2008 Document updated to include Power System Emily Phillips Project Title: Project Team: Robotic Platform for 1kg Loads (RP1) P09204 Project Revision: 2 Document Revision: 1 Change Log Revision Number Date of Change Description of Change Author (s) - 16 Oct 2008

More information

SECTION PROCESS INSTRUMENTATION AND CONTROL SYSTEM PROGRAMMABLE LOGIC CONTROLLERS

SECTION PROCESS INSTRUMENTATION AND CONTROL SYSTEM PROGRAMMABLE LOGIC CONTROLLERS SECTION 13311 - PROCESS INSTRUMENTATION AND CONTROL SYSTEM PROGRAMMABLE LOGIC CONTROLLERS PART 1 - GENERAL 1.01 WORK INCLUDED A. This Section covers work related to the Programmable Logic Controllers (PLC)

More information

Wireless Servo. Project Report. Vlad Dragoi, Ryan Bowman, Rebecca Slota

Wireless Servo. Project Report. Vlad Dragoi, Ryan Bowman, Rebecca Slota Wireless Servo Project Report Vlad Dragoi, Ryan Bowman, Rebecca Slota Electrical and Computer Engineering Department School of Engineering and Computer Science Oakland University, Rochester, MI Email:

More information