Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

HOW TO CONNECT THE PIC 16F877

Status
Not open for further replies.

ANOOP0354

Newbie level 3
Joined
Dec 6, 2005
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,334
connect 16f877 to lcd

anybody can help me to draw a circuit with one pic 16f877 microcontroller, two shht11 sensor one 16*2 lcd display and some switches,two valves ... i need to measure the humidty and after that i need to controll the valve
help me to draw the diagram
the oprogramming i will do
 

how to connect pic16f877a

Hi,

have a look at the PICDEM 2 Plus from Microchip.
It has teh connection for the F877 with LCD and switches and also a Pot. So just change a bit the circuit and it will work for you.
Here is the link to the web page, in the user guide you will find in it towords the end circuit.
**broken link removed**

If you found my answer useful, click on the button that says Helped me. ( NO points will be taken from you! )


Good luck.
 

    ANOOP0354

    Points: 2
    Helpful Answer Positive Rating
connect hd44780 16f877

The SHT11 temperature/humidity sensor requires PICs two general I/O pins: one is driving CLOCK to SHT11, the other one is bidirectional DATA (see SHT11_Interface.png) ..

As far as the LCD display is concerned, I suggest that you consider the HD44780 from HITACHI; an example with this LCD and a PIC can be found at:
**broken link removed**

To operate valves you will need single general I/O pin and a RLY driver, examples below ..

Regards,
IanP
 

16f877 connect

Simply connect VDD(pins 10,32), VSS(pins 11,31) pins to supply voltage and ground respectively.
Crystal will be connected between osc1 and osc2 pins (pins 13,14) -with recommended bufs to the ground at each pin to improve oscillator stability.
To get use of POR circuit embeded in the chip, just connect MCLR (pin 1) to VDD via a recommended series resistance (about 5 ~10 Kohm)
LCD data port can be connectd to PORTD pins (RD0 to RD7)
LCD control pins (can be connected to any pins from PORTC or PORTB or PORTE). I recommend you to tie the R/W pin og the LCD to ground (Write only), just connect RS and E pins of the LCD to the PIC. Use the constant delay mechanism to write on the LCD and don't poll the status !!
Humdity sensor can be connected as an analog input to any pin PORTA or PORTE. You will need to configure the chip to take just this pin as analog input. Of course this is valid in case that your sensor circut output gives you an analog voltage corresponding to the humidity value. There are other techniques that may give you frequncy or even a digital serial value. !!

That's all
Good Luck
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top