Advanced Micromouse Hardware Design

Slides:



Advertisements
Similar presentations
Jordan Barry Victor Brzeski
Advertisements

STM32F10x Changes v1.5 to 1.4 HD added Changes v1.4 to 1.3
Lizard Labs Peripheral Reflex System
555 Timer ©Paul Godin Updated February Oscillators ◊We have looked at simple oscillator designs using an inverter, and had a brief look at crystal.
Resistor Circuit Symbol
Lecture 5 Parts/design Choices (Part 1)
ELECTRICAL. Circuits Outline Power Hub Microcontroller Sensor Inputs Motor Driver.
Introduction of Holtek HT-46 series MCU
BREADBOARDS Breadboards are used to test circuits. Wires and components are simply pushed into the holes to form a completed circuit and power can be.
Initial Position Orientation Tracking System (IPOTS) Group Members: Keiichi McGuireHenry Pham Marc TakamoriScott Spiro.
Ramrod IV Micromouse 396. The Team  Andrew Igarashi – Programming  Kevin Li – Hardware  Amy Maruyama – Hardware  Stephen Nakamura – Hardware  Quang.
SENIOR DESIGN 10/16.
Digital I/O Connecting to the Outside World
WATER LEVEL CONTROLLER USING 555 TIMER
Chapter 1 Quick review over Electronics and Electric Components Prepared By : Elec Solv.
Micromouse Meeting #3 Lecture #2 Power Motors Encoders.
PCB Layout Design. PCB Layout Special Layout Considerations 4 in.
BASIC ELECTRONICS.
555 Timer ©Paul Godin Updated February Oscillators ◊We have looked at simple oscillator designs using an inverter, and had a brief look at crystal.
ECE 477 DESIGN REVIEW TEAM 7  SPRING 2013 COST ROBOT CAROLINE TRIPPEL, ANDREW LOVELESS, ERIC OSBORNE, BRYAN DALLAS.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Project: sun tracker Idea: –Use two photodiodes to detect where the sun is –Control a motor to turn toward the sun –When sun is “half-way” between PD,
Microprocessor Block Diagram
1 © Unitec New Zealand Embedded Hardware ETEC 6416 Date: - 10 Aug,2011.
2.0 EMBEDDED CONTROLLER Engr. Hj. Mohamad Fauzi bin Zakaria Department of Mechatronics and Robotics Engineering Faculty of Electrical and Electronic Engineering.
Arduino Josh Villbrandt February 4, Digital Circuits Analog versus digital – What’s the difference? – How to represent an analog signal in a computer?
Objectives How Microcontroller works
Segway Controller Notes. = connection on top layer of circuit board = connection on bottom layer of circuit board Ground Plane: Areas enclosed by the.
Network and Systems Laboratory nslab.ee.ntu.edu.tw.
Project Futura.
September, 2007ENGR Low-Level Robot Control Mechatronics: Motors, sensors & embedded controls.
MOBILE OPERATING ROBOT ON EMBEDDED SYSTEM
Digital to Analogue Converter
Electronic Components. Battery A portable power source that has a positive and negative. Electronics works on Direct Current (DC) where electrons flow.
Lecture 6 Parts Design Choices(part2). Motor/Encoder.
Automatic accident avoiding system PROJECT MEMBERS MUTHUKUMAR.K (05ME33) SAKTHIDHASAN.S (05ME39) SAKTHIVEL.N (05ME40) VINOTH.S (05ME56) PROJECT GUIDE:
1 Electrical Fundamentals We need some understanding of electrical fundamentals to do the lab exercises. Electric Circuit Consists of: –Power Source: Battery,
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
SMV Electric Tutorials
Seraj Dosenbach Greg Lammers Beau Morrison Ananya Panja Printed Circuit Board Layout Narrative plus Preliminary PCB Layout.
Chapter 3 Parallel Ports, Power Supply and the Clock Oscillator The aims of this chapter are to introduce: Why we need parallel input/output; How simple.
Microcontroller basics Embedded systems for mortals.
Tech 3104 Electronic Symbols Submitted to: Mr. Bouzanne Submitted by: Alexis Boland.
Components of a typical full-featured microcontroller.
BLDC Motor Speed Control with RPM Display. Introduction BLDC Motor Speed Control with RPM Display  The main objective of this.
A Quick Start Guide to PIC16F877 microcontroller And Microchip Development Environment A Quick Start Guide to PIC16F877 microcontroller And Microchip Development.
TITLE: 555 Timer OM INSTITUTE OF TECHNOLOGY Subject: Analog Electronics ( ) Semester: 03 Prepared By:
AT91 Hardware and Power considerations. Power Supply considerations.
1. PIC ADC  PIC18F877 has 8 analog input channels i.e. port A pins(RA0 to RA5) and port E pins(RE1 and RE2). These pins are used as Analog input pins.
Arduino based Automatic Temperature Controlled Fan Speed Regulator.
Prototyping with Microcontrollers and Sensors. Overview Objective Background Information Problem Statement Materials Procedure Assignment Closing.
USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER
CORDLESS MOUSE FEATURES BY TV REMOTE USING PIC MICROCONTROLLER
Application Case Study Christmas Lights Controller
SENSORS.
Solar Energy Generator: Design Rendering Description
Clock Signals: 555 Timer 555 Timer Digital Electronics TM
Prototyping with Microcontrollers and Sensors
PORTABLE PROGRAMMABLE MEDICATION REMINDER
Medication Reminder using PIC Microcontroller
Microcontroller basics
REMOTE JAMMING DEVICE.
555 Timer EEE DEPARTMENT KUMPAVAT HARPAL( )
Project Title EVM IN PIC Under the Guidance of Submitted by.
Administrative stuff Turn in your HW #3!
Introduction to Microprocessors and Microcontrollers
Introduction to the Atmel AVR Butterfly
555 Timer 555 Timer Digital Electronics TM 1.2 Introduction to Analog
555 Timer 555 Timer Digital Electronics TM 1.2 Introduction to Analog
Presentation transcript:

