caramoan tour package

caramoan tour package

Author Topic: interfacing LCd and Keypad to PIC16f877a  (Read 4046 times)

Offline auditory

  • CR2032 Battery
  • **
  • Posts: 40
  • Pogi/Ganda Points: 0
interfacing LCd and Keypad to PIC16f877a
« on: February 23, 2009, 10:21:54 PM »
mga boss, pwede po ba mag paturo kung pano mag interface ng lcd and keypad sa pic16f877a, newbie lng po kasi kami sa PICmcu.. we tried constructing our own circuit kaso puro blocks lng po ung display ng lcd nmin.. salamat po

Philippine Electronics Forum

interfacing LCd and Keypad to PIC16f877a
« on: February 23, 2009, 10:21:54 PM »

Offline rdpzycho

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 10724
  • Pogi/Ganda Points: 630
  • Gender: Male
  • Respect Begets Respect
    • rdpzycho
Re: interfacing LCd and Keypad to PIC16f877a
« Reply #1 on: February 23, 2009, 10:31:25 PM »
post niyo rito 'yung schematic niyo baka naman 'yung program ang problem.
‎"Divide each difficulty into as many parts as is feasible and necessary to resolve it."
- Rene Descartes

"For every difficult problem there is always a simple answer and most of them are wrong."
- Clayton Paul

Philippine Electronics Forum

Re: interfacing LCd and Keypad to PIC16f877a
« Reply #1 on: February 23, 2009, 10:31:25 PM »

Offline 0b00000111

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 6129
  • Pogi/Ganda Points: 398
  • There is no delight in owning anything unshared.
Re: interfacing LCd and Keypad to PIC16f877a
« Reply #2 on: February 23, 2009, 10:32:43 PM »
o kaya gamitan nyo ng proteus simulation...
E-Gizmo Mechatronix Central: www.e-gizmo.com

Tel #: (63)(2) 536-3378
Globe +63915-973-7691
Smart +63921-779-0748

Location Map

YM: julie.egizmo  aka Born2BeWired  ;D

Philippine Electronics Forum

Re: interfacing LCd and Keypad to PIC16f877a
« Reply #2 on: February 23, 2009, 10:32:43 PM »

Offline jerzclanx

  • Size AA Battery
  • ****
  • Posts: 111
  • Pogi/Ganda Points: 14
  • Gender: Male
  • "Mr. Incognito"
    • personal website
Re: interfacing LCd and Keypad to PIC16f877a
« Reply #3 on: February 23, 2009, 10:35:49 PM »
check nyo po yung pin 3 ng LCD (Contrast)

adjust nyo po yung contrast sa Potentiometer.  ;)

Philippine Electronics Forum

Re: interfacing LCd and Keypad to PIC16f877a
« Reply #3 on: February 23, 2009, 10:35:49 PM »

Offline ajak

  • Lead Acid Battery
  • *******
  • Posts: 719
  • Pogi/Ganda Points: 50
  • Gender: Male

Philippine Electronics Forum

Re: interfacing LCd and Keypad to PIC16f877a
« Reply #4 on: February 23, 2009, 11:15:44 PM »

Offline auditory

  • CR2032 Battery
  • **
  • Posts: 40
  • Pogi/Ganda Points: 0
Re: interfacing LCd and Keypad to PIC16f877a
« Reply #5 on: February 23, 2009, 11:26:49 PM »
tnry ko po sa proteus, gumagana po siya kaso pag sa hardware na po, puro box lng po ang nagdidisplay..

Offline rdpzycho

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 10724
  • Pogi/Ganda Points: 630
  • Gender: Male
  • Respect Begets Respect
    • rdpzycho
Re: interfacing LCd and Keypad to PIC16f877a
« Reply #6 on: February 23, 2009, 11:27:39 PM »
pwedeng 'yung contrast nga.
‎"Divide each difficulty into as many parts as is feasible and necessary to resolve it."
- Rene Descartes

"For every difficult problem there is always a simple answer and most of them are wrong."
- Clayton Paul

Offline toasted siopao

  • She loves me, she loves me not, she loves me...
  • Global Moderator
  • Gas Turbine
  • *****
  • Posts: 2574
  • Pogi/Ganda Points: 107
  • Gender: Female
    • TeknoBlogger
Re: interfacing LCd and Keypad to PIC16f877a
« Reply #7 on: February 23, 2009, 11:35:33 PM »
Adjust the contrast. Kung nag work sa proteus, chances are mag work rin yan sa actual.

Offline Ugin

  • Size D Battery
  • ******
  • Posts: 332
  • Pogi/Ganda Points: 48
  • Gender: Male
Re: interfacing LCd and Keypad to PIC16f877a
« Reply #8 on: February 23, 2009, 11:45:08 PM »
What model of LCD are you using?? Is this the SC162a from digitron??

Offline maldihtah13

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4669
  • Pogi/Ganda Points: 120
  • Gender: Female
  • Everyday is a learning process so try to learn ;D
    • Blogspot
Re: interfacing LCd and Keypad to PIC16f877a
« Reply #9 on: February 24, 2009, 04:22:26 AM »
post your schematic

Offline auditory

  • CR2032 Battery
  • **
  • Posts: 40
  • Pogi/Ganda Points: 0
Re: interfacing LCd and Keypad to PIC16f877a
« Reply #10 on: February 24, 2009, 06:40:22 AM »
e2 po ung sa proteus na schematic.. ung lcd po namin is ung 4x20 na lcd po from e gizmo..




Offline maldihtah13

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4669
  • Pogi/Ganda Points: 120
  • Gender: Female
  • Everyday is a learning process so try to learn ;D
    • Blogspot
Re: interfacing LCd and Keypad to PIC16f877a
« Reply #11 on: February 24, 2009, 08:12:27 AM »
wla ka talaga variable resistor sa pin 3? dpat kasi meron yun para sa contrast.

Offline jerzclanx

  • Size AA Battery
  • ****
  • Posts: 111
  • Pogi/Ganda Points: 14
  • Gender: Male
  • "Mr. Incognito"
    • personal website
Re: interfacing LCd and Keypad to PIC16f877a
« Reply #12 on: February 24, 2009, 08:20:31 AM »
sis Maldita13 nu oras ka nakauwi??  ;)

e2 po ung sa proteus na schematic.. ung lcd po namin is ung 4x20 na lcd po from e gizmo..

ayan.. gaya ng sabi nila.. variable resistor aka Potentiometer.  ;D

Offline auditory

  • CR2032 Battery
  • **
  • Posts: 40
  • Pogi/Ganda Points: 0
Re: interfacing LCd and Keypad to PIC16f877a
« Reply #13 on: February 24, 2009, 06:58:37 PM »
pano po ba ikakabit ung potentiometer sa pins 1, 2 and 3 ng lcd from e gizmo? xencia na po, bago lang po tlga ako dito.. salamat po

Offline 0b00000111

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 6129
  • Pogi/Ganda Points: 398
  • There is no delight in owning anything unshared.
Re: interfacing LCd and Keypad to PIC16f877a
« Reply #14 on: February 24, 2009, 07:06:20 PM »
yung isang end ng potentio sa Vdd, yung other end sa Vss... yung gitna sa pin#3 ng LCD..
E-Gizmo Mechatronix Central: www.e-gizmo.com

Tel #: (63)(2) 536-3378
Globe +63915-973-7691
Smart +63921-779-0748

Location Map

YM: julie.egizmo  aka Born2BeWired  ;D

Offline auditory

  • CR2032 Battery
  • **
  • Posts: 40
  • Pogi/Ganda Points: 0
Re: interfacing LCd and Keypad to PIC16f877a
« Reply #15 on: February 24, 2009, 08:04:37 PM »
sir, naglagay na po ako ng potentiometer, ang nangyari naman po is puro black po ung line 2 and 4 ng lcd.. ano po ba kaya ang problem this time? thanks po sa help

Offline rdpzycho

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 10724
  • Pogi/Ganda Points: 630
  • Gender: Male
  • Respect Begets Respect
    • rdpzycho
Re: interfacing LCd and Keypad to PIC16f877a
« Reply #16 on: February 24, 2009, 08:40:36 PM »
line 2 and 4 lang? nangyayari lang sa akin dati 'yun kapag merong mali sa initialization ng 4 line na LCD.
‎"Divide each difficulty into as many parts as is feasible and necessary to resolve it."
- Rene Descartes

"For every difficult problem there is always a simple answer and most of them are wrong."
- Clayton Paul

Offline auditory

  • CR2032 Battery
  • **
  • Posts: 40
  • Pogi/Ganda Points: 0
Re: interfacing LCd and Keypad to PIC16f877a
« Reply #17 on: February 24, 2009, 09:06:53 PM »
uhm ang code ko po na ginamit is ung sample code po from picclite po..

Offline rdpzycho

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 10724
  • Pogi/Ganda Points: 630
  • Gender: Male
  • Respect Begets Respect
    • rdpzycho
Re: interfacing LCd and Keypad to PIC16f877a
« Reply #18 on: February 24, 2009, 09:12:15 PM »
para sa anong LCD 'yung sample code? kapag kasi nag buong black na blocks 'yung line 2 at 4, naka-initialize siya para sa 2-liner.
‎"Divide each difficulty into as many parts as is feasible and necessary to resolve it."
- Rene Descartes

"For every difficult problem there is always a simple answer and most of them are wrong."
- Clayton Paul

Offline marcelino

  • Moderator
  • Solar Power Satellite
  • *****
  • Posts: 6016
  • Pogi/Ganda Points: 258
  • ...keep moving forward! - Robinson's
Re: interfacing LCd and Keypad to PIC16f877a
« Reply #19 on: February 24, 2009, 09:21:30 PM »
para sa anong LCD 'yung sample code? kapag kasi nag buong black na blocks 'yung line 2 at 4, naka-initialize siya para sa 2-liner.

sir RD namemeet ko din yan problem na yan...
sa initialization usually at minsan reset lang... :)
"Don't take life seriously. After all, no one has ever come out of it alive. -Bugs Bunny"

Philippine Electronics Forum

Re: interfacing LCd and Keypad to PIC16f877a
« Reply #19 on: February 24, 2009, 09:21:30 PM »

 

Privacy Policy

Contact Us: elabph@yahoo.com