#PIC16F57
#digital encoder
#RF transmitter
#infrared transmitter
#TTL inputs
#Manchester coding
#ASK radio modules
#microcontroller
#latch control
Digital Encoder with PIC16F57
Description: This encoder can transmit the state of up to 16 TTL digital inputs using an RF or infrared transmitter. When enabled, the included modulator automatically generates the 38kHz IR carrier. Containing a PIC microcontroller, the circuit is very flexible. You can decide which transmitter inputs will trigger a transmission. You can control the receiver outputs to be latched or momentary with the LATCH input. The Manchester-coded transmitter output is well suited for the cheapest ASK radio modules or for infrared control. Address decoding is not yet supported. If you have trouble with programming PIC microcontrollers, you can consider building other circuits based on Holtek HT-12D, HT-12E and Motorola MC145026, MC145027, MC145028 encoders/decoders. More: All the devices use new, FLASH-based microcontrollers, this means that they can be re-programmed many times. You can experiment with the source code settings to fit your needs. The code must be compiled as a linked project under MPLAB. Please check FAQ at the PIC page.
This circuit is designed to encode and transmit the state of up to 16 TTL (Transistor-Transistor Logic) digital inputs, utilizing either RF (Radio Frequency) or infrared (IR) transmission methods. The core of the system is a PIC microcontroller, which provides significant flexibility in configuring the inputs and outputs for various applications.
Upon activation, the integrated modulator generates a 38kHz carrier signal for IR transmission, allowing the system to communicate effectively over short distances. The circuit's design enables the user to specify which of the 16 digital inputs will initiate a transmission, providing tailored control based on the specific needs of the application.
The output from the transmitter employs Manchester encoding, a method that is particularly compatible with low-cost ASK (Amplitude Shift Keying) radio modules and is suitable for infrared control systems. This encoding technique enhances the reliability of data transmission by ensuring that the signal is self-clocking, which is beneficial in noisy environments.
The circuit also includes a LATCH input, which allows the user to configure the behavior of the receiver outputs. This input can be set to control whether the outputs are latched (maintained) or momentary (activated only during the transmission), thus accommodating a range of operational requirements.
It is important to note that the circuit does not currently support address decoding, which may limit its application in more complex systems requiring unique address identification for multiple transmitters.
For those who encounter difficulties in programming the PIC microcontroller, alternative circuits based on Holtek HT-12D, HT-12E, or Motorola MC145026, MC145027, MC145028 encoders and decoders are recommended. These alternatives may provide simpler solutions for users less familiar with PIC programming.
The microcontrollers utilized in this design are FLASH-based, allowing for multiple reprogramming cycles. This feature enables users to modify and experiment with the source code to better suit their specific needs. The programming must be conducted as a linked project using the MPLAB integrated development environment, and users are encouraged to refer to the FAQ section on the PIC page for additional guidance and troubleshooting assistance.This encoder can transmit the state of up to 16 TTL digital inputs using an RF or infrared transmitter. When enabled, the included modulator automatically generates the 38kHz IR carrier. Containing a PIC microcontroller, the circuit is very flexible. You can decide which transmitter inputs will trigger a transmission. You can control the receiver outputs to be latched or momentary with the LATCH input. The Manchester-coded transmitter output is well suited for the cheapest ASK radio modules or for infrared control.
Address decoding is not yet supported. If you have trouble with programming PIC microcontrollers, you can consider builing other circuits based on Holtek HT-12D, HT-12E and Motorola MC145026, MC145027, MC145028 encoders/decoders. All the devices use new, FLASH-based microcontrollers, this means that they can be re-programmed many times. You can experiment with the source code settings to fit your needs. The code must be compiled as a linked project under MPLAB. Please check FAQ at the PIC page.
Standard serial interfacing of a microcontroller (TTL) with a PC or any RS232C standard device requires a TTL to RS232 level converter. A MAX232 is used for this purpose. It provides a 2-channel RS232C port and requires external 10µF capacitors.
The...
Twenty-five musical keys and 25 LEDs are provided to denote F to F" with half notes in between. Memory can store a played tune. There are ten preprogrammed tunes (each has an average of 55 notes) masked in the chip....
Precautions must be taken against low safety coefficients, as the applicable space for security measures continues to shrink. With advancements in science and technology, innovations such as magnetic door sensors, touch-type systems, radar monitoring, and infrared detection have emerged, leading...
This article outlines the construction of a simple microcontroller-based delay circuit designed for photographic applications, such as drop or high-speed photography. It is capable of controlling the trigger lag for cameras and flash units, generating periodic trigger pulses, or managing...
The switch control system utilizes sensors to inform the microcontroller of the trains' positions on the layout. This ensures that only one train occupies the main line at any given time and that switches are correctly set for the train's...
The microcontroller-based water level controller and motor protector manages the on and off states of the motor based on the water level in the overhead tank (OHT). It regulates the tank's water level through a microcontroller, thereby providing automatic protection...
The difference between these two ICs. A microcontroller is a specialized type of microprocessor designed to be self-sufficient and cost-effective, while a microprocessor is typically intended for general-purpose use, such as in personal computers (PCs). The microcontroller integrates several useful...
Application note on designing linear and switch-mode (switching DC-DC converter current source) battery charger applications that require external microcontrollers and related system-level issues for notebook computers.
The application note provides guidance on the design of both linear and switching DC-DC converter...
Efforts were made to minimize the number of wire jumpers on this board, but space constraints arose due to the integration of the microcontroller and motor driver on a single board. The design would have been cleaner without the inclusion...
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