1 Applied Control Systems Technology. 2 Pin configuration Applied Control Systems.

Post on 11-Jan-2016

219 views 1 download

Tags:

transcript

1

Applied Control Systems

Technology

2

Pin configuration

Applied Control Systems

3

Connection of variable resistor / potentiometer

Analogue pin connections

Input 0 – Pin 17

Input 1 – Pin 18

Input 2 – Pin 1

Applied Control Systems

4

5

Analogue to Digital conversion

PICAXE 18X: -

Internal 8 bit analogue to digital converter (28 = 256)

Possible Voltage input range:- 0v – 5v

Possible conversion :- 0 – 255

Examples: - 0v = 0, 5v = 255, 3v = 153

Conversion formula: -

Input voltage *255

Supply voltageConversion =

Applied Control Systems

6

Connection of Light Dependant Resistor

Applied Control Systems

7

Applied Control Systems

8

Applied Control Systems

9

Applied Control Systems

Voltage Regulator

10

Applied Control Systems

Voltage Regulator with Diode

11

Applied Control Systems

5V to pin 14

0V to pin 5

12

Applied Control Systems

13

Applied Control Systems

14

Measure the input voltage.

15

Measure the output voltage from the 7805

16

Applied Control Systems

Adding Capacitors

17

Applied Control Systems

Reset Switch

18

Applied Control Systems

Reset Switch

19

Applied Control Systems

Reset Switch – pin 4

20

What happens when the reset is pressed and released?

21

Applied Control Systems

Resonator

22

Generic components

1. Power supply

2. Download cable

3. Reset connection

4. Available Inputs

5. Available Outputs

Applied Control Systems

23

Generic components

1. Power supply

2. Download cable

3. Reset connection

4. Available Inputs

5. Available Outputs

Applied Control Systems

24

Applied Control Systems

Using Outputs

25

Applied Control Systems

Transistor driver output

26

27

What happens when input 7 is pressed and released?

28

Set output 7 high for 2sec- low for 2sec – loop continually

29

Applied Control Systems

PICAXE 18X Project Board (5 inputs, 8 outputs)

Inputs

4 Terminal blocks

1 Digital thermometer

Outputs

6 LED outputs

Two transistor driven terminal blocks

30

Applied Control Systems

Inputs Outputs

(a)

(b)

Use circuit No. 8 to help complete the diagram

31

Applied Control Systems

Green

YellowwRed

Green

Yellow

Red

32

33

Applied Control Systems

34

Applied Control Systems

35

Applied Control Systems

Inputs Outputs

36

Applied Control Systems

Inputs Outputs

Identify your input and output needs