background image

This worksheet is copyright © New Wave Concepts Limited. All rights reserved.

It may be photocopied for classroom or non-commercial use.    w

ww

ww

w..ggeenniieeoonnlliinnee..ccoom

m

Page 5 of 8  

®

221188 GENIE 18 Project Kit.pdf  

®

Version 1.5

G

GEEN

NIIEE 1188 PPrro

ojjeecctt K

Kiitt ((PPC

CBB221188))

Telling the GENIE your wishes  

55

R

Reessppo

onnddiinngg tto

o ddiiggiittaall ssiiggnnaallss

Some types of signal, such as push switches, can
only be either on or off. These are known as

ddiiggiittaall signals.

R

Reessppo

onnddiinngg tto

o aannaallo

ogguuee ssiiggnnaallss

Other types of signal, such as temperature or
light, can be at a number of different levels.
These are known as aannaalloogguuee signals.

Use the A

AN

NA

ALLO

OG

GU

UEE command

to respond to analogue signals.

Use the D

DIIG

GIITTA

ALL command to

respond to a digital signals.

The ANALOGUE command allows you to check
if a signal lies within a given range.
With GENIE, analogue levels can vary between 00
(the lowest level) and 225555 (the highest).
Double-click on the command to select a sensor
to check and a range. GENIE will follow the ‘YY’
(yes) path when the signal is in range, otherwise
it will follow the ‘N

N’ (no) path.

For example, to test if a light sensor on analogue
signal A0 is between 0 and 100, you should
enter the following:

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 ‘11’
whereas when it is off, it has the value ‘00’.
Double-click on the command to select which
digital inputs you wish to check. GENIE will
follow the ‘YY’ (yes) path when the digital signal
matches the chosen pattern, otherwise it will
follow the ‘N

N’ (no) path.

The above pattern will test if, for example, a
push switch on digital input D6, for example, is
on (pressed). You can see below how to make
output Q0 high whenever the switch is pressed:

In a flowchart, this would look like:

Содержание PCB218

Страница 1: ...t contains 8 separate transistors that allow each output to control more powerful things Medium power outputs controlled by signals Q Q0 0 to Q Q7 7 Low power outputs signals these are output signals...

Страница 2: ...n and the dot next to pin 1 is at the same corner as the 1 shown on the board The green LED should be fitted so that the flat edge of the LED lines up with the flat edge shown on the board The diode s...

Страница 3: ...n Q0 to Q7 Medium power First of all you need to tell GENIE which type of chip you are using To do this click on the M Mi ic cr ro oc co on nt tr ro ol ll le er r button on the toolbar and choose P Pr...

Страница 4: ...mple Use the H HI IG GH H command to turn a single output on Use the L LO OW W command to turn a single output off Use the O OU UT TP PU UT TS S command to control several outputs The flowchart on the...

Страница 5: ...d to a digital signals The ANALOGUE command allows you to check if a signal lies within a given range With GENIE analogue levels can vary between 0 0 the lowest level and 2 25 55 5 the highest Double...

Страница 6: ...g gr re ee en n s st ta at tu us s L LE ED D o on n t th he e p pr ro oj je ec ct t k ki it t w wi il ll l f fl la as sh h a as s t th he e d do ow wn nl lo oa ad d t ta ak ke es s p pl la ac ce e I I...

Страница 7: ...o on n p pr ro ob bl le em ms s C Ca ab bl le e Circuit Wizard GENIE Design Studio and the GENIE Programming Editor software all check and report problems involving the cable If given follow through o...

Страница 8: ...0V Download Socket 100k 4 5 6V STATUS 10k 330 D7 1N4148 220 F 100nF D6 Q1 Q2 Q3 Q4 Q5 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 ULN2803 Q6 Q7 Q0 A D2 A D1 A D0 D2 A ST PR R 0V Q0 Q1 Q2 Q3 Q4 Q5 Q6...

Отзывы: