U.S. $5.50 CANADA $7.00 $5.50US $7.00CAN 06
|
|
- Cecil Benson
- 6 years ago
- Views:
Transcription
1 U.S. $5.50 CANADA $7.00 $5.50US $7.00CAN
2 In This Issue... Columns 08 Robytes by Jeff Eckert Stimulating Robot Tidbits 10 GeerHead by David Geer Remote Presence Robots Put Physicians Within Reach 13 Ask Mr. Roboto by Dennis Clark Your Problems Solved Here 77 Then and Now by Tom Carroll The Age of Robotics PAGE Give Your Robot a Better Grip On Things by Anthony Cunningham Add a whole new dimension to your robot by giving it a helping hand (literally!). 42 Enhance Your Plain Vanilla Benchtop Power Supply With a PICAXE by Fernando Garcia A power supply is an essential tool for any roboticist s workbench. This article presents a cost-effective upgrade to get the functionality and flexibility you ll need. 48 Planning Out Your Software for Microcontrollers by Matt Rusnak The use of microcontrollers in hobby robotics continues to grow, but creating software for them can be intimidating. Matt takes you through his favorite process for developing software using a simple puzzle box project as his point of reference. 54 Controlling Motors and Lights with Pulse Width Modulation by Jürgen G. Schmidt This article shows you how to implement PWM into your robotics design by demonstrating the principles through two simple projects. 60 Using a VEX Controller for Electronic Experiments by Daniel Ramirez Learn two methods of interfacing LCDs into your next build as we connect a low cost character LCD to the VEX microcontroller. 67 Add a Transceiver to Your ZeroG Trainer by Fred Eady Expand your Trainer project from last month by adding a transceiver to the mix. SERVO
3 This article shows how you can implement PWM in your own robotics projects. By building these two simple devices a general-purpose, low voltage light dimmer and a fan motor speed controller you will clearly see the principles in action. Controlling Motors and Lights With Pulse Width Modulation FIGURE 1. General-purpose PWM controller. By Jürgen G. Schmidt Background There are switches everywhere! Most of them turn things either on or off, but sometimes we want something turned only partly on. Our cars are an example of this. We use an accelerator to control the engine speed. A simple on/off switch for the engine might be exhilarating but ultimately not very useful. The same is true for some of our lights, fans, and robots. We need to control how much they are turned on. I had just finished replacing my halogen workbench light with an LED light strip I made from three watt LEDs. Now, I needed a dimmer for it. The LEDs work best at a constant voltage, so a PWM based control seemed like the way to go. PWM (Pulse Width Modulation) consists of turning a device on and off very rapidly. The proportion of the time that the device is switched on is determined by the width of the pulses; therefore the term pulse width modulation. You will find PWM used in many projects, particularly with robot motors. A simple alternative to PWM is to use a variable resistor in series with the device you want to control. This wastes a lot of power as heat, and as the voltage drops the device you are controlling may stop working too soon. The 555 timer chip is frequently used to generate PWM signals. This chip along with a few resistors and a capacitor, some calculations, and experimenting will yield an inexpensive and effective result. You can see the basic astable circuit description and calculations in the 555 datasheet (see References). However, I wanted a design with pushbutton controls for increasing and decreasing the speed or brightness, and I needed the flexibility to easily experiment with the various parameters of a PWM signal. I prefer to do this in software rather than hardware. I use PIC microcontrollers in many of my projects, frequently as a replacement for discrete components. In this case, I selected the PIC12F683 since it has a hardware PWM component. My first PWM controller was incorporated into the overall design of the project but I soon found that I could use PWM for all sorts of things. This led to the design of a general-purpose PWM controller that could be inserted between a power supply and a device usually a light or a fan. The PWM controller ended up as a parasitic system. By that, I mean that it does not need a separate power supply. Instead, it taps into the device that is being controlled. I built my first one between male and female 2.1 mm power connectors (Figure 1). I tried this out on some of the 12 volt fans I have on my desk and workbench. Previously, in order to reduce noise and avoid blowing papers away, I had adopted various strategies for slowing down the fans. These included using two fans in series and using six volt power supplies for 12 volt fans. A general-purpose PWM controller would give me consistent and variable control of my fans. 54 SERVO
4 Design and Testing In the course of designing and testing this generalpurpose PWM controller, I learned a few things. Backing up a little, a PWM signal has two key parameters: a period and a duty cycle (Figure 2). The signal is a square wave with the bottom at zero volts and the top at the driving voltage. In the case of my fans, this is 12 volts. The ratio of the width of the top section to the width of the bottom section is the duty cycle. If they are both the same length, then the duty cycle is 50%. If you make the top wider and the bottom narrower, then the duty cycle increases and the fan turns faster or the light is brighter, whichever the case may be. The total of one off and one on cycle is the period. If the period is too long, you will see the light flicker. In the case of the motors, they will hum or squeal at certain frequencies. Selecting the proper period or frequency (periods per second) is important for a successful PWM controller. The circuit for the PWM controller is fairly straightforward (Figure 3). Parts selection is not critical you probably have most of the parts on hand. The power to the target device is interrupted by a power switching transistor such as a TIP31 or MJE3055t in a TO-220 package. This will introduce a drop of about half a volt between the input and output side. If you use a Darlington transistor such as a TIP120, the voltage drop will be slightly higher, but still under one volt. Figure 4 shows how to connect a TO-220 NPN transistor. A 78L33 or 78L05 voltage regulator steals some power to supply the 12F683 which, in turn, provides a PWM signal to the transistor. Bypass capacitors C1 and C2 provide additional regulation. Input voltage to the overall system is limited by the specifications on the power transistor and the voltage regulator. The MJE3055T and TIP31, for example, are rated at 60 volts. The 78L33 and 78L05 voltage regulators, however, have a maximum input of 30 volts. The unregulated 12 volt transformers for my fans actually put out around 16 volts and the LED power supply I use puts out less than 30 volts, so I m safe with these. Two pins of the microcontroller are connected to pushbuttons that connect to ground. The pins are held high with pull-up resistors anything from 4.7K to 100K will work. The pushbuttons increase and decrease the percent activation. I designed a 1 inch by 1-1/2 inch printed circuit board (PCB) to hold all the parts, along with an optional power switch. The desired power connectors can be added on the ends of the PCB or it can be wired inline with a project. For space reasons, I did not include a programming connector on the PCB or the breadboard. Instead, I used an eight-pin IC clip to avoid repeatedly pulling and inserting the chip during testing (Figure 5). Since I had spare pins on the chip, I also connected one to a heartbeat LED and another to my PC serial port to get debugging output from my breadboard setup. (See the sidebars on Heartbeat LED and Terminal Programs.) This allows me to monitor the actual duty settings and their effect on the fan and light. Software FIGURE 2. PWM signal diagram. FIGURE 3. Circuit diagram. FIGURE 4. T220 NPN power transistor connections. The initial software was written two years ago for the PICBASIC PRO compiler. This has a built-in HPWM function that requires three parameters: PWM channel, duty, and frequency. This program is shown in Figure 6. My current microcontroller projects include handling multiple interrupts, as well as communicating with the Internet. PICBASIC isn t really suitable for this, so I recently switched to the Custom Computer Services (CCS) C compiler. While this change gave me additional flexibility, it also gave me additional complexity. Instead of a single PWM function, I now need to use three functions. One of these the setup_timer2() function requires some careful calculations to arrive at the right parameters for the desired frequency and duty. I had to read the datasheet and application notes several times to make sense of them. To help in calculating the correct parameters for the CCS C PWM statements, I developed an Excel spreadsheet that provides the actual CCS C statements to include in the program. It has two boxes of calculations. The top box is for determining the results of various parameters using the SERVO
5 FIGURE 5. Breadboard version of the PWM controller. Timer2 Calculations for PIC12F683 PWM For CCS C Compiler Miscellaneous Calculations Crystal Frequency ( Fosc) Hz Prescaler (1, 4, 16) 1. Cycle Time (Tosc) Sec Hz PR2 (Timer2 period: 0-255) 200. PWM Period (overflow) Sec Hz Duty Resolution is maximum possible (10 bits) PostScaler - sets interrupt (1-16) 16. Not used for PWM Interrupt period Sec Crystal Enter crystal frequency (Hz) Desired Period Frequency Enter desired PWM frequency PR2 Prescaler = Prescaler = Prescaler = Duty Range 0 to to to 36 setup_timer_2(t2_div_1, 124, 1 ); setup_ccp1( CCP_PWM ); set_pwm1_duty( 250L ); // square wave output - 50% duty 56 SERVO HPWM calculations Excel spreadsheet. formulas provided in the Microchip documentation. The bottom box accepts two values: a microcontroller oscillator frequency and a target PWM frequency. For this project, the oscillator frequency is the internally generated 8 MHz. I tested several computer fans small and large at different frequencies and discovered that a PWM frequency of 16 khz worked best for most of them. At this frequency, there was minimal humming or squealing. If you call up the spreadsheet, you will see these values entered. If your particular fan is noisy (especially at lower speeds), experiment with different frequencies. C statements are generated that yield the highest resolution or number of steps for the duty range. In this case, all three values for the Timer2 prescaler are allowed. If you change the target frequency to 4 khz, you will see that one of the prescaler values is not allowed. For a detailed explanation of this, see the Microchip datasheets and application notes listed in the References. The spreadsheet is available on my website at or the SERVO site at magazine.com. In the course of converting the original PICBASIC program to C, I came
6 683PWMLED.bas PWM LED Dimmer Jurgen G Schmidt Target: PIC12F683 Compiler: PICBasicPro 2.50b IDE: MicroCode Studio - internal clock - disable DEVICE INTRC_OSC_NOCLKOUT, MCLR_OFF DEFINE OSC 8 OSCCON = $70 8mhz for internal ANSEL = 0 All Digital CMCON0 = 7 Comparators off Port Assignments & Variables pinhi var GPIO.0 Brighter pinlo var GPIO.5 Dimmer duty var BYTE Initialize System read 0, duty MainLoop: read EEPROM up with some improvements. The original program saved the speed or brightness setting in EEPROM so that when I turned the fan or light back on, it would start at the same level. The problem with fans is that you can slow them down to a 10% level when they are running, but you can t Heartbeat LED When I first started working with microcontrollers, I would frequently chase software bugs that were in reality hardware issues. Now when I prototype, I ALWAYS include a heartbeat LED on the breadboard. If I m working with a development board which usually has one or more LEDs I make one of them the heartbeat. I never take it out until I m finished. Blinking an LED at the beginning of an embedded program (and throughout) verifies that your system is alive. The code is very simple; just a few lines to turn the LED on and off. Get this working first and then later on if the LED is not blinking, there is probably something wrong other than your code. Once I implemented the heartbeat LED consistently, I ve saved myself considerable aggravation. Where initially I suspected my code, I discovered that batteries had depleted, programming or prototyping wires had come loose, a critical component had been harvested from a breadboard for use elsewhere, and so on. These are simple, silly things that are easily fixed, but if overlooked can make you doubt your sanity. If the LED does not blink on power-up, I check the hardware and environment before I mistrust my code. Using a heartbeat LED and writing the universal microcontroller equivalent of Hello world is also useful when starting with new hardware. It verifies that you have a viable configuration. It can also provide feedback on the correct oscillator or crystal settings. Once I have the heartbeat, I add the serial output routines for more detailed diagnostics. Then it s on to the rest of the project. Once you have the heartbeat and serial routines under control, you have a good framework for proceeding. hpwm 1,Duty,24000 GPIO.2 at pin 5 pause 200 if pinhi = 0 then gosub Brighter if pinlo = 0 then gosub Dimmer goto MainLoop end Brighter: if Duty => 255 then return Duty = Duty + 15 write 0, duty save to EEPROM return - Dimmer: if Duty = 0 then return Duty = Duty - 15 write 0, duty save to EEPROM return end of 683PWMLED.bas FIGURE 6. PICBASIC PRO listing. start them at that level. I added a feature that would boost the initial fan speed if it was below a certain level to get it started, and then drop back down to the slower saved speed. This resulted in two versions of the program: one for lights that did not have the boost feature; and one for Terminal Programs For debugging, I connect my PIC projects directly to a terminal program running on my development PC. I have not had any trouble connecting an output pin from my microcontrollers directly to a PC serial port, even at 3.3 volts. I just have a ground wire to pin 5 and another from the serial output pin to pin 2 on the DB-9 connector. With the disappearance of physical serial ports on PCs, I m usually connecting to a serialto-usb cable, such as shown in Figure 5. Microsoft Vista and Windows 7 do not include a serial terminal program. If you are still using Windows XP as I am for my development systems then you can use Hyperterm. I find it a nuisance to work with and have found some free alternatives that work well on all systems. Aside from the simplicity of use, some also support TCP and UDP which makes them handy for testing TCP/IP communications programs. My favorites are: The Hercules Setup utility from HW Group ( TeraTerm Pro is available from NetBurner has utilities for monitoring and debugging communications. These are available from The serial terminal program is mtty.exe. None of these programs require installation they run straight from the exe so they are easy to carry around and use. Some of them (Hercules and TeraTerm) do not list the available COM ports; that is, you have to know ahead of time which COM port you want to use. SERVO
7 FIGURE 7. Fan with PWM controller. fans with the boost feature. The latest version combines both features into a single device. There is a setup routine that sets the controller to fan or light mode. If you hold down the increase button during power-up, the controller is put into light mode. If you hold down the decrease button while turning on the power, the controller is put in fan mode. This setting is saved in EEPROM. Since I use these PWM controllers as parts of other projects, I only need one version now that I can easily switch back and forth, depending on what I am working on. With the appropriate hardware, this code can be adapted to a variety of uses. When driving a robot, for example, you can gradually ramp up the duty value in a loop so that the wheels don t spin from the sudden full-on activation. If you use it to control lights, you could gradually turn them on and off. When you look at the C code, you ll see statements bracketed by #ifdef DEBUG and #endif statements. The serial output and heartbeat LED statements are enclosed in these so they can be disabled easily in the release version. Finished Once I knew the circuit would work, I sent the Gerber files to Silver Circuits for manufacturing the boards. I refined the software while I waited for the boards to come back. The board has a position labeled J1 which is where the incoming power is connected if you are not including a switch in the design. If you are including the switch, external connector J2 is connected to the pads marked IN. Power to the load via external connector J3 is connected to the pads labeled OUT. The square pads are positive. Please note the circuit was primarily designed for controlling low voltage lights and brushless computer fans. There is not any built-in protection against transients or surges coming in from the load. Figure 7 shows the controller attached to the side of a pair of fans. I can now easily adjust the speed on these from Hurricane to Mild Breeze. Figure 8 shows the controller integrated into my under-the-shelf LED light bar. This photo only shows the first three of the eight LEDs that are Figure 8. Workbench light with PWM dimmer. 58 SERVO
8 mounted on a strip of aluminum with heat-conducting epoxy. This strip is, in turn, attached with spacers to the underside of the shelf so air can circulate on all sides of it. High power LEDs require heatsinks to dissipate the heat they produce. You can see the completed circuit board and drilled box before final assembly in Figure 9. If you compare it with Figure 1 and Figure 7, you can see that the PCB supports switches in different configurations. Once you have worked with this basic PWM circuit, you will be ready to implement PWM in larger projects that will include such things as driving robot wheels. Unlike the brushless fan motors I have been using here, drive motors will usually require additional electronics to address direction of rotation and the reverse EMF that is generated when they get turned on and off. A PWM signal will generally be used to control the speed of the motor. SV Jürgen Schmidt can be contacted at jurgen@jgscraft.com. Fairchild LM555 Datasheet LM/LM555.pdf PIC12F683 Datasheet www1.microchip.com/downloads/ en/devicedoc/41211d_.pdf Microchip Application Note AN594: Using the CCP Module(s) www1.microchip.com/downloads/ en/appnotes/00594b.pdf Figure 9. Light controller before assembly. Parts List Designator Component Source/Part Number PCB N/A Silver Circuits, N/A U1 PIC12F683 Mouser.com, 579-PIC12F683-I/P U2 78L33 Mouser, 511-L78L33ACZ Q1 MJE3055T Mouser, 511-MJE3055T PB1, PB2 Pushbutton switch All Electronics.com, PB-157 R1,R2 10K 1/8 watt C1 1 μf 50V C2.1 μf 50V J2 2.1 mm jack (power in) All Electronics, DCJ-1 J3 2.1 mm plug (power out) All Electronics, DCSID SW1 Any suitable slide or toggle switch (optional) The spreadsheet, hex, and source code files are available at or PCBs and pre-programmed chips for this project are also available. References Microchip Application Note AN564: Using the PWM www1.microchip.com/downloads/ en/appnotes/00564b.pdf PICBASIC PRO Compiler CCS C compiler PCB Manufacturing UNIQUE PRODUCTS with free lifetime support! New Advanced Triggering BEST SELLER Pico - 2ch 250MHz Scope with 32 or 128 MS and single-shot sampling of 1GS/s. Adv triggering. 250MHz spec. analyzer and 125MS/s waveform gen. PS5203 / PS5204 $1830 / $2736 Bargain LCD Scopes Owon - 25 or 60MHz color LCD 2ch bench scope OR 20MHz handheld scope/ meter. USB interface for printouts. PDS5022S / PDS6062T $315 / $499 HDS1022MN / HDS2062MN $593 / $699 7 in 1 USB Scope 2-ch 10-bit 2MHz scope/spectrum-analyzer, 3MHz 8-bit wfm gen; 16 x I/O; Network Analyzer; Noise Generator; PWM. Windows/Linux/ Mac compatible! USB-powered, great for toolbox, education, etc. CGR-101 $199 Motion Control Motion control boards with integrated power amplifiers for DC-servo/brushlessservo/stepper-motors. Motion Controllers can even be operated as a stand-alone control system. PIC-SERVO SC $160 Scope / Analyzers 50/100MHz 2-ch/16 logic scope and logic analyzers wfm/s refresh rate. See wfm and logic data simultaneously. Trigger on data or signal edge. DS1052D / DS1102D $1195 / $1480 EMC Spectrum Analyzers EMC RF & EMF Spectrum - Analyzers 1Hz to 7GHz for measuring transmissions from radar, radio/tv towers, WLAN, WiFi, WiMAX, Bluetooth, microwave ovens, mikes, etc from $299 / $1990 Mixed-Signal Scope CleverScope - 100MHz Scope, Spectrum/ Logic Analyzer, & SigGen. for PCs. 4 or 8M/sample storage! Easy A-B, math, & filters! 2 ch x 10, 12 or 14-bit, 8 dig. I/P. (Opt MHz SigGen. $299) CS328A-4 (4MS Buffer) $1259 CS328A-8 (8MS Buffer) $1474 USB Bus Analyzers Packet-Master - best value USB1.1/2.0 analyzers and generators. Identify USB problems fast, fine-tune performance. USB12 (USB1.1) $699 USB480+ (USB1.1/2.0) $1199 USB500AG (USB1.1/2.0/Gen) $1399 Thousands More! Ethernet-Serial Cable...$89 USB to 8 Thermocouple Logger...$466 USB to I2C I/O...$89 Keyboard Simulator board...$81 ucam-rs232 & TTL...$58 USB-Serial adapters...$19 USB Logic Analyzer...$299 FREE STARBUCKS CARD WITH $50 ORDER New products arriving daily! See our website for specials! SERVO
Laboratory 11. Pulse-Width-Modulation Motor Speed Control with a PIC
Laboratory 11 Pulse-Width-Modulation Motor Speed Control with a PIC Required Components: 1 PIC16F88 18P-DIP microcontroller 3 0.1 F capacitors 1 12-button numeric keypad 1 NO pushbutton switch 1 Radio
More informationPS2-SMC-06 Servo Motor Controller Interface
PS2-SMC-06 Servo Motor Controller Interface PS2-SMC-06 Full Board Version PS2 (Playstation 2 Controller/ Dual Shock 2) Servo Motor Controller handles 6 servos. Connect 1 to 6 Servos to Servo Ports and
More informationExperiment #3: Micro-controlled Movement
Experiment #3: Micro-controlled Movement So we re already on Experiment #3 and all we ve done is blinked a few LED s on and off. Hang in there, something is about to move! As you know, an LED is an output
More informationνµθωερτψυιοπασδφγηϕκλζξχϖβνµθωερτ ψυιοπασδφγηϕκλζξχϖβνµθωερτψυιοπα σδφγηϕκλζξχϖβνµθωερτψυιοπασδφγηϕκ χϖβνµθωερτψυιοπασδφγηϕκλζξχϖβνµθ
θωερτψυιοπασδφγηϕκλζξχϖβνµθωερτψ υιοπασδφγηϕκλζξχϖβνµθωερτψυιοπασδ φγηϕκλζξχϖβνµθωερτψυιοπασδφγηϕκλζ ξχϖβνµθωερτψυιοπασδφγηϕκλζξχϖβνµ EE 331 Design Project Final Report θωερτψυιοπασδφγηϕκλζξχϖβνµθωερτψ
More informationOcean Controls KT-5198 Dual Bidirectional DC Motor Speed Controller
Ocean Controls KT-5198 Dual Bidirectional DC Motor Speed Controller Microcontroller Based Controls 2 DC Motors 0-5V Analog, 1-2mS pulse or Serial Inputs for Motor Speed 10KHz, 1.25KHz or 156Hz selectable
More informationControlling DC Brush Motor using MD10B or MD30B. Version 1.2. Aug Cytron Technologies Sdn. Bhd.
PR10 Controlling DC Brush Motor using MD10B or MD30B Version 1.2 Aug 2008 Cytron Technologies Sdn. Bhd. Information contained in this publication regarding device applications and the like is intended
More informationG3P-R232. User Manual. Release. 2.06
G3P-R232 User Manual Release. 2.06 1 INDEX 1. RELEASE HISTORY... 3 1.1. Release 1.01... 3 1.2. Release 2.01... 3 1.3. Release 2.02... 3 1.4. Release 2.03... 3 1.5. Release 2.04... 3 1.6. Release 2.05...
More information6. HARDWARE PROTOTYPE AND EXPERIMENTAL RESULTS
6. HARDWARE PROTOTYPE AND EXPERIMENTAL RESULTS Laboratory based hardware prototype is developed for the z-source inverter based conversion set up in line with control system designed, simulated and discussed
More informationIntroduction to Using the PIC16F877 Justin Rice IMDL Spring 2002
Introduction to Using the PIC16F877 Justin Rice IMDL Spring 2002 Basic Specs: - 30 pins capable of digital I/O - 8 that can be analog inputs - 2 capable of PWM - 8K of nonvolatile FLASH memory - 386 bytes
More informationSynthNV - Signal Generator / Power Detector Combo
SynthNV - Signal Generator / Power Detector Combo The Windfreak SynthNV is a 34.4MHz to 4.4GHz software tunable RF signal generator controlled and powered by a PC running Windows XP, Windows 7, or Android
More informationEVDP610 IXDP610 Digital PWM Controller IC Evaluation Board
IXDP610 Digital PWM Controller IC Evaluation Board General Description The IXDP610 Digital Pulse Width Modulator (DPWM) is a programmable CMOS LSI device, which accepts digital pulse width data from a
More information' The PicBasic Pro Compiler Manual is on line at: '
---------------Title-------------- File...4331_encoder4.pbp Started...1/10/10 Microcontroller Used: Microchip Technology 18F4331 Available at: http://www.microchipdirect.com/productdetails.aspx?category=pic18f4331
More informationDirect Current Waveforms
Cornerstone Electronics Technology and Robotics I Week 20 DC and AC Administration: o Prayer o Turn in quiz Direct Current (dc): o Direct current moves in only one direction in a circuit. o Though dc must
More informationPhysics 335 Lab 7 - Microcontroller PWM Waveform Generation
Physics 335 Lab 7 - Microcontroller PWM Waveform Generation In the previous lab you learned how to setup the PWM module and create a pulse-width modulated digital signal with a specific period and duty
More informationMD04-24Volt 20Amp H Bridge Motor Drive
MD04-24Volt 20Amp H Bridge Motor Drive Overview The MD04 is a medium power motor driver, designed to supply power beyond that of any of the low power single chip H-Bridges that exist. Main features are
More informationo What happens if S1 and S2 or S3 and S4 are closed simultaneously? o Perform Motor Control, H-Bridges LAB 2 H-Bridges with SPST Switches
Cornerstone Electronics Technology and Robotics II H-Bridges and Electronic Motor Control 4 Hour Class Administration: o Prayer o Debriefing Botball competition Four States of a DC Motor with Terminals
More informationHB-25 Motor Controller (#29144)
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 informationName & SID 1 : Name & SID 2:
EE40 Final Project-1 Smart Car Name & SID 1 : Name & SID 2: Introduction The final project is to create an intelligent vehicle, better known as a robot. You will be provided with a chassis(motorized base),
More informationGF of 9 THE GADGET FREAK FILES CASE #165. Analog Clock Measures Time in Meters
GF 165 04-05-2010 1 of 9 THE GADGET FREAK FILES CASE #165 Analog Clock Measures Time in Meters Alan Parekh took a different approach to time keeping with his electronic clock that registers hours, minutes,
More informationLaboration: Frequency measurements and PWM DC motor. Embedded Electronics IE1206
Laboration: Frequency measurements and PWM DC motor. Embedded Electronics IE1206 Attention! To access the laboratory experiment you must have: booked a lab time in the reservation system (Daisy). completed
More informationProject Final Report: Directional Remote Control
Project Final Report: by Luca Zappaterra xxxx@gwu.edu CS 297 Embedded Systems The George Washington University April 25, 2010 Project Abstract In the project, a prototype of TV remote control which reacts
More informationPICee Development System
PICee Development System a PICF-based single-board computer by Reinhardt Weber, DCZM weber.reinhardt@t-online.de This single-board computer, using the popular low-cost PICF microcontroller, has been developed
More informationPIC Functionality. General I/O Dedicated Interrupt Change State Interrupt Input Capture Output Compare PWM ADC RS232
PIC Functionality General I/O Dedicated Interrupt Change State Interrupt Input Capture Output Compare PWM ADC RS232 General I/O Logic Output light LEDs Trigger solenoids Transfer data Logic Input Monitor
More informationFollow this and additional works at: Part of the Engineering Commons
Trinity University Digital Commons @ Trinity Mechatronics Final Projects Engineering Science Department 5-2016 Heart Beat Monitor Ivan Mireles Trinity University, imireles@trinity.edu Sneha Pottian Trinity
More informationAnalog Servo Drive. Peak Current 16 A (11.3 A RMS )
Description The PWM servo drive is designed to drive three phase brushless motors with sine wave current at a high switching frequency. The drive requires two sinusoidal command signals with a 120-degree
More informationPulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore)
Laboratory 14 Pulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore) Required Components: 1x PIC 16F88 18P-DIP microcontroller 3x 0.1 F capacitors 1x 12-button numeric
More informationI2C Demonstration Board LED Dimmers and Blinkers PCA9531 and PCA9551
I2C 2005-1 Demonstration Board LED Dimmers and Blinkers PCA9531 and PCA9551 Oct, 2006 Intelligent I 2 C LED Controller RGBA Dimmer/Blinker /4/5 Dimmer PCA9531/2/3/4 1 MHz I²C Bus PCA963X PCA9533 PCA9533
More informationGalil Motion Control. DMC 3x01x. Datasheet
Galil Motion Control DMC 3x01x Datasheet 1-916-626-0101 Galil Motion Control 270 Technology Way, Rocklin, CA [Type here] [Type here] (US ONLY) 1-800-377-6329 [Type here] Product Description The DMC-3x01x
More informationRC-WIFI CONTROLLER USER MANUAL
RC-WIFI CONTROLLER USER MANUAL In the rapidly growing Internet of Things (IoT), applications from personal electronics to industrial machines and sensors are getting wirelessly connected to the Internet.
More informationEE 3101 ELECTRONICS I LABORATORY EXPERIMENT 9 LAB MANUAL APPLICATIONS OF IC BUILDING BLOCKS
EE 3101 ELECTRONICS I LABORATORY EXPERIMENT 9 LAB MANUAL APPLICATIONS OF IC BUILDING BLOCKS OBJECTIVES In this experiment you will Explore the use of a popular IC chip and its applications. Become more
More informationAVL-10000T AUDIO VIDEO LINK TRANSMITTER TECHNICAL MANUAL
AVL-10000T AUDIO VIDEO LINK TRANSMITTER TECHNICAL MANUAL Document : AVL-10000T Version: 1.00 Author: Henry S Date: 25 July 2008 This module contains protection circuitry to guard against damage due to
More informationESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab
ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab The purpose of this lab is to learn about sensors and use the ADC module to digitize the sensor signals. You will use the digitized signals
More informationJaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN)
Jaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN) 217-3367 Ordering Information Product Number Description 217-3367 Stellaris Brushed DC Motor Control Module with CAN (217-3367)
More informationElectronics Design Laboratory Lecture #10. ECEN 2270 Electronics Design Laboratory
Electronics Design Laboratory Lecture #10 Electronics Design Laboratory 1 Lessons from Experiment 4 Code debugging: use print statements and serial monitor window Circuit debugging: Re check operation
More informationCourse Introduction. Content: 19 pages 3 questions. Learning Time: 30 minutes
Course Introduction Purpose: This course discusses techniques that can be applied to reduce problems in embedded control systems caused by electromagnetic noise Objectives: Gain a basic knowledge about
More informationB Robo Claw 2 Channel 25A Motor Controller Data Sheet
B0098 - Robo Claw 2 Channel 25A Motor Controller Feature Overview: 2 Channel at 25A, Peak 30A Hobby RC Radio Compatible Serial Mode TTL Input Analog Mode 2 Channel Quadrature Decoding Thermal Protection
More informationDevantech SRF04 Ultra-Sonic Ranger Finder Cornerstone Electronics Technology and Robotics II
Devantech SRF04 Ultra-Sonic Ranger Finder Cornerstone Electronics Technology and Robotics II Administration: o Prayer PicBasic Pro Programs Used in This Lesson: o General PicBasic Pro Program Listing:
More informationAnalog Servo Drive. Continuous Current. Features
Description Power Range The PWM servo drive is designed to drive three phase brushless motors with sine wave current at a high switching frequency. The drive requires two sinusoidal command signals with
More informationFrequency Synthesizer Project ECE145B Winter 2011
Frequency Synthesizer Project ECE145B Winter 2011 The goal of this last project is to develop a frequency synthesized local oscillator using your VCO from Lab 2. The VCO will be locked to a stable crystal
More informationElectronics. RC Filter, DC Supply, and 555
Electronics RC Filter, DC Supply, and 555 0.1 Lab Ticket Each individual will write up his or her own Lab Report for this two-week experiment. You must also submit Lab Tickets individually. You are expected
More informationSPECIFICATION EP 1000/1500/2000 Series
UNINTERRUPTIBLE POWER SYSTEM SPECIFICATION EP 1000/1500/2000 Series Page 1 of 28 1.0 Revision Summary REVISION SECTION DESCRIPTION Formal Release Page 2 of 28 Table of Contents 1. Introduction. 4 2. Block
More informationRFID Door Unlocking System
RFID Door Unlocking System Evan VanMersbergen Project Description ETEC 471 Professor Todd Morton December 7, 2005-1- Introduction In this age of rapid technological advancement, radio frequency (or RF)
More information10 Error Code List. Motion Control SW. NTI AG / LinMot User Manual Motion Control SW/ Page 87/94
Motion Control SW L i n M o t 10 List Code Description Actions to take 0000h No Error No error is pending. 0001h X4 Logic Supply Too Low The logic supply voltage has been too low. The minimal logic supply
More informationRX23T inverter ref. kit
RX23T inverter ref. kit Deep Dive October 2015 YROTATE-IT-RX23T kit content Page 2 YROTATE-IT-RX23T kit: 3-ph. Brushless Motor Specs Page 3 Motors & driving methods supported Brushless DC Permanent Magnet
More informationDR-TRC105-EV Evaluation Kit. User s Guide
DR-TRC105-EV Evaluation Kit User s Guide DR-TRC105-304-EV DR-TRC105-315-EV DR-TRC105-345-EV DR-TRC105-372-EV DR-TRC105-390-EV DR-TRC105-403-EV DR-TRC105-434-EV DR-TRC105-450-EV 2010-2015 by Murata Electronics
More information). The THRESHOLD works in exactly the opposite way; whenever the THRESHOLD input is above 2/3V CC
ENGR 210 Lab 8 RC Oscillators and Measurements Purpose: In the previous lab you measured the exponential response of RC circuits. Typically, the exponential time response of a circuit becomes important
More informationIn this activity, you will program the BASIC Stamp to control the rotation of each of the Parallax pre-modified servos on the Boe-Bot.
Week 3 - How servos work Testing the Servos Individually In this activity, you will program the BASIC Stamp to control the rotation of each of the Parallax pre-modified servos on the Boe-Bot. How Servos
More informationReview: The Ameritron RCS-12C Controller and RCS-10/12 Remote Relay Box Phil Salas AD5X
Review: The Ameritron RCS-C Controller and RCS-0/ Remote Relay Box Phil Salas ADX Introduction Automatic band decoders read your transceiver s band data or frequency information and output DC control voltages
More informationB RoboClaw 2 Channel 30A Motor Controller Data Sheet
B0098 - RoboClaw 2 Channel 30A Motor Controller (c) 2010 BasicMicro. All Rights Reserved. Feature Overview: 2 Channel at 30Amp, Peak 60Amp Battery Elimination Circuit (BEC) Switching Mode BEC Hobby RC
More informationFigure 1. CheapBot Smart Proximity Detector
The CheapBot Smart Proximity Detector is a plug-in single-board sensor for almost any programmable robotic brain. With it, robots can detect the presence of a wall extending across the robot s path or
More informationInternational Journal of Advance Engineering and Research Development
Scientific Journal of Impact Factor (SJIF): 4.14 International Journal of Advance Engineering and Research Development Volume 3, Issue 2, February -2016 e-issn (O): 2348-4470 p-issn (P): 2348-6406 SIMULATION
More informationAs delivered power levels approach 200W, sometimes before then, heatsinking issues become a royal pain. PWM is a way to ease this pain.
1 As delivered power levels approach 200W, sometimes before then, heatsinking issues become a royal pain. PWM is a way to ease this pain. 2 As power levels increase the task of designing variable drives
More informationPIC ADC to PWM and Mosfet Low-Side Driver
Name Lab Section PIC ADC to PWM and Mosfet Low-Side Driver Lab 6 Introduction: In this lab you will convert an analog voltage into a pulse width modulation (PWM) duty cycle. The source of the analog voltage
More informationEE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter
EE283 Electrical Measurement Laboratory Laboratory Exercise #7: al Counter Objectives: 1. To familiarize students with sequential digital circuits. 2. To show how digital devices can be used for measurement
More information9 Feedback and Control
9 Feedback and Control Due date: Tuesday, October 20 (midnight) Reading: none An important application of analog electronics, particularly in physics research, is the servomechanical control system. Here
More informationCATALOG. ANALOG COMMUNICATION SYSTEMS DIGITAL COMMUNICATION SYSTEMS Microcontroller kits Arm controller kits PLC Trainer KITS Regulated Power supplies
CATALOG ANALOG COMMUNICATION SYSTEMS DIGITAL COMMUNICATION SYSTEMS Microcontroller kits Arm controller kits PLC Trainer KITS Regulated Power supplies UNION INTRUMENTS #17 & 18, 4 th floor, Hanumathra Arcade
More informationEE 314 Spring 2003 Microprocessor Systems
EE 314 Spring 2003 Microprocessor Systems Laboratory Project #9 Closed Loop Control Overview and Introduction This project will bring together several pieces of software and draw on knowledge gained in
More informationFigure 1: One Possible Advanced Control System
Control and Navigation 3 Cornerstone Electronics Technology and Robotics III (Notes primarily from Underwater Robotics Science Design and Fabrication, an excellent book for the design, fabrication, and
More informationLAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY
LAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY Objectives Preparation Tools To see the inner workings of a commercial mechatronic system and to construct a simple manual motor speed controller and current
More informationDebugging a Boundary-Scan I 2 C Script Test with the BusPro - I and I2C Exerciser Software: A Case Study
Debugging a Boundary-Scan I 2 C Script Test with the BusPro - I and I2C Exerciser Software: A Case Study Overview When developing and debugging I 2 C based hardware and software, it is extremely helpful
More informationthe Board of Education
the Board of Education Voltage regulator electrical power (V dd, V in, V ss ) breadboard (for building circuits) power jack digital input / output pins 0 to 15 reset button Three-position switch 0 = OFF
More informationRC Filters and Basic Timer Functionality
RC-1 Learning Objectives: RC Filters and Basic Timer Functionality The student who successfully completes this lab will be able to: Build circuits using passive components (resistors and capacitors) from
More informationPhotometer System Mar 8, 2009
John Menke 22500 Old Hundred Rd Barnesville, MD 20838 301-407-2224 john@menkescientific.com Photometer System Mar 8, 2009 Description This paper describes construction and testing of a photometer for fast
More informationECE 511: FINAL PROJECT REPORT GROUP 7 MSP430 TANK
ECE 511: FINAL PROJECT REPORT GROUP 7 MSP430 TANK Team Members: Andrew Blanford Matthew Drummond Krishnaveni Das Dheeraj Reddy 1 Abstract: The goal of the project was to build an interactive and mobile
More informationAnalog Servo Drive 25A20DD
Description Power Range NOTE: This product has been replaced by the AxCent family of servo drives. Please visit our website at www.a-m-c.com or contact us for replacement model information and retrofit
More informationEE 308 Lab Spring 2009
9S12 Subsystems: Pulse Width Modulation, A/D Converter, and Synchronous Serial Interface In this sequence of three labs you will learn to use three of the MC9S12's hardware subsystems. WEEK 1 Pulse Width
More informationFMS Flight Simulator Encoder
FMS Flight Simulator Encoder Practice without crashing your models By Dean Sarelius d.sarelius@bigpond.com We all know that even the best pilots spend many hours practising on flight simulators before
More informationList of Items Available in the Laboratory the Lab
List of Items Available in the Laboratory the Lab Category Component 555 Timer $0.30 5V Relay $3.50 74xxx Series IC Chip $0.30 Battery - 12V (rechargeable Lead-acid type) $16.00 Battery - 6V (rechargeable
More informationOcean Controls KT-5221 Modbus IO Module
Ocean Controls Modbus IO Module 8 Relay Outputs 4 Opto-Isolated Inputs 2 Analog Inputs (10 bit) 1 PWM Output (10 bit) 4 Input Counters Connections via Pluggable Screw Terminals 0-5V or 0-20mA Analog Inputs,
More informationUNIVERSAL-DDS-VFO UDV ( 1 Hz to 10 MHz)
UNIVERSAL-DDS-VFO UDV ( 1 Hz to 10 MHz) Connection and operating instructions 1. Introduction The UDV is the ideal device to adapt older, VFO-controlled transceivers to modern requirements regarding frequency
More informationAnalog Servo Drive 100A40
Description Power Range The 100A40 PWM servo drive is designed to drive brush type DC motors at a high switching frequency. A single red/green LED indicates operating status. The drive is fully protected
More informationThe Datasheet and Interfacing EE3376
The Datasheet and Interfacing EE3376 MSP430 Datasheet Modes of the MSP430 Active Mode (this class) LPM0 (CPU asleep) LPM3 (only ACLK on) LPM4 (sleep mode) 0 0 0 0 250uA 0 0 0 1 35 ua 1 1 0 1 1 ua 1 1 1
More informationDirections for Wiring and Using The GEARS II (2) Channel Combination Controllers
Directions for Wiring and Using The GEARS II (2) Channel Combination Controllers PWM Input Signal Cable for the Valve Controller Plugs into the RC Receiver or Microprocessor Signal line. White = PWM Input
More information2.0 Discussion: 2.1 Approach:
2.0 Discussion: 2.1 Approach: The design for a Power Monitor and Data Logging System is comprised of two major components: the Power Meter and the Data Logger. The Power Meter is the package that plugs
More informationPART 1: DESCRIPTION OF THE DIGITAL CONTROL SYSTEM
ELECTRICAL ENGINEERING TECHNOLOGY PROGRAM EET 433 CONTROL SYSTEMS ANALYSIS AND DESIGN LABORATORY EXPERIENCES INTRODUCTION TO DIGITAL CONTROL PART 1: DESCRIPTION OF THE DIGITAL CONTROL SYSTEM 1. INTRODUCTION
More informationADVANCED EMBEDDED MONITORING SYSTEM FOR ELECTROMAGNETIC RADIATION
98 Chapter-5 ADVANCED EMBEDDED MONITORING SYSTEM FOR ELECTROMAGNETIC RADIATION 99 CHAPTER-5 Chapter 5: ADVANCED EMBEDDED MONITORING SYSTEM FOR ELECTROMAGNETIC RADIATION S.No Name of the Sub-Title Page
More informationPeak Current. Continuous Current. See Part Numbering Information on last page of datasheet for additional ordering options.
Description Power Range The PWM servo drive is designed to drive brushless DC motors at a high switching frequency. A single red/green LED indicates operating status. The drive is fully protected against
More informationRA-01 Robotic Arm & Controller Manual & User s Guide
Images SI Inc. Staten Island NY 10312 718.966.3694 Tel. 718.966.3695 Fax http://www.imagesco.com RA-01 Robotic Arm & Controller Manual & User s Guide Page 1 Important Safety Warning This kit is not intended
More information' Turn off A/D converters (thereby allowing use of pins for I/O) ANSEL = 0
dc_motor.bas (PIC16F88 microcontroller) Design Example Position and Speed Control of a dc Servo Motor. The user interface includes a keypad for data entry and an LCD for text messages. The main menu offers
More informationServoDMX OPERATING MANUAL. Check your firmware version. This manual will always refer to the most recent version.
ServoDMX OPERATING MANUAL Check your firmware version. This manual will always refer to the most recent version. WORK IN PROGRESS DO NOT PRINT We ll be adding to this over the next few days www.frightideas.com
More informationElektor Datalogger Review
Introduction Amateur radio astronomers sometimes need to log data from sensors such as receivers and magnetometers but do not wish to or cannot leave their PC turned on for long periods. They need an autonomous
More informationEE 308 Spring S12 SUBSYSTEMS: PULSE WIDTH MODULATION, A/D CONVERTER, AND SYNCHRONOUS SERIAN INTERFACE
9S12 SUBSYSTEMS: PULSE WIDTH MODULATION, A/D CONVERTER, AND SYNCHRONOUS SERIAN INTERFACE In this sequence of three labs you will learn to use the 9S12 S hardware sybsystem. WEEK 1 PULSE WIDTH MODULATION
More informationAxCent Servo Drive A25A100
Description Power Range The A25A100 PWM servo drive is designed to drive brush type DC motors at a high switching frequency. A single red/green LED indicates operating status. The drive is fully protected
More informationBeeLine TX User s Guide V1.1c 4/25/2005
BeeLine TX User s Guide V1.1c 4/25/2005 1 Important Battery Information The BeeLine Transmitter is designed to operate off of a single cell lithium polymer battery. Other battery sources may be used, but
More informationTarocco Closed Loop Motor Controller
Contents Safety Information... 3 Overview... 4 Features... 4 SoC for Closed Loop Control... 4 Gate Driver... 5 MOSFETs in H Bridge Configuration... 5 Device Characteristics... 6 Installation... 7 Motor
More informationSwitch closes when V GS 4Vdc. Figure 1. N Channel MOSFET Equivalent Circuit
Overview MOSFETS are voltage-controlled switches. Unlike triacs, MOSFETS have the capability of being turned on and turned off. They also switch much faster than triacs. As illustrated in Figure 1, the
More informationAxCent Servo Drive A50A100
Description Power Range The A50A100 PWM servo drive is designed to drive brushed type DC motors at a high switching frequency. A single red/green LED indicates operating status. The drive is fully protected
More informationFAN5602 Universal (Step-Up/Step-Down) Charge Pump Regulated DC/DC Converter
August 2009 FAN5602 Universal (Step-Up/Step-Down) Charge Pump Regulated DC/DC Converter Features Low-Noise, Constant-Frequency Operation at Heavy Load High-Efficiency, Pulse-Skip (PFM) Operation at Light
More informationPowerAmp Design. PowerAmp Design PAD20 COMPACT HIGH VOLTAGE OP AMP
PowerAmp Design Rev C KEY FEATURES LOW COST HIGH VOLTAGE 150 VOLTS HIGH OUTPUT CURRENT 5A 40 WATT DISSIPATION CAPABILITY 80 WATT OUTPUT CAPABILITY INTEGRATED HEAT SINK AND FAN SMALL SIZE 40mm SQUARE RoHS
More informationPID MOTOR CONTROLLER. Version 1.0. October Cytron Technologies Sdn. Bhd.
PID MOTOR CONTROLLER PR24 Version 1.0 October 2009 Cytron Technologies Sdn. Bhd. Information contained in this publication regarding device applications and the like is intended through suggestion only
More informationEE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino
EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs 10-11 Introduction to Arduino In this lab we will introduce the idea of using a microcontroller as a tool for controlling
More informationJUMA-TRX2 DDS / Control Board description OH2NLT
JUMA-TRX2 DDS / Control Board description OH2NLT 22.08.2007 General Key functions of the JUMA-TRX2 DDS / Control board are: - provide user interface functions with LCD display, buttons, potentiometers
More informationPIC Analog Voltage to PWM Duty Cycle
Name Lab Section PIC Analog Voltage to PWM Duty Cycle Lab 5 Introduction: In this lab you will convert an analog voltage into a pulse width modulation (PWM) duty cycle. The source of the analog voltage
More informationBuilt-in soft-start feature. Up-Slope and Down-Slope. Power-Up safe start feature. Motor will only start if pulse of 1.5ms is detected.
Thank You for purchasing our TRI-Mode programmable DC Motor Controller. Our DC Motor Controller is the most flexible controller you will find. It is user-programmable and covers most applications. This
More informationFINAL DESIGN REPORT. Dodge This! DODGERS: Cristobal Rivero Derek Fairbanks 4/21/2009
FINAL DESIGN REPORT Dodge This! DODGERS: Cristobal Rivero Derek Fairbanks 4/21/2009 Abstract: Our project is to develop an automatic dodge ball game. It consists of an infrared video camera, computer,
More informationIR add-on module circuit board assembly - Jeffrey La Favre January 27, 2015
IR add-on module circuit board assembly - Jeffrey La Favre January 27, 2015 1 2 For the main circuits of the line following robot you soldered electronic components on a printed circuit board (PCB). The
More informationIntroduction to High-Speed Power Switching
Exercise 3 Introduction to High-Speed Power Switching EXERCISE OBJECTIVE When you have completed this exercise, you will be familiar with the concept of voltage-type and current-type circuits. You will
More informationDesigning with a Microcontroller (v6)
Designing with a Microcontroller (v6) Safety: In this lab, voltages are less than 15 volts and this is not normally dangerous to humans. However, you should assemble or modify a circuit when power is disconnected
More informationProgrammable Timer Teaching Notes Issue 1.2
Teaching Notes Issue 1.2 Product information: www.kitronik.co.uk/quicklinks/2121/ TEACHER Programmable Timer Index of sheets Introduction Schemes of work Answers The Design Process The Design Brief Investigation
More informationLABORATORY EXPERIMENT. Infrared Transmitter/Receiver
LABORATORY EXPERIMENT Infrared Transmitter/Receiver (Note to Teaching Assistant: The week before this experiment is performed, place students into groups of two and assign each group a specific frequency
More information