The GENIE Light Kit is ideal for introducing simple lighting projects, such as an electronic die, a wearable badge or a night-time warning system.

Similar documents
Introduction 1. Liquid crystal display (16 characters by 2 rows) Contrast dial: turn the dial to adjust the contrast of the display (see page 5)

ELECTRONIC DICE CHIP FACTORY ELECTRONIC DICE PROJECT. What is a microcontroller? Example use of a microcontroller.

An open-source hardware+software project. For design files and additional documentation, please visit:

3 pyro output datalogger altimeter with an ATmega 328 microcontroller Kit assembly instructions

RC Tractor Guy Controller V2.1 Assembly Guide

ARRL ETP Solder Hour Clock Kit Construction Manual

Advanced Strobe 1.0 Kit

MP3 audio amplifier. Build Instructions. Issue 2.0

DELUXE STEREO AMPLIFIER KIT

Part 2: Building the Controller Board

OpenSprinkler v2.2u Build Instructions

Button Code Kit. Assembly Instructions and User Guide. Single Button Code Entry System

Pacific Antenna Two Tone Generator

solutions for teaching and learning

OpenSprinkler v2.1u Build Instructions

Advanced Lantern 1.0 Kit. Introduction to the Advanced Lantern 1.0 Kit

solutions for teaching and learning

4.1 Parts and Components... IV Assembly Tips... IV Assembly Precautions... IV Required Tools, Equipment and Materials..

orban FIELD ENGINEERING BULLETIN Purpose: Units Affected: Replacement Kit, Orban Part # Replacing SSM2017 Op-Amps

IR TRANSMITTER BLOK PCB ASSEMBLY INSTRUCTIONS. Copyright EduTek Ltd Rev. 2

High Power (15W + 15W) Stereo Amplifier

Images Scientific OWI Robotic Arm Interface Kit (PC serial) Article

UNIVERSAL LCD CONTROL MODULE V4.0 Assembly and operating instructions

Quicksilver 606 TR-606 CPU Upgrade

RECORD & PLAYBACK KIT

UF-3701 Power Board Construction Guide

Morse Code Practice Oscillator

revolution How does the ibutton work? Full kit including PCB, PICAXE-08M chip and ibutton key. Spare ibutton Key

Assembly Guide. LEDs. With these assembly instructions, you can easily build your own SWT16. All required components are included in this kit.

PICAXE EXPERIMENTER BOARD (AXE090)

solutions for teaching and learning

Alesis MMT8 16x Memory Expansion Modification (Black model MMT8 s) Equipment. Components required. Other bits:

Digital Flame 1.0 Kit

The Basic Counter. Hobby Electronics Soldering Kit. Instruction Guide

Assembly of the TACOS WAT-910BD Housing v2

Pacific Antenna Easy TR Switch Kit

K1EL Morse Code Practice Oscillator CPO

Construction manual. (Almost Ready To Control) Stand , V1.05

Digital Candle 1.0 Kit

CP5176 Assembly guide. Soldering. CP5176 Assembly guide Main PCB PCB split. Document revision 2.1 Last modification : 12/11/17

Uzebox Kit Assembly Guide

LushOne Inca Synth Module Build Instructions

SRI-02 Speech Recognition Interface

SharpSky Focuser Construction. SharpSky Focuser. Construction Document V st December 2012 Dave Trewren 1

Unit 2. Computer Control. PIC stands for PROGRAMMABLE INTERFACE CONTROLLER. A PIC chip takes in input signals and then controls output transducers

Casio CZ. Non volatile memory modification Installation instructions version copyright 2013 Artefacts

Onwards and Upwards, Your near space guide Overview of the NearSys Two Sensor Temperature Array Figure 1. A complete Two Sensor Temperature Array

LED Sequencer 1.0 / 1.5

Assembly Instructions (8/14/2014) Your kit should contain the following items. If you find a part missing, please contact NeoLoch for a replacement.

