camp # 2 activities - myflowlab activities.pdf · 2020. 4. 28. · c2_p7 water level measurement...

Post on 10-Oct-2020

2 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

CAMP # 2 ACTIVITIES

Copyright © 2020 Matroll Solutions. All rights reserved

Matroll Solutions acknowledge that there may be errors or omissions in this publicationfor which responsibility cannot be assumed. No liability will be accepted for loss ordamage resulting from the use of information contained in this documentation or fromuses as described.

REF : myFlowLab-1602-2

REAL-WORLD PROTOTYPE PROJECTS WITH ARDUINO UNO

BUILD

Electronic Prototype projects

Day 1

C2_P1 Traffic Light Control System

Project #11

Led 3

+

-

Res

isto

r2

20

oh

m

+

+

-

-

-

Led 2

Led 1

+ -

C2_P1 Traffic light Project #1Circuit diagram

Copyright © 2020 Matroll Solutions.

1

2

3

4

6

7

8

7

C2_P1Traffic Light Control Project program

Guide student to write a program to controla Traffic as per sequence below – The UK Standards

C2_P1_1 UK standardC2_P1_2 US standard with blink

Variation: Get the students to program the Traffic Light based on American or any other Standards

Copyright © 2020 Matroll Solutions.

C2_P2_1Running LED blinking Project #2Flow program

Copyright © 2020 Matroll Solutions.

Electronic Prototype projectsActivity #1

Day 2

Led 1

-

Res

isto

r2

20

oh

m

+

-

LightSensor(LDR)

+ -

Res

isto

r1

0K

oh

m

C2_P3 Light Sensor Project #3Circuit diagram

Copyright © 2020 Matroll Solutions.

C2_P3_1 Day/Night Light Project

Using Light Sensor to Turn ON/OFF Light

Get Student to adjust the correctValue read from the sensor to determine day or night

C2_P3_1

Night DayLight Value

200 moreless0 1023

Copyright © 2020 Matroll Solutions.

Get Student to adjust the correctLight sensor value to Turn ON and Fade the LED

Ambient Light DetectionUsing Light Sensor to turn ON and Fade LED

C2_P3_2

C2_P3_1

DayLight Value

350

1023 0

Light Value200 NightDim

Copyright © 2020 Matroll Solutions.

Led 1

+ -

Re

sist

or

22

0K

oh

m

Buzzer

LM35TemperatureSensor

Led 2

C2_P4 Temperature Sensor Project #4Circuit diagram

The LM35 Temperature sensor FLAT surface must face inward. The sensor will gwtextremelyHOT If wrongly connected

+

WARNING

Copyright © 2020 Matroll Solutions.

Fire Alarm System Flow program

Using LM35 Temperature SensorC2_P4_1

Filter 0 from TValue

Convert TValue to Celsius Screen Console

Copyright © 2020 Matroll Solutions.

Electronic Prototype projectsActivity #2

Day 3

Led 1+

-

SonarSensor

+ -

Res

isto

r

22

0 o

hm

Gnd -

EchoTrig

Vcc +

C2_P5 Sonar sensor for Distance detection

Copyright © 2020 Matroll Solutions.

C2_P5_1 Turn On LED when intrusion detectedFlow program

Get Student to adjust the correctDistance, read by the sensor to determine detection

M3_S6_1

Copyright © 2020 Matroll Solutions.

C2_P6 Distance and Measurement Using Sonar SensorCircuit diagram

Discuss with student other real world applications application

C2_P6

Copyright © 2020 Matroll Solutions.

C2_P6_2 Turn ON LED RED when intrusion detectedWithin certain distance else Turn On Green LED

Copyright © 2020 Matroll Solutions.

Distance measurement project using Sonar sensorFlow Program

C2_P6_1

20 40

Copyright © 2020 Matroll Solutions.

C2_P7 Water level measurement project using Sonar sensorWater Level measurement project

Water level measurement project using Sonar sensor

C2_P7_1

Copyright © 2020 Matroll Solutions.

Robotic Prototype projects using Servo motor

#1

Day 4

C2_P8 Car Park Gate using Servo Motor and Sonar SensorWork with student to construct Project #8 - Car park Gate as show below

Copyright © 2020 Matroll Solutions.

C2_P8 The Circuit -Car Park Gate using Servo Motor, LED’s and Sonar SensorCircuit diagram

Help student to prepare the bar and attached it to the servo knob

Copyright © 2020 Matroll Solutions.

Flow Program Car Park Gate using Servo Motor, LED and Sonar Sensor

CP_P8_1

Copyright © 2020 Matroll Solutions.

Robotic Prototype projects using Servo motor

#2

Day 5

C2_P9 Analog Distance indicator Using sonar sensor feedback project

Copyright © 2020 Matroll Solutions.

C2_P9 Analog Distance indicator Using sonar sensor projectCircuit Diagram

Copyright © 2020 Matroll Solutions.

Analog Distance indicator Using sonar sensor feedbackFlow Program

C2_P9_1

Example #1

Copyright © 2020 Matroll Solutions.

Example #2

Analog Distance indicator Using sonar sensor feedbackFlow Program

C2_P9_2

Copyright © 2020 Matroll Solutions.

END OF

CAMP # 2ACTIVITIES

top related