ENGG1015: Project Circuits

Similar documents
ENGG1015: Lab 7. In Search of Light

Physical Computing Self-Quiz

ECE383: Microprocessors Lab 9 Analog-to-Digital and Digital-to-Analog Conversion with I 2 C Serial EEPROM Data Storage

Lab 2.2 Ohm s Law and Introduction to Arduinos

PIC Dev 14 Through hole PCB Assembly and Test Lab 1

F7000N Tip Alignment Device Guide

A4988 Stepper Motor Driver Carrier with Voltage Regulators

A4988 Stepper Motor Driver Carrier

Lab-3: LCDs Serial Communication Analog Inputs Temperature Measurement System

Thumb Joystick Retail. Tools and parts you'll need. Things you'll want to know. How does it work? Skill Level: Beginner. by MikeGrusin March 22, 2011

A4988 Stepper Motor Driver Carrier, Black Edition

Mercury Baseboard Reference Manual

Physical Computing Self-Quiz

HopperOne S11 Std Pulse

Actuator MD56. Product Data Sheet Feature. Option

Thursday, September 15, electronic components

Pmod modules are powered by the host via the interface s power and ground pins.

Finite State Machine Lab

PIC Dev 14 Surface Mount PCB Assembly and Test Lab 1

DS1810 5V EconoReset with Push-Pull Output

