Discovery Lab School of Computing & Information System Florida International University.

Slides:



Advertisements
Similar presentations
EMS1EP Lecture 8 Pulse Width Modulation (PWM)
Advertisements

Indian Institute of Technology Hyderabad ROBOTICS LINE FOLLOWER HARI KISHAN TANDEY – ES12B1008 DILIP KONDAPARTHI – ES12B1010 SAI KARTIK – CE12B1015.
 Where we are going: ◦ Basics ◦ Types of Arduino ◦ Software ◦ Shields ◦ Basic electronics ◦ Examples of arduino projects ◦ Where to go from here.
EML 2023 – Motor Control Lecture 4 – DAQ and Motor Controller.
ELECTRICAL. Circuits Outline Power Hub Microcontroller Sensor Inputs Motor Driver.
Part 1: Introduction FRC Introduction  FRC 2907 since 2008  Each area of the robot has a team assigned  The Electronics team is headed this year.
L.
How to Build a Digital-Physical System-Lab Assegid Kidané Fall 2014.
SENIOR DESIGN 10/16.
2 Way FM Car Starter Dan Owens April 12, 2005 Instructor: Dr. Pao-Lo Liu Department of Electrical Engineering University at Buffalo Course Requirement.
CR1000s are only one part of a data acquisition system. To get good data, suitable sensors and a reliable data retrieval method are required. A failure.
PWM (Pulse Width Modulation)
Introduction.
Using Your Arduino, Breadboard and Multimeter Work in teams of two! living with the lab 1 © 2012 David Hall.
ASPPRATECH.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Khaled A. Al-Utaibi  What is Arduino?  Arduino Boards  Arduino Shields  Arduino Uno Hardware.
Introduction to Arduino Prepared by R. Lamond.  “Arduino is an open-source electronics prototyping platform based on flexible, easy- to-use hardware.
Microprocessor and Microcontroller Based Systems Instructor: Eng.Moayed N. EL Mobaied The Islamic University of Gaza Faculty of Engineering Electrical.
Embedded Programming and Robotics
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
RM2C Understanding Connections on the Robot Control Board (RCB).
Microprocessor Block Diagram
PIC microcontrollers. PIC microcontrollers come in a wide range of packages from small chips with only 8 pins and 512 words of memory all the way up to.
Baseboard Aavikkomursu 7.2. Aavikkomursu Micro- controller Extension port for programming microcontroller and sensor input Resistor RS485 interface chip.
Presented by:- NAME : Sanjay Kumar Pani BRANCH : Electrical & Electronics GROUP : ‘B1’ ROLL NO. : E/04/14.
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
1 Applied Control Systems Technology. 2 Pin configuration Applied Control Systems.
Segway Controller Notes. = connection on top layer of circuit board = connection on bottom layer of circuit board Ground Plane: Areas enclosed by the.
MICRO CONTROLLER MODULE 1. Learning Objectives Name some gadgets that use microcontrollers. Define a microcontroller. Differentiate between a computer.
Robotics Research Laboratory Louisiana State University.
Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)
Schematic Symbols and Components. Schematic Symbols Objectives Recognize schematic symbols Be able to draw the schematic symbols Recognize the actual.
Franz Duran INTRODUCTION TO A RDUINO PROGRAMMING & INTERFACING Engr. Franz Duran, MEP-ECE RapidSignal Electronics.
L ILY P AD T RAINING C ENTENNIAL E LEMENTARY 2012 Material by Linz Craig Revision by Sarah Bloms Additional images by Modkit & Adam Meyer.
WELCOME TO ARDUINO E-DAY CAR PROJECT MEETING – ITALY MARCH.
Microcontroller Applications ELEC 421 Dr. Ron Hayne Images Courtesy of Ramesh Gaonkar and Delmar Learning.
Team 20: Jordan Wagner.  iPhone controlled marble maze game  Rotation of the phone is translated into rotation of the board  Stepper motor connected.
Microcontrollers, Microcomputers, and Microprocessors
Final Year Project(EPT4046) Development of an internet controlled Surveillance Mobile Robot By Mimi Madihah Bt Mohd Idris Id: BACHELOR OF ENGINEERING.
SUBMITTED BY LENIN C INTRODUCTION Railways - cheapest mode of transportation. Aims to avoid accidents. Using simple electronic components- automate.
 Today we will cover:  Voltage regulators  Sensors  motordrivers iBOT1.
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.
Voice Controlled Home Automation System Group 13 Zhe Gong Hongchuan Li.
Submitted by:.  Project overview  Block diagram  Power supply  Microcontroller  MAX232 & DB9 Connector  Relay  Relay driver  Software requirements.
BLDC Motor Speed Control with RPM Display. Introduction BLDC Motor Speed Control with RPM Display  The main objective of this.
Gsm Modems Based Irrigation Water Pump Controller for Illiterates
MICROCONTROLLER INTERFACING WITH STEPPER MOTOR MADE BY: Pruthvirajsinh Jadeja ( ) COLLEGE:DIET BRANCH:EC.
A Mini project on “DRIVERLESS TRAIN ENGINE USING 8051 MICROCONTROLLER” GUIDED BY K.RAMBABU.
WATER LEVEL INDICATOR AND AUTOMATIC MOTOR SWITCHING SYSTEM
ARM CORTEX (STM32) BASED MOTOR SPEED CONTROL SUBMITTED BY EDGEFX TEAM.
1 Microcontrollers. 2 Programmers work in the virtual world Machinery works in the physical world Microcontrollers connect the virtual and physical world.
Zilogic Systems 1 Device Interfacing with Python and ZIO Zilogic Systems.
Zilogic Systems 1 Device Interfacing with Python and ZIO Zilogic Systems.
Application Case Study Christmas Lights Controller
Introduction to Motors, servos and steppers
Home automation using Arduino & ‘PIR sensor’
Device Interfacing with Python and ZIO
For further information
UTA010 : Engineering Design – II
An Arduino Workshop A Microcontroller.
SCADA for Remote Industrial Plant
Microcontroller Applications
PC Mouse operated Electrical Load Control Using VB Application
Arduino Development for Beginners
How to avoid catching things on fire.
ARDUINO     What is an Arduino? Features 14 Digital I/O pins 6 Analogue inputs 6 PWM pins USB serial 16MHz Clock speed 32KB Flash memory 2KB SRAM.
Pulse Width Modulation (PWM)
Lecture 8: Arduino 20 March 2019.
Presentation transcript:

