ENGR 40M Project 3a: Building an LED Cube

Similar documents
ENGR 40M Project 3b: Programming the LED cube

Obtained from Omarshauntedtrail.com

TECHNOLOGY WILL SAVE US: THE LUMIPHONE

8 PIN PIC PROGRAMMABLE BOARD (DEVELOPMENT BOARD & PROJECT BOARD)

Christmas LED Snowflake Project

COLOUR CHANGING USB LAMP KIT

Lab 7: Soldering - Traffic Light Controller ReadMeFirst

QUIZ BUZZER KIT TEACHING RESOURCES. Version 2.0 WHO ANSWERED FIRST? FIND OUT WITH THIS

Mal-2 assembly guide v1.0

Physics 123 Hints and Tips

UAV Ultimate Atari Video A7800

Building a MidiBox LCD Cable

Lab 7: Soldering - Traffic Light Controller ReadMeFirst

Tube Cricket Build Guide

INTRODUCTION (EE2499_Introduction.doc revised 1/1/18)

Laboratory 11. Required Components: Objectives. Introduction. Digital Displays and Logic (modified from lab text by Alciatore)

ASSEMBLING. the. ECEbot. Printed Circuit Board: Part Three. Due Date. The Part Three assembly steps must be completed prior to:

Lab Using The Multimeter And The Trainer

R/C Afterburner Light Kit For Electric EDF Jets 2009 Hyperdyne Labs

Bill of Materials: Super Simple Water Level Control PART NO

"shell" digital storage oscilloscope (Beta)

Module 4: Traffic Signal Design Lesson 1: Traffic Signal (Arduino) Control System Laboratory Exercise Grade 6-8

MAKE AN RGB CONTROL KNOB.

BME 3512 Biomedical Laboratory Equipment List

H2633IP-1 RELAY CARD K2633

Build your own: Track Display

Documentation VFD clock 8 a clock

Introduction 1. Green status LED, controlled by output signal ST. Sounder, controlled by output signal Q6. Push switch on input D6

VU-1 VU Meter Kit Volume Unit Meter

Galilean Moons. dual amplitude transmutator. DIY ASSEMBLY MANUAL v1.02

OSCILLOSCOPE AND DIGITAL MULTIMETER

Opto Plus LED Corp x 8 Dot Matrix LED Display OPD-M48810YG-GW OPD-M48811YG-GW

ELECTRONIC GAME KIT TEACHING RESOURCES. Version 2.0 BUILD YOUR OWN MEMORY & REACTIONS

Music-Visualization and Motion-Controlled LED Cube

Light Emitting Diodes (LEDs)

Smart Interface Components. Sketching in Hardware 2 24 June 2007 Tod E. Kurt

Atari PICO Composite Mod Board Installation Instructions:

While the parts are already inventoried at the factory, please verify the inventory check as you go:

Multi-Key v2.4 Multi-Function Amplifier Keying Interface

Identification - electrical services

DL-1A. RF dummy load - 50Ω 20W. Assembly manual. Last update: May 1, Thank you for constructing the DL-1A dummy load kit

VU Meter Buffer DIY Kit

Laboratory 8. Digital Circuits - Counter and LED Display

Model Railway Animation: Part 1, LEDs - Expanded By David King

EE 367 Lab Part 1: Sequential Logic

Large 5 X 7 Dot Matrix Alphanumeric Displays 17.3/26.5 mm Character Heights Technical Data

Light Emitting Diodes and Digital Circuits I

LABORATORY # 1 LAB MANUAL. Digital Signals

Light Emitting Diodes and Digital Circuits I

Experiment # 4 Counters and Logic Analyzer

Bill of Materials: 7-Segment LED Die with Arduino PART NO

Build A Video Switcher

Laboratory 7. Lab 7. Digital Circuits - Logic and Latching

DIY Guide - Building Franky v1.1, the SEGA Audio and Videocard for MSX

Part (A) Controlling 7-Segment Displays with Pushbuttons. Part (B) Controlling 7-Segment Displays with the PIC

7 SEGMENT LED DISPLAY KIT

Harvatek International 2.0 5x7 Dot Matrix Display HCD-88442

Physics 323. Experiment # 10 - Digital Circuits

Light Emitting Diodes and Digital Circuits I

LED BASED SNAKE GAME

STROBOSCOPE LIGHT EFFECT KIT

Using an oscilloscope - The Hameg 203-6

LOOK AT THE NETWORK OF METAL STRIPS ON THE BACKSIDE OF THE PROTOTYPING BOARD

Total solder points: 123 Difficulty level: beginner 1. advanced AUDIO ANALYZER K8098. audio gea Give your. . high-tech ILLUSTRATED ASSEMBLY MANUAL

