In the winters of Glasgow, our team found roads always icy and slippery. Some people slip on roads because of ice and snow. So we decided to construct a system to prevent these accidents.
This project aims to prevent the formation of ice or snow by using brine as the anti-icing agent. Utilising the humidity and temperature sensor to detect the environmental conditions, the sprinkler spreads the brine water which is controlled by Raspberry Pi. IR sensor is used to detect people and animals. When it detects people, the sprinkler turns off.
1. IR sensor: HC-SR501 PIR Motion Detector
- Voltage: 5V – 20V
- Power Consumption: 65mA
- TTL output: 3.3V, 0V
- Lock time: 0.2 sec
- Trigger methods: L – disable repeat trigger, H enable repeat trigger
- Sensing range: less than 120 degree, within 7 meters
- Temperature: – 15°C ~ +70°C
- Dimension: 32*24 mm, distance between screw 28mm, M2, Lens dimension in diameter: 23mm
2. Humidity and temperature sensor: DHT22(AM2302)
- Low cost
- 3 to 5V power and I/O
- 2.5mA max current use during conversion (while requesting data)
- Good for 0-100% humidity readings with 2-5% accuracy
- Good for -40°C to 80°C temperature readings ±0.5°C accuracy
- No more than 0.5 Hz sampling rate (once every 2 seconds)
- Single-bus data is used for communication between MCU and DHT22, it costs 5ms for single time communication.
3. Brushless DC Motor Pump Decdeal QR50E
- Low cost and Versatile
- 12V 5W Rating
- 280l/H pump quantity
- can handle different types of solutions including salt water (brine) and oil at various temparatures
- Clone the repository.
- Copy the Code/html to /var/www/html
- In the Code folder, the main file can be executed.
- If you changed the input/output pin number, you can use CMake to rebuild the main file.
- Open browser enter the address of raspberryPi to access the user interface.
More information in WIKI
Criteria for assessment: Criteria
Course name Real Time Embedded Programming, in association with University of Glasgow.
Course convener: Dr. Bernd Porr