Digital Electronics Board-of-Education : Output. Board of Education - Output This presentation will explain, both from a hardware and software perspective,

Slides:



Advertisements
Similar presentations
Lab7: Introduction to Arduino
Advertisements

Anurag Dwivedi & Rudra Pratap Suman.  Open Source electronic prototyping platform based on flexible easy to use hardware and software.
Embedded Sumo 1T4 – 1T5 UTRA.
PHY 235 Robotics Workshop Day 6 DC Motors, H-Bridge Board, Simple Lego/Boe Bot.
MICROCONTROLLERS MODULE 2 Programming, Controlling and Monitoring.
1 Boe-Bot Parts BOE-BOT Lecture #1b DE - Digital Electronics.
1 Lecture 1: Your Boe-Bot's Servo Motors Presentation based on: "Robotics with the Boe-Bot" By Andy Lindsay Parallax, Inc Presentation developed by: Martin.
Hardware Meets Software CPSC 120 Principles of Computer Science February 15, 2012.
Digital Electronics Dan Simon Cleveland State University ESC 120 Revised December 30, 2010.
Basic Stamp II is kinda cool Bytes of EEPROM(non-volatile) - Clock speed of 20 MHz. - Holds 600 lines of code in EEPROM - executes an average of.
Electrical Engineering 1 WISE Investments Electrical Engineering Lab Digital Logic Laboratory Dr. Keith Holbert.
Input and Output Developed by: Electronic Systems Technologies College of Applied Sciences and Arts Southern Illinois University Carbondale
Digital I/O Connecting to the Outside World
LSU 06/04/2007BASIC Stamp Editor1 The BASIC Stamp Editor Programming Unit, Lecture 3.
Working with Arduino: Lesson #1: Getting Acquainted with the Kit EGN1007.
Arduino Part 1 Topics: Microcontrollers Programming Basics: structure and variables Digital Output Analog to Digital Conversion.
Asynchronous Counters with SSI Gates
MICROCONTROLLERS MODULE 2 Programming, Controlling and Monitoring.
BASIC Stamp Editor Once installed, the Stamp Editor will be available on your desktop, and as a menu option under Start  Program Files  Parallax Inc.
A Simple Tour of the MSP430. Light LEDs in C LEDs can be connected in two standard ways. Active high circuit, the LED illuminates if the pin is driven.
MICRO CONTROLLER MODULE 1. Learning Objectives Name some gadgets that use microcontrollers. Define a microcontroller. Differentiate between a computer.
Basic Stamp OEM module By Wilmer Arellano. OEM BASIC Stamp 2sx Wiring diagram Note: - is connection to negative pole of the battery 220 Ohm Push button.
Programming the CheapBot-14. Start the Editor Set the Mode.
First, let’s review the structure and use of a breadboard.
Software and documentation Download and install: “Setup-Stamp-Editor-Lrg-v2.2.6.exe”  Downloads  BASIC Stamp software BASIC Stamp Syntax.
Basic Stamp OEM module By Wilmer Arellano. 2  The BASIC Stamp 2 OEM is a discreet component version of the BS2 which may be purchased in kit form. 
Basic Digital Logic 2 Combinational Logic
Microcontroller I Seth Price Department of Chemical Engineering New Mexico Tech Rev. 9/22/14.
Digital Electronics Board-of-Education : Input. Board of Education - Input This presentation will explain, both from a hardware and software perspective,
ME456: Mechatronics Prof. Clark J. Radcliffe Mechanical Engineering
Detection Circuit ENGR Lecture. Learning Objectives of Lab  Students will learn about –  Electronic circuit components  Building the binary.
Microcontrollers Module 3: Digital Display. 7 – Segment Display A seven-segment display (SSD), or seven- segment indicator, is a form of electronic display.
ENGR 101: Robotics Lecture 3 – Robot Motion Outline  Robot Motion  FOR Loops  Making Music References 
July 7, 2003 Slide 1 of 6 Automation, Robotics and Mechatronics Lab, SUNY at Buffalo Introduction To Programming Chetan Jadhav Talib Bhabharawala Seung-Kook.
Digital Electronics The Boe-Bot and Servo Motors.
ME456:Mechatronics WAM Chapter 1: Getting Started Prof. Clark J. Radcliffe Mechanical Engineering Michigan State University
Basic Stamp OEM module By Wilmer Arellano. 2  The BASIC Stamp 2 OEM is a discreet component version of the BS2 which may be purchased in kit form. 
1 BOE-BOT Lecture #2 DE - Digital Electronics Servos and the BOE-BOT.
Programming in Arduino Materials:Arduino Board Casperelectronics Pre Pres. Notes Photos from workshop?
Atmega328p Introduction for Digital and PWM Output Brion L Fuller II Robotics Club.
Arduino “Getting Started” Instructor : Dr Matthew Miss Khin Yi Kyaw
Controlling an LED with a switch. 2 breadboard place where you can build electric circuits really quickly the magical breadboard.
Arduino.
Arduino Part 1 Topics: Microcontrollers
PICAXE Microcontroller
Seven Segment Displays
Segment Identification
Basic Digital Logic.
UCD ElecSoc Robotics Club 2017/2018
Seven Segment Displays
Seven Segment Displays
Programming Boe-Bots (Part 1)
Seven Segment Displays
Seven Segment Displays
Seven Segment Displays
Working with Arduino: Lesson #1: Getting Acquainted with the Kit
Light Emitting Diode: LED
Welcome to Digital Electronics using the Arduino Board
AOI Design: Logic Analysis
Arduino programs Arduino toolchain Cross-compilation Arduino sketches
Introduction to Wiring Logic Gates
Intro to Programming CURIE 2011.
AOI Design: Logic Analysis
AOI Design: Logic Analysis
Programming the BASIC Stamp
Lab #1: Getting Started.
Introduction to Arduino
Arduino म्हणजे काय?.
Interface ckt for demo Outputs Inputs V PIN 0 10K PIN 4 GND GND
Presentation transcript:

