Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Wake up LCD !!

Status
Not open for further replies.
If its a 16F876 pin 17 is the /TXD output
Why pin 20, its +V supply to the PIC!, you want the Vss pin.

Can you post a link to the website where the program cam from.?
 
Again, check my tutorials, tutorial 11.4 reads a voltage, displays it on an LCD, and also sends it via RS232 (not requiring use of a hardware USART) - the actual display is under the control of two flags, so you can have it LCD only, RS232 only, or both - just by setting the flags.

It should be pretty easy to add a similar facility to the wattmeter code.
 
If its a 16F876 pin 17 is the /TXD output
Why pin 20, its +V supply to the PIC!, you want the Vss pin.

Can you post a link to the website where the program cam from.?

Well I am trying to search for USART guidance **broken link removed**
Sorry as the code i posted is random coz i wanna know is that the main point for the USART routine.

Well the author of the wattmeter project does reply me with this:
Code:
The 16F88 has a serial port which can be run in synchronous SPI mode
(3 wires), I2C mode (2 wires) or async (RS232). You just have to choose
the mode that can most easily be implimented on your module. The serial
port uses some of the pins that are currently allocated to the LCD. If
you don't need the LCD and switches, then just don't put those components
on the board! You could also disable the associated code in the software
(though this is not strictly necessary).

Is UART means i need to have the baud rate, parity bits..etc only?
I also found out that PIC16F88 has hardware UART.
 
Last edited by a moderator:
Again, check my tutorials, tutorial 11.4 reads a voltage, displays it on an LCD, and also sends it via RS232 (not requiring use of a hardware USART) - the actual display is under the control of two flags, so you can have it LCD only, RS232 only, or both - just by setting the flags.

It should be pretty easy to add a similar facility to the wattmeter code.

Well, i will have a look at this . But did i knw that it is a voltmeter?
A wattmeter is required for my project. And i like the project u done.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top