Description: The dual-channel thermometer is a simple project based on a PIC microcontroller with ADC capabilities. It is an inexpensive thermometer that utilizes low-cost components and does not require high-sensitivity or expensive sensors. Instead, it employs a simple silicon diode as the temperature sensor. The dual-channel feature allows for temperature measurement from two different locations, with the results displayed on a PC using C#.NET programming. To minimize costs, the project interfaces with the PC solely through a parallel port, eliminating the need for additional display devices such as an LCD or seven-segment display. The circuit for this project is straightforward, utilizing commonly available components from the local market. Two 1N4148 diodes serve as temperature sensors, with their anodes connected to VCC via 1kΩ resistors, which provide sufficient current for the diodes. The anodes of the diodes are also connected to the ADC channels of the PIC microcontroller, specifically channels 2 and 3. To measure temperatures from two different locations, the diodes can be placed in those locations. The ADC output from the PIC is sent to PORTB, which is connected to the data port of the parallel port. To obtain two different values from the ADC inputs, a control port of the parallel port is used for switching between the two ADC inputs. The programming of the PIC is performed using the mikroC compiler, which simplifies the coding process. A demo version of the compiler is available for download from their website. The firmware for the dual-channel thermometer is also provided.
The dual-channel thermometer circuit employs a PIC microcontroller, specifically one with integrated Analog-to-Digital Converter (ADC) capabilities, to facilitate temperature measurements. The choice of the 1N4148 diode as a temperature sensor is based on its adequate sensitivity and availability, making it an ideal low-cost solution for this application. The circuit configuration begins with the connection of two 1N4148 diodes, which are strategically placed in the desired measurement locations. Each diode's anode is connected to a positive voltage supply (VCC) through a 1kΩ resistor, ensuring that the diodes receive sufficient current for accurate operation.
The output from each diode is routed to specific ADC channels on the PIC microcontroller—channels 2 and 3—allowing the microcontroller to read the voltage drop across each diode, which corresponds to the temperature at their respective locations. The ADC converts this analog voltage into a digital signal, which is then sent to PORTB, a parallel port data bus on the PIC. This connection enables the microcontroller to transmit the digital temperature readings to a PC.
To facilitate the selection of the appropriate ADC channel for reading, the control port of the parallel port is utilized. This control mechanism allows the microcontroller to switch between the two ADC inputs, ensuring accurate readings from both sensors. The data is processed and displayed on a PC using a C#.NET application, which interprets the digital signals received from the PIC.
Overall, this project exemplifies an efficient and cost-effective approach to temperature measurement using commonly available electronic components, leveraging the capabilities of the PIC microcontroller and parallel port communication for data display and analysis. The use of mikroC for programming simplifies the development process, allowing for straightforward implementation and testing of the firmware required for the dual-channel thermometer.Dual channel thermometer is simple PIC ADC based project. It`s a inexpensive thermometer with low cost components. Don`t used any high sensitive or high cost sensor for thermometer. I am using only simple silicon diode. Dual channel means this thermometers have two sensor for pinking temperature from two different place and it displayed on PC usin g C#. Net programming. To reduce cost I am used only parallel port for interfacing with PC. There is no any additional display devices such as LCD or seven segment display etc. Simply I draw circuit for this project. You can see that there is no any high cost devices, they are only commonly available components in local market. Two 1N4148 diode is used as temperature sensor. The anode of diodes connecting to VCC through a1K resistors, these resistors are sufficient to flow current through the diodes.
Then connect anode of the diode to PIC ADC channels. I am using channel 2 and 3. If you want to measure temperature from two different place just place these diodes to two different places. The ADC output from the PIC put to PORTB. The PORTB connected to data port of the parallel port. To measure two different values from ADC input we are using a control port of the parallel port for switching between two different ADC input.
I am using mikroC compiler for PIC programming. It is very easy to coding in mikroC. You can download demo version from their website. Here is PIC fimware for dual channel thermometer.
The design originated from the interest in discovering a new technique for analog to digital conversion. The two types of ADC (Analog to Digital Converter) that influenced the development of this circuit are the Flash Type ADC and the Successive...
The circuit operates based on a desired temperature setting. It can be utilized for various applications, such as turning on a fan at a specified temperature or activating an emergency temperature alarm. The power supply for the circuit can be...
The successive approximation Analog to Digital Converter (ADC) is one of the most common types of ADC. It requires few components and is straightforward to operate. Additionally, it always takes the same amount of time to calculate the result. Essentially,...
Tom Au-Yeung and Wilson Tang from Maxim Integrated Products describe a method to create a wireless temperature monitoring system using two integrated circuits (ICs). This system can be designed utilizing a local temperature sensor along with an amplitude-shift-keying (ASK) transmitter...
Interfacing the LM335A temperature sensor with A/D converters involves measuring temperature using the LM35 and LM335A sensors alongside the 9S12 HCS12 microcontroller. This process includes analyzing both calibrated and uncalibrated temperature errors of integrated circuit temperature sensors.
The LM335A is a...
This content is highly technical and involves Analog-to-Digital Converters (ADCs), Field Programmable Gate Arrays (FPGAs), and advanced electrical design. If this topic does not resonate with you, it is advisable to skip the remainder of this blog post. An update:...
Measuring range: room temperature is -10 to 40 degrees Celsius; body temperature is 36 to 41 degrees Celsius; Resolution: room temperature is 0.5 degrees Celsius, body temperature is 0.05 degrees Celsius; error: room temperature <1 degree Celsius, body temperature <0.1 degrees Celsius. When switch S1 is in position 1, it displays the room temperature profile; position 2 displays the body temperature profile. Components V1, R1, R2, RP1, and RP2 form the temperature measurement circuit.
The temperature measurement circuit is designed to monitor and display two distinct temperature ranges: ambient room temperature and body temperature. The circuit operates with a measuring range for room temperature from -10 to 40 degrees Celsius and for body temperature from 36 to 41 degrees Celsius. The resolution of the circuit is fine-tuned to provide accurate readings, with a room temperature resolution of 0.5 degrees Celsius and a body temperature resolution of 0.05 degrees Celsius. The specified error margins indicate a maximum deviation of less than 1 degree Celsius for room temperature measurements and less than 0.1 degrees Celsius for body temperature measurements.
The circuit utilizes a switch, S1, which allows the user to select between the two temperature profiles. In position 1, the circuit outputs the room temperature, while in position 2, it outputs the body temperature. The operational components include a voltage source (V1), resistors (R1, R2), and potentiometers (RP1, RP2) that are integral to the measurement process. Resistors R1 and R2 are likely part of a voltage divider network that aids in scaling the temperature sensor output to a readable format. Potentiometers RP1 and RP2 can be used for calibration purposes, allowing fine adjustments to ensure that the readings are accurate within the specified error margins.
The temperature sensor, which is not explicitly mentioned but is assumed to be part of the circuit, converts temperature changes into an electrical signal that can be processed by the circuit. The output from the sensor is conditioned by the resistive components to produce a voltage level that corresponds directly to the measured temperature. This voltage is then displayed on an appropriate display unit, which could be an analog gauge or a digital readout, depending on the design of the circuit.
Overall, this temperature measurement circuit is a practical solution for monitoring both ambient and body temperatures with high accuracy and user-friendly operation through the selection switch.
The temperature detection circuit is illustrated in Figure 10. This circuit comprises a temperature sensor, a voltage-to-frequency (V/F) converter, an oscillator, a control program for testing, an alarm system, and a decoding and display circuit. The temperature sensor used is...
To extend the measurement range of an available ADC (analog to digital converter), autoranging can be utilized. If implemented on multiplexed input, this...
Autoranging is a technique employed in electronic measurement systems to automatically adjust the range of an analog-to-digital converter...
We use cookies to enhance your experience, analyze traffic, and (if you allow) serve personalized ads.
By clicking Accept All, you agree to our use of cookies.
Learn more