IR detector


Closed Thread
Results 1 to 29 of 29

Thread: IR detector

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Posts
    91


    Did you find this post helpful? Yes | No

    Default LCD Screen

    Due to all the help I have gotten here I have everything worked out. I decided to buy a lcd screen so I could output the results to it but I have no idea how to hook it up.

    LCD Display 16 characters with 2 rows LCD its Hitachi HD44780 compatible LSI controller

    It has 16 pins.
    1 GND Ground
    2 +5v Power
    3 Vcont Contrast voltage
    4 RS Select
    5 R/W Read/Write
    6 EN Enable
    7 DB0 Data bus
    8-14 .......
    15 LED K Backlight cathode
    16 LED A Backlight anode

    Ok 1 and 2 are pretty simple
    Im not sure what pins I would hook up to my 16F628A chip. just data bus?
    going to do some searching around to see what I can find was just so excited had to post Any help would be appreciated.

  2. #2
    Join Date
    Aug 2006
    Posts
    91


    Did you find this post helpful? Yes | No

    Default

    Ok looks like mine is almost exactly like the olympic timer
    http://www.picbasic.co.uk/forum/atta...4&d=1091819883

    So it looks like 7-10 should be data..?

    Man I still have so much to learn

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    I decided to buy a lcd screen so I could output the results to it but I have no idea how to hook it up.
    Free schematic in PBP manual in the LCDOUT section.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4
    Join Date
    Aug 2006
    Posts
    91


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e
    Free schematic in PBP manual in the LCDOUT section.

    Thanks lol
    Good old fashion case of RTFM!

    I have one questions about it tho, pin 3 on the lcd connects to the middle of the 20K resistor? I don't understand that part.

    also I don't have a 20K resistor should I use 18K , 22K , 18K and 2K in series, or wait till I can get a 20K?

    Thanks

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    It's a 20K potentiometer or trimmer. It's there to adjust the LCD contrast. You can use lower value. 1-10K still work. You can also use two resistor to make a fix contrast. Wich value... ARRRGGH close to be impossible to tell, no lcd work the same way.

    You can still use HPWM to make a software controlled LCD contrast... for now, just plug-it and display on it.
    http://www.picbasic.co.uk/forum/show...light=contrast
    Last edited by mister_e; - 20th August 2006 at 22:15.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  6. #6
    Join Date
    Aug 2006
    Posts
    91


    Did you find this post helpful? Yes | No

    Default

    Got it thanks
    Last edited by geckogrotto; - 21st August 2006 at 02:50.

Similar Threads

  1. Replies: 17
    Last Post: - 12th April 2014, 02:17
  2. PIC10F200 Automated IR Light Switch
    By Bruce in forum Code Examples
    Replies: 7
    Last Post: - 3rd May 2007, 11:40
  3. Replies: 10
    Last Post: - 16th October 2006, 18:23
  4. how to get pic to pic communication
    By kinsiro in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 30th August 2005, 17:12
  5. IR for robot on 16F877A
    By Samuel in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 9th April 2005, 20:57

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts