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

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

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

TECHNOLOGY WILL SAVE US: THE LUMIPHONE

AXE101 PICAXE-08M2 Cyberpet Kit

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

TKEY-K16. Touch CW automatic electronic keyer. (No moving parts no contacts) Assembly manual. Last review: March 15, 2018

Nixie Clock Type Frank 2 Z570M

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

Mal-2 assembly guide v1.0

MONO AMPLIFIER KIT ESSENTIAL INFORMATION. Version 2.2 CREATE YOUR OWN SPEAKER DOCK WITH THIS

Nixie Clock Type Frank 3

Assembly Instructions And User Guide. Nixie FunKlock. FunKlock Issue 4 (1 February 2017)

Nixie Tube Clock Type Marsden

Tube Cricket Build Guide

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

Bill of Materials: Super Simple Water Level Control PART NO

COLOUR CHANGING USB LAMP KIT

Documentation VFD clock 8 a clock

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

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

RECORD & PLAYBACK KIT

ELECTRONIC GAME KIT ESSENTIAL INFORMATION. Version 2.0 BUILD YOUR OWN MEMORY & REACTIONS

SN-Class Nixie Clock Kits

MAKE AN RGB CONTROL KNOB.

Edge Connector Light Level Detector

Build Your Own Clone Super 8 Kit Instructions

Nixie Clock Type Quattro'

This Unit may form part of a National Qualification Group Award or may be offered on a free standing basis.

Lab 7: Soldering - Traffic Light Controller ReadMeFirst

Color Organ Triple Deluxe II.

Parts Checklist - Please note there is no resistor R3. Diodes, LED and transistors are polarized see construction stages

Analog Style LED Clock

Technology Control Technology

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

7 SEGMENT LED DISPLAY KIT

Christmas LED Snowflake Project

Main PCB (The small one)

Installing The PK-AM keyer and. from Jackson Harbor Press Operating: A Morse code keyer chip with pot speed control

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

Lab 7: Soldering - Traffic Light Controller ReadMeFirst

Reaction Game Kit MitchElectronics 2019

VU-1 VU Meter Kit Volume Unit Meter

DIY KIT MHZ 8-DIGIT FREQUENCY METER

Nixie Clock Kit V1.08 Assembly and Operation

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

Atari PICO Composite Mod Board Installation Instructions:

Bill of Materials: Magic Color PART NO

Assembly and Operating Instructions for HiViz.com Kits

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

Inputs and outputs. Connecting leads. Buzzer

"shell" digital storage oscilloscope (Beta)

MOD028 GLOCKENSPIEL TECHNO-MUSIC-OLOGY

Nixie Clock Type IN-8 & NL840 Nixie'

Mini-Yack Iambic Keyer

Nixie Clock Type Frank 3'

Assembly Instructions And User Guide. Elite Nixie. Nixie Tube Clock Elite Issue 2 (07 June 2018)

Dust Sensor using GP Y

MAIN PCB (The small one) OPEN MAIN BOARD BAG A

H2633IP-1 RELAY CARD K2633

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

Nixie Clock Type Nixie QTC Plus

FSM User Guide Page 1 of 28

Industrial Monitor Update Kit

DLP600M 6+1 Relay Module for Heating and Cooling Plants

Build A Video Switcher

1. Unlocking your FT847 to get 4m ( for those who already have unlocked one, please move to chapter 2).

PR-101 STEREO PREAMPLIFIER Phono Preamp ASSEMBLY MANUAL

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

Nixie Clock Kit IN-12B color LED backlit Operation Manual Nixie Clock Kit IN-12B V6.0 ( All Right Reserved 2015 )

Digital Clock. Perry Andrews. A Project By. Based on the PIC16F84A Micro controller. Revision C

Experiment 0: Hello, micro:bit!

The Micropython Microcontroller

E-TEXTILES STARTER PACK

Nixie Clock Type SixNix

Data Acquisition Using LabVIEW

Objectives: Learn how LED displays work Be able to output your name on the display