Digital Electronics Board-of-Education : Output

Board of Education - Output This presentation will explain, both from a hardware and software perspective, how to properly connect simple output devices to the BOE. 2

Input / Output Pins on the BOE 3 The BOE has sixteen (16) pins that can be used for input or output. These pins are labeled P0 thru P15 and are connected to two headers on the BOE. Additionally, the headers have V dd (5 volts) and V ss (ground) connections.

Example LED Output The LED circuit shown will be connected to the BOE using PIN 14 (P14). If P14 is set to a logic HIGH (5 volts), the LED will be on. If P14 is set to a logic LOW (0 volts), the LED will be off. 4

Example LED Output - Hardware 5 Note the polarity of the LED LED Circuit

Example LED Output - Software The HIGH command makes the specified pin an output and sets its value to a logic ‘1’ (5 volts) Example : HIGH 14 Will set P14 to a logic ‘1’ and turn the LED on. The LOW command makes the specified pin an output and sets its value to a logic ‘0’ (0 volts) Example : LOW 14 Will set P14 to a logic ‘0’ and turn the LED off. 6 LED Circuit

Example BASIC Program #1 New Commands: HIGH LOW PAUSE END 7 HIGH 14 PAUSE 500 LOW 14 PAUSE 1500 END  Sets P14 to a logic ‘1’ and turns the LED on  Pauses for 500 mSec (0.5 seconds)  Sets P14 to a logic ‘0’ and turns the LED off  Pauses for 1500 mSec (1.5 seconds)  Ends the program – Required for all programs

Example BASIC Program #2 New Commands: GOTO 8  Label (not a command)  Same  Jumps to the GOTO label, in this case Main  Same Main: HIGH 14 PAUSE 500 LOW 14 PAUSE 1500 GOTO Main END Repeats Forever

Example BASIC Program #3 New Commands: DO / LOOP 9  Start of the DO/LOOP  Same  End of the DO/LOOP  Same DO HIGH 14 PAUSE 500 LOW 14 PAUSE 1500 LOOP END Repeats Forever

Example BASIC Program #4 New Commands: FOR / NEXT 10  Declares a byte variable called cnt  Start of the FOR/NEXT loop  Same  End of the FOR/NEXT loop  Same Repeats Ten Times cnt VAR Byte FOR cnt = 1 TO 10 HIGH 14 PAUSE 500 LOW 14 PAUSE 1500 NEXT END

Variable Types The previous example used a Byte variable. BASIC supports four data types: Note : Nib is short for Nibble 11 Variable TypeRange of Values Bit0 to 1 Nib0 to 15 Byte0 to 255 Word0 to 65535

Resources Parallax Inc. (2004). What’s A Microcontroller. –Retrieved July 15, 2009 –fttp://