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

30
CAMP # 2 ACTIVITIES Copyright © 2020 Matroll Solutions. All rights reserved Matroll Solutions acknowledge that there may be errors or omissions in this publication for which responsibility cannot be assumed. No liability will be accepted for loss or damage resulting from the use of information contained in this documentation or from uses as described. REF : myFlowLab-1602-2 REAL-WORLD PROTOTYPE PROJECTS WITH ARDUINO UNO BUILD

Upload: others

Post on 10-Oct-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

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

Page 2: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

Electronic Prototype projects

Day 1

Page 3: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

C2_P1 Traffic Light Control System

Project #11

Page 4: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

Led 3

+

-

Res

isto

r2

20

oh

m

+

+

-

-

-

Led 2

Led 1

+ -

C2_P1 Traffic light Project #1Circuit diagram

Copyright © 2020 Matroll Solutions.

Page 5: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

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.

Page 6: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

C2_P2_1Running LED blinking Project #2Flow program

Copyright © 2020 Matroll Solutions.

Page 7: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

Electronic Prototype projectsActivity #1

Day 2

Page 8: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

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.

Page 9: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

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.

Page 10: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

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.

Page 11: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

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.

Page 12: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

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.

Page 13: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

Electronic Prototype projectsActivity #2

Day 3

Page 14: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

Led 1+

-

SonarSensor

+ -

Res

isto

r

22

0 o

hm

Gnd -

EchoTrig

Vcc +

C2_P5 Sonar sensor for Distance detection

Copyright © 2020 Matroll Solutions.

Page 15: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

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.

Page 16: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

C2_P6 Distance and Measurement Using Sonar SensorCircuit diagram

Discuss with student other real world applications application

C2_P6

Copyright © 2020 Matroll Solutions.

Page 17: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

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

Copyright © 2020 Matroll Solutions.

Page 18: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

Distance measurement project using Sonar sensorFlow Program

C2_P6_1

20 40

Copyright © 2020 Matroll Solutions.

Page 19: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

C2_P7 Water level measurement project using Sonar sensorWater Level measurement project

Page 20: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

Water level measurement project using Sonar sensor

C2_P7_1

Copyright © 2020 Matroll Solutions.

Page 21: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

Robotic Prototype projects using Servo motor

#1

Day 4

Page 22: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

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.

Page 23: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

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.

Page 24: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

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

CP_P8_1

Copyright © 2020 Matroll Solutions.

Page 25: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

Robotic Prototype projects using Servo motor

#2

Day 5

Page 26: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

C2_P9 Analog Distance indicator Using sonar sensor feedback project

Copyright © 2020 Matroll Solutions.

Page 27: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

C2_P9 Analog Distance indicator Using sonar sensor projectCircuit Diagram

Copyright © 2020 Matroll Solutions.

Page 28: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

Analog Distance indicator Using sonar sensor feedbackFlow Program

C2_P9_1

Example #1

Copyright © 2020 Matroll Solutions.

Page 29: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

Example #2

Analog Distance indicator Using sonar sensor feedbackFlow Program

C2_P9_2

Copyright © 2020 Matroll Solutions.

Page 30: CAMP # 2 ACTIVITIES - myFlowLab Activities.pdf · 2020. 4. 28. · C2_P7 Water level measurement project using Sonar sensor Water Level measurement project

END OF

CAMP # 2ACTIVITIES