ntroduction
In this article, I'll show you one way to make a wireless thermometer using two PIC microcontrollers. One microcontroller, the PIC16F688, will measure voltage from an LM34, convert it to an ADC value, and transmit some data. The receiver will receive the data, and display a message on an LCD.
Sending data with the 433MHz transmitter is easy: in my case, I connect the PIC TX pin to the 433MHz data pin, then the transmitter sends whatever comes out the UART pin.
But receiving the data is the far more difficult part. The receiver will receive everything in its range. To sort out the data we want, we need some sort of protocol or error correction. In previous articles, I have used an Arduino with the VirtualWire library, and I have used a "synchronizing" string in another. In this article, I'm using another technique (this site inspired me). Now, I'm adding parity check to the transmitted data. The parity is being checked at the receiver end. While doing research for this article, I found a site with a VirtualWire library for PIC's. One drawback I found, however, was that this library filled almost all my PICs memory.
Schematic diagrams:
Transmitter:
In the pictures below, you will see a MAX232 IC. This is added for debugging.
Unused pins are not tied to GND or to a testpad. None of the schematics are for production, they are for breadboard only.
for more detail: Make a Wireless Thermometer with a PIC Microcontroller
Related projects
Determine capacitance by measuring the charging time using PIC16F688
When TEST botton is pressed, RA3 pin is set to "1". R2 and R3 are divide the voltage to 1/2 Vra3 which...
Meters & Test Instruments · PIC16F688Digital Oscilloscope using PIC16F688
Far and away my most ambitious project to date, this digital oscilloscope can sample up to four channels at a rate up...
Sensors & Temperature · PIC16F688Digital Thermometer Using PIC16F688 microcontroller
Digital thermometers are cool devices as they show temperatures in human readable formats. This digital thermometer project is based on a PIC16F688...
Wireless & IoTExploring Various Applications of Microcontrollers: A World of Tiny Brains
Exploring Various Applications of Micro Controller Microcontrollers have become ubiquitous in the modern world with applications in nearly every industry. This student...
Wireless & IoTIntelligent Sips: Revolutionizing Dining with the SmartCup
Abstract The SmartCup Attachment is a comprehensive system designed for restaurants to monitor the liquid levels in their customers' cups. This system...
Wireless & IoTMaximizing Wi-Fi Capabilities with the Explorer 16 Development Board
As society progresses, the necessity for wireless communication is evolving from a mere luxury to an essential requirement. Wi-Fi, extending beyond conventional...
