Pre-Lab: Part 1 Using The Development Environment. Purpose: Minimum Parts Required: References: Handouts:
|
|
- Eric Hoover
- 6 years ago
- Views:
Transcription
1 Purpose: Minimum Parts Required: References: Handouts: Laboratory Assignment Number 1 for Mech 143/ELEN123 Due by 5:00pm in lab box on Friday, April 19, 2002 Pre-Lab due by 5:00pm in lab box on Tuesday, April 16, 2002 This lab is intended to acquaint you with: - 'C' programming for embedded systems - How to use the MS Visual Studio editor, AVR-GCC compiler, and Atmel AVR Studio - How to write, debug and run a simple C program on an embedded micro-computer A breadboard and wire kit Atmel STK500 (the embedded system development board which holds the AVR microcontroller) 50K Potentiometer (2) 10-pin IDC socket connectors 10-pin ribbon cable 10-pin wirewrap connector (mates with the IDC connectors above) Your Course Notes: The Events and Services Framework. The Atmega163 microcontroller datasheet (available on the course website or from Lab1.c code Pre-Lab: Complete the following exercises AFTER you have read through the lab assignment and BEFORE trying to complete the lab. 0.1) After reading through the assignment, brainstorm what your state machine will look like for your Microwave oven. Draw a state diagram and show all Events and Services between your states. Describe what your events are and explain how you re going to interface them to the microcontroller (atmega163). Remember that each service and state will have code associated with it. Write out what each service and state will do (your description does not need to be written in actual C code, but try to get each step of your ideas in there). In the Pre-Lab: Include your concepts from part 0.1 Part 1 Using The Development Environment Reading: Assignment: Course Notes: The Ideal Users Manual (at the back) This portion of the lab is designed to get you familiar with the software which will allow you to edit, compile, and download your code into the mega163 microcontroller which is on-board the Atmel STK500. Here are the software packages you will be using throughout the quarter to accomplish these tasks. You can find these and other useful software programs under Start Menu->Programs - >Mech Microsoft Visual Studio editor The MS Visual Studio editor is capable of editing many different kinds of code files with lots of useful features such as syntax highlighting (automatic color highlighting of your code), find-and-replace, auto-indent, etc. The Visual Studio editor not only edits files but can also help you maintain a project. Projects become useful when your code expands into multiple files and you wish to associate them to make editing easier. Finally, Visual Studio offers an interface to the AVR-GCC compiler. Unfortunately Visual Studio is not free, but there are plenty of free tools that you could use in place of VS in case you wish to work on code at home. Feel free to ask about these. 2. The AVR-GCC C compiler In basic terms, a C compiler converts C code written by you into assembly code which a given CPU or microcontroller can directly understand. AVR-GCC is an extension of the popular GCC compiler originally made for unix. Although AVR-GCC runs on PCs and unix workstations, the machine language code it produces runs on Atmel AVR processors. Like most serious compilers, the version of GCC we use in lab runs only from a command prompt. Fortunately,
2 Mech143 Lab Number 1 Due by 5:00pm on Friday, April 19, clicking the build icon in Visual Studio automatically runs AVR-GCC is you have the proper project setup. (the provided Lab1 files already contain a pre-made project for you to use) 3. Atmel AVR Studio AVR Studio is a multi-function program made to help develop and debug programs for the AVR series microcontrollers. We will be using AVR Studio primarily to configure the STK500 board and to program your compiled code into the microcontroller on the STK HyperTerminal Yes, this is the same HyperTerminal that has been distributed with every version of Microsoft Windows since Win95. Because you can t see what s happening with your code while it s running inside an AVR processor, we use a serial port connection to send debug messages from your AVR processor to the PC. HyperTerminal is simply a terminal interface to the serial ports on the PC. Lab#1 has examples of debug messages. Now, to compile your first program, complete the following exercises: 1.1) Begin by getting the example Lab1 code from the Mech143 web page and opening it in the Visual Studio editor. 1) Create a new folder in your account to store your Lab1 code. We ll use E:\mech143\lab1. 2) Get the Lab1 files from the course web page under the LAB link. Save the lab1.zip to E:\mech143\lab1. Double-click on the zip file in your account and unzip the files into your E:\mech143\lab1 directory. 3) You should now have a number of files including: AVRProject.dsw, AVRProject.dsp, and lab1.c. AVRProject.dsw is the master project workspace file, opening it will cause Visual Studio to open and load the relevant C files into the editor. Double-click on AVRProject.dsw now. 4) Visual Studio should now be open. Notice the file-browser-like project window on the left side of the screen. If necessary, click the FileView tab at the bottom of the project window and expand the Source, Header, and Resource Files folders. Double-click the lab1.c file under the Source Files folder. Lab1.c will open in the main editor window. Briefly get familiar with lab1.c. The code is heavily commented, so it should be fairly understandable. If you have questions about the syntax, please refer to your C book, ask a fellow Mech143er, or me. Peruse the other files too if you like. 5) Now edit the first rprintf() line in the main() section of lab1.c: rprintf("welcome to the Example Lab1.c events and services program!\n"); to print anything you like. When you finish editing, use the File menu to Save it (CTRL-S also works). Note that all files in the project automatically get saved when you run the Build step below. 6) To compile the project, select Build AVRProject.exe from the Build menu. You can also compile by pressing F7, or by clicking the build icon on the toolbar. You will be able to see the compiler output, including any errors, in the message window at the bottom of the Visual Studio screen. Note that although Visual Studio thinks the build will result in an *.exe file, the build actually creates lab1.hex. It is this lab1.hex file that contains your compiled code and may be programmed into an AVR processor. 1.2) Before attempting to program your Atmel STK500 board, you must make sure you have it properly connected: - A serial cable must connect COM1 to the STK500 s RS232 CTRL port - A serial cable must connect COM2 to the STK500 s RS232 SPARE port - A 9-12VDC power brick must be plugged into the STK500 power jack
3 Mech143 Lab Number 1 Due by 5:00pm on Friday, April 19, Using the power switch at the corner of the board, turn on the STK500 - With power on, the red POWER LED should light up and the STATUS LED should cycle through colors until it settles on green. Your STK500 is now ready to be programmed. 1.3) To configure the STK500 and program your AVR processor, you will need to open AVR Studio. (You may use version 3.53 or 4.0. For programming, there s no difference.) Click the little AVR chip icon in AVR Studio. AVR Studio will search for your STK500 board and present you with a programming window. Check the message area of the programming window to see if your STK500 was detected. You should see something like this: Detecting.. STK500 found on COM1: Getting revisions.. HW: 0x02, SW Major: 0x01, SW Minor: 0x07.. OK 1.4) Now you ll need to tell the programming software which AVR processor you are using, and which *.hex file contains your code. Select the Atmega163 from the Device drop-down list. In the Flash box, enter the path to the lab1.hex file you created above when you compiled your C code. There s a browse button [ ] to help you find your *.hex file. 1.5) To program begin programming, press the [Program] button. You will see the various programming steps complete in the message area. Once programming completes, your code automatically begins executing. 1.6) Most embedded systems have no display or screen like regular computers. So where does the rprintf() output go? In the case of this lab, rprintf() has been configured to output your messages via the serial port. In order to see them you need to open a terminal program on the PC. Find the links to HyperTerminal under Start Menu->Programs ->Mech143->HyperTerminal. Select the Direct COM shortcut. When HyperTerminal opens, you should see the A/D Value: messages flying by. Touch the pins of Port A on the STK500 and the numbers should respond chaotically. 1.7) If you press the RESET button on the STK500, your program will restart from the beginning. You should see the debug message you entered earlier go flying by. Pressing the pushbuttons SW0 or SW1 should trigger the interrupt service routines. If you want, try experimenting with the lab1.c program to make the STK500 respond differently. After making changes, re-compile and reprogram by clicking Build in Visual Studio and [Program] in AVR Studio. If there are errors in your code, the compiler will indicate which lines have problems in the message area of Vis ual Studio. Use CTRL-G in the editor to quickly locate an offending line. Repeat as required to remove all errors (Some compiler warnings may be present in the original lab1.c code. Don t worry about removing these). 1.8) Congratulations! You ve just edited and downloaded your first embedded program. In the report: No write-up required for Part 1. Part 2 Events and Services in Action Reading: Lab handouts. Go through lab1.c before you do part 2. Assignment: Complete the Following Exercises: 1.1) Now that you know how to load, run, and modify the program, it s time to discuss how the hardware and software interact. The bottom of the STK500 has eight pushbuttons and eight LEDs which can be connected to the mega163 s ports and used as input and output devices respectively. Near the white socket area on the STK500 is a strip of 10-pin connectors labeled PORTA through
4 Mech143 Lab Number 1 Due by 5:00pm on Friday, April 19, PORTE. Each of the PORTA-D 10-pin connectors carries eight I/O lines plus power and ground. Next to the port connectors are the matching LED and SW (pushbutton) connectors, as well as the 2-pin RS232 SPARE serial port header. To make it easier to talk about port pins below and in the future, understand that PC0 refers to PORTC, pin 0, or PD5 refers to PORTD, pin 5. These shortened names are used on the STK500 too. 1.2) For this lab, notice that the LEDs have been connected for you to PORTC. The 10-wire ribbon cable provides an easy way to connect an entire port to all the LEDs. In this configuration you can see that PC0 connects to LED0, PC1 connects to LED1, etc. The LEDs on the STK500 are wired such that a LOW level (0V) on a port pin will cause then to turn on, a HIGH level (5V) turns them off. For an example of this, look at the lab1.c code. 1.3) The mega163 s serial port has also been connected for you. However, if you need it in the future, simply remember to connect PD0 and PD1 to RXD and TXD respectively. 1.4) Finally, two pushbuttons have been connected to PORTD. SW0 and SW1 connect to PD2 and PD3 respectively. If you look at the mega163 datasheet, you can see that we chose PD2/3 because they double as the INTERRUPT0/1 pins. Beware that the pushbuttons, like the LEDs, operate in negative or inverted logic. Pressing a pushbutton causes its corresponding pin to go from HIGH to LOW. 1.5) Since there are no potentiometers available on the STK500, you will have to connect one yourself in order to take control of the A/D converter input on PA0. The best way to do this is to wire up the potentiometer on your breadboard and then connect PORTA to your breadboard via a 10-wire ribbon cable. You should have all the materials in your lab kits to make up to three such cables. If you re not quite sure how to do it, ask for help after lecture or drop in for office hours. PLEASE: Turn OFF the power to the STK500 when adding or editing any connections to it! (This includes rewiring your breadboard when the STK500 is connected) Once you have a cable, plug one end into PORTA and the other end into your 10-pin wirewrap connector (digikey part no. CHW10G). The wirewrap connector has pins long enough to easily plug into your breadboard. You must bend the wirewrap connector pins so that they straddle the divider on your breadboard, otherwise your breadboard will short out the power on the STK500 (and may cause damage to the STK500). See image on the left for the right way to do it. Plug a 50K potentiometer (variable resistor) into your breadboard. The potentiometer, or pot for short, will have three pins in a triangle pattern. Use a few wires from your wire kit to connect the pot and your 10-pin wirewrap connector. The middle pin of the pot should go to PA0, while the outer pins should go to the power and ground also provided on PORTA. If you need help getting things connected, just ask. When you re done, things should look something like this: STK500? PORTA connector? 10-pin ribbon cable? wirewrap connector? breadboard? jumper wires? potentiometer 1.6) Now that you have everything connected. Run the Lab1 code again and try adjusting the potentiometer. You should see the reported A/D value go from 0 to 255 as you vary the pot across its full range. The pot is acting as an adjustable voltage divider which produces 0? 5V across its range. This 0? 5V is translated into a digital number by the A/D converter inside the mega163. The lab1code, requests an 8-bit result from the A/D converter so analog inputs of 0? 5V map to a range of digital outputs of 0? ) Now that you have a controllable input for the A/D converter, experiment with the interrupt handlers again. If you press SW0 and a falling edge (from 5 to 0V) is detected on PD2 (INTERRUPT0), then the
5 Mech143 Lab Number 1 Due by 5:00pm on Friday, April 19, first interrupt service routine executes PC0 goes LOW (~0V) for a while and then toggles LOW and HIGH five times at a fixed interval then goes HIGH (~+5V). LED0 blinks in response to PC0 s changing levels. If a falling edge is detected on PD3 (INTERRUPT1), then The program gets the value at the A/D port, and blinks LED1 either 3 or 5 times depending on the A/D value compared to 128. Adjust the potentiometer to test both cases. Note: even though main() contains an infinite loop to print the A/D value, the interrupt handlers will suspend the CPUs normal execution of main() while they take care of responding to an interrupt. During this time, main is in a locked-up state. After the interrupt handler finishes, main() will continue to execute precisely where it left off. 1.8) Fairly painless, eh? That s a small example of an events and services framework that does something simple: blink lights (and decide the number of blinks using the A/D) when an external event (a pushbutton press) triggers an interrupt. In the report: No write-up required for Part 2. Part 3 Your Turn to Program and Interface with the ATmega163 Reading: Lab handouts and reference the Software Engineering in C book. Assignment: Your assignment for this lab will require you to program a controller for a microwave oven. You will have access to two hardware interrupts that trigger an event/service. Combining the use of these hardware interrupts and some software smarts, design a microwave oven controller that can control a microwave with the following user interface features: Microwave Oven Timer Start Stop What s required: Your controller must implement the features of the above microwave. I should be able to set a timer (a bargraph of five or more LEDs should light up to indicate the length of time set), hit the start button, watch the timer countdown (using the LED s) until all LED s in the bargraph are off. There should also be an LED that indicates that the microwave is on/cooking. If I hit the stop button/open the door, then all lights should shut off and return to the state where I
6 Mech143 Lab Number 1 Due by 5:00pm on Friday, April 19, Hints: can start the timer again. You must write your code as a state machine, however you may design your states any way you wish. For extra functionality, more that two states might be helpful. Think about how a real microwave works. What states can you get into when starting, stopping, and setting the timer? Due to the resource limits (e.g. memory, ports, interrupts, etc.), coding efficiency and style will be given emphasis in determining the grade for this lab (e.g. the shorter the better and the more commented and better formatted the better). * Use the A/D converter and potentiometer to set the timer * Use the hardware interrupts for the Start and Stop buttons * Expand your knowledge of C by trying different ways to do the bargraph. Lots of if/else statements may work, but there are cleaner, shorter ways too. * To reduce the noise in the circuit, put a 10µF capacitor between power and ground in your circuit. Don t forget capacitors may be polarized, so put the + to the +! * You can assume that opening the door and hitting the Stop button call the same event. Just make sure you label it clearly in your code. * Use various pins on Port C to light up the LEDs. * Your services should only CHANGE THE STATE. Most of your code should be in the infinite-loop main() area of your code. * Use the example code in lab1.c freely. Many of the elements you need are already there. * Ask plenty of questions. In the report: Include the brainstorming information in your pre-lab with the addition of: An explanation and a WordArt or Circuit Maker printout of your circuits and connections. A complete description of the design and implementation of your program. This should include high-level descriptions and the final C code that resulted. Note: Please try to format the report in a reasonable style. (e.g. Outlined or with some sort of narrative Intro/Body/Conclusion style) Revised: 11 Apr 2002 by Pascal Stang
AVRminiV3.1 Manual. 1. AVRminiV3.1 Overview. 2. AVRminiV3.1 Features and Specifications Standard Features: 2.2. Optional Features:
AVRminiV3. Manual. AVRminiV3. Overview The AVRminiV3. board is a low-cost versatile development board for Atmel AVR processors. The AVRminiV3. supports all AVR processors in 40-pin and 64-pin packages
More informationGetting Started with STK200 Dragon
Getting Started with STK200 Dragon Introduction This guide is designed to get you up and running with main software and hardware. As you work through it, there could be lots of details you do not understand,
More informationFreeduino USB 1.0. Arduino Compatible Development Board Starter Guide. 1. Overview
Freeduino USB 1.0 Arduino Compatible Development Board Starter Guide 1. Overview 1 Arduino is an open source embedded development platform consisting of a simple development board based on Atmel s AVR
More informationFigure 1-1 ISPAVRU1 application
ISP AVR Programmer through USB Main Features AVR Studio Interface (AVR Studio 4.12 or later) Supports all AVR Device with ISP interface, refer to AVR Studio Programs both Flash and EEPROM Supports Fuse
More informationCOMP2121 Experiment 4
COMP2121 Experiment 4 1. Objectives In this lab, you will learn AVR programming on Parallel input/output; Some typical input/output devices; and Interrupts 2. Preparation Before coming to the laboratory,
More informationkeyestudio Keyestudio MEGA 2560 R3 Board
Keyestudio MEGA 2560 R3 Board Introduction: Keyestudio Mega 2560 R3 is a microcontroller board based on the ATMEGA2560-16AU, fully compatible with ARDUINO MEGA 2560 REV3. It has 54 digital input/output
More informationM32 Development Board
M32 Development Board User Guide Document Control Information This Document Release Date: 12th March 2006 This Document Version: 1.0 Document History Author Release Date Reference Release Notes JSL 23rd
More information1/Build a Mintronics: MintDuino
1/Build a Mintronics: The is perfect for anyone interested in learning (or teaching) the fundamentals of how micro controllers work. It will have you building your own micro controller from scratch on
More informationLab 0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio
ECE2049 Embedded Computing in Engineering Design Lab 0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio In this lab, you will be introduced to the Code Composer Studio
More informationREQUIRED MATERIALS Epiphany-DAQ board Wire Jumpers Switch LED Resistors Breadboard Multimeter (if needed)
Page 1/6 Lab 1: Intro to Microcontroller Development, 06-Jan-16 OBJECTIVES This lab will introduce you to the concept of developing with a microcontroller while focusing on the use of General Purpose Input/Output
More informationFigure 1. JTAGAVRU1 application The JTAGAVRU1 is supported by AVR Studio. Updated versions of AVR Studio is found on
JTAG AVR Emulator through USB Main Features AVR Studio Compatible Supports AVR Devices with JTAG Interface Emulates Digital and Analog On-Chip Functions Data and Program Memory Breakpoints Supports Assembler
More informationRMV ELECTRONICS INC. Application Note
RMV ELECTRONICS INC. Application Note Description: Using more than one ITC232-A on the same Serial Port Application #: 00023 Date: May 1994 Status: Final Version This App note has been super-seeded by
More informationAVR Intermediate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help
AVR Intermediate Development Board Product Manual Contents 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help 1. Overview 2. Features The board is built on a high quality FR-4(1.6
More informationLab Course Microcontroller Programming
Technische Universität München Fakultät für Informatik Forschungs- und Lehreinheit Informatik VI Robotics and Embedded Systems Lab Course Microcontroller Programming Michael Geisinger geisinge@in.tum.de
More informationPhysics 335 Intro to MicroControllers and the PIC Microcontroller
Physics 335 Intro to MicroControllers and the PIC Microcontroller May 4, 2009 1 The Pic Microcontroller Family Here s a diagram of the Pic 16F84A, taken from Microchip s data sheet. Note that things are
More informationROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL
ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL 1 Preface About RobotLinking RobotLinking is a technology company focused on 3D Printer, Raspberry Pi and Arduino open source community development.
More informationECGR 4101/5101, Fall 2016: Lab 1 First Embedded Systems Project Learning Objectives:
ECGR 4101/5101, Fall 2016: Lab 1 First Embedded Systems Project Learning Objectives: This lab will introduce basic embedded systems programming concepts by familiarizing the user with an embedded programming
More information8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help
8051 Intermidiate Development Board Product Manual Contents 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help 1. Overview 2. Features The board is built on a high quality FR-4(1.6
More informationALPHACallisto Discrete Input Setup Guide & User Manual
ALPHACallisto Discrete Input Setup Guide & User Manual Copyright 2018 Adaptive Micro Systems LLC. All rights reserved. Adaptive Micro Systems 7840 North 86th Street Milwaukee, WI 53224 USA 414-357-2020
More informationLab 4: Interrupts and Realtime
Lab 4: Interrupts and Realtime Overview At this point, we have learned the basics of how to write kernel driver module, and we wrote a driver kernel module for the LCD+shift register. Writing kernel driver
More informationModule 003: Introduction to the Arduino/RedBoard
Name/NetID: Points: /5 Module 003: Introduction to the Arduino/RedBoard Module Outline In this module you will be introduced to the microcontroller board included in your kit. You bought either An Arduino
More informationEE261 Computer Project 1: Using Mentor Graphics for Digital Simulation
EE261 Computer Project 1: Using Mentor Graphics for Digital Simulation Introduction In this project, you will begin to explore the digital simulation tools of the Mentor Graphics package available on the
More informationQUASAR PROJECT KIT # ATMEL AVR PROGRAMMER
This kit is a simple but powerful programmer for the Atmel AT90Sxxxx ( AVR ) family of microcontrollers. The Atmel AVR devices are a low-power CMOS 8-bit microcontroller using a RISC architecture. By executing
More informationPhotoresistor, Transistor, and LED s
PH-1 Photoresistor, Transistor, and LD s Purpose: To introduce photoresistors, LD s, FT s, and transistors used as power switching devices To become familiar with the capability of the Atmega 128 to measure
More informationCreating and Simulate/Emulating an ASM Project in Atmel Introduction Procedure File New Project Assembler
Page 1/9 Revision 0 Introduction The purpose of this document is to enable a student to quickly create a project under Atmel Studio, to simulate the program, and then to emulate the program. To complete
More informationONE AVR D EVELOPMENT SECTION I NTRODUCTION TO NTRODUCTION TO AVR EVELOPMENT TOOLS. Section One: Introduction to AVR Development Tools
Section One: Introduction to AVR Development Tools I NTRODUCTION TO NTRODUCTION TO AVR SECTION ONE AVR D EVELOPMENT EVELOPMENT TOOLS 2009 Oregon State University ECE375 Manual Page 10 Section One: Introduction
More informationAVR Development Board
CAMPUS COMPONENT Pvt. Ltd. 1 DISCLAIMER Information furnished is believed to be accurate and reliable at the time of publication. However, Campus Component Pvt. Ltd. assumes no responsibility arising from
More informationBASICS OF THE RENESAS SYNERGY PLATFORM
BASICS OF THE RENESAS SYNERGY PLATFORM TM Richard Oed 2017.12 02 CHAPTER 9 INCLUDING A REAL-TIME OPERATING SYSTEM CONTENTS 9 INCLUDING A REAL-TIME OPERATING SYSTEM 03 9.1 Threads, Semaphores and Queues
More informationBASICS OF THE RENESAS SYNERGY TM
BASICS OF THE RENESAS SYNERGY TM PLATFORM Richard Oed 2018.11 02 CHAPTER 9 INCLUDING A REAL-TIME OPERATING SYSTEM CONTENTS 9 INCLUDING A REAL-TIME OPERATING SYSTEM 03 9.1 Threads, Semaphores and Queues
More informationEE 354 August 1, 2017 Assembly of the AT89C51CC03 board
EE 354 August 1, 2017 Assembly of the AT89C51CC03 board The AT89C51CC03 board comes as a kit which you must put together. The kit has the following parts: No. ID Description 1 1.5" x 3.25" printed circuit
More informationUniversity of Hull Department of Computer Science C4DI Interfacing with Arduinos
Introduction Welcome to our Arduino hardware sessions. University of Hull Department of Computer Science C4DI Interfacing with Arduinos Vsn. 1.0 Rob Miles 2014 Please follow the instructions carefully.
More informationETEE 2201 Electronics Lab IV ET-AVR Board: Downloading and Executing Programs Tutorial
ETEE 2201 Electronics Lab IV ET-AVR Board: Downloading and Executing Programs Tutorial The ET-AVR Support Board and the AVR-Stamp board form a development kit for the ATmega128 and other AVR processors.
More informationNone. MICROCONTROLLERS III
MICROCONTROLLERS III PREREQUISITES: MODULE 10: MICROCONTROLLERS II. OUTLINE OF MODULE 11: What you will learn about in this Module: Use of a much more powerful microcontroller: the PIC16F877 In-circuit
More information1. Introduction EE108A. Lab 1: Combinational Logic: Extension of the Tic Tac Toe Game
EE108A Lab 1: Combinational Logic: Extension of the Tic Tac Toe Game 1. Introduction Objective This lab is designed to familiarize you with the process of designing, verifying, and implementing a combinational
More informationPhysics 120/220 Lab Equipment, Hints & Tips
Physics 120/220 Lab Equipment, Hints & Tips Solderless Breadboard... 2 Power supply... 4 Multimeters... 5 Function generator... 5 Oscilloscope... 6 10X probe... 7 Resistor color code... 7 Components...
More informationFigure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick
TOOLSTICK C8051F560 DAUGHTER CARD USER S GUIDE 1. Handling Recommendations To enable development, the ToolStick Base Adapter and daughter cards are distributed without any protective plastics. To prevent
More informationLAB #1: The CSM12C32 Module and PBMCUSLK Project Board
CS/EE 5780/6780 Handout #1 Spring 2007 Myers LAB #1: The CSM12C32 Module and PBMCUSLK Project Board Lab writeup is due to your TA at the beginning of your next scheduled lab. Don t put this off to the
More informationHalloween Pumpkinusing. Wednesday, October 17, 12
Halloween Pumpkinusing Blink LED 1 What you will need: 1 MSP-EXP430G2 1 3 x 2 Breadboard 3 560 Ohm Resistors 3 LED s (in Red Color Range) 3 Male to female jumper wires 1 Double AA BatteryPack 2 AA Batteries
More informationWriting Code and Programming Microcontrollers
Writing Code and Programming Microcontrollers This document shows how to develop and program software into microcontrollers. It uses the example of an Atmel ATmega32U2 device and free software. The ATmega32U2
More informationGetting Started Guide
Introduction Flowcode is an Integrated Development Environment (IDE) for programming microcontrollers such as 8, 16 and 32bit PIC, Arduino and ARM devices. It achieves this by using flowcharts instead
More informationBASICS OF THE RENESAS SYNERGY TM
BASICS OF THE RENESAS SYNERGY TM PLATFORM Richard Oed 2018.11 02 CHAPTER 8 HELLO WORLD! HELLO BLINKY! CONTENTS 8 HELLO WORLD! HELLO BLINKY! 03 8.1 Your First Project Using e 2 studio 04 8.1.1 Creating
More informationGoal: We want to build an autonomous vehicle (robot)
Goal: We want to build an autonomous vehicle (robot) This means it will have to think for itself, its going to need a brain Our robot s brain will be a tiny computer called a microcontroller Specifically
More informationEECS 140 Laboratory Exercise 4 3-to-11 Counter Implementation
EECS 140 Laboratory Exercise 4 3-to-11 Counter Implementation 1. Objectives A. To apply knowledge of combinatorial design. B. Gain expertise in designing and building a simple combinatorial circuit This
More informationLab Assignment #1: Introduction to Creo ME 170
Lab Assignment #1: Introduction to Creo ME 170 Instructor: Mike Philpott (email: mphilpot@illinois.edu) Date Due: One week from Start Day of Lab (turn in deadline 11pm night before next lab) Make sure
More informationUniversity of Florida EEL 3701 Dr. Eric M. Schwartz Department of Electrical & Computer Engineering Revision 0 12-Jun-16
Page 1/14 Quartus Tutorial with Basic Graphical Gate Entry and Simulation Example Problem Given the logic equation Y = A*/B + /C, implement this equation using a two input AND gate, a two input OR gate
More informationTutorial 3: Using the Waveform Viewer Introduces the basics of using the waveform viewer. Read Tutorial SIMPLIS Tutorials SIMPLIS provide a range of t
Tutorials Introductory Tutorials These tutorials are designed to give new users a basic understanding of how to use SIMetrix and SIMetrix/SIMPLIS. Tutorial 1: Getting Started Guides you through getting
More informationIntroduction to Microcontrollers
CSE391: Embedded Systems and Interfacing Introduction to Microcontrollers Nazmus Saquib Lecturer Department of Computer Science and Engineering Bangladesh University of Engineering and Technology April
More informationNow you have the basic hardware tools, its time to setup the software environment. The main softwares you will need are:
Hello world AVR Tutorial Series www.extremeelectronics.co.in PART 4 Now you have the basic hardware tools, its time to setup the software environment. The main softwares you will need are: AVR Studio A
More informationET-AVRProg mini. Technical Specifications of ET-AVRProg mini
ET-AVRProg mini ET-AVRProg mini is the board that is designed to download HEX File into AVR Microcontroller of ATMEL through PORT ISP. It is compatible with Program AvrProg, AvrOspll, CodeVision, avrdude
More informationSKP16C26 Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.
SKP16C26 Tutorial 1 Software Development Process using HEW Renesas Technology America Inc. 1 Overview The following tutorial is a brief introduction on how to develop and debug programs using HEW (Highperformance
More informationAn FTDI connection: The ATtiny microcontrollers don t have a hardware UART External Crystal header pins for an optional crystal
Getting Started with the T-Board The T-Board modules were designed to speed up your AVR prototyping. This guide will show you just how quickly you can get up and running with the Hello World for microcontrollers
More informationNote. The above image and many others are courtesy of - this is a wonderful resource for designing circuits.
Robotics and Electronics Unit 2. Arduino Objectives. Students will understand the basic characteristics of an Arduino Uno microcontroller. understand the basic structure of an Arduino program. know how
More informationASSIGNMENT 4: INTRODUCTION TO THE 68HC11. Out: Monday, Sep 29, 2003 Due Monday, Oct 6, 2003
ASSIGNMENT 4: INTRODUCTION TO THE 68HC11 Out: Monday, Sep 29, 2003 Due Monday, Oct 6, 2003 Introduction In this assignment, you will (1) construct a minimal 68HC11 system on your breadboard, and (2) use
More informationPART 1 : MR-162. PART 2 : CPU Board. PART 3 : Software Tools. PART 4 : Compile and Download. 1. Introduction 2. Features
MR-162 User Manual C O N T E N T S PART 1 : MR-162 1. Introduction 2. Features PART 2 : CPU Board 1. Placement Diagram (Silkscreen) 2. Circuit Diagram 3. Parts List PART 3 : Software Tools 1. AVR Development
More informationHow to Get Started. Figure 3
Tutorial PSpice How to Get Started To start a simulation, begin by going to the Start button on the Windows toolbar, then select Engineering Tools, then OrCAD Demo. From now on the document menu selection
More informationCOS 116 The Computational Universe Laboratory 7: Digital Logic I
COS 116 The Computational Universe Laboratory 7: Digital Logic I In this lab you ll construct simple combinational circuits in software, using a simulator, and also in hardware, with a breadboard and silicon
More informationNAME EET 2259 Lab 3 The Boolean Data Type
NAME EET 2259 Lab 3 The Boolean Data Type OBJECTIVES - Understand the differences between numeric data and Boolean data. -Write programs using LabVIEW s Boolean controls and indicators, Boolean constants,
More informationARM: Microcontroller Touch-switch Design & Test (Part 1)
ARM: Microcontroller Touch-switch Design & Test (Part 1) 2 nd Year Electronics Lab IMPERIAL COLLEGE LONDON v2.00 Table of Contents Equipment... 2 Aims... 2 Objectives... 2 Recommended Timetable... 2 Introduction
More informationBoard Of Education USB (#28850)
599 Menlo Drive, Suite 100 Rocklin, California 95765, USA Office: (916) 624-8333 Fax: (916) 624-8003 Sales: sales@parallax.com 1-888-512-1024 Tech Support: support@parallax.com 1-888-99-STAMP Web Site:
More informationDigital Circuits. Page 1 of 5. I. Before coming to lab. II. Learning Objectives. III. Materials
I. Before coming to lab Read this handout and the supplemental. Also read the handout on Digital Electronics found on the course website. II. Learning Objectives Using transistors and resistors, you'll
More informationATmega48/88/168 Development Board
ATmega// Development Board This is versatile development board for AVR microcontrollers ATmega//. It is good for testing and debugging embedded programs. It has many built-in peripheries connected to microcontroller
More informationOutlook Web Access. In the next step, enter your address and password to gain access to your Outlook Web Access account.
Outlook Web Access To access your mail, open Internet Explorer and type in the address http://www.scs.sk.ca/exchange as seen below. (Other browsers will work but there is some loss of functionality) In
More informationSMiRF v1 Serial Miniature RF Link 8/25/2004
interface and protocol requirements for the SMiRF USB Powered Wireless link. Please report typos, inaccuracies, and especially unclear explanations to us at spark@sparkfun.com. Suggestions for improvements
More informationSTK 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
More informationET-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
More informationLab 8: Debugging Embedded Devices and Software
Lab 8: Debugging Embedded Devices and Software Summary: Given pre-written code, isolate code and functional errors to create a working memory interfacing program. Learning Objectives: Debug and fix pre-written
More informationAtmel AVR datasheet. Matrix Multimedia Atmel AVR Board EB Contents
Atmel AVR datasheet Contents 1. About this document 2. General information 3. Board overview 4. Getting Started 5. Block schematic and description Appendix A. Circuit diagram B. Compatible AVR device C.
More informationI2C and SPI Foundation
Revision 30 September 2010 Release I2C and SPI Foundation 17 March 2018 changed ref: command f to x Introduction I2C (I squared C) and SPI (Serial peripheral Interface) are two main ways that microcontrollers
More informationDIY KIT 121. ATMEL 89Cx051 PROGRAMMER
Microcontrollers (uc s) have been around for quite a while now. With relatively few I/O lines, a limited instruction set and almost no peripherals they are far better suited for control applications than
More informationRedBoard Hookup Guide
Page 1 of 11 RedBoard Hookup Guide CONTRIBUTORS: JIMB0 Introduction The Redboard is an Arduino-compatible development platform that enables quick-and-easy project prototyping. It can interact with real-world
More informationLaboratory 1: Eclipse and Karel the Robot
Math 121: Introduction to Computing Handout #2 Laboratory 1: Eclipse and Karel the Robot Your first laboratory task is to use the Eclipse IDE framework ( integrated development environment, and the d also
More informationIME-100 Interdisciplinary Design and Manufacturing
IME-100 Interdisciplinary Design and Manufacturing Introduction Arduino and Programming Topics: 1. Introduction to Microprocessors/Microcontrollers 2. Introduction to Arduino 3. Arduino Programming Basics
More informationECE 353 Lab 4. General MIDI Explorer. Professor Daniel Holcomb Fall 2015
ECE 353 Lab 4 General MIDI Explorer Professor Daniel Holcomb Fall 2015 Where are we in Course Lab 0 Cache Simulator in C C programming, data structures Cache architecture and analysis Lab 1 Heat Flow Modeling
More informationSTK 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 Requirements...2-1
More informationME 3210: Mechatronics Signal Conditioning Circuit for IR Sensors March 27, 2003
ME 3210: Mechatronics Signal Conditioning Circuit for IR Sensors March 27, 2003 This manual and the circuit described have been brought to you by Adam Blankespoor, Roy Merril, and the number 47. The Problem:
More informationMicrium OS Kernel Labs
Micrium OS Kernel Labs 2018.04.16 Micrium OS is a flexible, highly configurable collection of software components that provides a powerful embedded software framework for developers to build their application
More informationBASIC Stamp 1 Project Board (#27112) Development / Education Platform for the BASIC Stamp 1
599 Menlo Drive, Suite 100 Rocklin, California 95765, USA Office: (916) 624-8333 Fax: (916) 624-8003 General: info@parallax.com Technical: support@parallax.com Web Site: www.parallax.com Educational: www.stampsinclass.com
More informationThe Atmel ATmega328P Microcontroller
Ming Hsieh Department of Electrical Engineering EE 459Lx - Embedded Systems Design Laboratory 1 Introduction The Atmel ATmega328P Microcontroller by Allan G. Weber This document is a short introduction
More informationThe Radio Control Temperature Logger (RCTL) Manual For hardware version 1.0 Manual version 1.0b
The Radio Control Temperature Logger (RCTL) Manual For hardware version 1.0 Manual version 1.0b All materials owned by Dan Gebhardt Introduction This device records the temperature of a model engine during
More informationAVR 40 Pin Rapid Robot controller board
AVR 40 Pin Rapid Robot controller board User Manual Robokits India http://www.robokits.org info@robokits.org - 1 - Thank you for purchasing the AVR 40 Pin Rapid Robot controller board. This unit has been
More informationCSC 258 lab notes, Fall 2003
CSC 258 lab notes, Fall 2003 Instructor: E. R. C. Hehner Lab demonstrators: Nicolas Kokkalis, Andrés Lagar Cavilla Successful completion of the three graded labs in this course involves a significant amount
More informationUSB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter
C8051F38X DEVELOPMENT KIT USER S GUIDE 1. Kit Contents The C8051F38x Development Kit contains the following items: C8051F380 Target Board C8051Fxxx Development Kit Quick-start Guide Silicon Laboratories
More informationNote that FLIP is an Atmel program supplied by Crossware with Atmel s permission.
INTRODUCTION This manual will guide you through the first steps of getting the SE-8051ICD running with the Crossware 8051 Development Suite and the Atmel Flexible In-System Programming system (FLIP). The
More informationAXE Stack 18. BASIC-Programmable Microcontroller Kit. An inexpensive introduction to microcontroller technology for all ability levels
Ltd AXE Stack 18 BASIC-Programmable Microcontroller Kit a division of An inexpensive introduction to microcontroller technology for all ability levels Free Windows interface software Programmable in BASIC
More informationCopyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015.
Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015. Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015. Copyright 2015 by Stephen
More informationIntroduction to PSpice
Introduction to PSpice Simulation Software 1 The Origins of SPICE In the 1960 s, simulation software begins CANCER Computer Analysis of Nonlinear Circuits, Excluding Radiation Developed at the University
More informationThere are a number of ways of doing this, and we will examine two of them. Fig1. Circuit 3a Flash two LEDs.
Flashing LEDs We re going to experiment with flashing some LEDs in this chapter. First, we will just flash two alternate LEDs, and then make a simple set of traffic lights, finally a running pattern; you
More informationCreating Vector Shapes Week 2 Assignment 1. Illustrator Defaults
Illustrator Defaults Before we begin, we are going to make sure that all of us are using the same settings within our application. For this class, we will always want to make sure that our application
More informationCHAPTER 1 COPYRIGHTED MATERIAL. Finding Your Way in the Inventor Interface
CHAPTER 1 Finding Your Way in the Inventor Interface COPYRIGHTED MATERIAL Understanding Inventor s interface behavior Opening existing files Creating new files Modifying the look and feel of Inventor Managing
More informationSM010, Assembly Manual PCB Version 1.0
180 SM010, Assembly Manual MATRIXARCHATE 16 8 IO SEQUENTIAL MATRIX SIGNAL ROUTER SM010 1 2 1 2 3 4 5 3 4 5 6 7 8 9 10 11 12 6 7 8 9 10 11 12 13 14 15 16 PROGRAM A B C D E F G H f1 f2 20.000 180 SSSR Labs
More informationSierra Radio Systems. Making a Keyer with the. HamStack. Project Platform
Sierra Radio Systems Making a Keyer with the HamStack Project Platform Introduction The HamStack Project Board includes primary interface elements needed to make a high quality CW keyer. Using the LCD
More informationASSIGNMENT 3: PLAYING WITH THE 68HC11. Due Wednesday, Oct 9, 2002
ASSIGNMENT 3: PLAYING WITH THE 68HC11 Due Wednesday, Oct 9, 2002 Introduction In this assignment, you will (1) construct a minimal 68HC11 system on your breadboard, and (2) use the serial port of a computer
More informationCMS-8GP32. A Motorola MC68HC908GP32 Microcontroller Board. xiom anufacturing
CMS-8GP32 A Motorola MC68HC908GP32 Microcontroller Board xiom anufacturing 2000 717 Lingco Dr., Suite 209 Richardson, TX 75081 (972) 994-9676 FAX (972) 994-9170 email: Gary@axman.com web: http://www.axman.com
More informationAtmel Microprocessor Programming With AVRISPmkii
Atmel Microprocessor Programming With AVRISPmkii Purpose EE 400D - Senior Design Part of Electronics & Control Division Technical Training Series by Nicholas Lombardo October 13, 2015 The purpose of this
More informationME456: Mechatronics. Prof. Clark Radcliffe. Do you have the knack? Joonho Lee, TA. What s Mechatronics? Mechatronics
ME456: Mechatronics Prof. Clark J. Radcliffe Mechanical Engineering Michigan State University Prof. Clark Radcliffe Office: 2445 Engineering Phone: 355-5198 Email: radcliff@egr.msu.edu Web: http://www.egr.msu.edu/classes/me456/radcliff/
More information8051 Basic Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help
8051 Basic Development Board Product Manual Contents 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help 1. Overview 2. Features The board is built on a high quality FR-4(1.6
More informationAdafruit Metro Mini. Created by lady ada. Last updated on :12:28 PM UTC
Adafruit Metro Mini Created by lady ada Last updated on 2018-01-24 08:12:28 PM UTC Guide Contents Guide Contents Overview Pinouts USB & Serial converter Microcontroller & Crystal LEDs Power Pins & Regulators
More informationPrototyping & Engineering Electronics Kits Basic Kit Guide
Prototyping & Engineering Electronics Kits Basic Kit Guide odysseyboard.com Please refer to www.odysseyboard.com for a PDF updated version of this guide. Guide version 1.0, February, 2018. Copyright Odyssey
More informationSemester 2, 2018: Lab 1
Semester 2, 2018: Lab 1 S2 2018 Lab 1 This lab has two parts. Part A is intended to help you familiarise yourself with the computing environment found on the CSIT lab computers which you will be using
More informationArduino 05: Digital I/O. Jeffrey A. Meunier University of Connecticut
Arduino 05: Digital I/O Jeffrey A. Meunier jeffm@engr.uconn.edu University of Connecticut About: How to use this document I designed this tutorial to be tall and narrow so that you can read it on one side
More information