EECS 192: Mechatronics Design Lab
|
|
- Aubrey King
- 5 years ago
- Views:
Transcription
1 EECS 192: Mechatronics Design Lab Discussion 11: Embedded Software GSI: Varun Tolani 4 & 5 April 2018 (Week 11) 1 Intro 2 Timers 3 Communication & UART 4 Structuring Your Code Ducky (UCB EECS) Mechatronics Design Lab 4 & 5 April 2018 (Week 11) 1 / 24
2 Intro Ducky (UCB EECS) Mechatronics Design Lab 4 & 5 April 2018 (Week 11) 2 / 24
3 Intro What does all this mean? Ducky (UCB EECS) Mechatronics Design Lab 4 & 5 April 2018 (Week 11) 3 / 24
4 Intro Ducky (UCB EECS) Mechatronics Design Lab 4 & 5 April 2018 (Week 11) 4 / 24
5 Timers Timers Ducky (UCB EECS) Mechatronics Design Lab 4 & 5 April 2018 (Week 11) 5 / 24
6 Timers What are some of the different kinds of timers? Periodic Interrupt Timer (PIT) Flexible Timer Module (FTM) Programmable Delay Block (PDB) Real Time Clock (RTC) Ducky (UCB EECS) Mechatronics Design Lab 4 & 5 April 2018 (Week 11) 6 / 24
7 Timers When do we use these timers? Periodic Interrupt Timer (PIT) Running functions periodically (i.e. control) Flexible Timer Module (FTM) Running functions periodically (i.e. control) Generating PWM Programmable Delay Block (PDB) Delaying for a specific amount of time Real Time Clock (RTC) Tracking execution time (i.e. get curr time) Ducky (UCB EECS) Mechatronics Design Lab 4 & 5 April 2018 (Week 11) 7 / 24
8 Timers PIT (Review) # define PIT_IRQ_ID PIT0_IRQn # define PIT_SOURCE_CLOCK CLOCK_GetFreq ( kclock_busclk ) // config ->enablerunindebug = false ; PIT_GetDefaultConfig (& pitconfig ); PIT_Init (PIT, & pitconfig ); /* Set timer period for channel 0 */ PIT_SetTimerPeriod (PIT, kpit_chnl_0, USEC_TO_COUNT (500000U, PIT_SOURCE_CLOCK )); //.5s timing /* Enable timer interrupts for channel 0 */ PIT_EnableInterrupts (PIT, kpit_chnl_0, kpit_timerinterruptenable ); /* Enable at the NVIC */ EnableIRQ ( PIT_IRQ_ID ); PIT_StartTimer (PIT, kpit_chnl_0 ); Ducky (UCB EECS) Mechatronics Design Lab 4 & 5 April 2018 (Week 11) 8 / 24
9 Timers FTM as a timer (prescaler) # define BOARD_FTM_BASEADDR FTM0 # define BOARD_FTM_IRQ_NUM FTM0_IRQn # define BOARD_FTM_HANDLER FTM0_IRQHandler # define FTM_SOURCE_CLOCK ( CLOCK_GetFreq ( kclock_busclk ) /4) FTM_GetDefaultConfig (& ftminfo ); ftminfo. prescale = kftm_prescale_divide_4 ; /* Initialize FTM module */ FTM_Init ( BOARD_FTM_BASEADDR, & ftminfo ); FTM_SetTimerPeriod ( BOARD_FTM_BASEADDR, USEC_TO_COUNT (1000U, FTM_SOURCE_CLOCK )); // Enable Interrupts FTM_EnableInterrupts ( BOARD_FTM_BASEADDR, kftm_timeoverflowinterruptenable ); EnableIRQ ( BOARD_FTM_IRQ_NUM ); FTM_StartTimer ( BOARD_FTM_BASEADDR, kftm_systemclock ); Ducky (UCB EECS) Mechatronics Design Lab 4 & 5 April 2018 (Week 11) 9 / 24
10 Timers FTM There are 4 FTM s s (0-3) Each FTM has up to 8 channels (think h bridge or even brushless motor control) Each FTM runs is locked to 1 frequency (but not duty cycle!!!) FTM allows you to use a prescaler (to count very slowly without overflow) Ducky (UCB EECS) Mechatronics Design Lab 4 & 5 April 2018 (Week 11) 10 / 24
11 Timers FTM for PWM (review) # define BOARD_FTM_BASEADDR FTM0 # define BOARD_FTM_IRQ_NUM FTM0_IRQn # define BOARD_FTM_HANDLER FTM0_IRQHandler # define FTM_SOURCE_CLOCK kclock_busclk ftmparam. chnlnumber = BOARD_FTM_CHANNEL ; ftmparam. level = PWM_LEVEL ; ftmparam. dutycyclepercent = init_duty_cycle ; ftmparam. firstedgedelaypercent = 0U; FTM_GetDefaultConfig (& ftminfo ); ftminfo. prescale = kftm_prescale_divide_128 ; // Optional for slow PWM FTM_Init ( BOARD_FTM_BASEADDR, & ftminfo ); // Dont Need Interrupts Here!!! FTM_SetupPwm ( BOARD_FTM_BASEADDR, &ftmparam, 1U, kftm_centeralignedpwm, freq_hz, FTM_SOURCE_CLOCK ); FTM_StartTimer ( BOARD_FTM_BASEADDR, kftm_systemclock ); Ducky (UCB EECS) Mechatronics Design Lab 4 & 5 April 2018 (Week 11) 11 / 24
12 Communication & UART Communication and UART Ducky (UCB EECS) Mechatronics Design Lab 4 & 5 April 2018 (Week 11) 12 / 24
13 Communication & UART UART Universal Asynchronous Reciever and Transmitter Asynchronous Digital Data Transfer Protocol Data format and Data speed (baud rate) are configurable Used for serial communication (USB, ethernet, etc.) Transmits data as byte string User chosen baud rate (bits/second) Ducky (UCB EECS) Mechatronics Design Lab 4 & 5 April 2018 (Week 11) 13 / 24
14 Communication & UART UART UART Tx- Transmit, Rx- Receive, G- Gnd (only need 3 pins for UART data transmission) Ducky (UCB EECS) Mechatronics Design Lab 4 & 5 April 2018 (Week 11) 14 / 24
15 Communication & UART UART Baud Rate Baud = bits/second Some common baud rates are 9600, 38400, Ducky (UCB EECS) Mechatronics Design Lab 4 & 5 April 2018 (Week 11) 15 / 24
16 Communication & UART UART Bluetooth on K64F We can just plug in our bluesmirf chip directly to the K64F! Ducky (UCB EECS) Mechatronics Design Lab 4 & 5 April 2018 (Week 11) 16 / 24
17 Communication & UART Telemetry Telemetry Why Telemetry Necessary for checkpoint 9 and race 1/2 Invaluable for real time debugging Telemetry uses UART! Can do asynchronous communication Floating Point! Easy to switch between USB & Bluetooth Ducky (UCB EECS) Mechatronics Design Lab 4 & 5 April 2018 (Week 11) 17 / 24
18 Communication & UART Telemetry Our Telemetry System telemetry uart.c (in telemetry skeleton code) # define DEMO_UART UART0 # define DEMO_UART_CLKSRC UART0_CLK_SRC # define DEMO_UART_CLK_FREQ CLOCK_GetFreq ( UART0_CLK_SRC ) # define DEMO_UART_IRQn UART0_RX_TX_IRQn # define DEMO_UART_IRQHandler UART0_RX_TX_IRQHandler void init_uart ( void ){ uart_config_t config ; /* * config. baudrate_bps = U; * config. paritymode = kuart_paritydisabled ; * config. stopbitcount = kuart_onestopbit ; * config. txfifowatermark = 0; * config. rxfifowatermark = 1; * config. enabletx = false ; * config. enablerx = false ; */ UART_GetDefaultConfig (& config ); config. baudrate_bps = U; config. enabletx = true ; config. enablerx = true ; } UART_Init ( DEMO_UART, &config, DEMO_UART_CLK_FREQ ); UART0 routes to USB if plugged in! For bluetooth need to use UART corresponding to PTC14/15 Ducky (UCB EECS) Mechatronics Design Lab 4 & 5 April 2018 (Week 11) 18 / 24
19 Communication & UART Telemetry Our Telemetry System (as of April 3) Data flows 1 way Ducky (UCB EECS) Mechatronics Design Lab 4 & 5 April 2018 (Week 11) 19 / 24
20 Communication & UART Telemetry Tips for Telemetry Get telemetry working via usb first Use the same baud rate on your laptop, K64, and bluetooth chip (will not work if you ignore this) The bluetooth chips come preconfigured from previous years to run at a certain baud rate (usually 9600, 38400, or ). You can change this if needed. Using telemetry with a slower baud rate is recommended (9600 or 38400). Logging too many variables (especially waterfall plots) will slow down your cpu. Known Telemetry Issues Can only transfer 32bit values as of now Data only flows 1 direction Blocking writes used Ducky (UCB EECS) Mechatronics Design Lab 4 & 5 April 2018 (Week 11) 20 / 24
21 Structuring Your Code Structuring Your Code Ducky (UCB EECS) Mechatronics Design Lab 4 & 5 April 2018 (Week 11) 21 / 24
22 Structuring Your Code Code Structure 1 Closed Loop Control & Telemetry int main (){ init_pit (freq, pit_handler ); while (1) { telemetry. do_io (); } } void pit_handler (){ estimate_velocity (); find_line (); calculate_steering_error (); calculate_velocity_error (); apply_steering_control (); apply_velocity_control (); } Ducky (UCB EECS) Mechatronics Design Lab 4 & 5 April 2018 (Week 11) 22 / 24
23 Structuring Your Code Code Structure 2 Closed Loop Control & Telemetry int main (){ init_pit (freq, pit_handler ); while (1) { PRINTF ( debugging \r\n ); telemetry. do_io (); } } void pit_handler (){ estimate_velocity (); find_line (); calculate_steering_error (); calculate_velocity_error (); apply_steering_control (); apply_velocity_control (); } Why might this be a bad idea? Ducky (UCB EECS) Mechatronics Design Lab 4 & 5 April 2018 (Week 11) 23 / 24
24 Structuring Your Code Code Structure 3 Closed Loop Control & Telemetry int main (){ init_pit (freq, pit_handler ); init_idle_task (); while (1) { SPRINTF ( debugging \r\n ); telemetry. do_io (); } } void idle_task (){ PRINTF ( queue. pop ()); } void pit_handler (){ estimate_velocity (); find_line (); calculate_steering_error (); calculate_velocity_error (); apply_steering_control (); apply_velocity_control (); } Ducky (UCB EECS) Mechatronics Design Lab 4 & 5 April 2018 (Week 11) 24 / 24
Lab 2.2 Custom slave programmable interface
Lab 2.2 Custom slave programmable interface Introduction In the previous labs, you used a system integration tool (Qsys) to create a full FPGA-based system comprised of a processor, on-chip memory, a JTAG
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 informationUnit D. Serial Interfaces. Serial vs. Parallel. Serial Interfaces. Serial Communications
D.1 Serial Interfaces D.2 Unit D Embedded systems often use a serial interface to communicate with other devices. Serial implies that it sends or receives one bit at a time. Serial Communications Serial
More informationHello, and welcome to this presentation of the FlexTimer or FTM module for Kinetis K series MCUs. In this session, you ll learn about the FTM, its
Hello, and welcome to this presentation of the FlexTimer or FTM module for Kinetis K series MCUs. In this session, you ll learn about the FTM, its main features and the application benefits of leveraging
More informationEmbedded Radio Data Transceiver SV611
Embedded Radio Data Transceiver SV611 Description SV611 is highly integrated, multi-ports radio data transceiver module. It adopts high performance Silicon Lab Si4432 RF chip. Si4432 has low reception
More informationLesson UART. Clock Systems and Timing UART (Universal Asynchronous Receiver-Transmitter) Queues Lab Assignment: UART
Lesson UART Clock Systems and Timing UART (Universal Asynchronous Receiver-Transmitter) Queues Lab Assignment: UART Clock Systems and Timing Clock System & Timing A crystal oscillator is typically used
More informationProject Name Here CSEE 4840 Project Design Document. Thomas Chau Ben Sack Peter Tsonev
Project Name Here CSEE 4840 Project Design Document Thomas Chau tc2165@columbia.edu Ben Sack bs2535@columbia.edu Peter Tsonev pvt2101@columbia.edu Table of contents: Introduction Page 3 Block Diagram Page
More informationEECS 192: Mechatronics Design Lab
EECS 192: Mechatronics Design Lab Discussion 1: Introduction GSI: Richard Ducky Lin 21 Jan 2015 (Week 1) 1 Administrivia 2 FRDM Board Intro 3 Soldering Ducky (UCB EECS) Mechatronics Design Lab 21 Jan 2015
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 informationMCT U.I. Driver Reference Manual Motor Control Technologies; LLC
MCT U.I. Driver Reference Manual Motor Control Technologies; LLC www.mocontech.com 1. The MCTUI Driver...2 2. MCT Hardware Methods...2 2.1.1. BuildDataPacket()...2 3. Third Party Hardware Methods...5 3.1.
More informationDASL 120 Introduction to Microcontrollers
DASL 120 Introduction to Microcontrollers Lecture 2 Introduction to 8-bit Microcontrollers Introduction to 8-bit Microcontrollers Introduction to 8-bit Microcontrollers Introduction to Atmel Atmega328
More informationEE445L Fall 2012 Final Version B Page 1 of 7
EE445L Fall 2012 Final Version B Page 1 of 7 Jonathan W. Valvano First: Last: This is the closed book section. You must put your answers in the boxes on this answer page. When you are done, you turn in
More informationUSB Port Medium Power Wireless Module SV653
USB Port Medium Power Wireless Module SV653 Description SV653 is a high-power USB interface integrated wireless data transmission module, using high-performance Silicon Lab Si4432 RF chip. Low receiver
More informationLesson 3: Arduino. Goals
Introduction: This project introduces you to the wonderful world of Arduino and how to program physical devices. In this lesson you will learn how to write code and make an LED flash. Goals 1 - Get to
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 informationProject Proposal. Underwater Fish 02/16/2007 Nathan Smith,
Project Proposal Underwater Fish 02/16/2007 Nathan Smith, rahteski@gwu.edu Abstract The purpose of this project is to build a mechanical, underwater fish that can be controlled by a joystick. The fish
More informationSV613 USB Interface Wireless Module SV613
USB Interface Wireless Module SV613 1. Description SV613 is highly-integrated RF module, which adopts high performance Si4432 from Silicon Labs. It comes with USB Interface. SV613 has high sensitivity
More informationCatalog
- 1 - Catalog 1. Overview... - 3-2. Feature...- 3-3. Application... - 3-4. Block Diagram... - 3-5. Electrical Characteristics...- 4-6. Operation...- 4-1) Power on Reset... - 4-2) Sleep mode...- 4-3) Working
More informationEECE494: Computer Bus and SoC Interfacing. Serial Communication: RS-232. Dr. Charles Kim Electrical and Computer Engineering Howard University
EECE494: Computer Bus and SoC Interfacing Serial Communication: RS-232 Dr. Charles Kim Electrical and Computer Engineering Howard University Spring 2014 1 Many types of wires/pins in the communication
More informationELCT 912: Advanced Embedded Systems
ELCT 912: Advanced Embedded Systems Lecture 5: PIC Peripherals on Chip Dr. Mohamed Abd El Ghany, Department of Electronics and Electrical Engineering The PIC Family: Peripherals Different PICs have different
More informationProgramming and Interfacing
AtmelAVR Microcontroller Primer: Programming and Interfacing Second Edition f^r**t>*-**n*c contents Preface xv AtmelAVRArchitecture Overview 1 1.1 ATmegal64 Architecture Overview 1 1.1.1 Reduced Instruction
More informationEE445L Fall 2014 Quiz 2A Page 1 of 5
EE445L Fall 2014 Quiz 2A Page 1 of 5 Jonathan W. Valvano First: Last: November 21, 2014, 10:00-10:50am. Open book, open notes, calculator (no laptops, phones, devices with screens larger than a TI-89 calculator,
More informationIntroduction to the Arduino Kit
1 Introduction to the Arduino Kit Introduction Arduino is an open source microcontroller platform used for sensing both digital and analog input signals and for sending digital and analog output signals
More informationtinyavr 1-series Training
Getting Started with the tinyavr 1-series Prerequisites Hardware Prerequisites Microchip ATtiny817 Xplained Pro board Micro-USB cable (Type-A/Micro-B) One female-to-female wire Internet connection Software
More informationRoland Kammerer. 13. October 2010
Peripherals Roland Institute of Computer Engineering Vienna University of Technology 13. October 2010 Overview 1. Analog/Digital Converter (ADC) 2. Pulse Width Modulation (PWM) 3. Serial Peripheral Interface
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 informationCatalog
- 1 - Catalog 1. Overview...- 3-2. Feature... - 3-3. Application...- 3-4. Block Diagram...- 3-5. Electrical Characteristics... - 4-6. Operation... - 4-1) Power on Reset... - 4-2) Sleep mode... - 4-3) Working
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 informationTLE9879 EvalKit V1.2 Users Manual
TLE9879 EvalKit V1.2 Users Manual Contents Abbreviations... 3 1 Concept... 4 2 Interconnects... 5 3 Test Points... 6 4 Jumper Settings... 7 5 Communication Interfaces... 8 5.1 LIN (via Banana jack and
More informationMotor Control using NXP s LPC2900
Motor Control using NXP s LPC2900 Agenda LPC2900 Overview and Development tools Control of BLDC Motors using the LPC2900 CPU Load of BLDCM and PMSM Enhancing performance LPC2900 Demo BLDC motor 2 LPC2900
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 informationPart (A) Using the Potentiometer and the ADC* Part (B) LEDs and Stepper Motors with Interrupts* Part (D) Breadboard PIC Running a Stepper Motor
Name Name (Most parts are team so maintain only 1 sheet per team) ME430 Mechatronic Systems: Lab 5: ADC, Interrupts, Steppers, and Servos The lab team has demonstrated the following tasks: Part (A) Using
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 informationOct 30 Announcements. Bonus marked will be posted today Will provide 270 style feedback on multiple-choice questions. [3.E]-1
Oct 30 Announcements Code Marked and on Blackboard This week: Mon 2:30 to 3:00pm, Tues 2:30 to 3:30 and W-F 1:30 to 3:00pm opportunity to talk about code: earn 2 extra points on the coding part Bonus marked
More informationBrushless 5 click. PID: MIKROE 3032 Weight: 25 g
Brushless 5 click PID: MIKROE 3032 Weight: 25 g Brushless 5 click is a 3 phase sensorless BLDC motor controller, with a soft-switching feature for reduced motor noise and EMI, and precise BEMF motor sensing,
More informationExercise 3: Sound volume robot
ETH Course 40-048-00L: Electronics for Physicists II (Digital) 1: Setup uc tools, introduction : Solder SMD Arduino Nano board 3: Build application around ATmega38P 4: Design your own PCB schematic 5:
More informationR5 RIC Quickstart R5 RIC. R5 RIC Quickstart CONTENTS. Saab TransponderTech AB. Appendices. Project designation. Document title
Appendices 1 (10) Project designation R5 RIC Document title CONTENTS 1 Installation... 2 1.1 Connectors... 2 1.1.1 Power... 2 1.1.2 Video... 2 1.1.3 Sync... 3 1.1.4 RS232/ARP/ACP... 3 1.1.5 Radar data...
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 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 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 informationThree-Phase BLDC Sensorless Motor Control Using the MKV4x In Quadcopter Application
Freescale Semiconductor, Inc. Document Number: AN5169 Application Note Rev. 0, 07/2015 Three-Phase Sensorless Motor Control Using the MKV4x In Quadcopter Application By: Zbynek Mynar 1. Introduction This
More informationC16450 Universal Asynchronous Receiver/Transmitter. Function Description. Features. Symbol
C16450 Universal Asynchronous Receiver/Transmitter Function Description The C16450 programmable asynchronous communications interface (UART) megafunction provides data formatting and control to a serial
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 informationINTERFACING WITH INTERRUPTS AND SYNCHRONIZATION TECHNIQUES
Faculty of Engineering INTERFACING WITH INTERRUPTS AND SYNCHRONIZATION TECHNIQUES Lab 1 Prepared by Kevin Premrl & Pavel Shering ID # 20517153 20523043 3a Mechatronics Engineering June 8, 2016 1 Phase
More informationActivity 4: Due before the lab during the week of Feb
Today's Plan Announcements: Lecture Test 2 programming in C Activity 4 Serial interfaces Analog output Driving external loads Motors: dc motors, stepper motors, servos Lecture Test Activity 4: Due before
More informationBLE 4.0 Module ZBModule User Manual 1 / 15
BLE 4.0 Module ZBModule User Manual 1 / 15 Bluetooth 4.0 BLE Introduction With only a ZBmodule module, you can make your products easily and conveniently interactive connect with the ipad, iphone and Android
More informationEngineering 6806 Project Design Labs in Electrical/Computer Engineering
Engineering 6806 Project Design Labs in Electrical/Computer Engineering Lab #3 Motor Control 1. Introduction This lab will introduce you to basic concepts of controlling motors using the PIC16F877. 2.
More informationRF4432 wireless transceiver module
1. Description www.nicerf.com RF4432 RF4432 wireless transceiver module RF4432 adopts Silicon Lab Si4432 RF chip, which is a highly integrated wireless ISM band transceiver. The features of high sensitivity
More informationZKit-51-RD2, 8051 Development Kit
ZKit-51-RD2, 8051 Development Kit User Manual 1.1, June 2011 This work is licensed under the Creative Commons Attribution-Share Alike 2.5 India License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.5/in/
More informationInterfacing Sensors & Modules to Microcontrollers
Interfacing Sensors & Modules to Microcontrollers Presentation Topics I. Microprocessors & Microcontroller II. III. Hardware/software Tools for Interfacing Type of Sensors/Modules IV. Level Inputs (Digital
More informationSelect the single most appropriate response for each question.
ECE 362 Final Lab Practical - 1 - Practice Exam / Solution PART 1: Multiple Choice Select the single most appropriate response for each question. Note that none of the above MAY be a VALID ANSWER. (Solution
More informationEmbedded Robotics. Software Development & Education Center
Software Development & Education Center Embedded Robotics Robotics Development with ARM µp INTRODUCTION TO ROBOTICS Types of robots Legged robots Mobile robots Autonomous robots Manual robots Robotic arm
More informationCatalogue
- 1 - Catalogue 1. Description... - 3-2. Features... - 3-3. Applications...- 3-4. Block Diagram... - 3-5. Electrical Characteristics...- 4-6. Operation...- 5 - Power on Reset... - 5 - Working mode... -
More informationServo click. PID: MIKROE 3133 Weight: 32 g
Servo click PID: MIKROE 3133 Weight: 32 g Servo click is a 16-channel PWM servo driver with the voltage sensing circuitry. It can be used to simultaneously control 16 servo motors, each with its own programmable
More informationDual FOC Servo Motor Control on i.mx RT
NXP Semiconductors Document Number: AN12200 Application Note Rev. 0, 06/2018 Dual FOC Servo Motor Control on i.mx RT 1. Introduction This application note describes the dual servo demo with the NXP i.mx
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 informationModule: Arduino as Signal Generator
Name/NetID: Teammate/NetID: Module: Laboratory Outline In our continuing quest to access the development and debugging capabilities of the equipment on your bench at home Arduino/RedBoard as signal generator.
More informationDesigning with STM32F3x
Designing with STM32F3x Course Description Designing with STM32F3x is a 3 days ST official course. The course provides all necessary theoretical and practical know-how for start developing platforms based
More informationSV-MESH Mesh network series Catalogue
Catalogue 1. Description... 3 2. Features... 3 3. Applications... 3 4. Block Diagram... 4 5. Electrical Characteristics... 5 6. Operation... 5 Power on Reset... 5 Working mode... 6 Router mode... 8 Setting
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 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 informationLab 7 Remotely Operated Vehicle v2.0
Lab 7 Remotely Operated Vehicle v2.0 ECE 375 Oregon State University Page 51 Objectives Use your knowledge of computer architecture to create a real system as a proof of concept for a possible consumer
More informationTCSS 372 Laboratory Project 2 RS 232 Serial I/O Interface
11/20/06 TCSS 372 Laboratory Project 2 RS 232 Serial I/O Interface BACKGROUND In the early 1960s, a standards committee, known as the Electronic Industries Association (EIA), developed a common serial
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 informationQuick-Start Guide - TBS CROSSFIRE Micro TX Revision
Quick-Start Guide - TBS CROSSFIRE Micro TX Revision 2017-08-23 The CROSSFIRE Micro TX has a standard JR-form factor and works with any radio that supports PPMstream and/or TBS CRSF-format output. Transmitter
More informationCourse Introduction. Purpose. Objectives. Content 26 pages 4 questions. Learning Time 40 minutes
Course Introduction Purpose This module provides an overview of sophisticated peripheral functions provided by the MCUs in the M32C series, devices at the top end of the M16C family. Objectives Gain a
More informationMulti-Sensor Integration and Fusion using PSoC
Multi-Sensor Integration and Fusion using PSoC M.S. FINAL PROJECT REPORT Submitted by Student Name Master of Science in Electrical and Computer Engineering The Ohio State University, Columbus Under the
More informationJZ878 RF Data Radio. User s Manual
JZ878 RF Data Radio User s Manual SHEN JIZHUO TECHNOLOGY CO., LTD TEL: +86-755-83304518 / 83308451/81353151 FAX: +86-755-83302824 Address: NO.813,212BLD,Tairan Tech Park, Futian District Shenzhen China
More informationWWVB Receiver/Decoder With Serial BCD or ASCII Interface DESCRIPTION FEATURES APPLICATIONS
Linking computers to the real world WWVB Receiver/Decoder With Serial BCD or ASCII Interface DESCRIPTION General The Model 321BS provides computer readable time and date information based on the United
More informationMicrocontroller: Timers, ADC
Microcontroller: Timers, ADC Amarjeet Singh February 1, 2013 Logistics Please share the JTAG and USB cables for your assignment Lecture tomorrow by Nipun 2 Revision from last class When servicing an interrupt,
More informationIn this lecture, we will look at how different electronic modules communicate with each other. We will consider the following topics:
In this lecture, we will look at how different electronic modules communicate with each other. We will consider the following topics: Links between Digital and Analogue Serial vs Parallel links Flow control
More informationArduino Microcontroller Processing for Everyone!: Third Edition / Steven F. Barrett
Arduino Microcontroller Processing for Everyone!: Third Edition / Steven F. Barrett Anatomy of a Program Programs written for a microcontroller have a fairly repeatable format. Slight variations exist
More informationPractical Exercise. STM32F4 Discovery. Alessandro Palla
Practical Exercise STM32F4 Discovery Alessandro Palla alessandro.palla@for.unipi.it Outline STM32F4 Discovery Application: USB Mouse with accelerometer Hardware Configuration o o o o o Requirements Peripherals
More informationEE445L Fall 2014 Quiz 2A Page 1 of 5
EE445L Fall 2014 Quiz 2A Page 1 of 5 Jonathan W. Valvano First: Last: November 21, 2014, 10:00-10:50am. Open book, open notes, calculator (no laptops, phones, devices with screens larger than a TI-89 calculator,
More informationLab 5: Control and Feedback. Lab 5: Controls and feedback. Lab 5: Controls and Feedback
Lab : Control and Feedback Lab : Controls and feedback K K You may need a resistor other than exactly K for better sensitivity This embedded system uses the Photo sensor to detect the light intensity of
More informationSuperSlot Technical Specification Revision 1.0 March 20, 2015
SuperSlot Technical Specification Revision 1.0 March 20, 2015 SuperSlot and the SuperSlot logo are trademarks of Sound Devices, LLC This document is protected under Sound Devices, LLC non-disclosure agreement.
More informationNautical Autonomous System with Task Integration
Nautical Autonomous System with Task Integration (code name NASTI) Students: Terry Max Christy, Jeremy Borgman Advisors: Dr. Gary Dempsey, Nick Schmidt 1 Outline Original Goals System Overview Review of
More informationTKT-3500 Microcontroller systems
TKT-3500 Microcontroller systems Lec 4 Timers and other peripherals, pulse-width modulation Ville Kaseva Department of Computer Systems Tampere University of Technology Fall 2010 Sources Original slides
More informationEIE/ENE 334 Microprocessors
EIE/ENE 334 Microprocessors Lecture 13: NuMicro NUC140 (cont.) Week #13 : Dejwoot KHAWPARISUTH Adapted from http://webstaff.kmutt.ac.th/~dejwoot.kha/ NuMicro NUC140: Technical Ref. Page 2 Week #13 NuMicro
More informationWireless Bluetooth Controller for DC Motor
Wireless Bluetooth Controller for DC Motor ECE 445 Final Report May 1, 2007 Team Members: Abhay Jain Reid Vaccari TA: Brian Raczkowski Professor Gary Swenson TABLE OF CONTENTS 1. INTRODUCTION...3 1.1 Motivation...3
More informationRF NiceRF Wireless Technology Co., Ltd. Rev
- 1 - Catalog 1. Description...- 3-2. Features...- 3-3. Application...- 3-4. Electrical Specifications...- 4-5. Schematic...- 4-6. Pin Configuration...- 5-7. Antenna... - 6-8. Mechanical dimensions(unit:
More informationTimer 0 Modes of Operation. Normal Mode Clear Timer on Compare Match (CTC) Fast PWM Mode Phase Corrected PWM Mode
Timer 0 Modes of Operation Normal Mode Clear Timer on Compare Match (CTC) Fast PWM Mode Phase Corrected PWM Mode PWM - Introduction Recall: PWM = Pulse Width Modulation We will mostly use it for controlling
More informationEE445L Fall 2015 Quiz 2A Solution Page 1
EE445L Fall 2015 Quiz 2A Solution Page 1 Jonathan W. Valvano First: Last: Solution November 20, 2015, 10:00-10:50am. Open book, open notes, calculator (no laptops, phones, devices with screens larger than
More informationCounter/Timers in the Mega8
Counter/Timers in the Mega8 The mega8 incorporates three counter/timer devices. These can: Be used to count the number of events that have occurred (either external or internal) Act as a clock Trigger
More informationGreen Electronics Library Documentation
Green Electronics Library Documentation Ned Danyliw September 30, 2016 1 Introduction The Green Electronics libraries provide a simplified interface to the STM32F3 microcontroller for the labs in this
More informationSpeed Control of Brushless DC Motors-Block Commutation With Hall Sensors. User s Guide
Speed Control of Brushless DC Motors-Block Commutation With Hall Sensors User s Guide 2 Table of Contents Introduction... 5 Brushless DC Motor Control Theory... 7 More on PolePairs... 9 Commutation Logic
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 informationWWVB Receiver/Decoder Module With Serial BCD Interface DESCRIPTION FEATURES APPLICATIONS
Linking computers to the real world WWVB Receiver/Decoder Module With Serial BCD Interface DESCRIPTION General The Model 321BS provides computer readable time and date information based on the United States
More informationD16950 IP Core. Configurable UART with FIFO v. 1.03
2017 D16950 IP Core Configurable UART with FIFO v. 1.03 C O M P A N Y O V E R V I E W Digital Core Design is a leading IP Core provider and a SystemonChip design house. The company was founded in 1999
More informationSNIOT702 Specification. Version number:v 1.0.1
Version number:v 1.0.1 Catelog 1 Product introduction... 1 1.1 Product introduction... 1 1.2 Product application... 1 1.3 Main characteristics... 2 1.4 Product advantage... 3 2 Technical specifications...
More informationEITF40 Digital and Analogue Projects - GNSS Tracker 2.4
EITF40 Digital and Analogue Projects - GNSS Tracker 2.4 Magnus Wasting 26 February 2018 Abstract In this report a mobile global navigation satellite system with SMS and alarm functionality is constructed.
More informationMechatronics Laboratory Assignment 3 Introduction to I/O with the F28335 Motor Control Processor
Mechatronics Laboratory Assignment 3 Introduction to I/O with the F28335 Motor Control Processor Recommended Due Date: By your lab time the week of February 12 th Possible Points: If checked off before
More informationSENTRY. AC410x family + BT-V2.0. User s Manual
SENTRY AC410x family + BT-V2.0 SENTRY TABLE OF CONTENTS 1. INTRODUCTION AND BLOCK DIAGRAM... 2 1.1. GENERAL INTRODUCTION... 2 1.2. BLOCK DIAGRAM... 3 2. MAIN FEATURES AND APPLICATION... 4 2.1. SYSTEM KEY
More informationPAK-Vb/c PWM Coprocessor Data Sheet by AWC
PAK-Vb/c PWM Coprocessor Data Sheet 1998-2003 by AWC AWC 310 Ivy Glen League City, TX 77573 (281) 334-4341 http://www.al-williams.com/awce.htm V1.8 23 Oct 2003 Table of Contents Overview...1 If You Need
More informationSensorless PMSM Field-Oriented Control on Kinetis KV and KE
NXP Semiconductors Document Number: AN5237 Application Note Rev. 3, 10/2016 Sensorless PMSM Field-Oriented Control on Kinetis KV and KE By: Josef Tkadlec 1. Introduction This application note describes
More informationLecture #4 Outline. Announcements Project Proposal. AVR Processor Resources
October 11, 2002 Stanford University - EE281 Lecture #4 #1 Announcements Project Proposal Lecture #4 Outline AVR Processor Resources A/D Converter (Analog to Digital) Analog Comparator Real-Time clock
More informationSMARTALPHA RF TRANSCEIVER
SMARTALPHA RF TRANSCEIVER Intelligent RF Modem Module RF Data Rates to 19200bps Up to 300 metres Range Programmable to 433, 868, or 915MHz Selectable Narrowband RF Channels Crystal Controlled RF Design
More informationµchameleon 2 User s Manual
µchameleon 2 Firmware Rev 4.0 Copyright 2006-2011 Starting Point Systems. - Page 1 - firmware rev 4.0 1. General overview...4 1.1. Features summary... 4 1.2. USB CDC communication drivers... 4 1.3. Command
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 informationPololu Jrk USB Motor Controller
Pololu Jrk USB Motor Controller User's Guide 1. Overview.................................................... 2 1.a. Module Pinout and Components.................................... 4 1.b. Supported Operating
More information