DLP200M 2 Relay Module for Heating and Cooling Plants

Constructing and Operating: The Island Keyer

Light Emitting Diodes (LEDs)

ALO 030 MKII. 30 Watt DMX LED scanner. User manual

Commissioning Guide. firepickdelta. Commissioning Guide. Written By: Neil Jansen firepickdelta.dozuki.com Page 1 of 22

DX-10 tm Digital Interface User s Guide

24 Channel Demultiplexer

How To Build Megavolt s Small Buffered JTAG v1.2

research platform comma.ai, github.com/commaai/neo

Safety FIND THE FEED CABLE IN YOUR ELECTRICITY METER (UK)

Nixie Clock Type Nixie QTC

Safety Information. Camera System. If you back up while looking only at the monitor, you may cause damage or injury. Always back up slowly.

The NorCal SMT Dummy Load Assembly and Operating Manual Rev. 1.0 January 4, 2005

FB10000 Error Messages Troubleshooting

N3ZI Digital Dial Manual For kit with Serial LCD Rev 3.04 Aug 2012

N3ZI Digital Dial Manual For kit with Backlit LCD Rev 4.00 Jan 2013 PCB

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

Modellbahn Digital Peter Stärz

XTAL Bank DDS Version 0.02 Sept Preliminary, highly likely to contain numerous errors

Model 6010 Four Channel 20-Bit Audio ADC Data Pack

Laboratory 8. Digital Circuits - Counter and LED Display

VU Meter Buffer DIY Kit

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

GUIDE TO ASSEMBLY OF ERICA SYNTHS DELAY MODULE

Transcription:

Introduction 1 Welcome to the GENIE microcontroller system! The activity kit allows you to experiment with a wide variety of inputs and outputs... so why not try reading sensors, controlling lights or making sounds! Push switch on input D6 Green status LED, controlled by output signal ST Push switch on input D7 Sounder, controlled by output signal Q6 Dial on analogue input A0 Light sensor (LDR) on analogue input A1 18-pin GENIE microcontroller (the smart bit!) Analogue sensor on input A2 Download socket (the cable plugs in here so that the GENIE microcontroller can talk to the computer) Battery power must be between 4.5 volts and 6 volts......that s 3 or 4 AAsized batteries! Reset switch (starts any program running from the beginning again) Battery connects here (red wire to +V, black wire to 0V ) Medium-power output, controlled by signal Q7 Red, green and yellow LEDs, controlled by output signals Q0 to Q5 Transistor (allows output Q7 to control more powerful things) Page 1 of 8 118 GENIE 18 Activity Kit.pdf Version 1.5

Making the activity kit 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. Components List This is what you will need: Component Quantity 18-pin GENIE microcontroller 1 GENIE 18 activity board (PCB118) 1 Download (3.5mm stereo) socket 1 18-pin DIL socket 1 Battery clip 1 3 or 4 x AA battery holder 1 MPSA14 transistor 1 1N4001 diode 1 1N4148 diode 1 Green LED 3 Yellow LED 2 Red LED 2 Piezo sounder 1 Miniature light sensor (LDR) 1 6 x 6mm switch 3 220uF electrolytic capacitor 1 100nF capacitor 1 10k ohm potentiometer 1 ohm resistor 7 (orange, orange, brown, gold) 1k ohm resistor 1 (brown, black, red, gold) 4.7k ohm resistor 1 (yellow, violet, red, gold) 10k ohm resistor 4 (brown, black, orange, gold) 22k ohm resistor 1 (red, red, orange, gold) 100k ohm resistor 1 (brown, black, yellow, gold) 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. 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 18-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 on the LEDs line up with the flat edges shown on the board. Diodes should be positioned so that the stripe on the diode matches the stripe on the board. The flat side of the transistor must match the flat side shown on the board. When fitting the electrolytic capacitor, you need to ensure that the positive side of the capacitor (the side without the stripe) is nearest to the + sign 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. Page 2 of 8 118 GENIE 18 Activity 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 chip. By changing the flowchart, you can vary how the GENIE behaves. First, you need to tell the software which type of chip you are using. To do this, click on the Microcontroller button on the toolbar and choose Program Settings. Select an 18-pin GENIE chip. The inputs and output signals for this type of microcontroller are fixed, so click on OK when you are ready to continue. Available Signals These are the input and output signals available in your flowchart: Input Description A/D0 Dial (potentiometer) A/D1 Light sensor (LDR) A/D2 Analogue or digital D6 and D7 Push switch Output Description Q0 to Q5 LEDs Q6 Sounder Q7 Medium-power 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 8 118 GENIE 18 Activity Kit.pdf Version 1.5

