Arduino Environmental Alert System
This project uses an Arduino Uno R3 with a temperature and humidity sensor to monitor environmental conditions in real time.
Created by
mavory
Tier 4
38 views
1 follower
alexren ⚡🚀
approved Arduino Environmental Alert System ago
Tickets awarded: 120 tickets
Tier: 4
hi there! awesome project. you should send a video in #blueprint!
CAN ⚡🚀
submitted Arduino Environmental Alert System for review ago
mavory
submitted Arduino Environmental Alert System for review ago
mavory
added to the journal ago
Arduino Pinout Documentation
I finished the schematic for Arduino UNO R3 and also replaced the .stl files with .step files.
In total, it took me about 1.5 hours and I hope it goes well!

technical_.
requested changes for Arduino Environmental Alert System ago
Your CAD files must be in .STEP.
In addition please make a circuit diagram detailing how you connected the peripherals to the Arduino pinout.
mavory
submitted Arduino Environmental Alert System for review ago
mavory
added to the journal ago
Arduino Environmental Alert System Completed
After about 13 hours of work, I finished this project. Everything works and fits.
I'm very glad it works! Here is a picture of what it looks like in the end:

How it works:
The DHT11 sends information to the Arduino, which is programmed to send information at 9600. It is then taken over by python code, which monitors the information and if the temperature/humidity is outside the allowed range, it sends an email!
.png)
Here is an example of what the email looks like:

Libraries:
- Wire.h
- LiquidCrystal_I2C.h
- ThreeWire.h
- RtcDS1302.h
- DHT.h
mavory
added to the journal ago
Finishing the little things
I already printed the top part. I put it on top of it and it fit perfectly. I saved the Python code and created a code in Google settings so I could send emails.I was looking for that setting for a while, but after some time I found it.

mavory
added to the journal ago
Assembling and inserting components into the case
When the bottom part was printed, I took it off the printer and prepared a breadboard and components so I could put them inside. It all worked out, but there were a few problems...
The holes for the LEDs were too small, so I had to grind them down and they ended up getting in there. I also kept disconnecting the cables from the components, but I fixed that. Then I had it all ready and tested to see if everything worked. And it did!
Just print the top part, tweak a few things, set the code and everything should hopefully work.

mavory
added to the journal ago
Python code
Meanwhile, while the bottom part was printing, I started creating python code that would take values from the Arduino and then send emails using Google Code. At first I didn't know how to do it, but then I added things gradually and it became a working code.

mavory
added to the journal ago
3D model printing and connection test
Once I had the code without errors (hopefully), I could start testing if everything is working properly. I tested if the RTC is showing a good date, and it is. I also tested the sensor to see if it is sending good information and it seems that everything is working perfectly so far!
In the meantime, I printed the bottom part so it would be finished as soon as possible.

mavory
added to the journal ago
Coding a script for Arduino
After editing the 3D case, I jumped into coding the Arduino. I just wanted the basic logic for the system to send information to the serial monitor, which would then be taken over by the python code, which would then do more things.
I experimented with libraries a few times, but after a while I decided to use the ones in the picture now.

mavory
added to the journal ago
3D case editing
Unfortunately I found a minor problem that I hadn't noticed before. The DHT11 connection is completely extruded, so I had to adjust a few things on the bottom and it should be good now.

mavory
added to the journal ago
Connecting components
When I had the 3D case ready, I started connecting the components. A few times some of the cables fell out, but that was probably the worst problem.

Wiring
DHT11 Sensor
- GND: GND
- VCC: 5V
- DATA: D5
LCD Display
- GND: GND
- VCC: 5V
- SDA: A4
- SCL: A5
Buzzer
- Pin: D6
- GND: GND
Green and red led
- Green: D8
- Red: D9
- GND: GND
Clock module
- GND: GND
- VCC: 5V
- CLK: D4
- DAT: D3
- RST: D2
mavory
added to the journal ago
3D case modeling
After testing the components, I jumped into making the 3D case. I took all my measurements and started modeling the bottom part. I gave each piece a small tolerance so it would fit nicely. When I had the bottom finished, I just tried it out to see if everything fit and it did! So I moved on to the top part, which was easy to model.
mavory
added to the journal ago
Problem with Clock module
I started testing all the components to see if they worked. The LCD worked, the Buzzer too... But I forgot to set the RTC, so it told me that today is the year 2087 😭
This: 2087-31-12 03:27:00
I solved the problem by resetting the RTC and I was able to continue building.