Large 5 X 7 Dot Matrix Alphanumeric Displays 17.3/26.5 mm Character Heights Technical Data

Industrial Monitor Update Kit

Introduction 1. Green status LED, controlled by output signal ST

COMPONENT PREPARATION AND MANUAL INSERTION TRAINING CERTIFICATION TEST (DVD-44C) v.2

Introduction 1. Digital inputs D6 and D7. Battery connects here (red wire to +V, black wire to 0V )

RAKK dac. RAKK dac Mark IV. RAKK dac Mark IV. Assembly and Installation Manual

Laboratory 10. Required Components: Objectives. Introduction. Digital Circuits - Logic and Latching (modified from lab text by Alciatore)

Seth h N eu N mann 1

Main PCB (The small one)

TIL311 HEXADECIMAL DISPLAY WITH LOGIC

DIY KIT MHZ 8-DIGIT FREQUENCY METER

Summit Systems Sound Board Modification

Nixie Clock Type Frank 2 Z570M

Experiment 0: Hello, micro:bit!

THE OPERATION OF A CATHODE RAY TUBE

Australian Technical Production Services

2 Any form of reproduction if this document, also electronic reproduction, such as placing it in the internet is not allowed.

ADD AN AUDIO MESSAGE TO YOUR PRODUCT WITH THIS RECORD & PLAYBACK KIT

successive approximation register (SAR) Q digital estimate

ANTUMBRA FADE MANUAL

Main Design Project. The Counter. Introduction. Macros. Procedure

Total solder points: 117 Difficulty level: beginner advanced. RGB Controller K8088 ILLUSTRATED ASSEMBLY MANUAL

SN-Class Nixie Clock Kits

R,G,B LEDs. Three PWM outputs and three primary colors. Just screams to be made, doesn t it? 220 (red,red,brown) or 330 (orange,orange,brown)

Lab 3c Fun with your LED cube. ENGR 40M Chuan-Zheng Lee Stanford University 19 May 2017

MUK REAR PANEL ASSEMBLY ASSEMBLY INSTRUCTIONS

LED Display Product Data Sheet LTP-7388KM-J Spec No.: DS Effective Date: 08/27/2010 LITE-ON DCC RELEASE

Lesson Sequence: S4A (Scratch for Arduino)

BINARY 4 to 16 LINE DECODER

GUIDE TO ASSEMBLY OF ERICA SYNTHS DELAY MODULE

Bruce Chubb s Computer/Model Railroad Interface (C/MRI) 101- The Basics

Component Placement Tutorial Part One

Analog Circuits Prof. Nagendra Krishnapura Department of Electrical Engineering Indian Institute of Technology, Madras. Module - 04 Lecture 12

K Service Source. Apple High-Res Monochrome Monitor

ESU LokSound Select Direct Micro "Keep-Alive"

Dust Sensor using GP Y

Transcription:

ENGR 40M Project 3a: Building an LED Cube Lab due before your section, October 31 November 3 1 Introduction In this lab, you ll build a cube of light-emitting diodes (LEDs). The cube is wired to an Arduino, which is programmed to display interesting and dynamic patterns on it. There are numerous LED cubes that you can find on the web, and a few of them are very large, for example: http://youtu.be/6mxm-ogggrm http://youtu.be/3k8i0jqzx2w We encourage everyone to build a 4 4 4 cube, so that you can experience the full awesomeness of your E40M make power. You get to choose what color LEDs to use: we have white, red, green and blue available. However, for those teams with (misguided) doubts about their maker power, we offer the less awesome but still okay 6 6 LED array. Fair warning, though: teams doing the 6 6 array will be required to do a little more work in lab 3c. You can also, if you wish, make any other shape with at least 36 LEDs, but you must run this by your TA first. This week, we re just building the cube a nice, soothing task to accompany midterm week. Next week, we ll make connect it to an Arduino and program it to show fun patterns! Then, the following week, you ll program your cube to do something awesome. You needn t decide until exactly what until then, but it s worth starting to think about what you might like to do now. We ll give you a number of suggestions, for example: https://youtu.be/frxdtiohfli. By completing this lab you will: Plan a nontrivial circuit, both electrically and mechanically Gain a lot of experience soldering Gain debugging skills (because you will make mistakes along the way!) 2 New parts and equipment 2.1 LEDs We ll use high-intensity 5mm LEDs in this lab. These have a clear, round case, as shown right. 1 We have red, green, blue and white LEDs available. Diodes are polarized, so take care to note which is the anode and which is the cathode. A common convention, which these diodes follow, is to make the anode (+) leg slightly longer and to put a flat edge on the side of the cathode ( ). Also, remember that the forward voltage of an LED is much less than 5 V, so we typically put a current-limiting resistor in series with it. Warning: Without turning them on, the different-colored LEDs look practically identical, and it s easy to mix them up. Therefore, you should double-check the colors of the LEDs before you start soldering. Also, it s essential to keep the parts bins neat to avoid mix-ups if the LEDs get mixed up, it will make your and your classmates lives very difficult, and we may ask you to sort all of the LEDs back into bins by color. 1 Image credit: http://learn.acrobotic.com/uploads/pth_led_anatomy.jpg anode (+) cathode ( )