Celadon, Inc. TRX Series Infrared Remote and Receiver Assembly and Operation Instruction Manual

TKEY-1. CW touch key. (no electromechanical contacts) Assembly manual. Last update: June 20,

Bill of Materials: 8x8 LED Matrix Driver Game PART NO

Electronics Construction Manual

SPLIT ERGONOMIC MECHANICAL BACKLID KEYBOARD

XYLOPHONE KIT ESSENTIAL INFORMATION. Version 2.0 CREATE YOUR OWN ELECTRONIC MUSICAL INTRUMENT WITH THIS

Electronics Construction Manual

Universal Keying Adapter 3+

Alesis MMT8 16x Memory Expansion Modification (all grey model MMT8 s)

The Sudden Storm Kit. by QRPme. Builder s Guide. version4.2. for. Sudden Storm ][ Ver4 (red pcb) Updated 01/10/2012

These are the illustrated step-by-step guidelines for upgrading your Quad 306 with the Dada Electronics upgrade-kit.

RKP08 Component List and Instructions

Wind Logger Shield. Parts included: Date: 29/07/14 Version: 1.0 By: Matt Little

Strobe Light. Student Lab Guide. Engineering Teaching Laboratory. Lab Partner(s) Page 1 of 10

Figure 1. The Programmable Flight Computer.

Physics E-1bxl and PS3 Lab 4: Neuron Model 2016

Onwards and Upwards, Your near space guide. Figure 1. CheapBot Line Follower

Insert the male, 90 angled, 2x10 connectors into the corresponding 2x10 sockets and put them in place, flat under the PCB. Solder.

Uzebox Kit Assembly Guide

Hauptwerk Hardware 2016

KAA Watt x 2 Class-D Audio Amplifier Kit

Assembling the Printed Circuit Board for the EDE1200 Robot

LED Knight Rider. Yanbu College of Applied Technology. Project Description

Thursday, September 15, electronic components

QRPGuys Digital Dial/Frequency Counter

K8099 NIXIE CLOCK. * optional enclosure TKOK19 (black) - TKOK17 (white) ** optional plexiglass enlcosure B8099 ILLUSTRATED ASSEMBLY MANUAL

Introduction to microcontrollers

AXE Stack 18. BASIC-Programmable Microcontroller Kit. An inexpensive introduction to microcontroller technology for all ability levels

IQ32 Upgrade Kit Assembly Instructions

Cygnos360 V2 Installation Manual

MIDI IN Installation Guide for the EMU Drumulator

Mini B lue M idnight

Microsystems. SCI-6 Sound Card Interface Kit Version 1.09 January 2015

Digital Circuits. Page 1 of 5. I. Before coming to lab. II. Learning Objectives. III. Materials

BMC24. MIDI TO GATE CONVERTER DOCUMENTATION. This documentation is for use with the "Euro Style" bottom board.

3-slot Backplane For RC2014 User Guide

Construction Construction Instructions

Experimental Procedure

ATTiny84/85 AVR adapter kit building and usage instructions

PicoTurbine Mark 8.3 Generator Field Controller Kit

University of Florida EEL 4744 Drs. Eric M. Schwartz, Karl Gugel & Tao Li Department of Electrical and Computer Engineering

Figure 1. A complete Temperature Sensor

E-Limitator (Kit) on to your game board or a suitable PC interface. General Advice for building a circuit

Colecovision 5v Memory Mod Installation

PICAXE CONNECT (AXE210)

Connecting igaging DigiMAG Scales to the Caliper2PC Interface A step by step Guide

15 Channel IR transmitter. Total solder points: 53 Difficulty level: beginner advanced K8049 ILLUSTRATED ASSEMBLY MANUAL

Build the Machine Science XBoard, with a programmable microcontroller.

USB Controlled DMX interface

MAIN PCB (The small one with the square cut out from one side)

Schematic Diagram: R2,R3,R4,R7 are ¼ Watt; R5,R6 are 220 Ohm ½ Watt (or two 470 Ohm ¼ Watt in parallel)

Transcription:

Introduction 1 Welcome to the GENIE microcontroller system! The GENIE Light Kit is ideal for introducing simple lighting projects, such as an electronic die, a wearable badge or a night-time warning system. Three of the outputs,, and control two LEDs each. Output controls a single LED. 8-pin GENIE microcontroller (the magic bit!) Download socket (the cable plugs in here so that the GENIE microcontroller can talk to the computer) LED is short for Light Emitting Diode output signal output signal Push switch on input G3 output signal output signal output signal output signal Space for optional on/off power switch (not supplied) output signal Battery connects here (red wire to +V, black wire to 0V ). You can feed the wires through the two larger strain-relief holes to the right. Battery power must be between 3 volts and 5 volts......that s 2 or 3 AA-sized batteries! Tip: The PCB allows a 3V watch-style cell battery (not supplied) to be used instead of AA or AAA batteries. See page 2 for details. Page 1 of 10 508 GENIE 08 Light Kit.pdf Version 1.5

Making the GENIE 2 Switch on the soldering iron. It will only take a few minutes for the iron to reach operating temperature. Once the soldering iron is hot, clean the soldering iron tip with a moist sponge. Melt some solder at the chamfered end of the soldering iron tip. This is called tinning and it will aid the flow of solder from the soldering iron to the copper track on the printed circuit board and component pins. Take care when using a hot soldering iron! Components List This is what you will need: Component Quantity 8-pin GENIE microcontroller 1 GENIE 08 light board (PCB508) 1 Download (3.5mm stereo) socket 1 8-pin DIL socket 1 Battery clip 1 3 x AA battery holder 1 6 x 6mm switch 1 Red LED 7 100 ohm resistor 4 (brown, black, brown, gold) 180 ohm resistor 1 (brown, grey, brown, gold) 10k ohm resistor 1 (brown, black, orange, gold) 22k ohm resistor 1 (red, red, orange, gold) 100k ohm resistor 1 (brown, black, yellow, gold) Fit each component onto the board. When fitting components such as resistors, you should use long-nosed pliers to bend the legs through 90 degrees. This will make them easier to fit. Some of the components need to be fitted the correct way around: The 8-pin GENIE microcontroller should be positioned so that the notch points towards the download socket and the dot next to pin 1 is at the same corner as the 1 shown on the board. The LEDs should be fitted so that the flat edges of the LEDs line up with the flat edges shown on the board. To solder a pin, hold the soldering iron onto the board for a few seconds, then quickly touch the tip with a small amount of solder. You should always remember to replace the soldering iron back into the stand after soldering and repeat cleaning the tip of the iron with the moist sponge before the start of each soldering operation. Finally, cut off any excess wire or component legs for a tidy finish. Fitting a watch-style cell battery (optional) The PCB allows you to fit an on-board 3V CR2032-type cell and holder (not supplied) as an alternative to AA or AAA batteries. When using a cell, it is recommended to also fit an on/off power switch as described below. Adding an on/off power switch (optional) You can include an on/off power switch by soldering an SPDT switch (not supplied) to the three pads on the right-hand side of the PCB. When adding a power switch you will also need to cut the exposed track marked CUT on the PCB s solder side. Page 2 of 10 508 GENIE 08 Light Kit.pdf Version 1.5

Telling the GENIE your wishes 3 For your project to work, you need to tell the GENIE microcontroller what it should do. This involves writing a sequence of commands in a flowchart. Your flowchart is then sent down the cable and stored on the GENIE chip. By changing the flowchart, you can vary how the GENIE behaves. First of all, you need to tell GENIE which type of chip you are using. To do this, click on the Microcontroller button on the toolbar and choose Program Settings. Select an 8-pin GENIE chip. In the same window, choose the 1 Input, 4 Outputs (-, ) setting to tell GENIE which inputs and outputs you need. Click on OK when you are ready. Available Signals These are the input and output signals available in your flowchart: Input Description G3 Push switch Output Description Centre left/right LEDs Top right/bottom left LEDs Central LED Top left/bottom right LEDs You can now decide which commands you want your GENIE to perform. To do this, drag commands from the Gallery. See the next worksheet for flowchart ideas. Page 3 of 10 508 GENIE 08 Light Kit.pdf Version 1.5

Telling the GENIE your wishes 4 Turning LEDs on and off You can use GENIE to turn the LEDs on and off. Use the HIGH command to turn a single output on. Use the LOW command to turn a single output off. Use the OUTPUTS command to control several outputs. There are seven LEDs on the kit and these are connected to outputs,, and. Each output controls two LEDs, except for. Double-clicking on an output command allows you to control a light (or several in the case of the OUTPUTS command), for example: Responding to the push switch Some types of input signal, such as push switches, can only be either on or off. These are known as digital signals. Use the DIGITAL command to respond to a digital signals. The DIGITAL command allows you to make a decision based on whether a digital signal is either on (pressed) or off (not pressed). When a digital signal is on, it has the value 1 whereas when it is off, it has the value 0. Double-click on the command to select which digital inputs you wish to check. GENIE will follow the Y (yes) path when the digital signal matches the chosen pattern, otherwise it will follow the N (no) path. This will light the single, central LED that is connected to output. In addition to changing the output, you can also add a delay (GENIE programs run very quickly and without a wait, sometimes the lights change too fast for you to see!). The above pattern will test if the switch on G3 is pressed. You can see below how to use this in a flowchart: the two LEDs connected to output will light whenever the switch is pressed. The flowchart on the right uses the HIGH and LOW commands to turn the two LEDs on on and off. It loops back to make the flashing repeat. Page 4 of 10 508 GENIE 08 Light Kit.pdf Version 1.5

Telling the GENIE your wishes 5 Creating an electronic die Whenever you roll a die, a number between one and six will appear face-up. This behaviour is known as random because you cannot predict beforehand which number will appear. You can use GENIE s RANDOM command to simulate the effect of a die roll. Double-clicking on the RANDOM command allows you to select the variable in which the random number will be stored. You can also decide on the range of numbers that will be generated. For a die roll, the range should be set to 1 through 6. Displaying the numbers 1 to 6 The following list shows how to display numbers. 1 To display the number 1, make output high and all of the other outputs low. 2 To display the number 2, make output high and all of the other outputs low. 3 To display the number 3, make outputs and high and all of the other outputs low. To start a die roll, you should generate a random number whenever the switch is pressed: 4 To display the number 4, make outputs and high and all of the other outputs low. 5 To display the number 5, make outputs, and high, leaving output low. 6 A subroutine named Display outputs the die roll held in variable A. This subroutine is not shown here but appears in full on page 6. To display the number 6, make outputs, and high, leaving output low. Page 5 of 10 508 GENIE 08 Light Kit.pdf Version 1.5

A complete electronic die flowchart Telling the GENIE your wishes 6 The following flowchart puts together the different elements of a die roll program, namely (1) detecting when a switch is pressed, (2) generating a random number, (3) outputting that number as a pattern on the LEDs, and (4) stopping the die roll once the switch has been released. The main flowchart first checks to see if the switch (connected to input G3) is pressed. When pressed, a random number is then generated that lies within the range of 1 to 6. This number, representing the die roll, is stored in variable A. Next, the number is used to output the appropriate LED pattern by calling the Display subroutine (shown on the right). A short delay of 10 milliseconds is introduced so that you can see the lights changing (without the delay they would change too quickly). Finally, the whole sequence repeats from the beginning. The Display subroutine outputs a different pattern to the LEDs depending on the value of variable A. A series of COMPARE commands checks the possible values of A. When the value of A is 6, the last COMPARE commmand ( if A = 5 ) will be false, resulting in the flowchart taking the N (no) path. The output patterns are as shown on page 5. Page 6 of 10 508 GENIE 08 Light Kit.pdf Version 1.5

Bringing the GENIE to life 7 Once you have written your flowchart program, you need to store it on the GENIE chip. Here s how you do it: 1 Wire-up the built GENIE circuit board and connect up a suitable battery power supply. 2 Plug the GENIE cable into the download socket on the GENIE circuit board. 3 Once done, the Program panel in the software will then show a Connected message (see picture a). 4 Click on the Run Live option. Your flowchart will be transferred onto the GENIE chip this is known as downloading (see picture b). (c) (a) (b) The two red LEDs that are connected to output on the light kit will flash as the download takes place. It tells you everything is OK! As soon as the program has been downloaded you will see the above screen (c) and GENIE will start running your flowchart. Your GENIE project is now ready to go! You can disconnect the cable and use your GENIE board away from the computer. Finished! Page 7 of 10 508 GENIE 08 Light Kit.pdf Version 1.5

Troubleshooting GENIE 8 If you are unable to connect to a GENIE microcontroller or download a program, you should go through the following troubleshooting hints and tips. A Run the GENIE troubleshooting tool The GENIE troubleshooter will automatically check your cable and software to ensure that the computer can access the GENIE cable. To run the GENIE troubleshooter, choose Troubleshoot GENIE... from the Help menu of the Circuit Wizard or GENIE software. If that option is not shown in your version of the software, you can download it separately from /cable. Step through the on-screen instructions. B Step through the following checklist of common problems Cable Circuit Wizard, GENIE Design Studio and the GENIE Programming Editor software all check and report problems involving the cable. If given, follow through on the on-screen advice. Unplug the cable, wait a few seconds and then plug it back in. Windows can occasionally fail to detect that a cable has been inserted. Power Check that the voltage of the battery is sufficient. For this board, the battery voltage should be in the range of 3 volts to 5 volts. Check the voltage level across the power connections (+V and 0V) on the board. This can identify if there is a problem with the battery clip or battery holder. Ensure that the wiring has not become loose and the batteries are properly seated in the holder. Circuit Try plugging the cable into another GENIE board if you have one available. When powering up this circuit, the STATUS LED(s) should flash once (when properly connected it will flash repeatedly). Try with another GENIE microcontroller if possible. Visually inspect the board for bad solder joints or cases where soldering has incorrectly bridged pins together. Note that for the download socket, the two left-most pins should be connected together, as should the two right-most pins. For more troubleshooting hints and tips, please read the separate GENIE Troubleshooting Guide. Page 8 of 10 508 GENIE 08 Light Kit.pdf Version 1.5

The technical bit... it s only needed if you want to learn more! Circuit information 9 This is the circuit diagram. It shows how all of the components in the circuit are connected. You can compare it to the layout of the components on the actual circuit board (shown below it). Download Socket PR ST 0V G3 (Switch) 22k 100k On/Off (optional) V+ PR /A G3 ST/ A/ A/ C08 0V 100 100 GENIE C08 100 3-5V 180 10k 100 Page 9 of 10 508 GENIE 08 Light Kit.pdf Version 1.5

Physical dimensions and mounting 10 The diagram below shows the physical dimensions of the printed circuit board (PCB). This information is important to know when you are embedding the circuit into another project or container. 49mm 1.93in Height The PCB s height including components, legs and soldering, is approximately 15mm (0.6in). 52.5mm 2.06in 3mm (M3) 30mm 1.18in Mounting There are four large holes, two of which (indicated by the arrows) are designed for mounting the PCB. The holes have a diameter of 3mm, suitable for use with M3-sized screws. The spacing between the two holes is 30mm (1.18in), which matches the spacing between the two mounting holes on a standard 3xAA battery pack. It is therefore possible to mount the battery pack to the back of the PCB. The other two large holes are of the same size but are instead intended to act as strain-relief holes for an off-board battery clip. These holes will be covered if an on-board watch-type cell battery is used in place of a standard battery pack. Page 10 of 10 508 GENIE 08 Light Kit.pdf Version 1.5