mavory
added to the journal ago
Preparing things
Next, I started creating a GitHub repo and created folders. I also found all the parts so I could put it together. I thought for a while about using RTC, but I got over it and used it. 
mavory
added to the journal ago
The beginning and the idea
I thought I would create a system that would monitor temperature and humidity using Arduino and then send the information to Gmail. First I drew everything and started working on it:

(I know, it's terrible)
mavory
started Arduino Environmental Alert System ago
12/6/2025 11:27 PM - The beginning and the idea
I thought I would create a system that would monitor temperature and humidity using Arduino and then send the information to Gmail. First I drew everything and started working on it:

(I know, it's terrible)
12/6/2025 11:30 PM - Preparing things
Next, I started creating a GitHub repo and created folders. I also found all the parts so I could put it together. I thought for a while about using RTC, but I got over it and used it. 
12/6/2025 11:46 PM - Problem with Clock module
I started testing all the components to see if they worked. The LCD worked, the Buzzer too... But I forgot to set the RTC, so it told me that today is the year 2087 😭
This: 2087-31-12 03:27:00
I solved the problem by resetting the RTC and I was able to continue building.

12/6/2025 11:50 PM - 3D case modeling
After testing the components, I jumped into making the 3D case. I took all my measurements and started modeling the bottom part. I gave each piece a small tolerance so it would fit nicely. When I had the bottom finished, I just tried it out to see if everything fit and it did! So I moved on to the top part, which was easy to model.
12/7/2025 12 AM - Connecting components
When I had the 3D case ready, I started connecting the components. A few times some of the cables fell out, but that was probably the worst problem.

Wiring
DHT11 Sensor
- GND: GND
- VCC: 5V
- DATA: D5
LCD Display
- GND: GND
- VCC: 5V
- SDA: A4
- SCL: A5
Buzzer
- Pin: D6
- GND: GND
Green and red led
- Green: D8
- Red: D9
- GND: GND
Clock module
- GND: GND
- VCC: 5V
- CLK: D4
- DAT: D3
- RST: D2
12/7/2025 9:37 AM - 3D case editing
Unfortunately I found a minor problem that I hadn't noticed before. The DHT11 connection is completely extruded, so I had to adjust a few things on the bottom and it should be good now.

12/7/2025 9:44 AM - Coding a script for Arduino
After editing the 3D case, I jumped into coding the Arduino. I just wanted the basic logic for the system to send information to the serial monitor, which would then be taken over by the python code, which would then do more things.
I experimented with libraries a few times, but after a while I decided to use the ones in the picture now.

12/7/2025 10 AM - 3D model printing and connection test
Once I had the code without errors (hopefully), I could start testing if everything is working properly. I tested if the RTC is showing a good date, and it is. I also tested the sensor to see if it is sending good information and it seems that everything is working perfectly so far!
In the meantime, I printed the bottom part so it would be finished as soon as possible.

12/7/2025 11 AM - Python code
Meanwhile, while the bottom part was printing, I started creating python code that would take values from the Arduino and then send emails using Google Code. At first I didn't know how to do it, but then I added things gradually and it became a working code.

12/7/2025 1 PM - Assembling and inserting components into the case
When the bottom part was printed, I took it off the printer and prepared a breadboard and components so I could put them inside. It all worked out, but there were a few problems...
The holes for the LEDs were too small, so I had to grind them down and they ended up getting in there. I also kept disconnecting the cables from the components, but I fixed that. Then I had it all ready and tested to see if everything worked. And it did!
Just print the top part, tweak a few things, set the code and everything should hopefully work.

12/7/2025 2:33 PM - Finishing the little things
I already printed the top part. I put it on top of it and it fit perfectly. I saved the Python code and created a code in Google settings so I could send emails.I was looking for that setting for a while, but after some time I found it.

12/7/2025 2:50 PM - Arduino Environmental Alert System Completed
After about 13 hours of work, I finished this project. Everything works and fits.
I'm very glad it works! Here is a picture of what it looks like in the end:

How it works:
The DHT11 sends information to the Arduino, which is programmed to send information at 9600. It is then taken over by python code, which monitors the information and if the temperature/humidity is outside the allowed range, it sends an email!
.png)
Here is an example of what the email looks like:

Libraries:
- Wire.h
- LiquidCrystal_I2C.h
- ThreeWire.h
- RtcDS1302.h
- DHT.h
12/9/2025 - Arduino Pinout Documentation
I finished the schematic for Arduino UNO R3 and also replaced the .stl files with .step files.
In total, it took me about 1.5 hours and I hope it goes well!