Telling the GENIE your wishes 4 Turning outputs on and off You can use GENIE to turn outputs 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 six LEDs on outputs Q0 to Q5 (in addition to the green LED on output ST) as well as a medium-power output on Q7. Double-clicking on an output command allows you to control these signals, for example: Making sounds or playing tunes GENIE microcontrollers can make sounds and also play musical tunes. Use the SOUND command to play a single note. Use the TUNE command to play a whole musical tune. The activity kit has a sounder connected to output Q6. To make a sound, you could use the SOUND command as follows: This will light the green LED connected to that output. In addition to changing the output, you can also add a delay (GENIE programs run very quickly and without a wait, sometimes signals change too fast for you to see!). The flowchart on the right uses the HIGH and LOW commands to turn the green LED on output Q0 on and off. It loops back to make the flashing repeat. This would play the note middle C for one second. By playing two different notes (one after the other, as shown on the right), you can create an alarm. In this flowchart, a green LED (Q0) is also flashed to give a visible as well as audible alarm. You can use the TUNE command to play a whole tune such as a mobile telephone ring tone. For better quality sound and music, you may wish to consider the GENIE 14 Audio Kit. Page 4 of 8 118 GENIE 18 Activity Kit.pdf Version 1.5

Telling the GENIE your wishes 5 Responding to digital signals Some types of 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 (high) or off (low). 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. Responding to analogue signals Other types of signal, such as temperature or light, can be at a number of different levels. These are known as analogue signals. Use the ANALOGUE command to respond to analogue signals. The ANALOGUE command allows you to check if a signal lies within a given range. With GENIE, analogue levels can vary between 0 (the lowest level) and 255 (the highest). Double-click on the command to select a sensor to check and a range. GENIE will follow the Y (yes) path when the signal is in range, otherwise it will follow the N (no) path. For example, to test if the light sensor on analogue signal A0 is between 0 and 100, you should enter the following: The above pattern will test if the push switch on digital input D6 is on (pressed). You can see below how to light the green LED on output Q0 whenever the switch is pressed: In a flowchart, this would look like: Page 5 of 8 118 GENIE 18 Activity Kit.pdf Version 1.5

Bringing the GENIE to life 6 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 green status LED on the activity 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 6 of 8 118 GENIE 18 Activity Kit.pdf Version 1.5

Troubleshooting 7 If you are unable to connect to the 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 4.5 volts to 6 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 18-pin GENIE board or kit if you have one available. When powering up this circuit, the green STATUS LED 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 7 of 8 118 GENIE 18 Activity Kit.pdf Version 1.5

The technical bit... it s only needed if you want to learn more! More information 8 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 1N4001 PR ST 0V D6 D7 100k 1k MPSA14 Q7 22k Q6 (Sounder) 1N4148 4.5-6V A/D0 A/D1 (LDR) D2/A A/D1 ST A/D0 PR D7 R D6 0V +V Q0 Q7 Q1 Q6 Q2 Q5 Q3 Q4 GENIE E18 GENIE E18 Q5 (Red LED) Q4 (Yellow LED) Q3 (Green LED) A/D2 220µ F Q2 (Red LED) 100nF 4.7k Q1 (Yellow LED) 10k RESET STATUS Q0 (Green LED) Page 8 of 8 118 GENIE 18 Activity Kit.pdf Version 1.5