Insulin is a life-critical medication that loses potency if exposed to extreme temperatures (below 2°C or above 8°C). In schools and workplaces, shared refrigerators often lack monitoring, putting users at risk. This project creates a Smart Cold Chain Monitor using LoRaWAN. By placing a specialized probe inside the storage unit, the system tracks temperature fluctuations in real-time and sends instant alerts (SMS/Email) to school nurses or staff if the "Safe Zone" is breached, ensuring medication safety and preventing financial loss.
1. Planning and "Thermal Buffering"
Concept: Air temperature changes rapidly when a fridge door opens, causing false alarms. Insulin liquid changes temperature slowly.
Design: We will immerse the DS18B20 probe in a small bottle of water/glycol. This "thermal buffer" ensures we measure the medicine's temperature, not the air.
2. Hardware Assembly
Connect the DS18B20 probe to the microcontroller (VCC, GND, Data Pin).
Add the 4.7kΩ resistor between VCC and Data (required for the 1-Wire protocol).
Placement: Mount the main unit (Antenna & Battery) on the outside of the fridge to ensure the LoRa signal isn't blocked by the metal casing (Faraday cage effect).
Run the probe wire through the door seal into the interior.
3. Programming the "Safe Zone"
Set thresholds in the code or cloud:
Lower Limit: 2°C (Freezing destroys insulin instantly).
Upper Limit: 8°C (Ideal storage).
Critical Upper: >25°C (Room temp spoilage).
Program the device to wake up every 10 minutes, read the temp, and send data.
4. Connectivity & Calibration
Connect to TTN.
Calibration: Compare readings with a calibrated medical thermometer. Adjust the offset in the code if necessary (+/- 0.5°C).
5. Dashboard and Alerts
On Datacake, set up a "Rule":
IF Temperature > 8.5 OR Temperature < 1.5 THEN Send Email to nurse@school.edu.
Create a chart showing the 24-hour temperature history for audit purposes.
6. Reliability Testing
Simulate Failure: Take the probe out of the fridge and hold it in your hand. Watch the dashboard trigger an alarm as it crosses 8°C.
Power Loss Test: Unplug the fridge and measure how long the "thermal buffer" keeps the insulin safe (useful data for power outage protocols).







_M6kErcYJ84.png?auto=compress%2Cformat&w=40&h=40&fit=fillmax&bg=fff&dpr=2)
Comments