Propeller Activity Board (#32910)

Layad Circuits Arduino Basic Kit B. Content Summary

USER S MANUAL VER.1. C10D- PARALLEL PORT INTERFACE CARD BOARD Rev. 1

MP5013A 5 V, 5 A Programmable Current-Limit Switch with Over-Voltage Clamp and Slew-Rate Control in TSOT23-8

Dept. of Electrical, Computer and Biomedical Engineering. Instrumentation for the data acquisition laboratory

PRE-LAB #4: Voltage-Divider-Based Cloud Detector

USER S MANUAL. C35S- QUICK SETUP BREAKOUT BOARD Rev. 1.3

EK307 Lab: Microcontrollers

I also provide a purpose-built ADC/DAC board to support the lab experiment. This analogue I/O board in only needed for Part 3 and 4 of VERI.

The DIP switches to select which wheel will be simulated by the JimStim are shown below. DIP. DIP Switches Wheel Mode 2nd Tach Signal

If I wanted to connect an LED and little light bulb and have them switch on and off with one switch, my schematic would look like the one below.

Peristaltic Cased Tube Pump

OpenSprinkler v2.1u Build Instructions

C10S- PARALLEL PORT INTERFACE CARD Rev. 1.4

OP7816 DATASHEET Optically Isolated 16 Digital Inputs Signal Conditioning Module

POWER CONTROL BOARD. removed if a sampling of the +5V digital is not. desired. If any one of them is out of range all +5V

Connecting LEDs to the ADB I/O

CS4141 IDL Notes. I. Quick Overview of IDL Prototyping Unit

CDN503 HIGH DENSITY I/O ADAPTER USER GUIDE

Labview Lab 2. Vern Lindberg. April 16, 2012

SS443 Unipolar Hall-Effect Digital Switch

ME 3210: Mechatronics Signal Conditioning Circuit for IR Sensors March 27, 2003

LOW VOLTAGE BLDC MOTOR CONTROLLER

MP6500 Stepper Motor Driver, Digital Current Control

CS2204 DIGITAL LOGIC & STATE MACHINE DESIGN SPRING 2011

Pre-Laboratory #Boolean Expressions ECE 332

CSE 466 Exam 1 Winter, 2010

Experiment 10 Fall 2012

Electronics Construction Manual

USER S MANUAL. C11S- MULTIFUNTCION CNC BOARD Rev. 1.2

OSC Ring Type Ring or Resonator type (optional) RESET Pin No Yes

USER S MANUAL C10- PARALLEL PORT INTERFACE CARD

Branch PLC. Velocio s Branch PLC

Appendix F: Design Documentation for multisensory therapy system

Proto-DB (#28310): Prototyping Daughterboard

Standard Options. Model 4100 Position Indicating Meter. Three Phase Motor Control. Positran Transmitter

Introduction to MATLABs Data Acquisition Toolbox, the USB DAQ, and accelerometers

Pi-Tek OLED Module PG12864KW Revision: 1.0 May Pi Tek. OLED Module SPECIFICATIONS MODEL NO. : PG12864KW PRODUCT TYPE: STANDARD

Personal Computer. ---, Hardware Reference. Library. mm Game Control. Adapter

Digital Discovery Reference Manual

Applications. Features

AN-719 APPLICATION NOTE One Technology Way P.O. Box 9106 Norwood, MA Tel: 781/ Fax: 781/

PAD ANALOG / DIGITAL TRAINER OPERATOR S MANUAL

USER S MANUAL VER.1. C11G- MULTIFUNTCION CNC BOARD Rev. 9

2017 DIY Controls for a CNC Plasma Cutting Table

OpenSprinkler v2.2u Build Instructions

CamJam EduKit Sensors Worksheet Five. Equipment Required. The Parts. The Passive Infrared Sensor

SY89645L. General Description. Features. Block Diagram. Applications. Markets. Precision Low Skew, 1-to-4 LVCMOS/LVTTL-to-LVDS Fanout Buffer

Reversible motor driver

RaceGrade Motorsport Keypad

USB Charging Controller. Features. General Description. Applications. Order Information

BV4626 General Purpose I/O. Product specification. Mar 2010 V0.a. ByVac Page 1 of 13

Basic Input/Output Operations

AMS 5812 OEM pressure sensor with an analog and digital output

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT 740 TRACKER/SEQUENCER DEMO BOARD

PSBA-V5 Technical Guide

EE 314 Spring 2003 Microprocessor Systems. Parallel Printer Port Use and Digital-to-Analog Conversion

SS3144 Unipolar Hall-Effect Digital Switch

C50- PARALLEL PORT INTERFACE CARD Rev. 1

Lab 5: LCD and A/D: Digital Voltmeter

ECE 372 Microcontroller Design

Determination of Calibration Factors

UCBB dual port breakout board user's manual

Digital Pins and Constants

Real Time Operating Systems Application Board Details

eace PLC Velocio s Embedded Ace (eace) PLC

manufactured by SF8150-ZIF14

REQUIRED MATERIALS Epiphany-DAQ board Wire Jumpers Switch LED Resistors Breadboard Multimeter (if needed)

How-To: Make an RGB combination door lock (Part 1)

Explorer V1.20. Features

Pololu 12V Step-Up/Step-Down Voltage Regulator S10V2F12

SPIRIT. Phase 5 Analog Board Computer and Electronics Engineering

LCMM024: DRV8825 Stepper Motor Driver Carrier,

Axiom Manufacturing. Users Manual. for PROJECT DEVELOPMENT BOARD AXM xiom anufacturing

HL2430/2432/2434/2436

EMTRON AUSTRALIA EMTRON ECU OVERVIEW

AIRRS. Infrared Distance Measurement Analog Output Signal Narrow Field of View Reliable Easy to use. Analog Infra-Red Ranging System

LCD Prototype Circuit on Solderless Breadboard. 840 Pin Solderless Breadboard ( # ND)

Series LC6D/LC6C. LJ1 LG1 LC1 LX LC6D/LC6C Switches LC6C LC6D. Series LX Dedicated Stepper Motor Driver and Positioning Driver

Drexel University Electrical and Computer Engineering Department ECE 200 Intelligent Systems Spring Lab 1. Pencilbox Logic Designer

Transcription:

: The Big Picture 1 st Semester 2012-13 (v1.0) 1 Overview This document summarizes the circuit that you need to construct in order to interface with the required steps, namely, the ball counting tunnel and the final light tracker. It is intended to serve as a guide for you to construct the circuits for the final project. Some of the materials are directly from previous labs and you should refer to them as appropriate. Note that some of the circuits are new. It means you will have to build these circuits on your own without any lab checkoff. The conceptual overview of the required connection is repeated here: Ball Counter 3 Times... Set DONE Light Tracking Laser Head Laser Shoot On Target POP DONE Laser On Some time later... Final Step Start Ball Popper Light Ball Popper Light On Figure 1: Overview of connections between required stages. 2 FPGA Design A template of the final design that you should implement on the FPGA is provided here: http://www.eee.hku.hk/~engg1015/fa12/labs/proj1015.zip In short, this design combines the ball counting state machine you have developed in Lab 3 & 4 and the proportional controller in Lab 8 into the same design. The.ucf file has been updated so the FPGA may correctly connect to the external circuits on the breadboard using the I/O ports. There are 3 external connections to the FPGA as follows: Connector JA JB JC Description Connect to Ball Counting Tunnel via the breadboard Connect to DAC module, then to the breadboard Connect to ADC module, then to the breadboard

On the breadboard there will be circuits from Lab 8 as well as a new connection that connect from JA of the FPGA board to the tunnel and the laser head. See next section. 3 Connection to Ball Counting Tunnel A large part of this design is from Lab 3 and 4. You should refer to them. There are two main connections for this part: 1. Detect the passing of a ball using the photodetector in the tunnel. The information is sent to the FPGA to trigger the counting state machine; 2. When 3 balls have been detected, the FPGA asserts a done signal. This done signal should then turn on the laser in the light tracker. The first connection above is identical to that from Lab 4, please refer to the connection there. The second connection is new and you will need to construct it for your project to correctly trigger the final ball popper. 3.1 Connecting to the Tunnel The connection between the tunnel and the FPGA is the same as that from Lab 4. Similar to the case of Lab 4, you should use a potentiometer to implement the pull-up resistor. WARNING: you should only connect 3.3V to L + and ground to L of the tunnel. Applying voltage higher than 3.3V to the laser module will cause permanent damage. 3.2 Turning on Laser The done signal from the FPGA is connected to pin J3 of the FPGA, which translate to Pin 4 of the connector JA. The following table summarizes the connection at JA: Pin Connection Description 6 din 1 when a ball passes through the tunnel, 0 otherwise 5 Not connected 4 done Stay at 1 after 3 balls have been detected, 0 otherwise. 3 Not connected 2 GND Ground 1 VCC 3.3V connect to the top + row on breadboard only. Figure 2: Connection on JA of FPGA board. 3.3 From lab, you already know that a logical HIGH signal on the FPGA is represented with a voltage of 3.3V, while a logical LOW signal is represented with a voltage of 0V. However, the output pin of the FPGA cannot provide enough current to make a bright laser. As a result, we will need to buffer the done signal similar to the way we buffer the signals that drive the motor. We will use a voltage follower circuit to drive the laser from the FPGA board as shown in Figure 3. V cc = 12V done + L + Figure 3: A voltage follower to drive laser module of the light tracker. Page 2 of 5

3.4 Check Yourself Ask yourself the following questions: What are the input voltages at done when it is HIGH/LOW? What are the output voltages at L + when done is HIGH/LOW? Why is the op-amp powered by 12V instead of 3.3V? 3.5 Breadboard Connection You need to use an additional op-amp IC for this buffer circuit. A template for constructing the voltage follower on the breadboard is shown in Figure 4. Vdd = 3.3V 35 40 45 50 55 8 1 7 2 6 3 5 35 40 45 50 55 To JA of FPGA Pin 1 4 To Tunnel To L+ of Light Tracker Vcc = 12V Figure 4: Breadboard connection for voltage follower that acts as a buffer to the laser module. 4 Light Tracker The light tracking laser head is going to serve as the final machinery to pop the balloon in the grand finale. It is therefore very important for you to make sure it works properly. There are two steps to a successful popping of balloon: 1. Laser on the tracking head must be turned on. 2. The head must be able to track a light source and point straight into the light source. For Step 1 above, you have to make sure the done signal is correctly turned on after 3 balls, and that the buffer circuit in Part 3.3 is properly functioning. For Step 2 above, there are 2 subtasks that must be simultaneously functioning correctly. First, you will need to make sure the tracking mechanism from Lab 7 & 8 is working properly. You can test your circuit using a simple hand torch. In addition, you need to activate the light source of the balloon popper that is provided by your TAs. 4.1 Balloon Popper The balloon popper is a special apparatus built for the project this year. As can be seen from Figure 5, it has an array of light sources and sensors in the shape of a circular arc. Page 3 of 5

ENGG1015 Figure 5: A Ball Popper NOTE: You do not need to construct the balloon popper. It is made for you by the ENGG1015 staff. Your task is to make sure your Rube Goldberg machine can interface to it correctly during the final competition. The balloon popper works as follows: 1. When powered on, the light in the center of the arc will light up constantly. This serves both as an indicator that it is powered and as a way to align your light tracker. If your light tracker is working properly, it should be pointing exactly to the center of the arc at this time. 2. Subsequently, you must activate the moving light pattern of the popper by asserting a lighton signal to the popper. With lighton at 12V, the lights on the arc will start to move in a random pattern. Your light tracker head must be able to track this movement correctly. 3. In addition, the light sensor corresponding to the light source will be activated. If your light tracker can correctly track the moving light AND your laser is turned on, then you will be able to shoot right on the activated sensor with your laser. With the sensor shot by a laser, it will activate a pump that eventually will pop a balloon. 4.2 Interfacing to the Popper Mechanical Your Light Tracking Laser Head will be inserted into custom made slots right in the middle of the ball popper. Your job is to make sure that your light tracker is securely connected to the breadboard, and is easily accessible near the edge of your machine so it can be inserted into the popper. 4.3 Interfacing to the Popper Electrical Your machine should assert the lighton signal as the final step. The lighton signal has the simple definition: Voltage 12V 0V Description Turn on the random light pattern Do not turn on random light patter For ease of connection, securely connect the lighton signal and ground to a terminal block similar to the one shown below. Figure 6: User a terminal block to connect lighton signal. Page 4 of 5

4.4 Buffering lighton Signal To make your design easier, a solid-state relay (SS-RELAY) will be used on the balloon popper to receive your lighton signal. Therefore, simply make sure your lighton signal can deliver at least 12mA when under 1kΩ resistive load. Good luck & Enjoy! Page 5 of 5