ENGR 40M Project 3a: Building an LED Cube Fall 2017 2.2 pmos transistor In this lab we again will need to use a pmos transistor since the Arduino will not be able to drive the current we need. But in this case we don t need as much current as the motor demands, and can use a smaller transistor. This is useful, since you will need 8 transistors (or 6 if you re building the array). The package and pinout of this BS250P pmos device is different from your last one, and is shown on the right. The gate is the middle pin, and the source is on the right when the transistor is lying on its flat side. 2.3 Power supply At each lab station is an adjustable power supply, which you might want to use during this lab to test your LED connections. The power supply has two knobs respectively labeled voltage and current. It will supply either the set voltage or the set current, whichever turns out to be the lesser. Typically, we set the voltage knob to the voltage we want, and the current knob to the maximum current we could possibly want. This way, it behaves (mostly) as a voltage source, except when we draw too much current (e.g. a short circuit), then it limits the current to the current setting. Since in this lab we are working with components which use 5 V or less, you should be sure to never set the output voltage above 5 V. 3 Prelab If you are going to build a standard 4 4 4 cube or 6 6 array, your prelab is to figure out what colors you want to use for your display, so that when you come to lab you know what LEDs you need and how you want to arrange them. You don t need to submit this as a normal prelab just bring your design with you to lab. If you are interested in building something else, your prelab is to create a schematic or a description of what you want to build and send it to your TA for approval. (Just e-mail it to them there won t be a Gradescope assignment.) You re welcome to build a different design if your TA clears it, but be warned that it may be harder to get help if you re off the beaten path. 4 LED display construction Joining 64 LEDs together requires a lot of soldering. More importantly, it is very easy to make a mistake. Therefore, you should plan and understand how you are going to solder everything together before you touch the soldering iron. Please read through all steps of this exercise first. In order to aid the construction process, we will use a jig. This is a piece of wood with a grid of LED-sized holes 3/4 inch apart. These should be available in lab. Please pay attention to the direction of each of the LEDs to ensure that the diodes are placed in the right direction. To make debugging and repair easier, you 2

ENGR 40M Project 3a: Building an LED Cube Fall 2017 should test each LED plane after it is built. If you re being particularly careful (it s worth it), you can test each LED row as soon as you ve made it. If you are making the LED array, please read the following section. If you are going to build the cube, please read this section, since you will need to create 4, 4 4 arrays to start. Once you have completed the arrays, then continue on to the next section to assemble them into the cube. 4.1 LED array Most of the wood jigs have a 6 6 array of holes. If you are building a single array, you will need to fill in all the holes. If you are building a cube, you should build 4 4 planes. Once you have found your jig, you next task will be to create one row of LEDs. To do this you will first need to bend the leads of the 6(4) LEDs you want to place in that row. Bending the leads of the LEDs is not hard, but you need to do it in just the right way otherwise you will have trouble when you try to wire the array together. The key is that you need to bend the LED leads at right angles to each other, with the bends at different heights so they don t short out when they cross. It is also important that the lower lead not touch the taller post when it crosses. To accomplish this, place the LED in your jig, so the two leads are in a horizontal line, with the cathode ( ) lead on the right, and the anode (+) lead on the left. With the LED in this position, bend the cathode ( ) lead to run in the vertical direction. To make a nice bend at the right height, place your needle-nosed pliers on the plastic LED cap, and squeeze to hold the lead. Then with your pliers, bend the lead to the lower edge of the block. Using your pliers will allow you to make all the bends at the same height. Now grab the positive lead in your pliers, but grab it around a quarter-inch off the LED head, and then bend this lead to the left, so it runs in the horizontal direction. Once you have bent the leads of you LED, it should look like the LED in the figure above (if you rotate the figure by 90 degrees). Placing a number of these LEDs in a row in your jig is shown below: After placing all the LEDs in a row, you can solder the anode (+) terminals that are running horizontally together to form the common anode (+) terminal for that row. Then you can bend and place the next row 3

