Smart City Environment monitor + Bonus

Feeling like it’s an easy project?
Scroll down to the bottom of the page to see the next-level products for that project!

Originally posted on Make2Learn: https://make2learn.tinkergen.com/projects/projectDetails/?project=29095c16-a517-44a3-8b33-4f7ea50eabf6

Materials Required: 

Grove Zero hardware

Grove Zero Bluetooth DongleX1
Grove Zero BatteryX1
Grove Zero Light SensorX1
Grove Zero MP3 PlayerX1
Grove Zero Sound SensorX1
Grove Zero Temperature SensorX1
RGB LED MatrixX1
3.5mm sound input playerX1

Other Materials:

  1. Tools: Ruler (20cm), pencil, craft knife, scissors, hot-glue gun(20w), Laser cutter

2. Accessory tools: paint(s), colored cardboard, colored pens, tubular rivets, Base board 

3. Materials: Acrylic board, wooden board

Programming software: 

Codecraft https://ide.tinkergen.com/

Project Summary: 

In future cities, we will use Light Sensor, Sound Sensor, and Temperature Sensor to detect the environmental condition. And then send the data onto the RGB display.

If the data detected by Light Sensor is too high, the MP3 Player will play a warning prompt, indicating people to be careful of strong sun light and sun protection.

If the data detected by Sound Sensor is too high, then MP3 Player will prompt that noise is too high and people to close their doors and windows.

If the data detected by Temperature Sensor is too high, the MP3 Player will indicate temperature is high and warn for those who wish to go out. You can install the modules on tall buildings to collect the most accurate data information. 

Programming: 

A single Grove Zero module cannot implement the project. Only by combining the required modules and programming them accurately, we can achieve the capability we desire. Before we design the appearance for this project, we need to first write the program for the Grove Zero Bluetooth Dongle. 

1)Open Codecraft(https://ide.tinkergen.com/);

Create a new project

All the blocks will be used in this project can be found here:

First, we will drag “When start” Block to coding area

Then add “Forever” block to the sequence. Next make the command that if the Light Sensor detects value more than 300, then the MP3 Player will play ‘soundtrack 1’. And RGB LED Matrix show string of Light Sensor light level. Check the complete program in below picture.

After we are finished with the program, we can upload the program to the Bluetooth Dongle.

Tutorial for connecting Main Board to PC: (https://docproxy.tinkergen.com/web/#/2?page_id=144)

Tutorial for uploading: (https://docproxy.tinkergen.com/web/#/2?page_id=147)

Make the appearance: 

Once we’ve finished with the program part, we can start on the appearance part. 

First download the DXF file from attachment. Use laser cutter on wooden boards to cut out the shapes based on the blueprint. Then prepare 4 acrylic boards with the length of 1cm smaller than the cut-out parts. Glue the acrylic boards on the cut-out parts. Then combine the boards together to a cuboid shape, and we will have the main building for this project. You can design the building with colors and any other tools you prefer. Last step is to stabilize the Grove Zero modules on the outside of the building. And voila! The monitoring system is complete. 

Finally, test out whether the Sensors, RBG LED matrix and MP3 player works properly. 

And we’ve successfully completed another project. 

For those of you who are willing to make a new step in DIY projects, our parent company Seeed provides wide spectrum of products for makers and enthusiasts. Everything from small and powerful development board (Wio Terminal), up to industrial level equipment (SenseCAP).  

With Wio Terminal you can not only view data on it’s display, but thanks to the Wi-Fi and Bluetooth modules on the board, you can connect your IoT projects to the cloud. Wio Terminal allows starters build the first IoT project with no hassle.

If you interested in Wio Terminal or already heard about it, please consider to fill
our survey to make a big contribution to our company and our future products!

SenseCAP is focusing on wireless environmental sensing applications. It is an ultimate solution that consist of hardware products (sensors, data-loggers & gateways, etc.), software services (SenseCAP portal, mobile App, open dashboard), and API for device & data management.

Visit Seeed’s website for more info about these and many other products for advanced makers and developers!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s