A digital thermometer system designed to detect human body temperature using embedded C programming. The system includes an audible alert that activates when temperature exceeds 40°C (104°F), notifying concerned staff of potentially dangerous fever levels.
- Temperature Monitoring: Real-time body temperature measurement using ADC (Analog to Digital Converter)
- Visual Display: Four-digit seven-segment display showing temperature with one decimal place precision
- Audio Alert: Buzzer alarm activates when temperature exceeds 40°C
- Temperature Range: Measures up to 500°C (though optimized for body temperature detection)
- Programming Language: Embedded C (mikroC PRO for PIC)
- Microcontroller: PIC microcontroller
- Simulation Software: Proteus Design Suite
- Development Board: EasyPIC v7 Development Board
- Hardware Components:
- Temperature sensor (Analog input on RB0)
- Seven-segment display (4-digit, common cathode)
- Buzzer (connected to RC2)
- Port A (LATA): Seven-segment display multiplexing control
- Port B (RB0): Analog input for temperature sensor
- Port C (RC2): Buzzer output
- Port D: Seven-segment display data output
- The ADC reads the analog temperature sensor value (10-bit resolution)
- The value is converted to temperature:
Temperature = (ADC_value / 1024) × 500 - Temperature is displayed on four seven-segment displays
- If temperature exceeds 40°C, the buzzer activates
Thermometer.c- Main source code in CThermometer.asm- Generated assembly codeproteus/Thermometer.pdsprj- Proteus simulation project- Various mikroC project files (.mcppi, .cfg, etc.)
- Open
Thermometer.mcppiin mikroC PRO for PIC - Build the project to generate hex file
- Open
proteus/Thermometer.pdsprjin Proteus - Load the generated hex file into the microcontroller in Proteus
- Run the simulation
This project is licensed under the MIT License - see the LICENSE file for details.
