Controlling a Dot Matrix LED Display with a Microcontroller
|
|
|
- Oliver Hill
- 9 years ago
- Views:
Transcription
1 Controlling a Dot Matrix LED Display with a Microcontroller By Matt Stabile and programming will be explained in general terms as well to allow for adaptation to any comparable microcontroller or LED matrix. University of California Santa Barbara Media Arts and Technology MAT 200C Winter 2008 Abstract A tutorial on the basics of choosing and setting up a microcontroller to control an LED matrix is provided. Fundamentals of LED matrices and microcontrollers are first covered, followed by tips on making the necessary interconnections between the two. Relevant software for development is surveyed and finally some example code is provided for testing the LED matrix. Introduction This paper will provide a comprehensive tutorial on how to drive and control a dot matrix Light Emitting Diode (LED) display with a microcontroller. The display used is a commercially available PCB mount 8 x 8 dot matrix RGB LED display, with a total of 192 individual LEDs that are controlled by 32 control signals. The microcontroller used is an Atmel ATMega128; however, the control Figure 1: 8x8 Dot Matrix LED Display The Dot Matrix LED Display An LED Matrix consists of an array of LED s which are interconnected such that the positive terminal (anode) of each LED in the same column are connected together and the negative terminal (cathode) of each LED in the same row are connected together. Note that this could be the other way around as well, with the positive terminals connected to the rows and the negative terminals connected to the columns. Figure 2 shows a schematic for a typical 8 x 8 matrix with single color LEDs.
2 in each row and column, it is not possible to control each individual LED at the same time. Instead, the matrix is controlled by cycling through each row very quickly while triggering the correct column pins to light the desired LED s for that particular row. If the switching is done at a quick enough rate, there will be no visible flicker and the LED matrix display will appear to have each Figure 2: 8x8 LED Matrix Schematic An LED dot matrix display ( dot refers to the circular lenses in front of the LEDs) can also come with multiple LEDs of varying colors behind each dot in the matrix. For example, the matrix used in this project has a Red, Green and Blue LED behind each dot in the 8x8 grid. A configuration with multiple LEDs behind each dot adds another control pin to every column (positive terminal) for each additional color of LED, while the rows (negative terminals) are still all connected together. Therefore an RGB matrix has 32 control pins compared to the 16 pins seen in Figure 2. Controlling the LED Matrix Since all of the individual LED s in a matrix share their negative and positive terminals LED turned on at the same time. This works because of the principle known as Persistence of Vision, which is the theory that the retina of the human eye retains an image for about a tenth of a second. Thus an LED matrix must be very precisely controlled, with the Rows being scanned through sequentially at a rate greater than about 40Hz (to be safe) while sending out the column data at the exact same rate. This kind of control is most easily accomplished with the aid of a microcontroller, plus some additional components. Choosing a microcontroller When choosing a microcontroller that will meet the requirements necessary for controlling an LED matrix, the specifications that must be met are those of the number
3 of I/O pins available, the amount of current that each pin can source and sink and the speed at which the microcontroller can send out control signals. Another option that one might desire is that of an onboard Analog to Digital Converter for sampling an input signal (such as an audio waveform) which can then influence the control signals being sent to the LEDs. Modern day microcontroller technology has made the issue of control signal speed and available I/O pins almost trivial for this application. Almost every chip on the market now has upwards of 32 I/O pins available and almost all operate at speeds greater than 10MHz, which allows for control signals to be sent at rates much greater than the 40Hz that is required to satisfy the Persistence of Vision principle. For example, the microprocessor that I chose ran at an operating speed of 16MHz and in the loop of code that cycled through the rows I was still able to put a 2ms delay between each iteration, meaning that there was a guaranteed 16ms of delay in my code (excluding the actual code execution time) and still no visible flicker on the matrix display. Up until recent years, 1 8 decoder chips (which allow the 8 rows pins to be controlled by just 3 I/O pins) were almost always used to minimize the number of I/O pins required on the microcontroller; however, with the large amount of I/O pins available on almost all micros now, these chips seem like an unnecessary complication to the design. The final specification that must be met is that of current consumption, meaning that the amount of current that each I/O pin can source and sink is greater than the amount of current needed to illuminate a row of LEDs. These numbers must be determined from the specifications sheet of the LED matrix in conjunction with the microcontroller s maximum current values. This specification is also easily met in most situations though, due to the way in which we are switching the LEDs off and on in such a rapid manner. When a typical current specification is given on the LED matrix data sheet (usually around 20mA per LED), the spec is for steady state consumption (continuously on ). Since the LEDs are being switched on and off so quickly, our current consumption is actually much lower due to the current draw s continuously transient state. With the LED s fully switching, I observed there to be only
4 about a third of the current being drawn as compared to the LEDs consumption at a steady state. To be safe, a Darlington transistor array is almost always used in between the cathodes of the LEDs and the microcontroller I/O Pins. The Darlington transistor array is an IC that is an array of 8 grounded NPN transistors which serve as a current sink, enabling more current to be drawn through the LEDs safely. The array has a dual purpose in that it also inverts the signal on the pins, so when we send a positive control signal, it is actually completing the Ground connection as is needed to turn on the LEDs. Bias resistors must also be calculated and inserted in between each I/O pin on the microcontroller and the anode pins on the LED matrix. Bias resistors are calculated by referring to the Electrical Characteristics table on the LED matrix s data sheet. Each differently colored LED has a voltage that it prefers to be biased at for correct operation, somewhere usually between 2 5 Volts. The voltage on the I/O pins of most microcontrollers is a standard 5 Volts, so using Ohms law with the desired voltage and current specs will yield a correct bias resistor value for each column of LEDs. Putting it all together With all of the specifications met, now comes the fun part of wiring the whole matrix up. This involves fabricating many cables as the RGB matrix requires 32 control signals, which first have to go from the microcontroller to a board with the bias resistors and Darlington transistor array, and then from there to the 32 pins on the back of the matrix. Figure 3: Block Diagram of Connections The Atmel microcontroller used in this project has its I/O pins grouped in Ports with 8 I/O pins each plus a Vcc pin and Ground pin. Thus I chose to assign one port for controlling the switching of the 8 row pins, one port for the 8 Red Column pins, one for the 8 Green pins and one for the 8 Blue pins. This separation of colors, rows, and columns also makes the programming
5 more simple and intuitive. The most time consuming part of wiring up the matrix is mapping the pins from the microcontroller ports to the PCB mount pins on the back of the matrix. This turns out to be quite complex because the 32 pins on the matrix are in a seemingly completely random order and must be correctly assigned to pins 0 7 on each port of the microcontroller. Table 1 provides the pin mappings with the matrix pin numbers in bold and the corresponding microcontroller port letter and number directly below A0 F0 E1 A2 F2 E3 B7 B B5 B4 A4 E4 F5 A6 E6 F E7 A7 F6 E5 A5 F4 B3 B B1 B0 F3 A3 E2 F1 A1 E0 Table 1: Matrix Pin Numbers in Bold, corresponding microcontroller Port Letter and number directly below. These can be used in conjunction with the matrix data sheet information (links to this found in the References section), which shows the pin orientation on the actual matrix and which pins correspond to which LEDs in each row and column. After correctly making all of the connections, we are then ready to write a test program and begin testing the board. Programming the Microcontroller The Atmel ATMEGA128 can be programmed using BASIC, C, or Assembly language. After the code is written, it is compiled using the WinAVR compiler which outputs a Hex file that can then be directly downloaded to the microcontroller. The Hex file is downloaded via an In Circuit Programmer that connects the microcontroller to the parallel port of a PC. Figure 4: In Circuit program download tool The Hex file must be downloaded through use of special Serial Device Programming software such as the freeware program PonyProg2000. The Atmel evaluation board I purchased from futurlec.com came with extremely easy to follow tutorials and example programs that showed step by step how to compile and download the files
6 to the microcontroller. Any series of microcontrollers no doubt comes with extensive documents on setting up and programming one for the first time, so I will not into further detail of those processes. There are a variety of IDEs available for developing microcontroller programs depending on the language that is desired and the chip architecture being used. For Atmel s AVR family of chips, Atmel provides a free Assembly Language IDE called AVR Studio 4 which can be downloaded from For programming in BASIC, a demo version of BASCOM AVR is available from MCS Electronics at The demo version s only limitation is that of a 4kB maximum source code file size. For programming in C there is CodeVisionAVR, available in a demo version with a 2kB file size limitation at A good free C/C++ IDE is called Code::Blocks and is available at Code::Blocks already has preconfigured settings for using the WinAVR compiler, so it is a very good choice for a free, fully functional IDE. The first program used to test the setup should be very simple and test every LED in the array. Figure 5 shows an example program that demonstrates how to turn on every LED in the matrix, changing which color LEDs are lit at even intervals. Note the infinite while loop, since we just want the microcontroller to run this routine for as long as it is powered up. This section of code would appear in the main() of your C source file. The only other code that would be necessary would be the #include libraries for your specific microcontroller and whatever lines of initialization may be required depending on the application. The code is extrememly simple, with the main for loop simply iterating down the rows of the matrix while simultaneously updating the column data on the Ports of the microcontroller. The delay in between each row must be calibrated depending on the speed of the microcontroller being used. The target value is to use the longest delay possible without being able to see any flickering of the LEDs. The delay is desired to ensure that the LEDs are getting enough current each time to achieve full brightness. The counter variable outside of the for loop allows states to change according to the length of the duration variable.
7 Figure 5: Example Control Program in C Conclusion As is apparent, there are many different options when it comes to choosing a microcontroller and LED matrix to work with. It is easiest to choose an LED matrix first and then to select a microcontroller that meets the demands of the LEDs to be controlled. Once the basic setup is complete, the real challenge lies in programming the LED matrix to display interesting patterns. A good expansion is to capture an input signal using an ADC and then modify the display based on the input signal information. With a digitized input signal, the FFT could then be taken and DSP algorithms could be used to map the data to the LED matrix in interesting ways.
8 On Line References Arduino Open source microcontroller project based on Atmel AVR family of chips Atmel Manufacturer of the AVR series of microcontrollers RGB LED Dot Matrix Display FYM-23881ABxxx Manufactured by Foryard Optoelectronics Data Sheet ponents/fym 23881ABxxx.pdf Best Microcontroller Projects microcontroller projects.com Many example projects with PIC micros Code::Blocks Free C++ IDE with built in support for many different compilers Futurlec Sells microcontroller evaluation boards and starter kits, as well as LED matrices Microchip Manufacturer of PIC family of microprocessors Parallax Sells microcontroller starter and advanced kits SparkFun Electronics Sells microcontrollers and LED matrices The LED Light Sells all types of LEDs, has good beginner tutorials on setting up LEDs.
2.0 Command and Data Handling Subsystem
2.0 Command and Data Handling Subsystem The Command and Data Handling Subsystem is the brain of the whole autonomous CubeSat. The C&DH system consists of an Onboard Computer, OBC, which controls the operation
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
Surveillance System Using Wireless Sensor Networks
Surveillance System Using Wireless Sensor Networks Dan Nguyen, Leo Chang Computer Engineering, Santa Clara University Santa Clara, California, USA [email protected] [email protected] Abstract The
Advanced 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
Using and Wiring Light Emitting Diodes (LEDs) for Model Railroads
Using and Wiring Light Emitting Diodes (LEDs) for Model Railroads LEDs have many useful applications in Model railroading, including: Locomotive headlights Rear-end warning lights for cabooses and passenger
Switch board datasheet EB007-00-1
Switch board datasheet EB007-00-1 Contents 1. About this document... 2 2. General information... 3 3. Board layout... 4 4. Testing this product... 5 5. Circuit description... 6 Appendix 1 Circuit diagram
ET-BASE AVR ATmega64/128
ET-BASE AVR ATmega64/128 ET-BASE AVR ATmega64/128 which is a Board Microcontroller AVR family from ATMEL uses MCU No.ATmega64 and ATmega128 64PIN. Board ET-BASE AVR ATmega64/128 uses MCU s resources on
ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL
ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL X1: DE-9 serial connector Used to connect computer (or other devices) using RS-232 standard. Needs a serial cable, with at least
Cornerstone 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:
TEECES DOME LIGHTING SYSTEMS
This lighting system was designed by John V (Teeces) to be a simple, customizable, expandable and affordable solution for dome lighting. An Arduino micro-controller is used to tell LED driver chips which
8 by 8 dot matrix LED displays with Cascadable Serial driver B32CDM8 B48CDM8 B64CDM8 General Description
8 by 8 dot matrix LED displays with Cascadable Serial driver B32CDM8 B48CDM8 B64CDM8 General Description The B32CDM8, B48CDM8 and the B64CDM8 are 8 by 8 (row by column) dot matrix LED displays combined
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
AUTOMATIC 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
Your Multimeter. The Arduino Uno 10/1/2012. Using Your Arduino, Breadboard and Multimeter. EAS 199A Fall 2012. Work in teams of two!
Using Your Arduino, Breadboard and Multimeter Work in teams of two! EAS 199A Fall 2012 pincer clips good for working with breadboard wiring (push these onto probes) Your Multimeter probes leads Turn knob
GLOLAB Universal Telephone Hold
GLOLAB Universal Telephone Hold 1 UNIVERSAL HOLD CIRCUIT If you have touch tone telephone service, you can now put a call on hold from any phone in the house, even from cordless phones and phones without
4 Character 5x7 LED Matrix Display
Mini project report on 4 Character 5x7 LED Matrix Display Submitted by Agarwal Vikas, MTech II, CEDT K.Sreenivasulu M.E (Micro) II, CEDT CENTRE FOR ELECTRONICS DESIGN AND TECHNOLOGY INDIAN INSTITUTE OF
Transistor Characteristics and Single Transistor Amplifier Sept. 8, 1997
Physics 623 Transistor Characteristics and Single Transistor Amplifier Sept. 8, 1997 1 Purpose To measure and understand the common emitter transistor characteristic curves. To use the base current gain
STEPPER 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
POINTS POSITION INDICATOR PPI4
POINTS POSITION INDICATOR PPI4 Advanced PPI with Adjustable Brightness & Simplified Wiring Monitors the brief positive operating voltage across points motors when they are switched Lights a corresponding
PROJECT 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
BrightSign Expander Hardware Guide
Hardware Guide PCBA: Rev C Version: 0.1 Saratoga, CA, USA 1 Table of Contents OVERVIEW... 3 EXPANDER BLOCK DIAGRAM... 4 PORTS... 6 POWER CONNECTOR... 6 OPTICAL SPDIF CONNECTOR... 6 DB25 SWITCH/LED CONNECTOR...
ECEN 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
K8025 VIDEO PATTERN GENERATOR. Check the picture quality of your monitor or TV, ideal for adjustment or troubleshooting.
K8025 ILLUSTRATED ASSEMBLY MANUAL H8025IP 1 VIDEO PATTERN GENERATOR Check the picture quality of your monitor or TV, ideal for adjustment or troubleshooting. Forum Participate our Velleman Projects Forum
IR Communication a learn.sparkfun.com tutorial
IR Communication a learn.sparkfun.com tutorial Available online at: http://sfe.io/t33 Contents Getting Started IR Communication Basics Hardware Setup Receiving IR Example Transmitting IR Example Resources
Designing VM2 Application Boards
Designing VM2 Application Boards This document lists some things to consider when designing a custom application board for the VM2 embedded controller. It is intended to complement the VM2 Datasheet. A
FFT Frequency Detection on the dspic
FFT Frequency Detection on the dspic by Jac Kersing Nov 2012 Abstract In this article Jac explains how he solved a practical challenge using powerful dspic devices and Fast Fourier Transform algorithms.
Experiment #5, Series and Parallel Circuits, Kirchhoff s Laws
Physics 182 Summer 2013 Experiment #5 1 Experiment #5, Series and Parallel Circuits, Kirchhoff s Laws 1 Purpose Our purpose is to explore and validate Kirchhoff s laws as a way to better understanding
SYSTEM 4C. C R H Electronics Design
SYSTEM 4C C R H Electronics Design SYSTEM 4C All in one modular 4 axis CNC drive board By C R Harding Specifications Main PCB & Input PCB Available with up to 4 Axis X, Y, Z, A outputs. Independent 25
Tire pressure monitoring
Application Note AN601 Tire pressure monitoring 1 Purpose This document is intended to give hints on how to use the Intersema pressure sensors in a low cost tire pressure monitoring system (TPMS). 2 Introduction
Joule Thief 3.0 Kit. June 2012, Rev 1 1 http://www.easternvoltageresearch.com Joule Thief 3.0
Kit Instruction Manual Eastern Voltage Research, LLC June 2012, Rev 1 1 http://www.easternvoltageresearch.com HIGH BRIGHTNESS LED THIS KIT USES A 1W CREE, HIGH BRIGHTNESS LED. DO NOT STARE AT THIS (OR
Physics 623 Transistor Characteristics and Single Transistor Amplifier Sept. 13, 2006
Physics 623 Transistor Characteristics and Single Transistor Amplifier Sept. 13, 2006 1 Purpose To measure and understand the common emitter transistor characteristic curves. To use the base current gain
Introduction to Arduino
Introduction to Arduino With ArduBlock & LilyPad Dev Brian Huang Education Engineer [email protected] Pre-Class Survey http://bit.ly/14xk3ek Resources This PPT ArduBlock Download & Installation
Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester
Leonardo Journal of Sciences ISSN 1583-0233 Issue 20, January-June 2012 p. 31-36 Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester Ganesh Sunil NHIVEKAR *, and Ravidra Ramchandra MUDHOLKAR
LM 358 Op Amp. If you have small signals and need a more useful reading we could amplify it using the op amp, this is commonly used in sensors.
LM 358 Op Amp S k i l l L e v e l : I n t e r m e d i a t e OVERVIEW The LM 358 is a duel single supply operational amplifier. As it is a single supply it eliminates the need for a duel power supply, thus
Data 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
A Digital Timer Implementation using 7 Segment Displays
A Digital Timer Implementation using 7 Segment Displays Group Members: Tiffany Sham u2548168 Michael Couchman u4111670 Simon Oseineks u2566139 Caitlyn Young u4233209 Subject: ENGN3227 - Analogue Electronics
The $25 Son of a cheap timer This is not suitable for a beginner. You must have soldering skills in order to build this kit.
The $25 Son of a cheap timer This is not suitable for a beginner. You must have soldering skills in order to build this kit. Micro Wizard has been manufacturing Pinewood Derby timers for over 10 years.
Hands On ECG. Sean Hubber and Crystal Lu
Hands On ECG Sean Hubber and Crystal Lu The device. The black box contains the circuit and microcontroller, the mini tv is set on top, the bars on the sides are for holding it and reading hand voltage,
FLYPORT Wi-Fi 802.11G
FLYPORT Wi-Fi 802.11G System on module 802.11g WIFI - Infrastructure mode - softap mode - Ad hoc mode Microchip PIC 24F 16 bit processor Microchip MRF24WG0MA/MB - Native WiFi 802.11g transceiver - PCB
Introducing AVR Dragon
Introducing AVR Dragon ' Front Side Back Side With the AVR Dragon, Atmel has set a new standard for low cost development tools. AVR Dragon supports all programming modes for the Atmel AVR device family.
Interfacing Analog to Digital Data Converters
Converters In most of the cases, the PIO 8255 is used for interfacing the analog to digital converters with microprocessor. We have already studied 8255 interfacing with 8086 as an I/O port, in previous
Accurate Measurement of the Mains Electricity Frequency
Accurate Measurement of the Mains Electricity Frequency Dogan Ibrahim Near East University, Faculty of Engineering, Lefkosa, TRNC [email protected] Abstract The frequency of the mains electricity supply
FREQUENCY RESPONSE OF AN AUDIO AMPLIFIER
2014 Amplifier - 1 FREQUENCY RESPONSE OF AN AUDIO AMPLIFIER The objectives of this experiment are: To understand the concept of HI-FI audio equipment To generate a frequency response curve for an audio
Computer Automation Techniques. Arthur Carroll
Computer Automation Techniques Arthur Carroll 1 Three Types of Computers Micro-Controller Single Board Computer Desktop Computer 2 The Micro-Controller Small inexpensive DIP or surface mount chips Roughly
STK500... User Guide
STK500... User Guide Table of Contents Section 1 Introduction... 1-1 1.1 Starter Kit Features...1-1 1.2 Device Support...1-2 Section 2 Getting Started... 2-1 2.1 Unpacking the System...2-1 2.2 System
Welcome to the tutorial for the MPLAB Starter Kit for dspic DSCs
Welcome to the tutorial for the MPLAB Starter Kit for dspic DSCs Welcome to this tutorial on Microchip s MPLAB Starter Kit for dspic Digital Signal Controllers, or DSCs. The starter kit is an all-in-one
Interfacing To Alphanumeric Displays
Interfacing To Alphanumeric Displays To give directions or data values to users, many microprocessor-controlled instruments and machines need to display letters of the alphabet and numbers. In systems
An Experimental Study on Pixy CMUcam5 Vision Sensor
LTU-ARISE-2015-01 1 Lawrence Technological University / Autonomous Robotics Institute for Supporting Education - Technical Memo ARISE-2015-01 An Experimental Study on Pixy CMUcam5 Vision Sensor Charles
Touch Screen for Pictiva OLED display. Application Note. Introduction
Touch Screen for Pictiva OLED display Application Note AN0 Introduction A touch screen interface can be added to Pictiva.7 inch or similar OLED displays to enhance its operation. This application note
1. General Description
. General Description The is a Color Active Matrix with an integral Cold Cathode Fluorescent Lamp(CCFL) back light system. The matrix employs asi Thin Film Transistor as the active element. It is a transmissive
8051 MICROCONTROLLER COURSE
8051 MICROCONTROLLER COURSE Objective: 1. Familiarization with different types of Microcontroller 2. To know 8051 microcontroller in detail 3. Programming and Interfacing 8051 microcontroller Prerequisites:
Measuring Resistance Using Digital I/O
Measuring Resistance Using Digital I/O Using a Microcontroller for Measuring Resistance Without using an ADC. Copyright 2011 John Main http://www.best-microcontroller-projects.com Page 1 of 10 Table of
A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware
A+ Guide to Managing and Maintaining Your PC, 7e Chapter 1 Introducing Hardware Objectives Learn that a computer requires both hardware and software to work Learn about the many different hardware components
Objectives: 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
8-Bit Microcontroller with Flash. Application Note. Using a Personal Computer to Program the AT89C51/C52/LV51/LV52/C1051/C2051
Using a Personal Computer to Program the ATC/C/LV/LV/C0/C0 Introduction This application note describes a personal computer-based programmer for the ATC/C/LV/LV/C0/C0 Flash-based s. The programmer supports
Glolab 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
Electronic Rotary Table Divider V2.1 Construction
Electronic Rotary Table Divider V2.1 Construction 2006,2013 Steve Ward ([email protected]) Legal: All documents, code, schematics, firmware etc are offered as an aid to the experienced constructor
Lab 1 Course Guideline and Review
Lab 1 Course Guideline and Review Overview Welcome to ECE 3567 Introduction to Microcontroller Lab. In this lab we are going to experimentally explore various useful peripherals of a modern microcontroller
POCKET SCOPE 2. The idea 2. Design criteria 3
POCKET SCOPE 2 The idea 2 Design criteria 3 Microcontroller requirements 3 The microcontroller must have speed. 3 The microcontroller must have RAM. 3 The microcontroller must have secure Flash. 3 The
Robot 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
XBee USB Adapter Board (#32400)
Web Site: www.parallax.com Forums: forums.parallax.com Sales: [email protected] Technical: [email protected] Office: (916) 624-8333 Fax: (916) 624-8003 Sales: (888) 512-1024 Tech Support: (888) 997-8267
RGB for ZX Spectrum 128, +2, +2A, +3
RGB for ZX Spectrum 128, +2, +2A, +3 Introduction... 2 Video Circuitry... 3 Audio Circuitry... 8 Lead Wiring... 9 Testing The Lead... 11 Spectrum +2A/+3 RGB Differences... 12 Circuitry Calculations...
Points Position Indicator (PPI1) for Points Motors with Common Ground
Points Position Indicator (PPI1) for Points Motors with Common Ground Monitors Points Action and Operates Leds on a Control Panel Monitors the brief positive operating voltage across points motors when
RGB LED Strips. Created by lady ada. Last updated on 2015-12-07 12:00:18 PM EST
RGB LED Strips Created by lady ada Last updated on 2015-12-07 12:00:18 PM EST Guide Contents Guide Contents Overview Schematic Current Draw Wiring Usage Example Code Support Forums 2 3 5 6 7 10 12 13 Adafruit
ENGI E1112 Departmental Project Report: Computer Science/Computer Engineering
ENGI E1112 Departmental Project Report: Computer Science/Computer Engineering Daniel Estrada Taylor, Dev Harrington, Sekou Harris December 2012 Abstract This document is the final report for ENGI E1112,
SMARTCARD XPRO. Preface. SMART ARM-based Microcontrollers USER GUIDE
SMART ARM-based Microcontrollers SMARTCARD XPRO USER GUIDE Preface Atmel SMARTCARD Xplained Pro is an extension board to the Atmel Xplained Pro evaluation platform. Atmel SMARTCARD Xplained Pro is designed
The basic set up for your K2 to run PSK31 By Glenn Maclean WA7SPY
The basic set up for your K2 to run PSK31 By Glenn Maclean WA7SPY I am by no means an expert on PSK31. This article is intended to help someone get on PSK31 with a K2. These are the things I did to get
AXE033 SERIAL/I2C LCD
AXE033 SERIAL/I2C LCD The serial LCD and clock module allows microcontroller systems (e.g. PICAXE) to visually output user instructions or readings, without the need for a computer. This is especially
The components. E3: Digital electronics. Goals:
E3: Digital electronics Goals: Basic understanding of logic circuits. Become familiar with the most common digital components and their use. Equipment: 1 st. LED bridge 1 st. 7-segment display. 2 st. IC
INTRODUCTION TO SERIAL ARM
INTRODUCTION TO SERIAL ARM A robot manipulator consists of links connected by joints. The links of the manipulator can be considered to form a kinematic chain. The business end of the kinematic chain of
An Introduction to MPLAB Integrated Development Environment
An Introduction to MPLAB Integrated Development Environment 2004 Microchip Technology Incorporated An introduction to MPLAB Integrated Development Environment Slide 1 This seminar is an introduction to
3-Digit Counter and Display
ECE 2B Winter 2007 Lab #7 7 3-Digit Counter and Display This final lab brings together much of what we have done in our lab experiments this quarter to construct a simple tachometer circuit for measuring
RS232/DB9 An RS232 to TTL Level Converter
RS232/DB9 An RS232 to TTL Level Converter The RS232/DB9 is designed to convert TTL level signals into RS232 level signals. This cable allows you to connect a TTL level device, such as the serial port on
The 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
APPLICATION NOTES: Dimming InGaN LED
APPLICATION NOTES: Dimming InGaN LED Introduction: Indium gallium nitride (InGaN, In x Ga 1-x N) is a semiconductor material made of a mixture of gallium nitride (GaN) and indium nitride (InN). Indium
AVR Butterfly Training. Atmel Norway, AVR Applications Group
AVR Butterfly Training Atmel Norway, AVR Applications Group 1 Table of Contents INTRODUCTION...3 GETTING STARTED...4 REQUIRED SOFTWARE AND HARDWARE...4 SETTING UP THE HARDWARE...4 SETTING UP THE SOFTWARE...5
EvB 5.1 v5 User s Guide
EvB 5.1 v5 User s Guide Page 1 Contents Introduction... 4 The EvB 5.1 v5 kit... 5 Power supply...6 Programmer s connector...7 USB Port... 8 RS485 Port...9 LED's...10 Pushbuttons... 11 Potentiometers and
Microcontroller to Sensor Interfacing Techniques
to Sensor Interfacing Techniques Document Revision: 1.01 Date: 3rd February, 2006 16301 Blue Ridge Road, Missouri City, Texas 77489 Telephone: 1-713-283-9970 Fax: 1-281-416-2806 E-mail: [email protected]
User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK
User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK Because Arduino that is the development project on AVR MCU as Open Source has been published, it is popular and widespread shortly.
Fingerprint Based Biometric Attendance System
Fingerprint Based Biometric Attendance System Team Members Vaibhav Shukla Ali Kazmi Amit Waghmare Ravi Ranka Email Id [email protected] [email protected] Contact Numbers 8097031667 9167689265
CHAPTER 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
0832 Dot Matrix Green Display Information Board User s Guide
0832 Dot Matrix Green Display Information Board User s Guide DE-DP105_Ver1.0 0832 DOT MATRIX GREEN DISPLAY INFORMATI BOARD USER S GUIDE Table of contents Chapter1.Overview... 1 1.1. Welcome... 1 1.2. Quick
How To Program A Microcontroller Board (Eb064) With A Psp Microcontroller (B064-74) With An Ios 2.5V (Power) And A Ppt (Power Control) (Power Supply) (
dspic / PIC24 Multiprogrammer datasheet EB064-00 00-1 Contents 1. About this document... 2 2. General information... 3 3. Board layout... 4 4. Testing this product... 5 5. Circuit description... 6 Appendix
IRT Eurocard. Types DAX-3200
I R T Electronics Pty Ltd A.B.N. 35 000 832 575 26 Hotham Parade, ARTARMON N.S.W. 2064 AUSTRALIA National: Phone: (02) 9489 3744 Fax: (02) 9439 7439 International: +61 2 9439 3744 +61 2 9439 7439 Email:
NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter
NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter Description: The NTE2053 is a CMOS 8 bit successive approximation Analog to Digital converter in a 20 Lead DIP type package which uses a differential
C8051F020 Utilization in an Embedded Digital Design Project Course. Daren R. Wilcox Southern Polytechnic State University Marietta, Georgia
C8051F020 Utilization in an Embedded Digital Design Project Course Daren R. Wilcox Southern Polytechnic State University Marietta, Georgia Abstract In this paper, the utilization of the C8051F020 in an
Embedded Software Development: Spottbillige Hardware + OSS = Zum Spielen zu Schade!
Embedded Software Development: Spottbillige Hardware + OSS = Zum Spielen zu Schade! Gregor Hohpe www.eaipatterns.com OOP 2012 1 Microcontrollers CPU core, memory, and I/O (analog, digital) on one chip
Automatic Street Light Control System Using Microcontroller
Automatic Street Light Control System Using Microcontroller MUSTAFA SAAD, ABDALHALIM FARIJ, AHAMED SALAH and ABDALROOF ABDALJALIL Department of Control Engineering College of Electronic Technology/ Baniwalid
Display Board Pulse Width Modulation (PWM) Power/Speed Controller Module
Display Board Pulse Width Modulation (PWM) Power/Speed Controller Module RS0 Microcontroller LEDs Motor Control Pushbuttons Purpose: To demonstrate an easy way of using a Freescale RS0K2 microcontroller
User Manual. AS-Interface Programmer
AS-Interface Programmer Notice: RESTRICTIONS THE ZMD AS-INTERFACE PROGRAMMER HARDWARE AND ZMD AS-INTERFACE PROGRAMMER SOFTWARE IS DESIGNED FOR IC EVALUATION, LABORATORY SETUP AND MODULE DEVELOPMENT ONLY.
Lab 3 Microcontroller programming Interfacing to Sensors and Actuators with irobot
1. Objective Lab 3 Microcontroller programming Interfacing to Sensors and Actuators with irobot In this lab, you will: i. Become familiar with the irobot and AVR tools. ii. Understand how to program a
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
Arduino project. Arduino board. Serial transmission
Arduino project Arduino is an open-source physical computing platform based on a simple microcontroller board, and a development environment for writing software for the board. Open source means that the
PolyBot Board. User's Guide V1.11 9/20/08
PolyBot Board User's Guide V1.11 9/20/08 PolyBot Board v1.1 16 pin LCD connector 4-pin SPI port (can be used as digital I/O) 10 Analog inputs +5V GND GND JP_PWR 3-pin logic power jumper (short top 2 pins
If an occupancy of room is zero, i.e. room is empty then light source will be switched off automatically
EE389 Electronic Design Lab Project Report, EE Dept, IIT Bombay, Nov 2009 Fully-automated control of lighting and security system of a Room Group No: D2 Bharat Bhushan (06d04026) Sravan
Balun Parameter Definitions & Measurement May 2004
Balun Parameter Definitions & Measurement May 2004 Differential circuits are becoming more widely used in RF circuits for the same reason that they have been used for years in lower frequency circuits.
LED board datasheet EB004-00-2
LED board datasheet EB004-00-2 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 Copyright
QT1 Xplained Pro. Preface. Atmel QTouch USER GUIDE
Atmel QTouch QT1 Xplained Pro USER GUIDE Preface Atmel QT1 Xplained Pro kit is a set of two extension boards that enables evaluation of self- and mutual capacitance mode touch using the Peripheral Touch
MIDECO 64-outputs MIDI note decoder USER MANUAL. Roman Sowa 2012
MIDECO 64-outputs MIDI note decoder USER MANUAL Roman Sowa 2012 www.midi-hardware.com 1.Overview Thank you for choosing MIDECO as your new MIDI-to-digital converter. This short manual will guide you through
