Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Load the bits into a parallel load shift-register, and then serially send them to another shift-register with parallel output, such as the 4035.
You could also use a UART such as the 16550.
The pic16f88 has an uart. You can use that to send data serially. However, thats pin RB2 and RB5 for Rx and Tx. You have have to change your pin mapping so that you can use those pins.
Another approach is to bit bang your data serially through an unused pin, such as RA2. You can find source code for it, or you can write the routine yourself.
I see it's a Watt Hour Meter, you should consider a crystal oscillator if you want the time to be more accurate than the internal oscillator.
Yes, 16F88 do have UART. However it has been used for the LCD. I just hoping to get the serial data out without modifying the existing design, perhaps.
You've got a spare I/O pin, simply use that as a software UART and send the serial data out of that.
You've got a spare I/O pin, simply use that as a software UART and send the serial data out of that.
bit bang FTW
How accurate do you want the clock? Or you could use the AC waveform as a clock source.
The SN54/ 74LS165 is an 8-bit parallel load or serial-in register with
complementary outputs available from the last stage. Parallel inputing occurs
asynchronously when the Parallel Load (PL) input is LOW. With PL HIGH,
serial shifting occurs on the rising edge of the clock; new data enters via the
Serial Data (DS) input. The 2-input OR clock can be used to combine two
independent clock sources, or one input can act as an active LOW clock
enable.
But i tot only those pins available for UART compatible only for the serial com?
what does that means?
Any output pin can easily provide serial output, check my tutorials.
Can you provide me with the tutorial link? Thanks ...
Yes, 16F88 do have UART. However it has been used for the LCD. I just hoping to get the serial data out without modifying the existing design, perhaps.