GF159 William Grill: 110V AC PWM Final
|
|
- Barry Townsend
- 7 years ago
- Views:
Transcription
1 GF159 William Grill: 110V AC PWM Final PWM Line-Voltage Interface Brightens Your Outlook William Grill, Riverhead Systems Several of William Grill's designs have included pulse-width modulator (PWM) circuits that control LEDs. But what about the control of line-powered lamps and fixtures? You can find several commercial PWM controllers, but build one yourself, save money and learn how to implement a microcontroller-based design. This circuit is no flash in the pan. This circuit accepts a PWM signal from an external source, processes the signal, and uses the result to turn on an optically coupled triac (triode for ac) in sync with 60-Hz 120V ac line power. The circuit provides both an educational and an affordable project for those Blue Light Special gadget freaks and model-railroad enthusiasts who want to add a bit more control in illumination projects. CAUTION The circuit derives its power directly from a 120V AC line connection without a step-down power supply or any electrical isolation, so exposed components are electrically "hot" and could pose a shock hazard. Neither William nor Design News accepts any responsibility for your safety or the safety of others who build or use this circuit. We cannot be responsible for how you build,
2 GF159 William Grill: 110V AC PWM Final fabricate, use, or package this circuit to get it into a form you can use. Work on a nonconductive surface. Keep the unpackaged circuit away from children and others. During testing, connect test instruments or probes to the UNPOWERED circuit and then with one hand in your pocket, plug in, or turn on, the circuit and read your measurements. Package the final circuit in a non-conductive package. If you must use a metal enclosure, ensure that you have carefully grounded the metal case to the ground terminal (green wire) on your line-power plug. Circuit Description This circuit uses an inexpensive microcontroller (MCU) to read the a filtered PWM signal that comes via an isolated input. The MCU then uses that signal to synchronize the PWM input with the phase of the 110V AC line power. The synchronization ensures careful control of a load device. See the schematic diagram below. For a larger schematic diagram, go to: One optical coupler (U1) isolates the external PWM-Control inputs from the rest of the circuit. This PWM signal could come from another circuit, a microcontroller's PWM output, or a similar source. A second optical coupler (U2) includes an optically driven diac (diode for AC) that connects to the triac to control the line-powered load device. An inexpensive Microchip Technology 12F675 MCU (IC1), provides the data-processing functions. The lamp-related hardware uses a triac (TRIAC) and an optically coupled MOC3010 diac (U2) of the types commonly used in lamp-dimmer and AC motor-control circuits. The remainder of the circuit hardware isolates the PWM Control inputs and provides the circuit with power directly from a 110V AC outlet. (Jameco Electronics sells the MOC3010 as part number: It is a non-stock part at Allied Electronics.) PIC12F675 Pin # Pin Name Connection 1 Vcc To 5V from 78L05 2 GP5 Not Connected
3 GF159 William Grill: 110V AC PWM Final PIC12F675 Pin # Pin Name Connection 3 GP4 Jumper to Ground, connects to 5V through a 10- Kohm resistor 4 GP3 Input from 120V AC through 1-Mohm resistor 5 GP2 Output to MOC Vref Not Connected 7 AN0 Input from MCP GND Ground The GP4 input at pin 3 on the MCU lets users "invert" the sense of the PWM input. If you leave the jumper in place so it grounds (logic 0) the GP4 input, a 0-percent PWM input at the PWM Control points results in no power to the load through the triac. A 100-percent PWM input causes the circuit to put 100-percent power through the load. Depending on your application, you might choose to reverse these conditions so a 0-percent PWM input at the PWM Control inputs causes the circuit to apply 100% power to the load and a 100% PWM input causes the load to receive 0-percent power. In this case, remove the jumper between the MCU's GP4 input (pin 3) and "ground" (the 120V AC white wire) so the MCU senses a logic 1 at this input, provided via the 10 Kohm resistor that connects to the +5V supply. When you apply power to this circuit, the MCU causes a short delay. Then the control program uses the MCU's internal clock and a counter to measure the period of the AC-line signal present on the MCU's GP3 input at pin 4. This signal comes directly from the "hot" side of the 110V AC signal through a 1-Mohm resistor. The 5.1-V zener diode (D1) prevents the GP3 input from going above 5.1 volts, which could damage the MCU. The PWM control signal reaches the circuit through a CNY17-1 optical coupler (U1). The output of this coupler passes through the MCP6002 operational-amplifier circuit and to the resistor and capacitor on the op-amp's output, which create a low-pass filter. Next, the MCU reads the filtered voltage at pin 7 (AN0) and converts it to a 10-bit digital value. The analog-to-digital converter (ADC) measures this input signal once per AC line-voltage cycle. You should provide a continuous PWM signal for the PWM Control input with a voltage that swings between 0 and 2 to 5 volts and with a current of at least 8 ma. Apply this signal to the PWM Control + input and ground the PWM Control - line. The CNY17-1 device can handle a maximum reverse voltage of 6V and a maximum forward current of 60 ma. For complete specifications and a data sheet for the Vishay Semiconductors CNY17 family, visit: <A HREF = " The 60-Hz line frequency and the effect of the PWM period and of the op-amp-based filter, limit the controller s output pulsed-phase response. I recommend you use a PWM frequency of 900 Hz or greater at the PWM Control input. PWM frequencies above 900 Hz reduce the filter-related ripple on the voltage applied to the ADC at the MCU's AN0 input. The MCU code uses the 10-bit PWM Control value and the measured AC-line period to define the corresponding delayed output control pulse. In the circuit shown in the schematic diagram, and with the MCU running the supplied program, a small PWM Control signal would cause the MCU
4 GF159 William Grill: 110V AC PWM Final to place pulses very near the end of each half cycle. (See the oscilloscope images below.) The maximum PWM Control signal would produce pulses at the very start of each half cycle. Thus, the MCU synchronizes its triac-control pulses with the AC-line cycle times. The MCU's GP2 output (pin 5) generates the pulses that control the MOC3010 diac (U2) that turns on the triac and delivers power to the load device. William coded these pulses for a width of about 50 μsec. A pulse causes the triac to turn on. A triac device turns off on its own when the voltage across it reaches, or transitions through, zero volts. The MCU translates the filtered PWM Control signal into a linear phase across each half cycle of the AC-line. Internal timing loops, used in the controller code, each have a resolution cycle time of 50 μsec. The code uses only eight bits of the digitized 10-bit PWM Control value, so the code resolves each 180-degree half cycle to within about 1.4 degrees. In the prototype, William found that minor differences in the code's loop-execution times contributed to some additional jitter, resulting in a total error of up to 2.8 degrees. This 2.8 degrees is the phase variation you might observe during each half cycle (180 degrees), given a constant PWM Control input. (The minor differences come from sources of errors in the translated phase position and include the multiple branches associated with the code execution. Depending on the dynamic variables processed in the code, the position of the output control pulse product may appear to be offset and thus jitter in time. The controller s internal timing is synchronized to the 60Hz.) Power Supply Because this circuit obtains power directly from the 110V AC line, you must pay careful attention to component values and ratings. The 0.47-μF 250V capacitor (C1) acts like a "ballast" that supplies current to the circuit. The larger the capacitance, the more current available. The two 1N4003 diodes, shown near C1 in the schematic diagram, provide a positive AC voltage to the 22-μF 50V capacitor (C2) that helps filter the AC signal that goes into the 78L05 voltage regulator (U3). This regulator produces steady 5V DC power for the MCU and the devices that connect to it. (For 120V AC applications, you must use a 0.47-μF capacitor and diodes rated for AT LEAST 200 volts. Diode ratings include a peak-inverse-volts, or peak reverse-voltage, specification, and the two 1N4003 have a PRV or PIV of 200V.) For the capacitor at C2, do not use a 22 μf capacitor with less than a 50V working-voltage rating. A higher voltage rating will work, though. The 5.1 Kohm load resistor (R1) and the LED in series with it ensure the circuit draws enough current to load the 0.47 μf ballast capacitor and maintain a voltage less than 25V across the 22 μf capacitor (C2). The 0.47 μf value of the ballast capacitor was chosen so the 78L05 voltage regulator could provide about 6 to 8 ma for the circuit. This design could use a 0.27 μf ballast capacitor for a load of between 4 and 6 ma. Mismatching the capacitance value to the load might cause a voltage higher than the 50-V specified for the 22 μf capacitor (C2). In most circuits you want a power source that provides an isolated low voltage. You can substitute a plug-in power cube that supplies DC power to the input of the 78L05 voltage regulator. (The input voltage to the 78L05 regulator should be between about 8 and 20 V DC.) You still must connect the MCU to the 120V AC line with the 1-Mohm resistor and with the 5.1V zener diode (D1) so the MCU can detect the line-voltage timing. Remember, you have NO ELECTRICAL ISOLATION between the controller, other components and the AC line. In this project, the CNY17-1 optical isolator (U1) electrically isolates the external PWM Control input from the line voltage. Consider everything else electrically hot,' and thus a potential shock hazard. One Design News Gadget Freak described an MCU-based model-railroad light set that uses PWM control. I used the model-railroad circuit to demonstrate this PWM phase controller. I have
5 GF159 William Grill: 110V AC PWM Final taken the beacon output from that circuit and uses its modulated PWM output, as shown in the short video for this Gadget freak design. Waveforms from the Circuit In the scope photos below, the upper trace shows the voltage across the triac, so the flat "plateaus," or 0-volt portions of the trace indicate the triac is on and conducting current. Thus, the voltage across it comes close to zero volts. The bottom trace represents either the phase-control signal from the MCU or the PWM Control signal from the user's external PWM device. Each photo identifies the lower-traces source. The video for this Gadget Freak case includes dynamic scope images. Scope screen 1. With 0-percent PWM, shown in the lower trace, the triac has only a minimal on time--she short 0-volt plateaus.
6 GF159 William Grill: 110V AC PWM Final Scope screen 2. This image shows the voltage across the triac (upper trace) and the MCUgenerated control pulse (lower trace) delivered to the diac switch (U2 in the schematic diagram). The upper trace represents about a 20-percent pulse-width modulation at the circuit's PWM Control input.
7 GF159 William Grill: 110V AC PWM Final Scope screen 3. This image shows the same result across the triac for ~20-percent PWM. Note the triac turns on in each half cycle. The lower trace shows the PWM input signal measured at the PWM Control input to the circuit.
8 GF159 William Grill: 110V AC PWM Final Scope screen 4. At a PWM Control of ~70 percent (lower trace), the triac stays on (upper trace) for a longer time.
9 GF159 William Grill: 110V AC PWM Final Scope screen 5. A change of the PWM Control input signal to ~50 percent (lower trace) turns on the triac (upper trace) for approximately half of each AC line cycle. The information used to time the placement of the triac-on pulse in each half cycle of the 60-Hz line power depends on the filtered voltage applied to the MCU's AN0 input the reference voltage set for the MCU's ADC. In this circuit, William used a programmable option to select the MCU's supply voltage (the 5V output from the 78L05 regulator) as the ADC's reference. For a complete data sheet for the PIC12F675 MCU, visit: <A HREF = " s/en/devicedoc/41190f.pdf</a>. You can use this PWM circuit with a fader application, found in EDN magazine's 12 November 2009 issue. Other applications include an illumination ring (EDN, 9 July 2009) and a programmable table-driven PWM sequence controller (EDN, 20 July 2006). Find EDN's archives at Build Instructions You can use a small piece of perf-board (holes on 0.1x0.1-inch centers) to mount the components and make the connections. This PWM circuit's triac can carry several amperes, so use appropriate gauge wire that matches the current drawn by your load (motor, lamp, etc.). The larger the wire the better. (Remember, smaller wire-gauge numbers indicate larger wire cross sections.) William did not include a fuse on the output, so you might include one when you package your implementation of the circuit. Place the fuse in the circuit between the 120VAC connection and your line-power plug. For questions about compatibility, code or circuit modifications, contact William Grill at: contact@riverheadsystems.com. Bill of Materials Amt. Description Allied Part No. 1 CNY17-1 Optical Isolator MOC3010 Optical Isolator See Text 3 47-ohm, 1/8W Resistor Kohm, 1/8W Resistor Kohm, 1/4W Resistor Kohm, 1/8W Resistor Mohm, 1/8W Resistor Green LED μf, 250V Capacitor μf, 50V Capacitor μf, 10V Capacitor μf, 50V Capacitor
10 GF159 William Grill: 110V AC PWM Final N4003 Diode L6004L5 Triac F675 PIC Microcontroller MCP6002 Op Amp N5231 Zener Diode L05 Voltage Regulator Pole Terminal Block Pole Terminal Block Pin DIP Socket Pin DIP Socket Programming the MCU William used a Microchip PICSTART Plus programmer but other PIC MCU programmers will do the job, too. The figure below shows the configuration screen provided by Microchip's free MPLAB integrated-development environment software that will work with the assembly-language code included below the figure. Details of the controller configuration settings: Code Listing FROM SCRATCH AND derived from PWDIM16Z_GREATEST.ASM 11/9/09 PW TO DIMMER CONTROLLER this is now a pwm to analog to dimmer controller makes the app a bit more flexible and eliminates 2nd controller F675 bit A/D ********************************************************************** ***
11 GF159 William Grill: 110V AC PWM Final GPIO equ 5 6 STATUS equ 3 PC equ 2 trisr equ 0x85 reserved equ 7 dwell equ 0x30 index1 equ 0x31 minimum equ 0x0A min # keyservice loops : sequence 2*23/60 min keyimage equ 0x32 masked key image savephase equ 0x33 max # keyservice loops : sequence 10*23/60 max temp1 equ 0x34 temp2 equ 0x35 cnt equ 0x36 datareg equ 0x37 keyloop equ 0x20 keyservice/debounce loop servie counter temp equ 0x21 bits1 equ 0x22 dwelltimr equ 0x23 maintains active count of dwell for each tabled value newcount equ 0x24 mresult equ 0x25 product of result sub service pointer equ 0x26 pointer of the tabled value cyclecnt equ 0x33 saved value of phasecount representing number of timing loops in poitive half cycle phasecount equ 0x28 working counter of timing loops in poitive half cycle bits equ 0x2A phase equ 0x2B working counter of number of loops to assert output newphase equ 0x2C saved value recovered from the tabled profile resindex equ 0x2D maintained indexed count of the dwell per the key inputs number equ 0x2E timer equ 0x2F ad0 equ 0x1F ad1 equ 0x9F addata equ 0x1E #define b0 STATUS,5 #define output GPIO,2 #define input GPIO,3 bits #define outflag bits,0 #define debounc bits,1 state flag for key service #define firstpass bits,2 #define pflag bits,3 #define shutdwn bits,4 #define up bits,5 #define down bits,6 #define sflag bits1,0 #define pretest bits1,1 #define carry STATUS,0 #define zero STATUS,2
12 GF159 William Grill: 110V AC PWM Final *********** START ******************** goto s1 reset vector intpr vector s1: clrf GPIO movlw 0x bsf b0 movwf ad1 movlw 0x3B movwf trisr bcf b0 movlw 1 enable movwf ad0 ******************************************************** topp: goto realstart keyserv: goto xkeyserv result: goto dresult delay10: retlw 0 ******************************************************** realstart: clrf bits clrf bits1 clrf temp movlw 0xFF movwf temp1 movwf temp2 clrf cyclecnt real3: decfsz temp1 wait ~2 sec 254*254*16 goto real3a decfsz temp2 goto real3a goto real3b real3a: decfsz temp goto real3a movlw.4 movwf temp goto real3 ******************************************************** real3b: recall the full scaled phasevalue would be interpreted as 0 degr bsf firstpass topb:
13 GF159 William Grill: 110V AC PWM Final btfsc input wait for - phase goto topb topq: btfss input wait for + phase goto topq ************************44 instructions *********************** topa: all loops are 50 instructions btfsc firstpass test state flag for special process complete goto topa41 6 non calibration + phase movfw phasecount movwf phase phase is working counter to desired phase btfsc zero qual for maximmum value goto topa11 topa3: decfsz phase goto topa2 goto topa1 topa2: btfss input test/qual input hasn't transistioned goto topa5 goto topa3 topa11: bsf output topa1: bsf output topa4: coast to negative transistion btfss input wait for - phase goto topa5 bcf output makes a 10 us pulse goto topa41: 5 call topa4 delay10
14 GF159 William Grill: 110V AC PWM Final incf cyclecnt bcf firstpass btfss input wait for - phase goto top10a1 goto topa41 ****************************************************** topa5: 3 in negative phase bcf output just in case movfw phasecount movwf phase btfsc zero test for maximuum goto topa10 normal - cycle btfsc phase,7 test if phase is >127 loops goto topa8 goto topa6 10 loop to pulse topa7: topa6: 12 decfsz phase goto topa7 topa10: bsf output top10a1: call keyserv movfw newphase save value 'newphase' movwf phasecount set up for next cycle goto topq topa8: 9 call keyserv
15 GF159 William Grill: 110V AC PWM Final movfw newphase movwf phasecount assumes call plus routing equals 150 instructions decf phase decf phase decf phase 150 topa9: decfsz phase goto topa9 btfsc input goto topa bsf output bcf output goto topq ****36************ xkeyserv: THIS INTENDED TO PROVIDE SERVICES FOR BUTTON BASED DIMMER bsf ad0,1 start conversion f1: bcf output movwf temp movfw addata movwf temp rrf temp pre- buffer offset adjust rrf temp rrf temp,w andlw 0x1F addwf addata bcf carry rrf addata movlw 2 subwf addata
16 GF159 William Grill: 110V AC PWM Final btfss carry incf addata movlw 0x7F movwf temp btfsc addata,7 decf addata movfw addata btfsc GPIO,4 test/adjust for inversion at opticoupler 0%PWM->no power out subwf temp,w 7F-addata movwf temp **********************equalized 114 instructions************ dresult: clrf mresult movlw 7 movwf index1 movfw cyclecnt movwf number rlf temp a: bcf carry rrf number rlf temp btfsc carry goto ba c: decfsz index1 goto a c2: movfw mresult movwf newphase retlw 0 product in mresult and newphase ba: movfw number addwf mresult goto c stop: end
PIC Programming in Assembly. (http://www.mstracey.btinternet.co.uk/index.htm)
PIC Programming in Assembly (http://www.mstracey.btinternet.co.uk/index.htm) Tutorial 1 Good Programming Techniques. Before we get to the nitty gritty of programming the PIC, I think now is a good time
More informationHow To Use A Watt Saver On A Microcontroller (Watt Saver) On A Cell Phone Or Mp3 Player
Watt Saver for a Cell Phone AC Adapter Reference Design Document Number: DRM130 Rev 1, 10/2013 2 Freescale Semiconductor, Inc. Contents Section number Title Page Chapter 1 Introduction 1.1 Overview...5
More informationGLOLAB Universal Telephone Hold
GLOLAB Universal Telephone Hold 1 UNIVERSAL HOLD CIRCUIT If you have touch tone telephone service, you can now put a call on hold from any phone in the house, even from cordless phones and phones without
More informationLM 358 Op Amp. If you have small signals and need a more useful reading we could amplify it using the op amp, this is commonly used in sensors.
LM 358 Op Amp S k i l l L e v e l : I n t e r m e d i a t e OVERVIEW The LM 358 is a duel single supply operational amplifier. As it is a single supply it eliminates the need for a duel power supply, thus
More informationGLOLAB Two Wire Stepper Motor Positioner
Introduction A simple and inexpensive way to remotely rotate a display or object is with a positioner that uses a stepper motor to rotate it. The motor is driven by a circuit mounted near the motor and
More informationAnalog-to-Digital Converters
Analog-to-Digital Converters In this presentation we will look at the Analog-to-Digital Converter Peripherals with Microchip s midrange PICmicro Microcontrollers series. 1 Analog-to-Digital Converters
More informationSection 29. Instruction Set
M Section 29. Instruction Set HIGHLIGHTS This section of the manual contains the following major topics: 29. Introduction...29-2 29.2 Instruction Formats...29-4 29.3 Special Function Registers as Source/Destination...29-6
More information10-bit Σ ADC from a PIC16F84
1-bit Σ ADC from a PIC16F84 Jesús Arias 22nd November 23 1 The circuit +5V 1 + 1uF 1nF 1nF 33 4.7 V DTR U1 Analog Input ( 5 Volt) R3 68K R1 1K R2 1K C1 33nF PIC16F84 RB7 RA2 RA3 ad2.asm OSC1 OSC2 X1 R4
More informationSection 28. In-Circuit Serial Programming (ICSP )
M Section 28. In-Circuit Serial Programming (ICSP ) HIGHLIGHTS This section of the manual contains the following major topics: 28. Introduction...28-2 28.2 Entering In-Circuit Serial Programming Mode...28-3
More informationBuild A Video Switcher. Reprinted with permission from Electronics Now Magazine September 1997 issue
Build A Video Switcher Reprinted with permission from Electronics Now Magazine September 1997 issue Copyright Gernsback Publications, Inc.,1997 BUILD A VIDEO SWITCHER FRANK MONTEGARI Watch several cameras
More informationECEN 1400, Introduction to Analog and Digital Electronics
ECEN 1400, Introduction to Analog and Digital Electronics Lab 4: Power supply 1 INTRODUCTION This lab will span two lab periods. In this lab, you will create the power supply that transforms the AC wall
More informationUsing The PIC I/O Ports
EE2801 -- Lecture 22 Using The PIC I/O Ports EE2801-L22P01 The Variety Of Available IO Ports The PIC 16F874 microcontroller has five different IO ports, accounting for thirty three of the processors forty
More informationCHAPTER 11: Flip Flops
CHAPTER 11: Flip Flops In this chapter, you will be building the part of the circuit that controls the command sequencing. The required circuit must operate the counter and the memory chip. When the teach
More informationGlolab Talking Phone Dial Monitor
Introduction The detects the tones generated when numbers are dialed on your touch tone telephone and speaks the numbers that were dialed. This verifies that you dialed the correct number and is especially
More informationSPI. Overview and Use of the PICmicro Serial Peripheral Interface. Getting Started: SPI
SPI Overview and Use of the PICmicro Serial Peripheral Interface In this presentation, we will look at what the Serial Peripheral Interface, otherwise known as the SPI, is, and how it is used to communicate
More informationSYSTEM 45. C R H Electronics Design
SYSTEM 45 C R H Electronics Design SYSTEM 45 All in one modular 4 axis CNC drive board By C R Harding Specifications Main PCB & Input PCB Available with up to 4 Axis X, Y, Z, & A outputs. Independent 25
More informationNTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter
NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter Description: The NTE2053 is a CMOS 8 bit successive approximation Analog to Digital converter in a 20 Lead DIP type package which uses a differential
More informationSection 14. Compare/Capture/PWM (CCP)
M Section 14. Compare/Capture/PWM (CCP) HIGHLIGHTS This section of the manual contains the following major topics: 14.1 Introduction...14-2 14.2 Control Register...14-3 14.3 Capture Mode...14-4 14.4 Compare
More informationSYSTEM 4C. C R H Electronics Design
SYSTEM 4C C R H Electronics Design SYSTEM 4C All in one modular 4 axis CNC drive board By C R Harding Specifications Main PCB & Input PCB Available with up to 4 Axis X, Y, Z, A outputs. Independent 25
More informationMODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence : 0660-3
MODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence : 0660-3 CMPS03 Magnetic Compass. Voltage : 5v only required Current : 20mA Typ. Resolution : 0.1 Degree Accuracy : 3-4 degrees approx. after calibration Output
More informationUniPi technical documentation REV 1.1
technical documentation REV 1.1 Contents Overview... 2 Description... 3 GPIO port map... 4 Power Requirements... 5 Connecting Raspberry Pi to UniPi... 5 Building blocks... 5 Relays... 5 Digital Inputs...
More informationDigital DC Motor Speed Regulator
Digital DC Motor Speed Regulator This project is for a microcontroller-based DC motor speed regulator, being used to control a small Chinese-made rotary tool. The tool is available at Harbor Freight as
More informationEvo Laser Firmware Developer s Manual
Evo Laser Firmware Developer s Manual Table of Content Chapter 1 Introduction Chapter 2 Hardware Overview and Subsystems 2.1 Overview 2.2 Evo Laser Hardware Core System 2.3 Evo Laser Smartport TM Chapter
More informationelectronics fundamentals
electronics fundamentals circuits, devices, and applications THOMAS L. FLOYD DAVID M. BUCHLA Lesson 1: Diodes and Applications Center-Tapped Full-wave Rectifier The center-tapped (CT) full-wave rectifier
More informationDisplay Board Pulse Width Modulation (PWM) Power/Speed Controller Module
Display Board Pulse Width Modulation (PWM) Power/Speed Controller Module RS0 Microcontroller LEDs Motor Control Pushbuttons Purpose: To demonstrate an easy way of using a Freescale RS0K2 microcontroller
More informationUse and Application of Output Limiting Amplifiers (HFA1115, HFA1130, HFA1135)
Use and Application of Output Limiting Amplifiers (HFA111, HFA110, HFA11) Application Note November 1996 AN96 Introduction Amplifiers with internal voltage clamps, also known as limiting amplifiers, have
More informationAN727. Credit Card Reader Using a PIC12C509 DATA ENCODING INTRODUCTION FIGURE 1: POSITION OF ISO TRACKS 1, 2 AND 3. Andrew M Errington
Credit Using a PIC12C509 AN727 Author: INTRODUCTION Andrew M Errington Many people carry one or more magnetically encoded cards with them for accessing a range of services. Perhaps the most common example
More information1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver
Electronics Exercise 2: The 555 Timer and its Applications Mechatronics Instructional Laboratory Woodruff School of Mechanical Engineering Georgia Institute of Technology Lab Director: I. Charles Ume,
More informationDesigning an Induction Cooker Using the S08PT Family
Freescale Semiconductor, Inc. Document Number: AN5030 Application Note Rev. 0 11/2014 Designing an Induction Cooker Using the S08PT Family by: Leo Pan, Dennis Lui, T.C. Lun 1 Introduction This application
More informationA Practical Guide to Free Energy Devices
A Practical Guide to Free Energy Devices Device Patent No 29: Last updated: 7th October 2008 Author: Patrick J. Kelly This is a slightly reworded copy of this patent application which shows a method of
More informationAccurate Measurement of the Mains Electricity Frequency
Accurate Measurement of the Mains Electricity Frequency Dogan Ibrahim Near East University, Faculty of Engineering, Lefkosa, TRNC dogan@neu.edu.tr Abstract The frequency of the mains electricity supply
More informationQUICK START GUIDE FOR DEMONSTRATION CIRCUIT 956 24-BIT DIFFERENTIAL ADC WITH I2C LTC2485 DESCRIPTION
LTC2485 DESCRIPTION Demonstration circuit 956 features the LTC2485, a 24-Bit high performance Σ analog-to-digital converter (ADC). The LTC2485 features 2ppm linearity, 0.5µV offset, and 600nV RMS noise.
More information3 Slot Payphone Controller
5A2 3 Slot Payphone Controller The 3 Slot Payphone -- Part of American History Building a Coin Relay Controller Version S1BX Instruction Manual and Safety Precautions It is very important that for your
More informationProgramming PIC Microcontrollers in PicBasic Pro Lesson 1 Cornerstone Electronics Technology and Robotics II
Programming PIC Microcontrollers in PicBasic Pro Lesson 1 Cornerstone Electronics Technology and Robotics II Administration: o Prayer PicBasic Pro Programs Used in This Lesson: o General PicBasic Pro Program
More informationcss Custom Silicon Solutions, Inc.
css Custom Silicon Solutions, Inc. CSS555(C) CSS555/ PART DESCRIPTION The CSS555 is a micro-power version of the popular 555 Timer IC. It is pin-for-pin compatible with the standard 555 timer and features
More informationSection 21. 8-bit A/D Converter
M Section 21. Converter HIGHLIGHTS 21 Convertor This section of the manual contains the following major topics: 21.1 Introduction...21-2 21.2 Control Registers...21-3 21.3 Operation...21-5 21.4 A/D Acquisition
More informationAN2680 Application note
Application note Fan speed controller based on STDS75 or STLM75 digital temperature sensor and ST72651AR6 MCU Introduction This application note describes the method of defining the system for regulating
More informationEET272 Worksheet Week 9
EET272 Worksheet Week 9 answer questions 1-5 in preparation for discussion for the quiz on Monday. Finish the rest of the questions for discussion in class on Wednesday. Question 1 Questions AC s are becoming
More informationMODEL 5010 DUAL CHANNEL SMOKE/FIRE DETECTION MODULE
DESCRIPTION MODEL 5010 DUAL CHANNEL SMOKE/FIRE DETECTION MODULE DESCRIPTION The SST Model 5010 Two Channel Smoke/Fire Detection Module provides two independent detection input channels for the NOVA-5000
More informationBi-directional Power System for Laptop Computers
Bi-directional Power System for Laptop Computers Terry L. Cleveland Staff Applications Engineer Microchip Technology Inc. Terry.Cleveland@Microchip.com Abstract- Today the typical laptop computer uses
More informationNC-12 Modbus Application
NC-12 Modbus Application NC-12 1 Table of Contents 1 Table of Contents... 2 2 Glossary... 3 SCADA...3 3 NC-12 Modbus in general... 3 4 Entire system... 4 4.1 PFC to PC connection alternatives...4 4.1.1
More informationWelcome to this presentation on Switch Mode Drivers, part of OSRAM Opto Semiconductors LED Fundamentals series. In this presentation we will look at:
Welcome to this presentation on Switch Mode Drivers, part of OSRAM Opto Semiconductors LED Fundamentals series. In this presentation we will look at: How switch mode drivers work, switch mode driver topologies,
More informationTHE INPUT/OUTPUT SYSTEM. Key Points
M O D U L E T W O THE 2 INPUT/OUTPUT SYSTEM Key Points In the first module, you learned about the basic architecture and operation of the Allen-Bradley Micrologix 1000, including a brief introduction to
More informationAC Direct Off-Line Power Supplies
AC Direct Off-Line Power Supplies r Introduction Many DC power supplies found in electronic systems, including those in this Tech School, rectify the 120 volts available at an electric outlet. The initial
More informationPCAN-MicroMod Universal I/O Module with CAN Interface. User Manual. Document version 2.1.0 (2014-01-16)
PCAN-MicroMod Universal I/O Module with CAN Interface User Manual Document version 2.1.0 (2014-01-16) Products taken into account Product Name Part number Model PCAN-MicroMod IPEH-002080 with firmware
More informationAP-1 Application Note on Remote Control of UltraVolt HVPS
Basics Of UltraVolt HVPS Output Voltage Control Application Note on Remote Control of UltraVolt HVPS By varying the voltage at the Remote Adjust Input terminal (pin 6) between 0 and +5V, the UV highvoltage
More informationDMX2PWM 9 Channel Dimmer Setup Manual
DMX2PWM 9 Channel Dimmer Setup Manual www.ecue.de DMX2PWM 9ch Dimmer - Setup Manual e:cue control GmbH An OSRAM Company Rev. 1.3_01/2010 DMX2PWM 9ch Dimmer - Setup Manual Table of Contents 1. Device Overview....................................4
More informationTEA1024/ TEA1124. Zero Voltage Switch with Fixed Ramp. Description. Features. Block Diagram
Zero Voltage Switch with Fixed Ramp TEA04/ TEA4 Description The monolithic integrated bipolar circuit, TEA04/ TEA4 is a zero voltage switch for triac control in domestic equipments. It offers not only
More informationDiode Applications. As we have already seen the diode can act as a switch Forward biased or reverse biased - On or Off.
Diode Applications Diode Switching As we have already seen the diode can act as a switch Forward biased or reverse biased - On or Off. Voltage Rectifier A voltage rectifier is a circuit that converts an
More informationProperties of electrical signals
DC Voltage Component (Average voltage) Properties of electrical signals v(t) = V DC + v ac (t) V DC is the voltage value displayed on a DC voltmeter Triangular waveform DC component Half-wave rectifier
More informationSection 19. Voltage Reference
M Section 19. Voltage Reference HIGHLIGHTS This section of the manual contains the following major topics: 19.1 Introduction...19-2 19.2 Control Register...19-3 19.3 Configuring the Voltage Reference...19-4
More informationDigital to Analog Converter. Raghu Tumati
Digital to Analog Converter Raghu Tumati May 11, 2006 Contents 1) Introduction............................... 3 2) DAC types................................... 4 3) DAC Presented.............................
More informationA Digital Timer Implementation using 7 Segment Displays
A Digital Timer Implementation using 7 Segment Displays Group Members: Tiffany Sham u2548168 Michael Couchman u4111670 Simon Oseineks u2566139 Caitlyn Young u4233209 Subject: ENGN3227 - Analogue Electronics
More informationPLL frequency synthesizer
ANALOG & TELECOMMUNICATION ELECTRONICS LABORATORY EXERCISE 4 Lab 4: PLL frequency synthesizer 1.1 Goal The goals of this lab exercise are: - Verify the behavior of a and of a complete PLL - Find capture
More informationKit 106. 50 Watt Audio Amplifier
Kit 106 50 Watt Audio Amplifier T his kit is based on an amazing IC amplifier module from ST Electronics, the TDA7294 It is intended for use as a high quality audio class AB amplifier in hi-fi applications
More informationData Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide
Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide Sensors LCD Real Time Clock/ Calendar DC Motors Buzzer LED dimming Relay control I2C-FLEXEL PS2 Keyboards Servo Motors IR Remote Control
More informationFundamentals of Signature Analysis
Fundamentals of Signature Analysis An In-depth Overview of Power-off Testing Using Analog Signature Analysis www.huntron.com 1 www.huntron.com 2 Table of Contents SECTION 1. INTRODUCTION... 7 PURPOSE...
More informationElectronics. Discrete assembly of an operational amplifier as a transistor circuit. LD Physics Leaflets P4.2.1.1
Electronics Operational Amplifier Internal design of an operational amplifier LD Physics Leaflets Discrete assembly of an operational amplifier as a transistor circuit P4.2.1.1 Objects of the experiment
More informationInterfacing Analog to Digital Data Converters
Converters In most of the cases, the PIO 8255 is used for interfacing the analog to digital converters with microprocessor. We have already studied 8255 interfacing with 8086 as an I/O port, in previous
More informationGlobal Motion Technology Inc Web www.motiontek.ca THCSA200. Capacitive sensor plasma & Oxy-fuel Torch Height Control
THCSA200 Capacitive sensor plasma & Oxy-fuel Torch Height Control Features 1) Stand alone controller for THC & OHC completely independent from CNC computer software or CNC control system 2) closed-loop
More informationRS-485 Protocol Manual
RS-485 Protocol Manual Revision: 1.0 January 11, 2000 RS-485 Protocol Guidelines and Description Page i Table of Contents 1.0 COMMUNICATIONS BUS OVERVIEW... 1 2.0 DESIGN GUIDELINES... 1 2.1 Hardware Design
More informationSimple Alarm System WIRELESS AND REMOTE CONTROLLED PERSONAL APPLIANCE CODE WORD ORGANIZATION TRANSMISSION FORMAT
Simple Alarm System WIRELESS AND REMOTE CONTROLLED PERSONAL APPLIANCE Author: Kirill Yelizarov V. Moscow Power Engineering Institute Moscow, Russia email: tihonov@srv-vmss.mpei.ac.ru The alarm system discussed
More informationRedesigned by Laurier Gendron (Aug 2006 ) Download this project in PDF. Horn circuit. Train Circuitry
Redesigned by Laurier Gendron (Aug 2006 ) Download this project in PDF Train Circuitry Horn circuit New Design After many comments by interested hobbyists not being able to obtain parts like the LM566
More informationDMX512 TO 0-10 VOLT ANALOG CONVERTER OWNERS MANUAL
DMX512 TO 0-10 VOLT ANALOG CONVERTER OWNERS MANUAL Doug Fleenor Design 396 Corbett Canyon Road Arroyo Grande, CA 93420 (805) 481-9599 revision 2.1 November, 1998 PRODUCT DESCRIPTION The DMX512 to Analog
More informationLecture N -1- PHYS 3330. Microcontrollers
Lecture N -1- PHYS 3330 Microcontrollers If you need more than a handful of logic gates to accomplish the task at hand, you likely should use a microcontroller instead of discrete logic gates 1. Microcontrollers
More informationControlling a Dot Matrix LED Display with a Microcontroller
Controlling a Dot Matrix LED Display with a Microcontroller By Matt Stabile and programming will be explained in general terms as well to allow for adaptation to any comparable microcontroller or LED matrix.
More informationThe 2N3393 Bipolar Junction Transistor
The 2N3393 Bipolar Junction Transistor Common-Emitter Amplifier Aaron Prust Abstract The bipolar junction transistor (BJT) is a non-linear electronic device which can be used for amplification and switching.
More informationE&I MAINTENANCE ENTRY TEST ENABLING OBJECTIVES. DESCRIBE hazards and precautions taken to avoid injury in the workplace.
SAFETY Industrial DESCRIBE hazards and precautions taken to avoid injury in the workplace. Example #1: All of the following are common PPE used to perform maintenance activities EXCEPT: a. Safety Glasses
More informationPOWER SUPPLY MODEL XP-15. Instruction Manual ELENCO
POWER SUPPLY MODEL XP-15 Instruction Manual ELENCO Copyright 2013 by Elenco Electronics, Inc. REV-A 753020 All rights reserved. No part of this book shall be reproduced by any means; electronic, photocopying,
More informationPICNet 1. PICNet 1 PIC18 Network & SD/MMC Development Board. Features. Applications. Description
Features PICNet 1 PIC18 Network & SD/MMC Development Board IC Sockets for 28 or 40-pin Microchip PIC18F Microcontrollers IC Socket for 8-pin serial EEPROM Multiple MCU Oscillator sources Full 10BaseT IEEE
More informationCONSTRUCTING A VARIABLE POWER SUPPLY UNIT
CONSTRUCTING A VARIABLE POWER SUPPLY UNIT Building a power supply is a good way to put into practice many of the ideas we have been studying about electrical power so far. Most often, power supplies are
More informationThe full wave rectifier consists of two diodes and a resister as shown in Figure
The Full-Wave Rectifier The full wave rectifier consists of two diodes and a resister as shown in Figure The transformer has a centre-tapped secondary winding. This secondary winding has a lead attached
More information[F/T] [5] [KHz] [AMP] [3] [V] 4 ) To set DC offset to -2.5V press the following keys [OFS] [+/-] [2] [.] [5] [V]
FG085 minidds Function Generator Manual of Operation Applicable Models: 08501, 08501K, 08502K, 08503, 08503K Applicable Firmware Version: 1 ) 113-08501-100 or later (for U5) 2 ) 113-08502-030 or later
More informationDesign Project: Power inverter
Design Project: Power inverter This worksheet and all related files are licensed under the Creative Commons Attribution License, version 1.0. To view a copy of this license, visit http://creativecommons.org/licenses/by/1.0/,
More informationOptical Sensor Interface for AFX Digital LED Timer/Counter by George Warner, Jan. 2003 warnergt@ptd.net
Optical Sensor Interface for AFX Digital LED Timer/Counter by George Warner, Jan. 200 warnergt@ptd.net Abstract This paper presents a design for an optical sensor interface to an AFX Digital LED Timer/Counter.
More informationSeries AMLDL-Z Up to 1000mA LED Driver
FEATURES: Click on Series name for product info on aimtec.com Series Up to ma LED Driver Models Single output Model Input Voltage (V) Step Down DC/DC LED driver Operating Temperature range 4ºC to 85ºC
More informationABB Drives. User s Manual HTL Encoder Interface FEN-31
ABB Drives User s Manual HTL Encoder Interface FEN-31 HTL Encoder Interface FEN-31 User s Manual 3AUA0000031044 Rev B EN EFFECTIVE: 2010-04-06 2010 ABB Oy. All Rights Reserved. 5 Safety instructions
More information= V peak 2 = 0.707V peak
BASIC ELECTRONICS - RECTIFICATION AND FILTERING PURPOSE Suppose that you wanted to build a simple DC electronic power supply, which operated off of an AC input (e.g., something you might plug into a standard
More informationDRM compatible RF Tuner Unit DRT1
FEATURES DRM compatible RF Tuner Unit DRT1 High- Performance RF Tuner Frequency Range: 10 KHz to 30 MHz Input ICP3: +13,5dBm, typ. Noise Figure @ full gain: 14dB, typ. Receiver Factor: -0,5dB, typ. Input
More information3-Digit Counter and Display
ECE 2B Winter 2007 Lab #7 7 3-Digit Counter and Display This final lab brings together much of what we have done in our lab experiments this quarter to construct a simple tachometer circuit for measuring
More informationM68EVB908QL4 Development Board for Motorola MC68HC908QL4
M68EVB908QL4 Development Board for Motorola MC68HC908QL4! Axiom Manufacturing 2813 Industrial Lane Garland, TX 75041 Email: Sales@axman.com Web: http://www.axman.com! CONTENTS CAUTIONARY NOTES...3 TERMINOLOGY...3
More informationBuilding the AMP Amplifier
Building the AMP Amplifier Introduction For about 80 years it has been possible to amplify voltage differences and to increase the associated power, first with vacuum tubes using electrons from a hot filament;
More informationProgramming Logic controllers
Programming Logic controllers Programmable Logic Controller (PLC) is a microprocessor based system that uses programmable memory to store instructions and implement functions such as logic, sequencing,
More informationAMPLIFIED HIGH SPEED FIBER PHOTODETECTOR USER S GUIDE
AMPLIFIED HIGH SPEED FIBER PHOTODETECTOR USER S GUIDE Thank you for purchasing your Amplified High Speed Fiber Photodetector. This user s guide will help answer any questions you may have regarding the
More informationInterface Protocol v1.2
Interface Protocol v1.2 Uart Configure on PC Baud Rate Bits Stop bits Parity 9600 bps 8 Bits 1 Bit No Parity Basic Uart Transfer Format Start 0/1 : These bytes are both 0x55. Control : This byte is controling
More informationProcess modules Digital input PMI for 24 V DC inputs for 120 V AC inputs
E031026 000823 Process modules Digital input PMI for inputs for 120 V AC inputs PMI Input E4, E5, GND L- PMI 120 V AC Input E4, E5, Common C E6, E7, GND L- E6, E7, Common C LEDs for the inputs operation
More informationNational Semiconductor Power Products - Seminar 3 (LED Lighting)
National Semiconductor Power Products - Seminar 3 (LED Lighting) Dr. Iain Mosely Converter Technology Ltd. Slide 1 Overview Background on LEDs Power Electronics for Driving LEDs LED Driver Specific Solutions
More informationLecture - 4 Diode Rectifier Circuits
Basic Electronics (Module 1 Semiconductor Diodes) Dr. Chitralekha Mahanta Department of Electronics and Communication Engineering Indian Institute of Technology, Guwahati Lecture - 4 Diode Rectifier Circuits
More informationAllen-Bradley/Rockwell
MANUFACTURER DATA SHEET High Speed Counter Manufacturer: Allen-radley/Rockwell Model Number: 1746-HSCE See www.geomartin.com for additional PDF datasheets Martin Part Number: E-014901-03 VendorPartNumber:
More informationSoftware Manual RS232 Laser Merge Module. Document # SU-256521-09 Rev A
Laser Merge Module Document # SU-256521-09 Rev A The information presented in this document is proprietary to Spectral Applied Research Inc. and cannot be used for any purpose other than that for which
More informationPulse Width Modulation (PWM) LED Dimmer Circuit. Using a 555 Timer Chip
Pulse Width Modulation (PWM) LED Dimmer Circuit Using a 555 Timer Chip Goals of Experiment Demonstrate the operation of a simple PWM circuit that can be used to adjust the intensity of a green LED by varying
More informationConversion Between Analog and Digital Signals
ELET 3156 DL - Laboratory #6 Conversion Between Analog and Digital Signals There is no pre-lab work required for this experiment. However, be sure to read through the assignment completely prior to starting
More informationSection 23. 10-bit A/D Converter
M Section 23. A/D Converter HIGHLIGHTS This section of the manual contains the following major topics: 23.1 Introduction...23-2 23.2 Control Register...23-3 23.3 Operation...23-5 23.4 A/D Acquisition Requirements...23-6
More informationDecimal Number (base 10) Binary Number (base 2)
LECTURE 5. BINARY COUNTER Before starting with counters there is some vital information that needs to be understood. The most important is the fact that since the outputs of a digital chip can only be
More informationSwitch board datasheet EB007-00-1
Switch board datasheet EB007-00-1 Contents 1. About this document... 2 2. General information... 3 3. Board layout... 4 4. Testing this product... 5 5. Circuit description... 6 Appendix 1 Circuit diagram
More informationDN05034/D. Enhanced PWM LED Dimming DESIGN NOTE
Enhanced PWM LED Dimming Circuit Description The NCL30051LEDGEVB LED driver evaluation board provides PWM dimming capability via gating the resonant half bridge converter on and off at the PWM rate. Effective
More informationK8068 BUS DIMMER FOR HOME MODULAR LIGHT SYSTEM ILLUSTRATED ASSEMBLY MANUAL H8068IP-1
Total solder points: 74 Difficulty level: beginner 1 2 3 4 5 advanced BUS DIMMER FOR HOME MODULAR LIGHT SYSTEM K8068 PLUG - IN module for use with home modular lights system K8006. For electronic transformers!
More informationwww.jameco.com 1-800-831-4242
Distributed by: www.jameco.com 1-800-831-4242 The content and copyrights of the attached material are the property of its owner. LF411 Low Offset, Low Drift JFET Input Operational Amplifier General Description
More informationAn Introduction to MPLAB Integrated Development Environment
An Introduction to MPLAB Integrated Development Environment 2004 Microchip Technology Incorporated An introduction to MPLAB Integrated Development Environment Slide 1 This seminar is an introduction to
More information