Discovery Lab School of Computing & Information System Florida International University

» First Day Lecture Review » Introduction to Embedded Systems » Digital I/O » Serial Communication » Lunch » Discovery Lab Tour » Analog I/O » Practice » Q&A

» Raspberry Pi » Python

» An embedded system is a computer system with a dedicated function » Embedded systems control many devices in common use today » Processing Cores ˃microcontrollers or digital signal processors (DSP) ˃ATMega, PIC, ARM, etc.

» Consumer electronics » Automobiles, » Transportation systems » Medical equipment » Wireless sensor networking » Home Automation

» Better Performance » More GPIOs » Accelerometer and Capacitive Slider Sensor » One RGB LED » Open SDA (Open-standard Serial and Debug Adapter)

» Login ID : team00 » Password : pw00team » Plugin FRDM Board to USB port on PC Plugin FRDM Board to USB port on PC » » »

» #include "mbed.h" » DigitalOut myled(LED1); » int main() { » while(1) { » myled = 1; » wait(0.2); » myled = 0; » wait(0.2); » } * Try to change wait time

» The most common function of a diode is to allow an electric current to pass in one direction, while blocking current in the opposite direction ˃Protect circuits from high voltage surges - Avalanche diodes ˃Regulate voltage - Zener diodes ˃Electronically tune radio and TV receivers - Varicap diodes ˃Generate radio frequency oscillations - Tunnel diodes, Gunn diodes, IMPATT diodes ˃Convert light into either current or voltage - Photodiode ˃Produce light - Light Emitting Diodes (LED)

Bus (power line) Vertically 5 pin Connected Vertically 5 pin Connected

» Busser ˃Pin (-)  (e, 1) ˃Pin (+)  (f, 6)

» Ground & Power line Connection Dual Motor Driver Voltage Regulator LED

» Power Connection between Bread Board and FRDM Power & Ground

» Power Connection between Bread Board and FRDM Power & Ground

» Connect 4 LEDs » White  PTC5 » Green  PTC6 » Yellow  PTC10 » Red  PTC16

» Make LEDs blink with below patterns » Make a led-control program which can control 4 leds with different blinking time ˃Using if else ˃Using switch case WRYG

» #include "mbed.h" » » Serial pc(USBTX, USBRX); // tx, rx » PwmOut led(LED1); » » float brightness = 0.0; » » int main() { » pc.printf("Press 'u' to turn LED1 brightness up, 'd' to turn it down\n"); » » while(1) { » char c = pc.getc(); » if((c == 'u') && (brightness < 0.5)) { » brightness += 0.01; » led = brightness; » } » if((c == 'd') && (brightness > 0.0)) { » brightness -= 0.01; » led = brightness; » } » » } Connect to your mbed Microcontroller with a Terminal program and uses the 'u' and 'd' keys to make LED1 brighter or dimmer

» What is it? ˃Controlling power to inertial electrical devices ˃Average voltage and current controlled by turning switch » What for? ˃Modern electronic power switches ˃The main advantage of PWM is that power loss in the switching devices is very low ˃Relatively low cost

» Applications ˃Fans ˃Pumps ˃Robotic Servo ˃Stepper Motor ˃Telecommunication

#include "mbed.h" PwmOut led(LED1); int main() { while(1) { for(float p = 0.0f; p < 1.0f; p += 0.1f) { led = p; wait(0.1); }

#include "mbed.h" PwmOut led(LED1); int main() { while(1) { for(float p = 0.0f; p < 1.0f; p += 0.1f) { led = p; wait(0.1); }

#include "mbed.h" PwmOut led(LED1); int main() { while(1) { for(float p = 0.0f; p < 1.0f; p += 0.1f) { led = p; wait(0.1); } * Try to connect Buzzer and change delay

#include "mbed.h" AnalogIn ain(p19); DigitalOut led(LED1); int main() { while (1){ if(ain > 0.3) { led = 1; } else { led = 0; } } * Try to connect Buzzer and change delay

#include "mbed.h" AnalogOut signal(p18); int main() { while(1) { for(float i=0.0; i<1.0; i+=0.1) { signal = i; wait(0.0001); } * Try to connect Buzzer and change delay

» Dual-H-bridge motor driver: can drive two DC motors » Motor supply voltage: 2–11 V » Logic supply voltage: 2–7 V » Output current: 1.2 A continuous (1.5 A peak) per motor » One PWM and One DigitalOut per DC motor » Logic High for Enabling This Driver

» Input voltage: 2.7 V to 11.8 V » Fixed 5 V output with +5/-3% accuracy » Typical continuous output current: 500 mA to 1 A » The SHDN pin can be driven low (under 0.4 V) to power down the regulator.