Interface ckt for demo Outputs Inputs V PIN 0 10K PIN 4 GND GND

Slides:



Advertisements
Similar presentations
Demultiplexers Module M6.4 Section 6.4. Demultiplexers YIN 1 x 4 DeMUX d0d1 Y0 Y1 Y2 Y3 Y0 Y1 Y2 Y3 d1d0 0 0 YIN YIN YIN
Advertisements

Introduction to Assembly language
PIC Programming with Logicator
Photos and Sensor Instructions
Light Emitting Diode: LED. What is an LED?  Light-emitting diode  Semiconductor  Has polarity.
EIGHTH GRADE ROBOTICS KITTATINNY REGIONAL HIGH SCHOOL MR. SHEA Introduction to Programming
Code Converters Module M7.1 Section 6.5. Code Converters Binary-to-BCD Converters ABEL TRUTH_TABLE Command.
ENGR 101: Robotics Lecture 2 – Text Programming Outline  Introduction to PBASIC  Variables, I/O, Arithmetic  Controlling the LEDs References 
In a not gate, if the input is on(1) the output is off (0) and vice versa.
ARDUINO PROGRAMMING Working with the Arduino microcontroller.
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.
ENGR 1181 First-Year Engineering Program College of Engineering Engineering Education Innovation Center First-Year Engineering Program Solar Energy Meter.
1 Applied Control Systems Technology. 2 Pin configuration Applied Control Systems.
Introduction to Interfacing Projects Nareen Khan.
ABCDNumber = Off 1 = On Binary Coded Decimal (BCD)
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.
Controlling the Outside World
10/10/ Controlling YOUR ROBOT. 10/10/2015 Basic Stamp  Basic Stamp Input - output pins Interpreter Chip Power supply: 5 Volts voltage Memory: EEPROM.
Do you have control? Mr. Caudy Systems and Computer Control.
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. 
Default_Routine(); - PWM Mapping /******************************************************************** * FUNCTION NAME: Default_Routine * PURPOSE: Performs.
ME456: Mechatronics Systems Design Lecture 3 Chapter 2: Lights On –Lights Off Prof. Clark J. Radcliffe Mechanical Engineering Michigan State University.
Good LED Circuit 5V0 GND. What Voltage Does Meter See? Answer: 5 V.
ENGR 101: Robotics Lecture 3 – Robot Motion Outline  Robot Motion  FOR Loops  Making Music References 
Printer Port * 0= * 1= * 6= 60 1 * 4 = 4 = 164 Decimal Binary We use Ten Symbols
July 7, 2003 Slide 1 of 6 Automation, Robotics and Mechatronics Lab, SUNY at Buffalo Introduction To Programming Chetan Jadhav Talib Bhabharawala Seung-Kook.
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. 
Instructions As a class, have students name the technology tools that they know while watching the slideshow. Play a game. Use the Computer Basics Slideshow.
Digital Electronics Board-of-Education : Output. Board of Education - Output This presentation will explain, both from a hardware and software perspective,
Rebecca Bruce and Susan Reiser, May 2015 Analog Input and Output.
AND Gate Inputs Output Input A (Switch) Input B (Switch) Output Y (Lamp) 0 (Open) 0 (OFF) A B Lamp.
4) Design the logic to control the motor on a simple remote control car. There are two buttons on the remote control for the motor. If neither button is.
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. 
Intro. Interfacing & Electronics 1 Interfacing Introduction.
Casne.ncl.ac.uk Taking care of the CrumbleBot Please do NOT stress the robot's motors 1.Do NOT push the robot 2.Do NOT hold the.
:Blink Blink: Er. Sahil Khanna
Controlling an LED with a switch. 2 breadboard place where you can build electric circuits really quickly the magical breadboard.
1 Introduction to Coding. 2 Example Codes A lot of example codes are given with Arduino IDE A code can often be based on a previous example rather than.
Binary Numbers. Decimal vs Binary = 1001 = 101 = 10 1 = on = 0 = off = On and off.
PICAXE Microcontroller
Microprocessors Tutorial 1: Arduino Basics
Store Multiple Results?
COMP211 Computer Logic Design Introduction to the DE2 Board
European Robotic LABoratory
The Relay based Multiplexer
Programming Scratch to Control a K’NEX Fairground Ride
Programming Boe-Bots (Part 1)
Pushbutton Piano using an Arduino Redboard
Instruction Manual Specifications Features: Dimension:38*16*6 mm
Chapter 2 Push button and Potentiometer
Raspberry Pi: External Inputs & Outputs
Light Emitting Diode: LED
Logic Gates Practical Objective: to develop an understanding of logic circuits and truth tables.
CS-4540 Robotics - Lab 05 Switch inputs to the Arduino Uno
Raspberry Pi with Pibrella
micro:bit: External Inputs & Outputs
Controlling YOUR ROBOT
The centronics port Interfacing to a PC.
The RGB LED.


There are 10 types of people of people in this world…
Input-Output-Process Demo
Lab 1. Introduction to the DE2 Board
Programming the BASIC Stamp
Lecture 4. Introduction to the DE2 Board
Lab #1: Getting Started.
Computer Science 1 Review and finish Number base conversion
Task 1 You are going to use the Makey Makey arrow inputs to create a joystick / games controller. Step 1: Connect Makey.
2015 State Convention Music.
Presentation transcript:

Interface ckt for demo Outputs Inputs 330 +5 V PIN 0 10K PIN 4 GND GND TIP120 1K PIN 1 +9, +12 V GND

DEMO PROGRAM '-------------------------------- ' demo.bas ' ' Stamp demo program 4-28-01 (wkd) start: b2 = 0 ' for button command b4 = 100 ' sound variables b5 = 80 top: high 0 ' red led on loop1: ' check switch if in4 = 1 then loop1

action: for b3 = 1 to 5 high 0 ' red led on low 1 ' green led off pause 500 ' wait 0.5 sec low 0 ' red led off high 1 ' green led on pause 500 next b3 low 0 ' both led's off low 1

music: sound 2,(b4,20,b4,20,b4,20,b5,100) pause 250 for b3 = 0 to 127 step 10 sound 2,(25,10,b3,10) next b3 pause 500 motor: high 3 ' motor on pause 2000 ' wait 2 sec low 3 ' motor off pause 750 finish: sound 2,(120,75,50,75,120,150) goto top ' start all over again

Numbering conventions 100 ‘ decimal $64 ‘ hex %01100100 ‘ binary N = 15 N = $0F N = %00001111 All these are the same