Description: Another method that helps program development besides a dot LED as the output device is a serial bit. With a serial transmission to a terminal emulator program, developer may then test program running easier than a dot LED. One of my circuit uses PIC16F84 having one bit for sending ascii character with "printf" function. The PIC16F84 provides a very convenient way of connecting serial data to terminal. We may use a 1K resistor connects RB1, say to RxD pin of COM1 directly. As shown above diagram, my PIC circuit uses a transformerless DC supply. Direct connection is then not recommended for safety. The ground voltage difference between two circuits may destroy the RS232 converter chips.
The described circuit utilizes a PIC16F84 microcontroller to facilitate serial communication, allowing for effective program testing through a terminal emulator. The microcontroller is configured to transmit ASCII characters using the "printf" function, which simplifies the process of debugging and monitoring program execution.
In this setup, the RB1 pin of the PIC16F84 is used to send data. A 1K ohm resistor is employed to connect this pin to the RxD pin of a COM1 port, ensuring that the signal levels are compatible and reducing the risk of damage to the microcontroller or the receiving device. It is important to note that direct connections without proper interfacing can lead to issues due to potential differences in ground voltage between the PIC circuit and the terminal device, which may harm RS232 converter chips.
For power supply, a transformerless DC supply is utilized, which is a common choice for low-power applications. However, caution is advised when using transformerless designs, as they can expose the circuit to high voltages and may not provide adequate isolation. It is recommended to incorporate additional protective components, such as opto-isolators or voltage level shifters, to mitigate risks associated with voltage differences and ensure safe operation.
Overall, this circuit design exemplifies a straightforward method for integrating serial communication capabilities into microcontroller applications, enhancing the development and testing process while highlighting the importance of safety and proper interfacing in electronic designs.Another method that helps program development besides a dot LED as the output device is a serial bit. With a serial transmission to a terminal emulator program, developer may then test program running easier than a dot LED.
One of my circuit uses PIC16F84 having one bit for sending ascii character with "printf" function. The PIC16F84 provides a very convenient way of connecting serial data to terminal. We may use a 1K resistor connects RB1, say to RxD pin of COM1 directly. As shown above diagram, my PIC circuit uses a transformerless DC supply. Direct connection is then not recommended for safety. The ground voltage difference between two circuits may destroy the RS232 converter chips.
This transformerless power supply circuit is designed for medium current applications. During the negative half period, the capacitor C5 is charged to the peak voltage of the network. The positive half wave will trigger the thyristor, allowing the electric charge...
This device can be interfaced with various adapters, including a keypad adapter (optional), an RF receiver (optional), or via the internet (optional). It can also be adapted to operate with other external attachments.
The device features multiple interfacing options, enhancing its...
This transformerless power supply circuit is designed for medium current applications. During the negative half period, the capacitor C5 is charged to the peak voltage of the network. The positive half wave will trigger the thyristor, allowing the electric charge...
A universal Windows-based software designed to work with any serial programmers for the PIC16F84, known as WPicProg16 V1.20. It is recommended to build this programmer before starting various interesting projects with the F84. Some PIC programmers support in-circuit programming, while...
This circuit was designed to control a 32 channel Christmas light show from the PC serial port. Originally designed with TTL logic, it has been simplified using CMOS circuits to reduce component count. It is a fairly simple, reliable circuit...
The F84 MRTC was my second design of a miniature real-time controller. This version uses PIC16F84 running with a low power X-tal 32,768Hz. The scheduler for 6-channel output was saved in EEPROM. No terminal for serial downloading of the scheduler....
A small biped walker constructed from 2mm plywood, powered by two RC servos. It utilizes the widely available and programmable flash microcontroller PIC16F84. This simple circuit is designed to program the PIC16F84 and similar flash memory components. The project includes...
WARNING: Do not touch any part of the circuit when it is running (connected to the power line); this circuit is not isolated from the mains supply.
This circuit operates directly connected to the mains supply, which poses a significant risk...
The Microchip PIC 16C84 was one of the first serial in-system programmable microcontrollers. PIC serial programmers were published in electronic magazines in 1993. Currently, numerous PIC programmer circuits for serial and parallel PC ports are available on the Internet. Despite...
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