Programming PIC Microcontrollers in PicBasic Pro Servos Cornerstone Electronics Technology and Robotics II 4 Hour Class
|
|
- Rosaline Griffith
- 7 years ago
- Views:
Transcription
1 Programming PIC Microcontrollers in PicBasic Pro Servos Cornerstone Electronics Technology and Robotics II 4 Hour Class Administration: o Prayer o Turn in Quiz 4 PicBasic Pro Programs Used in This Lesson: o General PicBasic Pro Program Listing: o Lab 1 switch1 as.pdf: o Lab 2 master_slave_master1 as pdf: o Lab 2 master_slave_slave1 as pdf: o Lab 3 servo1 as.pdf file: o Lab 3 servo2 as.pdf file: o Lab 3 servo3 as.pdf file: o Lab3 servo4 as.pdf file: Programming PIC Microcontrollers, PicBasic Pro Basics: o Comments continued: Use lots of comments. Even though it may be perfectly obvious to you what the code is doing as you write it, someone else looking at the program may not have any idea of what you were trying to achieve. While comments take up space (memory) in your Basic source file, they do not take up any additional space in the PICmicro MCU, so use them freely. Make the comments tell you something useful about what the program is doing. For example, Turn on the red battery low LED might be more useful than Set pin 0 to 1. A block of comments at the beginning of the program and before each section of code can describe what is about to happen in more detail than just the space remaining after each statement. But don t include a comment block instead of individual line comments use both. Specifying what each pin is connected to can be helpful in remembering what hardware this particular program is designed to run on. o Constants: Named constants may be created in a similar manner to variables. It can be more convenient to use a constant name instead of a constant number. The standard format for declaring a constant is: Name of constant con Constant value 1
2 An example is: x con 3 o Pin, Variable, and Label Names: Give pins names that will help you or someone else decipher the program; judges in competitions are more able to follow the program logic if the pins and variables are coherent. For example, if the right motor is connected to PORTB.1, use the VAR keyword to assign a proper name: right_motor VAR PORTB.1 Also, give variables logical names. For example, if you are counting the number of times a switch1 is pressed, assign a variable name such as the one below: count_switch1 VAR Byte Finally, assign coherent names to the program labels. If the section of code is to turn the robotic car to the left, assign the label name of left_turn. Identifiers (variable names and labels) may be up to 31 characters long, but must not start with a digit. o Ports continued: As we set pins in PORTB for input or output (e.g. TRISB = % ), we can also set pins to high or low using PORT. For example: PORTB = % sets all PORTB pins to low (0 volts). PORTB = % sets all PORTB pins to high (+5 volts). Perform PIC Microcontrollers Programming 3 Lab 1 Blink 3 Ways. New PicBasic Pro Commands: o See the PicBasic Pro Compiler Manual by microengineering Labs, Inc. for a detailed explanation of these commands. o IF THEN: Formats: IF Comparison(s) THEN Label IF Comparison(s) THEN Explanation: The IF THEN statement judges the comparison to whether it is true or false. If the comparison is true (any other value than 0), it will execute the THEN portion of the statement. If the comparison is false (0), it will execute the statement following the IF THEN command. 2
3 Example: IF PORTB.0 = 1 THEN led2 'If the switch on PORTB.0 is pushed, PORTB.0 becomes high (+5V) and the comparison is true, so the program jumps to label led2 Summary of Formats for IF THEN and IF THEN ELSE Conditional s: IF Comparison(s) THEN IF Comparison(s) THEN ENDIF IF Comparison(s) THEN ELSE ENDIF o Perform PIC Microcontrollers Programming 3 Lab 2 switch1.pbp o Perform PIC Microcontrollers Programming 3 Lab 3 master_slave1 3
4 o GOSUB: Format: GOSUB Label Explanation: Jump to the subroutine at Label saving its return address on the stack. Unlike GOTO, when a RETURN statement is reached, execution resumes with the statement following the last executed GOSUB statement. An unlimited number of subroutines may be used in a program. Subroutines may also be nested. In other words, it is possible for a subroutine to call another subroutine. Such subroutine nesting must be restricted to no more than four levels deep (12 levels for 7Cxxx and 27 levels for 18Xxxx). Example: GOSUB beep Execute subroutine named beep (More PicBasic Pro program code) beep: HIGH 0 SOUND 1,[80,10] RETURN Turn on LED connected to RB0 Sends tone to RB1 Go back to the next line in the main routine after the GOSUB command o PULSOUT: Format: PULSOUT Pin, Period Explanation: Generates a pulse on Pin of specified Period. The pulse is generated by toggling the pin twice, thus the initial state of the pin determines the polarity of the pulse. If you want HIGH pulses, initialize the pin to LOW (For example, PORTB.0 = 0). Pin is automatically made an output. Pin may be a constant, 0-15, or a variable that contains a number 0-15 (e.g. B0) or a pin name (e.g. PORTA.0). The resolution of PULSOUT is dependent upon the oscillator frequency. If a 4MHz oscillator is used, the Period of the generated pulse will be in 10us increments. If a 20MHz oscillator is used, Period will have a 2us resolution. Defining an OSC value has no effect on PULSOUT. The resolution always changes with the actual oscillator speed. 4
5 Examples: PULSOUT PORTB.5,100 Send a pulse 1 msec long (at 4MHz) to RB5 PULSOUT 2,200 'Send a pulse 2 msec long to RB2. Power Supplies for Digital Circuits: o Digital circuits require power supplies that provide a stable source of power to all circuit components. o Even though our circuits are powered from a voltage regulator, motors and servos can disrupt the proper operation of the PIC microcontroller. o Make certain that the servo power supply is separate from the PIC power supply, i.e., have two +5V regulated power supplies. Otherwise, if the servo spikes the single power line supplying power to both the servo and the PIC, the 16F88 may reset. Introduction to Servos: o A servo is a special motor used to provide control for a desired rotational position through the use of feedback. o Most servos have a position range of 180 degrees. o A hobby servo is typically used to provide actuation for various mechanical systems such as the steering of a RC car, the flaps on a RC plane, or the rudder of a RC boat. Servo Connections: Black = Ground Red = +5 to +6 dc volts White/Orange = Control wire (Futaba uses a white wire) 5
6 Servo Pulse Signal Widths and Period: o Pulse width for counterclockwise position: 1.0 ms Pulse Width and Corresponding Servo Position o Pulse width for center position: 1.5 ms Pulse Width and Corresponding Servo Position o Pulse width for clockwise position: 2.0 ms Pulse Width and Corresponding Servo Position o Perform LAB 4 servo1, servo2, servo3, and servo4. 6
7 Cornerstone Electronics Technology and Robotics II Programming PIC Microcontrollers in PicBasic Pro Servos LAB 1 Blink 3 Ways Purpose: The purpose of this lab is to reinforce the three different ways to blink an LED. Apparatus and Materials: 1 Breadboard or Analog/Digital Trainer 1 PIC16F K Resistor Ohm Resistor 1 LED Procedure: o Wire the circuit blink1 below on a breadboard. o Turn on and off the LED using the following three sets of commands: PORTB.0 = 1 & PORTB.0 = 0 HIGH 0 & LOW 0 PORTB = % & PORTB = % Challenge: o Wire an LED and a current limiting resistor to each pin in PORTB. o Program the PIC16F88 to display binary counting from 0 to 255 using a FOR NEXT loop and a variable x set up in the following manner: PORTB = x PORTB = % may be written as PORTB = 0 since % in binary is equal to 0 in decimal. PORTB = % may be written as PORTB = 255 since % in binary is equal to 255 in decimal. 7
8 Cornerstone Electronics Technology and Robotics II Programming PIC Microcontrollers in PicBasic Pro Servos LAB 2 switch1.pbp Purpose: The purpose of this lab is to acquaint the student with the PicBasic Pro command IF THEN and their first input device into a PIC MCU. Apparatus and Materials: 1 Breadboard or Analog/Digital Trainer 1 PIC16F88 1 1K Resistor 1 10K Resistor Ohm Resistors 2 LEDs 1 NO Momentary Switch Brief Discussion of Pull-Down Resistor, R2: o Pull-down resistor (R2) is used to hold the input to a zero (low) value when no other component is driving the input, i.e., the switch is open. If nothing is connected to pin RB0, the value of the input is considered to be floating. R2 will allow the pin to keep a steady state at zero until the switch is closed. Procedure: o Wire the circuit switch1 & switch2 below on a breadboard and program the 16F88 with switch1.pbp (NOT 16F877A_switch1.pbp). o Remember, the switch connected to RB0 is considered an input device. Input devices will allow your robotic car to interact with its environment. This is the first input device discussed to date. o Demonstrate the program using the circuit switch1. Challenge: o Design a circuit and program such that a momentary switch connected to the PIC turns on and off a dc motor. Save the program as switch10.pbp. 8
9 Cornerstone Electronics Technology and Robotics II Programming PIC Microcontrollers in PicBasic Pro Servos LAB 3 - master_slave1 Purpose: The purpose of this lab is to acquaint the student with connecting two PIC microcontrollers such that first MCU controls the timing of the second MCU. Apparatus and Materials: 1 Breadboard or Analog/Digital Trainer 2 PIC16F88 2 1K Resistor Ohm Resistors 2 LEDs Procedure: o Open master_slave_master1.pbp and download to master MCU chip. Open master_slave_slave1.pbp and download to slave MCU chip. o Wire your breadboard for master_slave1 as shown below. Challenge: o Design a program and circuit using two PIC 16F88s where a switch connected to the first PIC16F88 program turns on/off a dc motor connected to the second PIC16F88. Save the master PIC program as msm10.pbp and the slave program as mss10.pbp. 9
10 Cornerstone Electronics Technology and Robotics II Programming PIC Microcontrollers in PicBasic Pro Servos LAB 4 - servo1.pbp, servo2.pbp, servo3.pbp, and servo4.pbp Purpose: The purpose of this lab is to acquaint the student with: o PicBasic Pro commands GOSUB and PULSOUT. o The basic operation of a hobby servo. Apparatus and Materials: 1 Breadboard or Analog/Digital Trainer 1 Oscilloscope 1 PIC16F88 1 1K Resistor 3 10K Resistors 3 NO Momentary Switches 1 Futaba 3003 Servomotor Procedure: o Wire your breadboard for servo1 shown below. Program the 16F88 with servo1.pbp (NOT 16F877A_servo1.pbp). o Make certain that the servo power supply is separate from the PIC power supply, i.e., have two +5V power supplies. Otherwise, if the servo spikes the single power line supplying power to both the servo and the PIC, the 16F88 may reset. o Relate the program code to the observed servo motions. o Open servo2.pbp and download to your chip. Use the same schematic as for servo1.pbp above. 10
11 o Observe the servo behavior. This servo action is suitable for panning sensor devices such as sonar sensors. o Open servo3.pbp and download to your chip. Use the same schematic as for servo1.pbp above. o Observe the waveforms on the oscilloscope. Verify that the waveforms are consistent with the program code. o Open servo4.pbp and download to your chip. Wire your breadboard for servo4 shown below. o Observe the waveforms on the oscilloscope. Verify that the waveforms are consistent with the program code. Challenge: o Write a program that slows the panning motion of servo3.pbp. Save the program as pan1.pbp. o Design and build brackets to mount a servo and SRF04 sonar module onto your robotic car. The sonar must be mounted atop the servo horn. Remember when mounting the sonar that it is not accurate at ranges closer than 3 cm. o If you mount the SRF04 sonar module lower than 12 above the floor, point it slightly upwards to avoid reflections from the flooring material. 11
12 Conditional Summary: Conditional statements allow programs to branch to another part of the program when a conditional comparison is true. Formats: IF Comparison(s) THEN Examples: IF PORTB.0 = 1 THEN HIGH 2 IF Comparison(s) THEN ENDIF IF PORTB.0 = 1THEN HIGH 2 LOW 3 HIGH 6 ENDIF IF Comparison(s) THEN ELSE ENDIF IF PORTB.0 = 1THEN HIGH 2 LOW 3 HIGH 6 ELSE LOW 2 LOW 5 LOW 7 ENDIF SELECT CASE Variable CASE Value CASE Another Value CASE IS Comparison CASE ELSE END SELECT SELECT CASE x CASE 1 LCDOUT $FE, 1, x =, DEC x x = x + 1 CASE 2 LCDOUT $FE, 1, x =, DEC x x = x + 2 CASE IS > 10 LCDOUT $FE, 1, x > 10 x = 0 CASE ELSE LCDOUT $FE, 1, Problem number x = 0 END SELECT 12
13 13
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 informationServo Info and Centering
Info and Centering A servo is a mechanical motorized device that can be instructed to move the output shaft attached to a servo wheel or arm to a specified position. Inside the servo box is a DC motor
More informationChapter 4: Pulse Width Modulation
Pulse Width Modulation Page 127 Chapter 4: Pulse Width Modulation PULSES FOR COMMUNICATION AND CONTROL Pulse width modulation is abbreviated PWM, and it refers to a technique of varying the amount of time
More informationMODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence : 0660-3
MODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence : 0660-3 CMPS03 Magnetic Compass. Voltage : 5v only required Current : 20mA Typ. Resolution : 0.1 Degree Accuracy : 3-4 degrees approx. after calibration Output
More informationAn 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 informationezsystem elab16m Project 1F: Alarm System (Full Project description)
ezsystem elab16m Project 1F: Alarm System (Full Project description) ezsystem The aim of ezsystem is to enable Creativity and Innovation at an early age in a Problem Based Learning (PBL) approach. ezsystem
More informationCHAPTER 11: Flip Flops
CHAPTER 11: Flip Flops In this chapter, you will be building the part of the circuit that controls the command sequencing. The required circuit must operate the counter and the memory chip. When the teach
More informationServo Motors (SensorDAQ only) Evaluation copy. Vernier Digital Control Unit (DCU) LabQuest or LabPro power supply
Servo Motors (SensorDAQ only) Project 7 Servos are small, relatively inexpensive motors known for their ability to provide a large torque or turning force. They draw current proportional to the mechanical
More informationEric 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 informationINTRODUCTION 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 informationCornerstone Electronics Technology and Robotics I Week 15 Voltage Comparators Tutorial
Cornerstone Electronics Technology and Robotics I Week 15 Voltage Comparators Tutorial Administration: o Prayer Robot Building for Beginners, Chapter 15, Voltage Comparators: o Review of Sandwich s Circuit:
More informationUsing the Motor Controller
The Motor Controller is designed to be a convenient tool for teachers and students who want to use math and science to make thing happen. Mathematical equations are the heart of math, science and technology,
More informationMicrocontroller 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[F/T] [5] [KHz] [AMP] [3] [V] 4 ) To set DC offset to -2.5V press the following keys [OFS] [+/-] [2] [.] [5] [V]
FG085 minidds Function Generator Manual of Operation Applicable Models: 08501, 08501K, 08502K, 08503, 08503K Applicable Firmware Version: 1 ) 113-08501-100 or later (for U5) 2 ) 113-08502-030 or later
More informationPHYS 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 informationOcean Controls RC Servo Motor Controller
Ocean Controls RC Servo Motor Controller RC Servo Motors: RC Servo motors are used in radio-controlled model cars and planes, robotics, special effects, test equipment and industrial automation. At the
More informationSD21-21 Channel Servo Driver Module Power Servo's
SD21-21 Channel Servo Driver Module Technical Specification The SD21 is a 21 channel servo controller module. It will drive up to 21 RC servo's and maintain a 20mS refresh rate, regardless of the number
More informationServoPAL (#28824): Servo Pulser and Timer
Web Site: www.parallax.com Forums: forums.parallax.com Sales: sales@parallax.com Technical: support@parallax.com Office: (916) 624-8333 Fax: (916) 624-8003 Sales: (888) 512-1024 Tech Support: (888) 997-8267
More informationB0099 - Robo Claw 2 Channel 5A Motor Controller Data Sheet
B0099 - Robo Claw 2 Channel 5A Motor Controller Feature Overview: 2 Channel at 5A, Peak 7A Hobby RC Radio Compatible Serial Mode TTL Input Analog Mode 2 Channel Quadrature Decoding Thermal Protection Lithium
More informationBluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205]
Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205] Users Manual Robokits India info@robokits.co.in http://www.robokitsworld.com Page 1 Bluetooth + USB 16 Servo Controller is used to control up to
More informationKey Words Student Paper, School of Professional Studies
Motor Speed Sensing with PIC Microcontroller Brandon Upchurch, Olivet Nazarene University Faculty Advisor: Dr. Rodney Korthals, Olivet Nazarene University Student Paper Abstract A system was designed and
More informationETEC 421 - Digital Controls PIC Lab 10 Pulse Width Modulation
ETEC 421 - Digital Controls PIC Lab 10 Pulse Width Modulation Program Definition: Write a program to control the speed of a dc motor using pulse width modulation. Discussion: The speed of a dc motor is
More informationSpecial 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 informationSPI. Overview and Use of the PICmicro Serial Peripheral Interface. Getting Started: SPI
SPI Overview and Use of the PICmicro Serial Peripheral Interface In this presentation, we will look at what the Serial Peripheral Interface, otherwise known as the SPI, is, and how it is used to communicate
More informationRobot Board Sub-System Testing. Abstract. Introduction and Theory. Equipment. Procedures. EE 101 Spring 2006 Date: Lab Section # Lab #6
EE 101 Spring 2006 Date: Lab Section # Lab #6 Name: Robot Board Sub-System Testing Partner: No Lab partners this time! Abstract The ECEbot robots have a printed circuit board (PCB) containing most of the
More informationPID Control. Proportional Integral Derivative (PID) Control. Matrix Multimedia 2011 MX009 - PID Control. by Ben Rowland, April 2011
PID Control by Ben Rowland, April 2011 Abstract PID control is used extensively in industry to control machinery and maintain working environments etc. The fundamentals of PID control are fairly straightforward
More informationSoftware Manual RS232 Laser Merge Module. Document # SU-256521-09 Rev A
Laser Merge Module Document # SU-256521-09 Rev A The information presented in this document is proprietary to Spectral Applied Research Inc. and cannot be used for any purpose other than that for which
More informationSix-servo Robot Arm. DAGU Hi-Tech Electronic Co., LTD www.arexx.com.cn. Six-servo Robot Arm
Six-servo Robot Arm 1 1, Introduction 1.1, Function Briefing Servo robot, as the name suggests, is the six servo motor-driven robot arm. Since the arm has a few joints, we can imagine, our human arm, in
More informationcs281: 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 informationECE 495 Project 3: Shocker Actuator Subsystem and Website Design. Group 1: One Awesome Engineering
ECE 495 Project 3: Shocker Actuator Subsystem and Website Design Group 1: One Awesome Engineering Luquita Edwards Evan Whetsell Sunny Verma Thomas Ryan Willis Long I. Executive Summary The main goal behind
More informationChapter 13. PIC Family Microcontroller
Chapter 13 PIC Family Microcontroller Lesson 01 PIC Characteristics and Examples PIC microcontroller characteristics Power-on reset Brown out reset Simplified instruction set High speed execution Up to
More informationUsing 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 informationEXERCISE 3: String Variables and ASCII Code
EXERCISE 3: String Variables and ASCII Code EXERCISE OBJECTIVE When you have completed this exercise, you will be able to describe the use of string variable and ASCII code. You will use Flowcode and the
More informationPIC Programming in Assembly. (http://www.mstracey.btinternet.co.uk/index.htm)
PIC Programming in Assembly (http://www.mstracey.btinternet.co.uk/index.htm) Tutorial 1 Good Programming Techniques. Before we get to the nitty gritty of programming the PIC, I think now is a good time
More informationThe Programming Interface
: In-System Programming Features Program any AVR MCU In-System Reprogram both data Flash and parameter EEPROM memories Eliminate sockets Simple -wire SPI programming interface Introduction In-System programming
More informationDecimal Number (base 10) Binary Number (base 2)
LECTURE 5. BINARY COUNTER Before starting with counters there is some vital information that needs to be understood. The most important is the fact that since the outputs of a digital chip can only be
More informationObjectives: Part 1: Build a simple power supply. CS99S Laboratory 1
CS99S Laboratory 1 Objectives: 1. Become familiar with the breadboard 2. Build a logic power supply 3. Use switches to make 1s and 0s 4. Use LEDs to observe 1s and 0s 5. Make a simple oscillator 6. Use
More informationHow 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 informationAUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR
AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR INTRODUCTION This Project "Automatic Night Lamp with Morning Alarm" was developed using Microprocessor. It is the Heart of the system. The sensors
More informationYour 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 informationRCDC1 Radio Controlled Device Controller- 1 Channel
RCDC1 Radio Controlled Device Controller- 1 Channel When the Mode Switch is in Position 1, Moving the joystick forward turns on the relay. When the joystick returns to center, the relay goes off (momentary
More informationDigital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill
Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill Objectives: Analyze the operation of sequential logic circuits. Understand the operation of digital counters.
More informationAccurate 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 informationUsing your LED Plus keypad
Using your LED Plus keypad System 238 System 2316 System 238i System 2316i Part Number 5-051-372-00 Rev B Thank you for purchasing this C&K alarm system Your system is one of the most powerful and advanced
More informationWireless Security Camera
Wireless Security Camera Technical Manual 12/14/2001 Table of Contents Page 1.Overview 3 2. Camera Side 4 1.Camera 5 2. Motion Sensor 5 3. PIC 5 4. Transmitter 5 5. Power 6 3. Computer Side 7 1.Receiver
More informationAEO Head Movement Tracker X-GYRO 1000 USER MANUAL(V1.1bata 20091019)
AEO Head Movement Tracker X-GYRO 1000 USER MANUAL(V1.1bata 20091019) Introduction: X-GYRO 1000 is a two axis head tracking system, based on G sensor technique, designed for tracking complicated three-dimensional
More informationIntroduction to Electronic Signals
Introduction to Electronic Signals Oscilloscope An oscilloscope displays voltage changes over time. Use an oscilloscope to view analog and digital signals when required during circuit diagnosis. Fig. 6-01
More informationc0003 A Simple PIC Application CHAPTER 3
c0003 CHAPTER 3 A Simple PIC Application Chapter Outline 3.1. Hardware Design 46 3.1.1. PIC 16F84A Pin-Out 46 3.1.2. BIN Hardware Block Diagram 47 3.1.3. BIN Circuit Operation 48 3.2. Program Execution
More informationPROJECT PRESENTATION ON CELLPHONE OPERATED ROBOTIC ASSISTANT
PROJECT PRESENTATION ON CELLPHONE OPERATED ROBOTIC ASSISTANT ELECTRONICS ENGINEERING DEPARTMENT SVNIT, SURAT-395007, INDIA Prepared by: Anurag Gupta (U05EC401) Dhrumeel Bakshi (U05EC326) Dileep Dhakal
More informationrevolution Contents: Introduction Power 28-pin Project Board with input/output cables
28-PIN IN IN PROJECT BOARD Contents: AXE020 28-pin Project Board with input/output cables Introduction The 28-pin project board is designed to allow rapid prototyping with 28-pin PICAXE microcontrollers.
More informationSTEPPER MOTOR SPEED AND POSITION CONTROL
STEPPER MOTOR SPEED AND POSITION CONTROL Group 8: Subash Anigandla Hemanth Rachakonda Bala Subramanyam Yannam Sri Divya Krovvidi Instructor: Dr. Jens - Peter Kaps ECE 511 Microprocessors Fall Semester
More informationAdding Heart to Your Technology
RMCM-01 Heart Rate Receiver Component Product code #: 39025074 KEY FEATURES High Filtering Unit Designed to work well on constant noise fields SMD component: To be installed as a standard component to
More informationAnalog-to-Digital Converters
Analog-to-Digital Converters In this presentation we will look at the Analog-to-Digital Converter Peripherals with Microchip s midrange PICmicro Microcontrollers series. 1 Analog-to-Digital Converters
More informationGlolab Talking Phone Dial Monitor
Introduction The detects the tones generated when numbers are dialed on your touch tone telephone and speaks the numbers that were dialed. This verifies that you dialed the correct number and is especially
More informationTalon and Talon SR User Manual
Talon and Talon SR User Manual Brushed DC motor controller Version 1.3 Cross the Road Electronics, LLC www.crosstheroadelectronics.com Cross The Road Electronics, LLC Page 1 4/2/2013 Device Overview Clear,
More informationDevelop 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 informationHaving read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.
Objectives Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop. describe how such a flip-flop can be SET and RESET. describe the disadvantage
More informationPulse Width Modulated (PWM) Controller for 12 Volt Motors
Pulse Width Modulated (PWM) Controller for 12 Volt Motors This electronic controller is designed to allow a user to vary the speed and power output of a typical 12 volt motor such as a fuel pump, water
More informationTable 1 Comparison of DC, Uni-Polar and Bi-polar Stepper Motors
Electronics Exercise 3: Uni-Polar Stepper Motor Controller / Driver Mechatronics Instructional Laboratory Woodruff School of Mechanical Engineering Georgia Institute of Technology Lab Director: I. Charles
More informationSwitch 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 informationECEN 1400, Introduction to Analog and Digital Electronics
ECEN 1400, Introduction to Analog and Digital Electronics Lab 4: Power supply 1 INTRODUCTION This lab will span two lab periods. In this lab, you will create the power supply that transforms the AC wall
More informationI 2 C Master Mode Overview and Use of the PICmicro MSSP I 2 C Interface with a 24xx01x EEPROM
I 2 C Master Mode Overview and Use of the PICmicro MSSP I 2 C Interface with a 24xx01x EEPROM v 0.40 Welcome to the Microchip Technology Presentation on using the MSSP module in Master I 2 C mode. In this
More informationGTS-4E Hardware User Manual. Version: V1.1.0 Date: 2013-12-04
GTS-4E Hardware User Manual Version: V1.1.0 Date: 2013-12-04 Confidential Material This document contains information highly confidential to Fibocom Wireless Inc. (Fibocom). Fibocom offers this information
More informationPICmicro tm Development Board
PICmicro tm Development Board Crownhill Associates smart electronic solutions Disclaimer In order to comply with EMC directive 89/336/EEC, this product should not be used outside of a classroom or laboratory
More informationPACKAGE OUTLINE DALLAS DS2434 DS2434 GND. PR 35 PACKAGE See Mech. Drawings Section
PRELIMINARY DS2434 Battery Identification Chip FEATURES Provides unique ID number to battery packs PACKAGE OUTLINE Eliminates thermistors by sensing battery temperature on chip DALLAS DS2434 1 2 3 256
More informationPIC Application Notes
4: Reading Rotary Encoders PIC Application Notes Reading Rotary Encoders Introduction. This application note covers the use of incremental rotary encoders with PIC microcontrollers. It presents an example
More informationRadio Control System
Radio Control System The Radio Control System consists of the control transmitter unit held by the operator and the receiver with its associated components in the robot. The Radio Control Transmitter converts
More informationRadio Control System
Radio Control System The Radio Control System consists of the control transmitter unit held by the operator and the receiver with its associated components in the robot. The Radio Control Transmitter converts
More informationA Practical Guide to Free Energy Devices
A Practical Guide to Free Energy Devices Device Patent No 29: Last updated: 7th October 2008 Author: Patrick J. Kelly This is a slightly reworded copy of this patent application which shows a method of
More informationAdvanced LED Controller (LED Chaser)
Advanced LED Controller (LED Chaser) Introduction. Advanced LED controller (also known as LED Chaser) is microcontroller based circuit designed to produce various visual LED light effects by controlling
More informationDigital Electronics Detailed Outline
Digital Electronics Detailed Outline Unit 1: Fundamentals of Analog and Digital Electronics (32 Total Days) Lesson 1.1: Foundations and the Board Game Counter (9 days) 1. Safety is an important concept
More informationArduino 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 informationTheory and Practice of Tangible User Interfaces. Thursday Week 2: Digital Input and Output. week. Digital Input and Output. RGB LEDs fade with PWM
week 02 Digital Input and Output RGB LEDs fade with PWM 1 Microcontrollers Output Transducers actuators (e.g., motors, buzzers) Arduino Input Transducers sensors (e.g., switches, levers, sliders, etc.)
More informationAVR 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 informationPulse Width Modulation (PWM) LED Dimmer Circuit. Using a 555 Timer Chip
Pulse Width Modulation (PWM) LED Dimmer Circuit Using a 555 Timer Chip Goals of Experiment Demonstrate the operation of a simple PWM circuit that can be used to adjust the intensity of a green LED by varying
More informationExperiment 8 : Pulse Width Modulation
Name/NetID: Teammate/NetID: Experiment 8 : Pulse Width Modulation Laboratory Outline In experiment 5 we learned how to control the speed of a DC motor using a variable resistor. This week, we will learn
More informationPLL frequency synthesizer
ANALOG & TELECOMMUNICATION ELECTRONICS LABORATORY EXERCISE 4 Lab 4: PLL frequency synthesizer 1.1 Goal The goals of this lab exercise are: - Verify the behavior of a and of a complete PLL - Find capture
More information- 35mA Standby, 60-100mA Speaking. - 30 pre-defined phrases with up to 1925 total characters.
Contents: 1) SPE030 speech synthesizer module 2) Programming adapter kit (pcb, 2 connectors, battery clip) Also required (for programming) : 4.5V battery pack AXE026 PICAXE download cable Specification:
More informationPulse Width Modulation Applications
Pulse Width Modulation Applications Lecture 21 EE 383 Microcomputers Learning Objectives What is DTMF? How to use PWM to generate DTMF? How to use PWM to control a servo motor? How to use PWM to control
More informationMicro-Step Driving for Stepper Motors: A Case Study
Micro-Step Driving for Stepper Motors: A Case Study N. Sedaghati-Mokhtari Graduate Student, School of ECE, University of Tehran, Tehran, Iran n.sedaghati @ece.ut.ac.ir Abstract: In this paper, a case study
More informationWhale 3. User Manual and Installation Guide. DC Servo drive. Contents. 1. Safety, policy and warranty. 1.1. Safety notes. 1.2. Policy. 1.3. Warranty.
Whale 3 DC Servo drive User Manual and Installation Guide Contents 1. Safety, policy and warranty. 1.1. Safety notes. 1.2. Policy. 1.3. Warranty. 2. Electric specifications. 2.1.Operation ranges. 3. Connections
More information1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver
Electronics Exercise 2: The 555 Timer and its Applications Mechatronics Instructional Laboratory Woodruff School of Mechanical Engineering Georgia Institute of Technology Lab Director: I. Charles Ume,
More informationData Sheet. Adaptive Design ltd. Arduino Dual L6470 Stepper Motor Shield V1.0. 20 th November 2012. L6470 Stepper Motor Shield
Arduino Dual L6470 Stepper Motor Shield Data Sheet Adaptive Design ltd V1.0 20 th November 2012 Adaptive Design ltd. Page 1 General Description The Arduino stepper motor shield is based on L6470 microstepping
More informationPermanent Magnet Motor Kit, Magnetic Reed Type. (SKY-ReedMotorKit) Instructions
Permanent Magnet Motor Kit, Magnetic Reed Type (SKY-ReedMotorKit) Instructions This kit contains powerful permanent magnets. Exercise caution when handling them as they can pull on iron tools and snap
More informationLAB4: Audio Synthesizer
UC Berkeley, EECS 100 Lab LAB4: Audio Synthesizer B. Boser NAME 1: NAME 2: The 555 Timer IC SID: SID: Inductors and capacitors add a host of new circuit possibilities that exploit the memory realized by
More informationMANUAL FOR RX700 LR and NR
MANUAL FOR RX700 LR and NR 2013, November 11 Revision/ updates Date, updates, and person Revision 1.2 03-12-2013, By Patrick M Affected pages, ETC ALL Content Revision/ updates... 1 Preface... 2 Technical
More informationDESIGN OF OPEN ARCHITECTURE SHIP ALARM, MONITORING AND CONTROL SYSTEM
IMPACT: International Journal of Research in Engineering & Technology (IMPACT: IJRET) ISSN(E): 2321-8843; ISSN(P): 2347-4599 Vol. 2, Issue 1, Jan 2014, 69-86 Impact Journals DESIGN OF OPEN ARCHITECTURE
More informationLab 3 Rectifier Circuits
ECET 242 Electronic Circuits Lab 3 Rectifier Circuits Page 1 of 5 Name: Objective: Students successfully completing this lab exercise will accomplish the following objectives: 1. Learn how to construct
More informationAMZ-FX Guitar effects. (2007) Mosfet Body Diodes. http://www.muzique.com/news/mosfet-body-diodes/. Accessed 22/12/09.
Pulse width modulation Pulse width modulation is a pulsed DC square wave, commonly used to control the on-off switching of a silicon controlled rectifier via the gate. There are many types of SCR s, most
More informationConversion Between Analog and Digital Signals
ELET 3156 DL - Laboratory #6 Conversion Between Analog and Digital Signals There is no pre-lab work required for this experiment. However, be sure to read through the assignment completely prior to starting
More informationEasyC. Programming Tips
EasyC Programming Tips PART 1: EASYC PROGRAMMING ENVIRONMENT The EasyC package is an integrated development environment for creating C Programs and loading them to run on the Vex Control System. Its Opening
More informationLecture 7: Programming for the Arduino
Lecture 7: Programming for the Arduino - The hardware - The programming environment - Binary world, from Assembler to C - - Programming C for the Arduino: more - Programming style Lect7-Page1 The hardware
More informationMidiStream. UHF Wireless MIDI System Operating Manual
MidiStream UHF Wireless MIDI System Operating Manual Introduction Congratulations on your purchase of the MidiStream UHF wireless MIDI system. The MidiStream system is very easy to use, but please take
More informationProgramming Logic controllers
Programming Logic controllers Programmable Logic Controller (PLC) is a microprocessor based system that uses programmable memory to store instructions and implement functions such as logic, sequencing,
More informationMaking Basic Measurements. Publication Number 16700-97020 August 2001. Training Kit for the Agilent Technologies 16700-Series Logic Analysis System
Making Basic Measurements Publication Number 16700-97020 August 2001 Training Kit for the Agilent Technologies 16700-Series Logic Analysis System Making Basic Measurements: a self-paced training guide
More informationPICNet 1. PICNet 1 PIC18 Network & SD/MMC Development Board. Features. Applications. Description
Features PICNet 1 PIC18 Network & SD/MMC Development Board IC Sockets for 28 or 40-pin Microchip PIC18F Microcontrollers IC Socket for 8-pin serial EEPROM Multiple MCU Oscillator sources Full 10BaseT IEEE
More informationImplementing SPI Master and Slave Functionality Using the Z8 Encore! F083A
Application Note Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A AN026701-0308 Abstract This application note demonstrates a method of implementing the Serial Peripheral Interface
More informationLab 3 - DC Circuits and Ohm s Law
Lab 3 DC Circuits and Ohm s Law L3-1 Name Date Partners Lab 3 - DC Circuits and Ohm s Law OBJECTIES To learn to apply the concept of potential difference (voltage) to explain the action of a battery in
More informationEasyPIC4 User s Manual
SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD MikroElektronika - Books - Compilers User s Manual PIC MICROCHIP DEVELOPMENT BOARD 3in1 mikro IN-CIRCUIT DEBUGGER USB 2.0 IN-CIRCUIT PROGRAMMER With
More informationMicrocomputer Based Electronics: Using the C Stamp in Pre- Engineering, Technology, and Engineering Programs
28 29 April 2007, Ewing Township, New Jersey. Microcomputer Based Electronics: Using the C Stamp in Pre- Engineering, Technology, and Engineering Programs Orlando J. Hernandez The College of New Jersey,
More information