Project Hub/Basic Analog & Power Electronics/Power Supplies & Voltage Regulators/Low-Cost Automation Using PIC16F676
Intermediate
PIC
₹500 – ₹1,500
3 – 6 Hours
Low-Cost Automation Using PIC16F676
A low-cost automation system using a PIC16F676 microcontroller and TSOP1738 IR receiver to decode NEC protocol signals for switching devices on and off.
Originally published by Pamarthi Kanakaraja on ElectronicsForU
This automation system centers around the PIC16F676 microcontroller, which coordinates input processing and device switching. Infrared commands are transmitted using an NEC-compatible remote control and captured by a TSOP1738 IR receiver. The TSOP1738 demodulates the incoming 38 kHz carrier frequency from the infrared beam, converting the optical pulses into clean digital data pulses that the PIC16F676 can interpret. Powered by a stable local power supply and supported by passive components like resistors and capacitors for signal filtering and power decoupling, the microcontroller continuously monitors the data line from the IR receiver. When a valid NEC protocol command is received, the firmware executes a predefined logic routine to toggle output states, effectively allowing users to switch connected devices on and off remotely through software instruction.
Why Build This
Develop a practical understanding of infrared communication protocols and signal demodulation for undergraduate engineering applications.
Gain hands-on experience programming baseline 8-bit PIC microcontrollers to process real-world sensor inputs.
Design a foundational remote-control automation interface suitable for managing home and industrial appliances.
Real-World Application
Home and industrial automation for remotely switching appliances and machinery on and off.
Skills You'll Learn
NEC protocol decoding
infrared receiver integration
microcontroller firmware development
digital signal processing
peripheral configuration
Safety Precautions
Exercise caution when interfacing microcontroller circuits with high-voltage mains electricity for appliance control.
Technology Tags
PIC16F676
IR REMOTE
NEC PROTOCOL
TSOP1738
MICROCONTROLLER
EMBEDDED SYSTEMS
AUTOMATION
Ready to build this?
We stock the boards, sensors and modules this project needs. A full parts list is coming soon — for now, browse our DIY Kits & components or search for PIC parts.
What is the purpose of the TSOP1738 in this circuit?
The TSOP1738 detects and demodulates the 38 kHz infrared signals sent by the NEC-compatible remote control, turning them into digital pulses the PIC microcontroller can read.
Can I use any standard television remote control?
You must use an NEC-compatible IR remote control, as the microcontroller's firmware is designed specifically to decode the timing and structure of the NEC protocol.
What software tools do I need to program the PIC16F676?
You will need Microchip development tools and a compatible compiler to write, compile, and flash the code onto the microcontroller.
Gallery
Kitkraft Project Hub — curated from the maker community, credited at the source.