Advanced Micromouse Hardware Design Lecture 4 Advanced Micromouse Hardware Design

Lecture Outline Microcontroller Power System Peripherals Sensor System: IR emitters and receivers Motor Controller Gyro Buzzer Display Voltage Meter LEDs Push Button Reset Button

Microcontroller STM32F405RGT6 – 64 pins Timers - Generate PWM signals to motor, buzzer GPIOs – LEDs, IR emitters, push button USART – Allows “printf” to display on a terminal SPI – Prints data on alphanumeric display ADC – Convert analog voltage to a digital number 1 MB Flash – Store maze info

Microcontroller Pins Multi-function pins

Power System - Microcontroller Power Supply Schemes: VDD = 1.8 to 3.6 V: external power supply that will supply the voltage for GPIOs (Futura Mouse: 3.3 V) VDDA = 1.8 to 3.6 V: external analog power supply for ADC, DAC, Reset blocks, RCs and PLL (Futura Mouse: 3.3 V) VBAT = 1.65 to 3.6 V: power supply for RTC, external 32 kHz oscillator, backup registers (Futura Mouse: 3.3 V) VSSA = GND for VDDA; VSS = GND for VDD VCAP: connect 2.2 microFarad ceramic cap between this pin and GND (External capacitor that decouple power supply)

Power System

Power System – Power Supply Fully Charged Battery: 8.4 V (2 x 4.2 V) Motor Controller System (Level shifter + H-Bridge) 5V regulator 5V Encoders, IR Emitters (anode “+”), Alphanumeric Display 3.3 V regulator 3.3 V Microcontroller, Buzzer, USART, push buttons 3.3 VA (analog circuits) IR Receivers, Gyro

8.4V Power - Battery

Power 5V

Power 3.3V and 3.3VA

IR Emitter - Front (SFH4545)

IR Emitter – Diagonal SFH4545

IR Receiver (TEFT4300)

IR Sensor Pulsing Timing Delay between each sensor reading until all residues are gone

Motor Driver H-Bridge IC Level Shifter IC

Gyro

Buzzer Buzzer behaves like an inductor Diode is used to prevent inductive kickback

Display

Voltage Meter Keep track of the battery voltage to protect the battery from over discharging

LED 2 ways to control LED with MCU The one on left is easier for wiring since ground is easier to find The way to the right is better in terms of power, since power is not drawn from the MCU Futura Mouse uses left scheme

Push Button -Futura Mouse uses right scheme

Boot0 Button For new MCUs, bootloading must be done just once via USART Boot mode must be entered first before bootloading Figure 2 shows how to save one button Figure 1 Figure 2

System memory boot mode Bootloader is stored in the system memory (ROM). To enter boot mode, set Boot0 high by holding down on the Boot0 push button, then push the reset button. Boot1 should be connected to GND. - Using USART, load application programs into FLASH.

Boot0 and Boot1

Reset Button Use Reset to reset the state of the mouse, instead of the power ON/OFF switch This button is IMPORTANT for entering system memory boot mode Reset is active low

References http://www.st.com/web/en/resource/technical/document/datasheet/DM00037051.pdf STM32F405 MCU datasheet http://www.seattlerobotics.org/encoder/mar97/basics.html Info about pull-up and pull-down resistors http://coactionos.com/embedded%20design%20tips/2013/10/21/Tips-Understanding-Microcontroller-Pin-Input-Output-Modes/ Info about pin input/output modes (i.e. push-pull, open-drain) http://www.allaboutcircuits.com/vol_3/chpt_3/9.html Info about inductive kickback https://learn.sparkfun.com/tutorials/capacitors/application-examples Info about decoupling capacitors (filters) http://learn.parallax.com/node/258 Info about phototransistor circuits (IR receiver)