During the winter at 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.Target
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.Setup
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 ~ +70
- 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 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 timecommunication.
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 temperatures
- 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 the browser and enter the address of the Raspberry Pi to access the user interface.
YouTube Video:University of Glasgow
Course name: Real Time Embedded Programming, in association with University of Glasgow. Course convener: Dr. Bernd Porr