Skip to content

Latest commit

 

History

History
68 lines (43 loc) · 2.01 KB

stadium.markdown

File metadata and controls

68 lines (43 loc) · 2.01 KB

Stadium

Stadium

The LEGO Group. (n.d.). Football-stadium™. Retrieved 2022, from https://www.lego.com/en-ca/product/real-madrid-santiago-bernabeu-stadium-10299

Description

The [Football Stadium] (https://www.lego.com/en-ca/product/real-madrid-santiago-bernabeu-stadium-10299) Th main idea behind this project is to create a stadium and build in some lights which go “ON” or “OFF” as per the light hits the sensor and to build in some speakers to make some crowd noise such that a game is going on.

Requirements

1.Lights 2.A hub 3.Color and distance sensor 4.Remote Control and Sound Kit

Lights

The lights are going to be attached to the hub to provide illumination to the stadium.

Lights

Ev3 Brick

This is the brains of whole contraption; the ev3 brick will be plugged into the computer and will send the code to the hub which will process and send it to the lights and components.

ev3 Brick

Color and distance sensor

This would be used as a daylight sensor which will constantly calculate the brightness in nits. When the nits dropped below 150 then the lights will turn on.

Color and distance sensor

Remote Control and Sound Kit

This will be plugged into the hub and used to be create ambient noise at set interval of time.

Remote Control and Sound Kit

Pseudocode

In this example, the location is only available when recently requested:

1. For Lights
IF (sensor > 150 nits) THEN
Turn_lights = ON
ELSE
Turn_lights = OFF
2. Speaker
For Time = 3 hours + Prev_Time
Turn_Speaker = ON
Run Scripts(2 min)
Then Run the loop again every 3 hours.

➔ Back to Hackathon