Browse over 10,000 Electronics Projects using the Page Numbering provided at the bottom of each Page.

Two way serial communications using PIC16F877

Two way serial communications using PIC16F877

With this microcontroller it is much easier to connect a switch, because it has dedicated digital i/o ports (b and c).
Unbelievable after all the trouble it took on the 12F675.

Since there is no LED the switch position is relayed to the PC, but only if you press the ‘s’ key (scan or status) on the keyboard. Effectively this means there is two way communications between the microcontroller and the PC.

If the Xwisp programmer is used it can remain in place during serial communications, assuming it is switched to pass through mode using the command

xwisp.py tty 1200

After that the small Xwisp windows shows the communication that is taking place. This works perfectly for testing and debugging. I prefer to use a separate terminal package, as shown in the first picture on this page.

Visit Here for more.

 

More Articles to Read

Single-Sided USB Charger
Single-Sided USB Charger
A FPGA controlled RGB LED MATRIX for Incredible Effects – the Hardware
A FPGA controlled RGB LED MATRIX for Incredible Effects – the Hardware
Using Nanotimers to Reduce IoT System Power Consumption by an Order of Magnitude
Using Nanotimers to Reduce IoT System Power Consumption by an Order of Magnitude
Replace a microwave’s beeping with the Windows XP startup sound
Replace a microwave’s beeping with the Windows XP startup sound
A DIY Laser Scanning Microscope
A DIY Laser Scanning Microscope
Reverse-engineering the surprisingly advanced ALU of the 8008 microprocessor
Reverse-engineering the surprisingly advanced ALU of the 8008 microprocessor
ESP8266 LED lighting: QuinLED v2.6 PCB
ESP8266 LED lighting: QuinLED v2.6 PCB
Switching LVDS Graphics in a Laptop Computer
Switching LVDS Graphics in a Laptop Computer
Teleknitting: TV-based string art
Teleknitting: TV-based string art
DIY Bubble Machine
DIY Bubble Machine
Start your day with Nerf target practice!
Start your day with Nerf target practice!
Teardown of a Peaktech 6225A
Teardown of a Peaktech 6225A

Top




Shares