Chapter 2 Push button and Potentiometer

Slides:



Advertisements
Similar presentations
Basic Logic Gate Sayed Mahbub Hasan Amiri Dhaka Residential Model College.
Advertisements

10 Ways to Ruin Your Mini-Max microcontroller (and lose $69)
Demultiplexers Module M6.4 Section 6.4. Demultiplexers YIN 1 x 4 DeMUX d0d1 Y0 Y1 Y2 Y3 Y0 Y1 Y2 Y3 d1d0 0 0 YIN YIN YIN
Basic Circuits TEST YOUR BRAIN!.
CSC 405 Lab 1 - Building a Simple Combinatorial Circuit In this laboratory exercise you will learn about the layout of some small-scale integrated circuits.
Digital & Analog Inputs. Review Fundamental parts of an Arduino program are … Setting output types using pinMode. Declaring variables Can write a digital.
Potentiometer Electric circuit Cell or Battery Resistor Switch Bulb Earth/Ground LED.
Photos and Sensor Instructions
Power to circuit board Ground Positive Neutral We opened the back end of the fixture to expose the AC wiring.
Dr. Andreas Kunz © 10/2004 inspire icvr BASICS OF ELECTRONICS.
ECE 265 – LECTURE 13 Interface to switches and LEDs 7/3/ ECE265.
Electrical Engineering 1 WISE Investments Electrical Engineering Lab Digital Logic Laboratory Dr. Keith Holbert.
Introduction.
Using Your Arduino, Breadboard and Multimeter Work in teams of two! living with the lab 1 © 2012 David Hall.
Basic Circuits – Lab 2 Arduino and Sensors Xmedia Spring 2011.
Image of Arduino. Arduino discussion Address issues with circuit walk-through – Electricity, Programming, Arduino Concepts Work on BeatTable (next week)
ENGR 1181 First-Year Engineering Program College of Engineering Engineering Education Innovation Center First-Year Engineering Program Solar Energy Meter.
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.
Microprocessors Tutorial 1: Arduino Basics
Practice Problems to become familiar with circuits and circuit diagrams.
Basic Stamp Free Pins These pins can be used by the operator for digital Inputs and Outputs Used Pins 0.
Control Angle via Button Pushes One button increases angle. Other decreases angle. Both light LED.
SE3910 Week 2, Class 1 Today Basic Circuits Other ??? Tomorrow Lab 2, S365 (Complete prelab BEFORE) Thursday See ScheduleSchedule SE-2811 Slide design:
Truth tables AND Gate Input 1Input output ? ? ? ? Input 1Input output ? ? ? ? OR Gate.
Electronic Components. Battery A portable power source that has a positive and negative. Electronics works on Direct Current (DC) where electrons flow.
Electrical Control Components
Pulse Width Modulation (PWM). 100% Pulse Width Modulation (PWM) 0% On the chipKIT there are 490 periods per second. Use analogWrite(pin, value) to control.
Engineering 1040: Mechanisms & Electric Circuits Winter 2015 Interfacing Light-Emitting Diodes (LEDs) & Push Buttons to Microcontrollers.
Voltage, V Voltage tells us how hard a positive charge is pushed between two different points. Something, such as a battery, is needed to create a voltage.
Digital Electronics Board-of-Education : Input. Board of Education - Input This presentation will explain, both from a hardware and software perspective,
CLIQ unit Integration. General view: -Schroff rack 19’’ 25U (500mm x 600mm x 1120mm). -2 fixed wheels +2 castor wheels with brake ⦰100mm. Capacitors Capacitors.
Good LED Circuit 5V0 GND. What Voltage Does Meter See? Answer: 5 V.
Microprocessors Tutorial 1: Arduino Basics
Photos and Sensor Instructions
Servo Demonstration In MPIDE, select File > Examples > Servo > Sweep.
ECE Lecture 1 1 L15 –I/O Part II Department of Electrical and Computer Engineering The Ohio State University ECE 2560.
18240 Element two - Components INPUTS OUTPUTS PURPOSE TYPICAL USE.
INTERNET OF EVERYTHING SDU 2016 Week 4. Simple Digital and Analog Inputs  The Arduino’s ability to sense digital and analog inputs allows it to respond.
AND Gate Inputs Output Input A (Switch) Input B (Switch) Output Y (Lamp) 0 (Open) 0 (OFF) A B Lamp.
Introduction to the DE0 Board Prof. Taeweon Suh Computer Science & Engineering Korea University COSE221, COMP211 Computer Logic Design.
ECE 102 Engineering Computation Chapter 11 LabJack Photo Resistor & Mechanical Switch Interface Dr. Herbert G. Mayer, PSU Status 9/2/2015 For use at CCUT.
Controlling an LED with a switch. 2 breadboard place where you can build electric circuits really quickly the magical breadboard.
1 Transistor. 2 Transistors are used to turn components on and off They come in all different shapes and sizes.
1 Microcontrollers. 2 Programmers work in the virtual world Machinery works in the physical world Microcontrollers connect the virtual and physical world.
40106B Schmitt Trigger (A way of switch De-Bouncing)
Assist. Prof. Rassim Suliyev - SDU 2017
Microcontroller basics
The Electronic Die Using the PICAXE 08
Microprocessors Tutorial 1: Arduino Basics
Lab02 :Logic Gate Fundamentals:
COMP211 Computer Logic Design Introduction to the DE2 Board
How to avoid catching things on fire.
Analog Input through POT
Transistor & Voltage Divider
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.
Continuing with LED’s and Arduino
IoT Programming the Particle Photon.
555 Integrated Circuit (IC)
Chapter 5 Servomotor.
CS-4540 Robotics - Lab 05 Switch inputs to the Arduino Uno
Basic Electronics Part Two: Electronic Components.
Chapter 1 Introduction of Arduino
Making) LED table lamp.
Photos and Sensor Instructions
Digital Logic Experiment
Lab 1. Introduction to the DE2 Board
Lecture 4. Introduction to the DE2 Board
Task 1 You are going to use the Makey Makey arrow inputs to create a joystick / games controller. Step 1: Connect Makey.
A modular robot for use in the RoboSumo lab
Presentation transcript:

Chapter 2 Push button and Potentiometer

Table of Content Push Button Example 1 Potentiometer Example 2 Exercise 1 Challenge 1 Challenge 2

Push button Button is a switch (on/off) When the button if off, the current flow is stop When the button is on the flow start. Push button help us control manually the circuit

Example 1 control led with button The button control the led

Potentiometer It’s a resistor You can change its value

Example 2 dime a light

Challenge 1 Use a potentiometer to change which LED is turn on. Plug the left pin in the 5Volts output and the right pin in the ground (GND). The middle pin must be plug in an analog output (A0). To read the value of the potentiometer use: Int resistor = A0; Int readValue = 0; readValue = analog.read(pinA0) readValue = map(readValue, 0, 1023, 0, 255);

Challenge 1

Next Chapter Inputs and Outputs