ENGR 40M Project 3a: Building an LED Cube Fall 2017 of LEDs in your array. The cathode ( ) terminals of these LEDs should come down and overlap on the cathode ( ) terminals of the previous row as is shown below: These cathode ( ) leads should nicely fit under the common anode (+) terminal of the row you have already soldered. You can solder each of the anode (+) terminals of this row together to form the next common anode (+) terminal of the array, and then you need to solder the cathode ( ) terminals to connect the two rows together. Continue to add rows until you complete the full array which is shown below: Now test your LED array by connecting each of the common anode (+) terminals to a 5V supply, and then connect a 100 Ω resistor to ground and touch the other end of the resistor to each of the common cathode ( ) terminals to make sure the right LED lights up.2 If the LED doesn t light up check to make sure you installed it in the correct direction. If multiple LEDs light up, look for shorts (two wires that are touching that shouldn t be connected) in your array. The position of the lights should help you find the problems. Congratulations, you have made the LED array! 4.2 LED cube To make the LED cube, you will first make the four horizontal planes of the LED cube separately. Once these plane are complete, you will solder them together to form a cube. Each plane consists of 16 LEDs in a 4 4 grid. After completing the construction of the four planes, each should have 4 common anode (+) wires on the left (if the leds are shining at you), and four cathode ( ) wires coming on the bottom of each plane. Your next 2 You can also use the diode mode on your multimeter, which might be more convenient. To do this, turn the dial to the diode symbol, then place the red probe on an anode wire and the black probe on a cathode wire. The diode mode tries to supply a fixed current through the probes, which will turn the LED on. It also displays the forward voltage of the diode, but the forward voltage of an LED is out of range, since the diode mode is normally used for normal diodes. 4

ENGR 40M Project 3a: Building an LED Cube Fall 2017 step is to connect the four common anode (+) wires of the top plane to the four wires of the second-to-top plane in the cube. Take the anode (+) wires of the top plane and bend them down (so they point away from you; they point in the opposite direction of the LEDs), and on the second-to-top plane bend them up so the point toward you; they point in the same direction as the LEDs. The result is shown in the figures below. The figure on the left shows how you can used a pair of pliers to hold the second plane vertically, and then the right figure shows how you place the top plane next to the second plane so their common anode (+) wires overlap. At this point you will have a two plane module, but since the planes are only soldered on one side, they will be a little floppy. To make the structure stiffer, you solder two additional wires that connect the common anode (+) wires on the right had side as well. These wires are shown in the figure below and are in the red circles. Note: When I made these planes I bent my LEDs differently (I did not read the instructions carefully). As a result, my cathode ( ) leads are at the top of this figure, while yours should be at the bottom. Repeat these steps to create another 2-plane module of the third and bottom plane. Bend the bottom s anode (+) leads up toward the LEDs, and the third planes leads down. After you complete this step, you will have two half cubes. Now all you need to do is to solder them together. In this step you will bend the cathode ( ) leads of the second plane down, and the cathode ( ) leads of the third plane up. You should be able to place the two modules on the bench and then solder the four cathode ( ) wires to each other, just like you did in making the 2-plane modules. Again you might need to add some wires on the other end to make the cube a little stiffer. At this point all you need to do is connect four cathode ( ) terminals of the top plane, to the four cathode ( ) terminals of the bottom plane. To do this, we will need to use wire, since these terminals are not adjacent to each other. Cut four pieces of wire and solder these terminals to each other. 5

ENGR 40M Project 3a: Building an LED Cube Fall 2017 After soldering the LED cube, you should test again to make sure each LED is working and that they are in the proper orientation. Use the same technique you used to test the plane, but now you will have eight cathode ( ) and eight anode (+) terminals to test. Demonstrate to the TA that using only these 16 wires, you can light up each LED individually. 5 Analysis There is no analysis question for this lab. 6 Reflection Individually, answer the questions below. Two to four sentences for each question is sufficient. Answers that demonstrate little thought or effort will not receive credit! R1: What was the most valuable thing you learned, and why? R2: What skills or concepts are you still struggling with? What will you do to learn or practice these concepts? R3: If this lab took longer than the regular 3-hour allotment: what part of the lab took you the most time? What could you do in the future to improve this? Since there are no lab or analysis questions for this lab, it will probably be easiest just to type these up, save as PDF and submit it on Gradescope as its own file, so that you ll have nothing to scan. 7 Build quality rubric Since there are no prelab, lab or analysis questions in this handout, your build quality grade is worth about two-thirds of the total grade for this week. It will be primarily based on how neat your cube is. Check Plus All solder joints are clean. Most LED leads are bent well. Cube is nearly square, with reasonably straight lines and flat planes. Auxiliary wiring is neat and does not detract from the visual appearance of the cube. Check Nearly all solder joints are clean. Cube is square-ish or plane is relatively flat. Auxiliary wiring is neat and comes off of the cube in a well-defined way. Check Minus Some LEDs in the cube don t work. LED leads are prone to short-circuiting. Many solder joints could be improved. Cube is not square and LEDs barely appear to form lines or planes. Auxiliary wiring is hanging off in multiple directions. 6