Lazy Clock Electronics and Software
|
|
- Bernadette Arlene Walters
- 6 years ago
- Views:
Transcription
1 Lazy Clock Electronics and Software
2 Introduction The Lazy Clock is a wood gear mechanical clock driven by a low-power solenoid that fires only once per minute. An MSP430 microcontroller, clocked with a watch crystal, is used to trigger the solenoid. This document details the electronic hardware and software for the Lazy Clock. Refer to the References section at the end of this document for more information on the Lazy Clock. 2
3 Hardware The clock is powered by two AA cells. The coil is about 20 ohms and draws about 150 ma when fully on, but since it fires so infrequently and for a fraction of a second, average current draw is about 0.4 mah. The microcontroller is in low-power mode most of the time and draws negligible current. A khz watch crystal provides an accurate time base. D1 protects the microcontroller from reversed batteries and, along with C2, filters power from coil switching transients. C4 filters microcontroller high frequencies. The NPN driver is protected from coil turn-off transients by D2, and C1 filters PWM switching which can be audible. R2 and C3 enable power-on reset. 3
4 The prototype circuit was built on a Busboard Prototype Systems Limited SB300 breadboard with land patterns on the reverse side as shown. The board was trimmed to size. In the photo the Test Mode jumper is in place. The coil is attached to the other two terminals on the header. Red and black leads connect to a two-cell AA battery holder. Production circuit boards are sourced from ExpressPCB and were designed using that firm's free schematic drawing and PCB layout software. 4
5 Software The software is written in C and was developed using the Launch Pad Development Board and the free Code Composer Studio v5.1 from Texas Instruments. At $4.30, this is one of, if not the, lowest-cost microcontroller development platforms available. A few connections were made from the Development Board to a pluggable breadboard during hardware and software development. Microcontrollers are subsequently programmed using the Development Board alone, then transferred to production circuit boards. 5
6 Source code You are free to use the code for personal use. Please obtain permission from the author before distributing the code or selling any clocks or electronics that make use of the code. / Solenoid Driver for Lazy Clock Version 1.0 The "Lazy Clock" is a wood gear mechanical clock driven by a solenoid that fires only once per minute. The MSP430 microcontroller, clocked with a watch crystal, is used to trigger the solenoid. PWM is used to gradually ramp up the voltage to the solenoid coil to provide a smooth operating action rather than a sudden snap. Dick Bipes dick@carveshop.com Copyright 2013 by Dick Bipes. All rights reserved. / / ======== Grace setup ======= This firmware was developed using TI's Code Composer Studio and its Grace graphical interface to set up the MSP430. Grace generates setup code for the MSP430 that otherwise might appear in this source code. Here is a description of the Grace setup: Basic Clock System The Internal High Speed Clock is set to 1.0 MHz. The Main System Clock and Sub System clock are both set to DCOCLK source and divide by 1. The output SMCLK and ACLK are both turned off. The Low Speed External Clock is set to khz with 12.5 pf Internal load capacitance. A external watch crystal is used. Watchdog Timer The Watchdog Timer is set to Interval Timer Mode and clocked from the Low Speed Clock (the watch crystal at khz). 6
7 The divider is set to 512 yielding an interrupt service call every 15.6 ms or 64 times per second. Interrupts are enabled, and the service routine is WDTISRHandler. Timer A2 The Timer A2 clock source is set to SMCLK at 1000 khz. Counting Mode is Up. Interrupts are not enabled. Timer Capture/Compare Block 0 Mode is set to a Timer Period of 1.0 ms or 999 counts. The Mode is set to Output Compare/Period and the Output Pin are not used. Interrupts are not enabled. Timer Capture/Compare Block 1 is set to an initial desired duty cycle of 30% and the Capture Compare register 300 counts. The duty cycle is gradually increased to 100% under program control. The Mode is set to Output Compare and Output Pin P1.2/Timer_A2.TA1 is enabled. The Output Mode is set to PWM output mode: 7 - PWM reset/set. Interrupts are not enabled. Ports Port P1.2 is a high-active output driving the coil transistor. It is set to output direction. The initial value of P1.2 is set to 0 (low = inactive). The Port Selection Register is initially set by Grace to the Timer A2 PWM output, and the coil is on being driven at 70%. The PWM percentage is gradually increased to achieve full power at 100%. When it is time to turn off the coil, the Port Selection Register bit is reset, disabling the PWM output and setting the port pin to inactive (low). When it is time to turn on the coil, the PWM output is again enabled via the Port Selection Register. Port P1.3 is an input connected to a Test Mode jumper. It is set to input direction. The internal resistor is enabled and the Output Register Bit is set to 1 for pullup. All other port pins are unused. / / ======== Standard MSP430 includes ======== / #include <msp430.h> / ======== Grace related includes ======== / #include <ti/mcu/msp430/csl/csl.h> / ======== Definitions and variables ======== / 7
8 #define RedLED (BIT0) // Red LED on the LaunchPad (LEDs used during debug) #define GreenLED (BIT6) // Green LED on the LaunchPad #define Coil (BIT2) // Port 1 Bit 2 is high-active to the base of an NPN coil driver transistor #define TestMode (BIT3) // Jumper to ground puts the circuit into Test Mode // Test Mode runs the coil at a faster than normal rate to check out a newly-built clock #define WDticksPerSecond 64 // Number of Watchdog Timer ticks (interrupts) per second // The coil is initially turned on at partial power, then power is increased in increments every 15.2 ms to 100% power. // Total on time is 155 ms and average power is 85%. #define PWM_bump 25 // incremental PWM value (2.5%) #define PWM_init 700 // initial PWM value (70% power) #define PWM_full 1000 // full power PWM value 100% unsigned int WDTticks = 0; // count of Watchdog Timer (interval timer) interrupt service calls unsigned int seconds = 0; // elapsed seconds counted from WDTticks unsigned int PWM; // percent of time to turn on the coil = 100%. / ======== Interrupt handlers ======== / / Watchdog Timer Interrupt handler The microcontroller is awakened from low-power mode by the Watchdog Timer. The Watchdog Timer is set to interrupt every 15.2 ms or 64 times per second. Each interrupt or "tick" of the timer is counted, and after 64 ticks the seconds counter is incremented. This is the basic time-keeping function of the clock. The coil is turned on once per minute in normal mode and once per second in test mode. Test mode is set by installing a jumper connected to a port pin. The coil is turned on and off by enabling or disabling the bit in the Port Selection Register which connects the Timer A2 PWM output to the port. When disabled, the port pin is connected to the Port Output which is always set low (inactive) and the transistor is turned 8
9 off. When enabled, the Timer A2 PWM output is connected to the port pin and the transistor turned on at the PWM duty cycle rate. Also when enabled, at each tick of the Watchdog Timer, or every 15.2 ms, the PWM percentage is increased a small amount. The current into the coil is thus gradually ramped up from partial to full power (100% duty cycle). This ramp up causes the solenoid plunger to activate more slowly and help prevent the clock's pawls from skipping a tooth on the ratchet wheel. The pawl would operate even more smoothly ramping up from 0%, but that would take more current and shorter battery life. The design choice is a trade-off between smoothness and battery life. / void WDTISRHandler(void) { // If the Port Selection Register bit is active, the Timer A2 PWM output is connected to the port pin and the coil is on. if (P1SEL & Coil) // is the coil on or off? { // The coil is on - ramp up the PWM percentage at each Watchdog Timer tick CCR1 += PWM_bump; //increase the PWM percent a modest amount if (CCR1 >= PWM_full) // are we at full power? { P1SEL &= ~Coil; // yes, turn off the coil } } WDTticks++; // count the number of Watchdog Timer ticks to keep basic time if (WDTticks >= WDticksPerSecond) { seconds++; // count seconds } } // once per minute in Normal mode, once per second in Test mode if ((seconds >= 60) (((P1IN & TestMode) == 0) & (seconds)) ) { seconds = 0; // reset the seconds count CCR1 = PWM_init; // set the PWM to initial value P1SEL = Coil; // turn the coil on } WDTticks = 0; // reset the Watchdog Timer ticks counter 9
10 / ======== main ======== / int main(int argc, char argv[]) { CSL_init(); // Activate Grace-generated configuration _BIS_SR(LPM0_bits); // Enter Low-power mode and wait for interrupts return (0); } 10
11 GRACE setup for the Lazy Clock Lazy Clock Electronics and Code 11
12 12
13 13
14 14
15 15
16 16
17 17
18 References Visit for Lazy Clock Electronics and Code More information on the Lazy Clock. The Lazy Clock Carvewright Project instruction manual. Templates and notes to build a clock using conventional tools. Price and availability of a hardware kit for all the non-wood parts necessary to complete the Lazy Clock. Complete schematics for the electronics and source code for the microcontroller if you want to build your own. Price and availability of a wood parts kit for the Lazy Clock. If you're building a Lazy Clock, I'd love to hear from you - dick@carveshop.com. Copyright 2013 by Dick Bipes. All rights reserved. 18
ECE 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 informationLazy Clock Construction Templates
Introduction This document contains full-size templates for building the Lazy Clock wood parts using conventional tools. The Lazy Clock prototype was designed and built using a Carvewright CNC machine
More informationTimer A (0 and 1) and PWM EE3376
Timer A (0 and 1) and PWM EE3376 General Peripheral Programming Model l l l l Each peripheral has a range of addresses in the memory map peripheral has base address (i.e. 0x00A0) each register used in
More informationLab 5 Timer Module PWM ReadMeFirst
Lab 5 Timer Module PWM ReadMeFirst Lab Folder Content 1) ReadMeFirst 2) Interrupt Vector Table 3) Pin out Summary 4) DriverLib API 5) SineTable Overview In this lab, we are going to use the output hardware
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 informationMicrocontrollers and Interfacing
Microcontrollers and Interfacing Week 07 digital input, debouncing, interrupts and concurrency College of Information Science and Engineering Ritsumeikan University 1 this week digital input push-button
More informationCSCI1600 Lab 4: Sound
CSCI1600 Lab 4: Sound November 1, 2017 1 Objectives By the end of this lab, you will: Connect a speaker and play a tone Use the speaker to play a simple melody Materials: We will be providing the parts
More informationMICROCONTROLLER TUTORIAL II TIMERS
MICROCONTROLLER TUTORIAL II TIMERS WHAT IS A TIMER? We use timers every day - the simplest one can be found on your wrist A simple clock will time the seconds, minutes and hours elapsed in a given day
More informationUniversity of Texas at El Paso Electrical and Computer Engineering Department
University of Texas at El Paso Electrical and Computer Engineering Department EE 3176 Laboratory for Microprocessors I Fall 2016 LAB 05 Pulse Width Modulation Goals: Bonus: Pre Lab Questions: Use Port
More informationElectronic Components
Electronic Components Arduino Uno Arduino Uno is a microcontroller (a simple computer), it has no way to interact. Building circuits and interface is necessary. Battery Snap Battery Snap is used to connect
More informationIowa State University Electrical and Computer Engineering. E E 452. Electric Machines and Power Electronic Drives
Electrical and Computer Engineering E E 452. Electric Machines and Power Electronic Drives Laboratory #5 Buck Converter Embedded Code Generation Summary In this lab, you will design the control application
More informationA MORON'S GUIDE TO TIMER/COUNTERS v2.2. by
A MORON'S GUIDE TO TIMER/COUNTERS v2.2 by RetroDan@GMail.com TABLE OF CONTENTS: 1. THE PAUSE ROUTINE 2. WAIT-FOR-TIMER "NORMAL" MODE 3. WAIT-FOR-TIMER "NORMAL" MODE (Modified) 4. THE TIMER-COMPARE METHOD
More informationWDTCTL = WDTPW + WDTHOLD; P1DIR = 1; // P1.0 output, all others input. sits here as long as the pin is high while (P1IN & 8); while (!
Today's plan: Announcements: status report Solution to Activity 4 Final presentations and reports Measuring capacitance Powering your project This is the final Lecture! I will be in the lab next few weeks
More informationUsing the Z8 Encore! XP Timer
Application Note Using the Z8 Encore! XP Timer AN013104-1207 Abstract Zilog s Z8 Encore! XP microcontroller consists of four 16-bit reloadable timers that can be used for timing, event counting or for
More informationME 461 Laboratory #2 Timers and Pulse-Width Modulation
ME 461 Laboratory #2 Timers and Pulse-Width Modulation Goals: 1. Understand how to use timers to control the frequency at which events occur. 2. Generate PWM signals using Timer A. 3. Explore the frequency
More informationνµθωερτψυιοπασδφγηϕκλζξχϖβνµθωερτ ψυιοπασδφγηϕκλζξχϖβνµθωερτψυιοπα σδφγηϕκλζξχϖβνµθωερτψυιοπασδφγηϕκ χϖβνµθωερτψυιοπασδφγηϕκλζξχϖβνµθ
θωερτψυιοπασδφγηϕκλζξχϖβνµθωερτψ υιοπασδφγηϕκλζξχϖβνµθωερτψυιοπασδ φγηϕκλζξχϖβνµθωερτψυιοπασδφγηϕκλζ ξχϖβνµθωερτψυιοπασδφγηϕκλζξχϖβνµ EE 331 Design Project Final Report θωερτψυιοπασδφγηϕκλζξχϖβνµθωερτψ
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 informationXicor Real Time Clock Family Users Guide. New Devices Integrate Crystal Compensation Circuitry AN of 8.
Xicor Real Time Clock Family Users Guide New Devices Integrate Crystal Compensation Circuitry 1 of 8 Overall Functionality Xicor Real Time Clock (RTC) products integrate the real time clock function with
More informationGrundlagen Microcontroller Counter/Timer. Günther Gridling Bettina Weiss
Grundlagen Microcontroller Counter/Timer Günther Gridling Bettina Weiss 1 Counter/Timer Lecture Overview Counter Timer Prescaler Input Capture Output Compare PWM 2 important feature of microcontroller
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 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 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 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 informationMSP430 Interfacing Programs
IV B.Tech. I Sem (R13) ECE : Embedded Systems : UNIT -5 1 MSP430 Interfacing Programs 1. Blinking LED 2. LED control using switch 3. GPIO interrupt 4. ADC & PWM application speed control of dc motor 5.
More information1 Second Time Base From Crystal Oscillator
1 Second Time Base From Crystal Oscillator The schematic below illustrates dividing a crystal oscillator signal by the crystal frequency to obtain an accurate (0.01%) 1 second time base. Two cascaded 12
More informationBrian Hanna Meteor IP 2007 Microcontroller
MSP430 Overview: The purpose of the microcontroller is to execute a series of commands in a loop while waiting for commands from ground control to do otherwise. While it has not received a command it populates
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 informationUsing Z8 Encore! XP MCU for RMS Calculation
Application te Using Z8 Encore! XP MCU for RMS Calculation Abstract This application note discusses an algorithm for computing the Root Mean Square (RMS) value of a sinusoidal AC input signal using the
More informationNuMicro N76E003 Brushless DC Motor Control User Manual
NuMicro Brushless DC Motor Control User Manual The information described in this document is the exclusive intellectual property of Nuvoton Technology Corporation and shall not be reproduced without permission
More informationQUASAR PROJECT KIT # /24 HOUR GIANT CLOCK
This project was originally published in the electronics magazine, Silicon Chip, a few years ago. It is issued here as a kit with permission. Some modifications to the original published circuit and software
More informationArduino Freq-Mite for Norcal NC40A Mike WA8BXN Jan 2018
Arduino Freq-Mite for Norcal NC40A Mike WA8BXN Jan 2018 Dave Benson's (K1SWL) Freq-Mite is a popular frequency counter used as a digital readout in CW of the operating frequency of QRP transceivers. No
More informationHello and welcome to this Renesas Interactive Course that provides an overview of the timers found on RL78 MCUs.
Hello and welcome to this Renesas Interactive Course that provides an overview of the timers found on RL78 MCUs. 1 The purpose of this course is to provide an introduction to the RL78 timer Architecture.
More informationIZ602 LCD DRIVER Main features: Table 1 Pad description Pad No Pad Name Function
LCD DRIVER The IZ602 is universal LCD controller designed to drive LCD with image element up to 128 (32x4). Instruction set makes IZ602 universal and suitable for applications with different types of displays.
More informationCprE 288 Introduction to Embedded Systems (Output Compare and PWM) Instructors: Dr. Phillip Jones
CprE 288 Introduction to Embedded Systems (Output Compare and PWM) Instructors: Dr. Phillip Jones 1 Announcements HW8: Due Sunday 10/29 (midnight) Exam 2: In class Thursday 11/9 This object detection lab
More informationLED Field Strength Indicator Kit
LED Field Strength Indicator Kit Description The Field Strength Indicator kit from Qrpkits.com provides a visual way to monitor RF fields through the brightness of an LED. It will respond to RF fields
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 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 informationBrushed DC Motor Control. Module with CAN (MDL-BDC24)
Stellaris Brushed DC Motor Control Module with CAN (MDL-BDC24) Ordering Information Product No. MDL-BDC24 RDK-BDC24 Description Stellaris Brushed DC Motor Control Module with CAN (MDL-BDC24) for Single-Unit
More informationFigure 1. C805193x/92x Capacitive Touch Sense Development Platform
CAPACITIVE TOUCH SENSE SOLUTION RELEVANT DEVICES The concepts and example code in this application note are applicable to the following device families: C8051F30x, C8051F31x, C8051F320/1, C8051F33x, C8051F34x,
More informationJTAG pins do not have internal pull-ups enabled at power-on reset. JTAG INTEST instruction does not work
STELLARIS ERRATA Stellaris LM3S2110 RevA2 Errata This document contains known errata at the time of publication for the Stellaris LM3S2110 microcontroller. The table below summarizes the errata and lists
More informationTAPR TICC Timestamping Counter Operation Manual. Introduction
TAPR TICC Timestamping Counter Operation Manual Revised: 23 November 2016 2016 Tucson Amateur Packet Radio Corporation Introduction The TAPR TICC is a two-channel timestamping counter ("TSC") implemented
More informationBMS BMU Vehicle Communications Protocol
BMS Communications Protocol 2013 Tritium Pty Ltd Brisbane, Australia http://www.tritium.com.au 1 of 11 TABLE OF CONTENTS 1 Introduction...3 2 Overview...3 3 allocations...4 4 Data Format...4 5 CAN packet
More informationTraining Schedule. Robotic System Design using Arduino Platform
Training Schedule Robotic System Design using Arduino Platform Session - 1 Embedded System Design Basics : Scope : To introduce Embedded Systems hardware design fundamentals to students. Processor Selection
More informationHardware Flags. and the RTI system. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff
Hardware Flags and the RTI system 1 Need for hardware flag Often a microcontroller needs to test whether some event has occurred, and then take an action For example A sensor outputs a pulse when a model
More informationPRODUCT OVERVIEW OVERVIEW OTP
PRODUCT OVERVIEW 1 PRODUCT OVERVIEW OVERVIEW The S3C7324 single-chip CMOS microcontroller has been designed for high performance using Samsung's newest 4-bit CPU core, SAM47 (Samsung Arrangeable Microcontrollers).
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 informationTemperature Monitoring and Fan Control with Platform Manager 2
August 2013 Introduction Technical Note TN1278 The Platform Manager 2 is a fast-reacting, programmable logic based hardware management controller. Platform Manager 2 is an integrated solution combining
More informationHoungninou 2. Abstract
Houngninou 2 Abstract The project consists of designing and building a system that monitors the phase of two pulses A and B. Three colored LEDs are used to identify the phase comparison. When the rising
More informationUNIVERSITY OF VICTORIA FACULTY OF ENGINEERING. SENG 466 Software for Embedded and Mechatronic Systems. Project 1 Report. May 25, 2006.
UNIVERSITY OF VICTORIA FACULTY OF ENGINEERING SENG 466 Software for Embedded and Mechatronic Systems Project 1 Report May 25, 2006 Group 3 Carl Spani Abe Friesen Lianne Cheng 03-24523 01-27747 01-28963
More informationDIY KIT 141. Multi-Mode Timer
INTRODUCTION No one can call themselves an electronics hobbyist unless they have built a timer. There are many tens of designs using a variety of new and sometimes old circuits. Witness the longest surviving
More informationTimer A. Last updated 8/7/18
Last updated 8/7/18 Advanced Timer Functions Output Compare Sets a flag and/or creates an interrupt when the counter value matches a value programmed into a separate register Input Capture Captures the
More informationMeasuring Distance Using Sound
Measuring Distance Using Sound Distance can be measured in various ways: directly, using a ruler or measuring tape, or indirectly, using radio or sound waves. The indirect method measures another variable
More informationTable Of Contents Overview of the operating buttons... 4 The functions of the datalogger... 5 How to start logging from the default settings...
Table Of Contents 1. Overview of the operating buttons... 4 2. The functions of the datalogger... 5 2.1 LOG... 5 2.2 METER... 5 2.3 REVIEW... 5 2.4 TIME / date... 5 2.5 START time / date... 5 2.6 INT log
More informationWednesday 7 June 2017 Afternoon Time allowed: 1 hour 30 minutes
Please write clearly in block capitals. Centre number Candidate number Surname Forename(s) Candidate signature A-level ELECTRONICS Unit 4 Programmable Control Systems Wednesday 7 June 2017 Afternoon Time
More informationProject: Electromagnetic Ring Launcher
Project: Electromagnetic Ring Launcher Introduction: In science museums and physics-classrooms an experiment is very commonly demonstrated called the Jumping Ring or Electromagnetic Ring Launcher. The
More informationPower Pulse Modulator A High Performance Versatile Square Pulse Generator
Power Pulse Modulator A High Performance Versatile Square Pulse Generator Model: PWM-OCXi v2.2 Type: High Voltage, 9A, 340V, 1.5MHz, Active Protection Features and Specifications * Max current varies with
More informationECE 511: MICROPROCESSORS
ECE 511: MICROPROCESSORS A project report on SNIFFING DOG Under the guidance of Prof. Jens Peter Kaps By, Preethi Santhanam (G00767634) Ranjit Mandavalli (G00819673) Shaswath Raghavan (G00776950) Swathi
More informationµtasker Document µtasker Hardware Timers
Embedding it better... µtasker Document utaskerhwtimers.doc/0.07 Copyright 2016 M.J.Butcher Consulting Table of Contents 1. Introduction...3 2. Timer Control Interface...3 3. Configuring a Single-Shot
More informationVORAGO Timer (TIM) subsystem application note
AN1202 VORAGO Timer (TIM) subsystem application note Feb 24, 2017, Version 1.2 VA10800/VA10820 Abstract This application note reviews the Timer (TIM) subsystem on the VA108xx family of MCUs and provides
More informationFor this exercise, you will need a partner, an Arduino kit (in the plastic tub), and a laptop with the Arduino programming environment.
Physics 222 Name: Exercise 6: Mr. Blinky This exercise is designed to help you wire a simple circuit based on the Arduino microprocessor, which is a particular brand of microprocessor that also includes
More informationLaboratory Final Design Project. PWM DC Motor Speed Control
Laboratory Final Design Project PWM DC Motor Speed Control Bowen Wang, Siyang Xia, Renhao Xie, E E 331 Lab, Winter 2013 TABLE OF CONTENTS Purpose of project, features, ratings.
More informationApplication Note: Using the Motor Driver on the 3pi Robot and Orangutan Robot Controllers
Application Note: Using the Motor Driver on the 3pi Robot and Orangutan Robot 1. Introduction..................................................... 2 2. Motor Driver Truth Tables.............................................
More informationBohunt School (Wokingham) Internet of Things (IoT) and Node-RED
This practical session should be a bit of fun for you. It involves creating a distance sensor node using the SRF05 ultrasonic device. How the SRF05 works Here s a photo of the SRF05. The silver metal cans
More informationTemperature Monitoring and Fan Control with Platform Manager 2
Temperature Monitoring and Fan Control September 2018 Technical Note FPGA-TN-02080 Introduction Platform Manager 2 devices are fast-reacting, programmable logic based hardware management controllers. Platform
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 informationF²MC-8FX FAMILY MB95F200 SERIES. LED Control Reference Solution 8-BIT MICROCONTROLLER APPLICATION NOTE
Fujitsu Microelectronics (Shanghai) Co., Ltd. Application Note MCU-AN- 500055-E-10 F²MC-8FX FAMILY 8-BIT MICROCONTROLLER MB95F200 SERIES LED Control Reference Solution APPLICATION NOTE Revision History
More informationCHAPTER-5 DESIGN OF DIRECT TORQUE CONTROLLED INDUCTION MOTOR DRIVE
113 CHAPTER-5 DESIGN OF DIRECT TORQUE CONTROLLED INDUCTION MOTOR DRIVE 5.1 INTRODUCTION This chapter describes hardware design and implementation of direct torque controlled induction motor drive with
More informationOBSTACLE EVADING ULTRASONIC ROBOT. Aaron Hunter Eric Whitestone Joel Chenette Anne-Marie Cressin
OBSTACLE EVADING ULTRASONIC ROBOT Aaron Hunter Eric Whitestone Joel Chenette Anne-Marie Cressin ECE 511 - Fall 2011 1 Abstract The purpose of this project is to demonstrate how simple algorithms can produce
More informationEE152 Final Project Report
LPMC (Low Power Motor Controller) EE152 Final Project Report Summary: For my final project, I designed a brushless motor controller that operates with 6-step commutation with a PI speed loop. There are
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 informationTriscend E5 Support. Configurable System-on-Chip (CSoC) Triscend Development Tools Update TM
www.keil.com Triscend Development Tools Update TM Triscend E5 Support The Triscend E5 family of Configurable System-on-Chip (CSoC) devices is based on a performance accelerated 8-bit 8051 microcontroller.
More informationMAKEVMA502 BASIC DIY KIT WITH ATMEGA2560 FOR ARDUINO USER MANUAL
BASIC DIY KIT WITH ATMEGA2560 FOR ARDUINO USER MANUAL USER MANUAL 1. Introduction To all residents of the European Union Important environmental information about this product This symbol on the device
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 informationEmbedded Systems and Software
Embedded Systems and Software Notes on Lab 2 Embedded Systems in Vehicles Lecture 2-4, Slide 1 Lab 02 In this lab students implement an interval timer using a pushbutton switch, ATtiny45, an LED driver,
More informationAN3252 Application note
Application note Building a wave generator using STM8L-DISCOVERY Application overview This application note provides a short description of how to use the STM8L-DISCOVERY as a basic wave generator for
More informationQRPGuys SMT Digital Dial/Frequency Counter
QRPGuys SMT Digital Dial/Frequency Counter First, familiarize yourself with the parts and check for all the components. If a part is missing, please contact us and we will send one. You must use qrpguys.parts@gmail.com
More informationLM4: The timer unit of the MC9S12DP256B/C
Objectives - To explore the Enhanced Capture Timer unit (ECT) of the MC9S12DP256B/C - To program a real-time clock signal with a fixed period and display it using the onboard LEDs (flashing light) - To
More informationICS REPEATER CONTROLLERS
ICS REPEATER CONTROLLERS BASIC CONTROLLER USER MANUAL INTEGRATED CONTROL SYSTEMS 1076 North Juniper St. Coquille, OR 97423 Email support@ics-ctrl.com Website www.ics-ctrl.com Last updated 5/07/15 Basic
More informationAN4507 Application note
Application note PWM resolution enhancement through a dithering technique for STM32 advanced-configuration, general-purpose and lite timers Introduction Nowadays power-switching electronics exhibit remarkable
More informationATmega16A Microcontroller
ATmega16A Microcontroller Timers 1 Timers Timer 0,1,2 8 bits or 16 bits Clock sources: Internal clock, Internal clock with prescaler, External clock (timer 2), Special input pin 2 Features The choice of
More informationSolar Mailbox project. Pictures of the Solar Mailbox
Solar Mailbox project The purpose of this project is to develop a self sufficient Mailbox (real one) that will be powered only by the sun and that will display the number of the house, but only in accordance
More informationCleaning Robot Working at Height Final. Fan-Qi XU*
Proceedings of the 3rd International Conference on Material Engineering and Application (ICMEA 2016) Cleaning Robot Working at Height Final Fan-Qi XU* International School, Beijing University of Posts
More informationApplication Note, V1.2, Feb AP TriCore. 3-phase complementary PWM with hardware triggered ADC conversion.
Application Note, V1.2, Feb. 2011 TriCore AP32135 3-phase complementary PWM with hardware triggered ADC conversion Microcontrollers Edition 2011-02 Published by Infineon Technologies AG 81726 München,
More informationSTELLARIS ERRATA. Stellaris LM3S8962 RevA2 Errata
STELLARIS ERRATA Stellaris LM3S8962 RevA2 Errata This document contains known errata at the time of publication for the Stellaris LM3S8962 microcontroller. The table below summarizes the errata and lists
More informationB & D Enterprises 1P repeater controller pg 1 INTRODUCTION:
B & D Enterprises 1P repeater controller pg 1 INTRODUCTION: The 1P is a basic repeater controller. The controller uses low power devices and stores all commands and system status in non-volatile EE prom.
More informationFixed-function (FF) implementation for PSoC 3 and PSoC 5 devices
2.40 Features 8- or 16-bit resolution Multiple pulse width output modes Configurable trigger Configurable capture Configurable hardware/software enable Configurable dead band Multiple configurable kill
More informationAN2581 Application note
AN2581 Application note STM32F10xxx TIM application examples Introduction This application note is intended to provide practical application examples of the STM32F10xxx TIMx peripheral use. This document,
More informationProject Name: SpyBot
EEL 4924 Electrical Engineering Design (Senior Design) Final Report April 23, 2013 Project Name: SpyBot Team Members: Name: Josh Kurland Name: Parker Karaus Email: joshkrlnd@gmail.com Email: pbkaraus@ufl.edu
More informationCircuit Board Assembly Instructions
Circuit Board Assembly Instructions This document walk you through the assembly of the Base4 Clock v1.2 - v1.3 circuit boards. Important note for kit buyers The color and appearance of the components may
More informationProduct Family: 05, 06, 105, 205, 405, WinPLC, Number: AN-MISC-021 Terminator IO Subject: High speed input/output device
APPLICATION NOTE THIS INFORMATION PROVIDED BY AUTOMATIONDIRECT.COM TECHNICAL SUPPORT These documents are provided by our technical support department to assist others. We do not guarantee that the data
More informationHAW-Arduino. Sensors and Arduino F. Schubert HAW - Arduino 1
HAW-Arduino Sensors and Arduino 14.10.2010 F. Schubert HAW - Arduino 1 Content of the USB-Stick PDF-File of this script Arduino-software Source-codes Helpful links 14.10.2010 HAW - Arduino 2 Report for
More informationMicrocontrollers: Lecture 3 Interrupts, Timers. Michele Magno
Microcontrollers: Lecture 3 Interrupts, Timers Michele Magno 1 Calendar 07.04.2017: Power consumption; Low power States; Buses, Memory, GPIOs 20.04.2017 Serial Communications 21.04.2017 Programming STM32
More informationLaboratory Exercise 1 Microcontroller Board with Driver Board
Laboratory Exercise 1 Microcontroller Board with Driver Board The purpose of this lab exercises is to demonstrate how the Microcontroller Board can be used to control motors connected to the Driver Board
More informationPWMLib PWM Library. Jim Schimpf. Document Number: PAN Revision Number: April Pandora Products. 215 Uschak Road Derry, PA 15627
PWMLib Jim Schimpf Document Number: Revision Number: 0.8 Pandora Products. 215 Uschak Road Derry, PA 15627 Creative Commons Attribution 4.0 International License 2015 Pandora Products. All other product
More informationLecture 6: More on Timers and PWM
ECE342 Digital II Lecture 6: More on Timers and PWM Ying Tang Electrical and Computer Engineering Rowan University 1 Timer in Capture Mode What Does a Timer Really Do? Capture a selected input from either
More informationHandy dandy little circuit #17 #17
Handy dandy little circuit #17 #17 Download # 17 in PDF There are a lot of alarm systems on the market but you might be inclined to build your own. This little project can be put together using inexpensive
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 informationDesigning and Implementing of 72V/150V Closed loop Boost Converter for Electoral Vehicle
International Journal of Current Engineering and Technology E-ISSN 77 4106, P-ISSN 347 5161 017 INPRESSCO, All Rights Reserved Available at http://inpressco.com/category/ijcet Research Article Designing
More informationThe Motor sketch. One Direction ON-OFF DC Motor
One Direction ON-OFF DC Motor The DC motor in your Arduino kit is the most basic of electric motors and is used in all types of hobby electronics. When current is passed through, it spins continuously
More informationLow Voltage, High Current Time Delay Circuit
Low Voltage, High Current Time Delay Circuit In this circuit a LM339 quad voltage comparator is used to generate a time delay and control a high current output at low voltage. Approximatey 5 amps of current
More information