Arduino 7 Segment Display Lab

Slides:



Advertisements
Similar presentations
Wireless Cue Light Project
Advertisements

Embedded Sumo 1T4 – 1T5 UTRA.
Panasonic EVE-KC2F2024B 24 pulses per revolution 6mm diameter flattened output shaft output type: quadrature (incremental) minimum life: 15,000 rotations.
Intro to Arduino with LilyPad Make a MakerSpace, Artisan’s Asylum Linz Craig, Chris Taylor, Mike Hord & Joel Bartlett.
Solar Energy Labs – Part 1 ENGR Today's Learning Objectives  After today's class, students will be able to: Describe and build both a calibration.
Basic Circuits – Lab 2 Arduino and Sensors Xmedia Spring 2011.
Embedded Programming and Robotics
Arduino Part 1 Topics: Microcontrollers Programming Basics: structure and variables Digital Output Analog to Digital Conversion.
Basic Circuits – Lab 2 Arduino and Sensors
Image of Arduino. Arduino discussion Address issues with circuit walk-through – Electricity, Programming, Arduino Concepts Work on BeatTable (next week)
Dean Brock, Rebecca Bruce and Susan Reiser, CCSC SE 2009 Using Arduino Material taken from Todbot blog Bionic Arduino Todbot blog Bionic ArduinoTodbot.
Week 10 Today 1.Homework presentations and critique. 2.Review digital and analog inputs. 3.DIY - jumpers, soldering etc.
Microcontrollers Module 3: Digital Display. 7 – Segment Display A seven-segment display (SSD), or seven- segment indicator, is a form of electronic display.
Code The Arduino Environment.
ARDUINO 1. Basics  Comments  /* * Blink * * The basic Arduino example. Turns on an LED on for one second, * then off for one second, and so on... We.
1 - Remove LED from 13 and GND - Bring out your breadboard from HW#4 Arduino Overview:
Basic Circuits – Lab 4 Serial and OSC (maybe some theory too) Xmedia Spring 2011.
Photoresistor resistance changes dramatically with light level living with the lab Using Photoresistors with an Arduino © 2011 LWTL faculty team.
Serial Communication RS-232. In order to make two devices communicate, whether they are desktop computers, microcontrollers, or any other form of integrated.
ME 120: User-defined functions: average analog input reading Arduino Programming – Part 5: User-defined functions ME 120 Mechanical and Materials Engineering.
Bdps 2 Lecture 2. Circuits and Ohm's Law For resistive circuits.
Praxis I 13 Oct Outline Component & Device Measurement and Instrument Datasheet How to build circuit using breadboard.
Istituto Tecnico Industriale A.Monaco EURLAB Control a Servo Motor If you want to swing an robot arm or … steer a robot you need a special motor (Servo).
Arduino “Getting Started” Instructor : Dr Matthew Miss Khin Yi Kyaw
Pulse-Width Modulation: Simulating variable DC output
ME 120: Photoresistors and Arduino Programming Arduino Programming Case Study: Photoresistor Measurements ME 120 Mechanical and Materials Engineering Portland.
1 Transistor. 2 Transistors are used to turn components on and off They come in all different shapes and sizes.
1 Introduction to Coding. 2 Example Codes A lot of example codes are given with Arduino IDE A code can often be based on a previous example rather than.
1 Op-Amps. 2 Purpose ComparatorAmplifier An Op-Amp can be used to either compare two voltages and see which one is greater, or amplify a given voltage.
ARDUINO BASED UNDERGROUND CABLE FAULT DETECTION
Arduino Part 1 Topics: Microcontrollers
Arduino Setup & Flexing the ExBow
Seven Segment Displays
Prototyping with Microcontrollers and Sensors
Segment Identification
Wireless Cue Light Project
Get Your Project Started with Arduino
Display Devices 7 segment led display.
Liquid Crystal Display Arduino
UCD ElecSoc Robotics Club 2017/2018
INC 161 , CPE 100 Computer Programming
Control the color and brightness of an RGB LED with a Potentiometer
Seven Segment Displays
Seven Segment Displays
How to avoid catching things on fire.
Analog Input through POT
Roller Coaster Design Project
Seven Segment Displays
Seven Segment Displays
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.
Schedule 8:00-11:00 Workshop: Arduino Fundamentals
Arduino Week 2 Lab ECE 1020 Prof. Ahmadi.
1 Code
Seven Segment Displays
Homework Reading Tokheim, Section 5-10, 7-4.
Topics: Programming Constructs: loops & conditionals Digital Input
EET 2261 Unit 8 Seven-Segment Displays
Programming 2: The Arduino IDE & First Sketches
CTY SAR FCPS Shawn Lupoli, Elliot Tan
CTY SAR FCPS Shawn Lupoli, Elliot Tan
LED and a Button.
Arduino Motor Lab Inspired by NYU ITP project
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Multiplexing seven-segment displays
Lab #1: Getting Started.
Arduino程式範例.
CTY SAR FCPS Vedant mathur, Juliana schalkwyk
Interrupts.
Pulse-Width Modulation: Simulating variable DC output
CTY SAR FCPS Alexander Velikanov
Presentation transcript:

Arduino 7 Segment Display Lab CTY SAR FCPS Alexander Velikanov

What are we working with?

How to Shine a display? This type of display uses 7 segments to create the image and the 1 segment for the decimal point. Each segment has it's own input for a high voltage and then the entire digit has a common ground called a common cathode which takes up a single pin

Arduino Proximity Schematic

Goal Have the display loop through a few letters then through all the numbers 0-9 and a decimal point.

Programming The Display

Display Code Initializing global variables Setup() Loop() Create a constant for each pin and the associated segment of the display Create a function for each letter and number you which to print, making sure you set to LOW each segment you don't want on Make a function that loops through every letter/number with a 1 second pause in between Setup() Serial.begin(9600) starts using the Serial Port Turn every pin to digital output Loop() Send a serial message that the program is starting Call the character looping function

CODE

Building the Display circuit

Supplies 1 Arduino Leonardo board 2 220 ohm resistors 12 wires 1 7 segment display

Diagram of distance Circuit

Questions?