Pic12f675 + Pcf8574 + Lcd


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Posts
    4

    Default Pic12f675 + Pcf8574 + Lcd

    Hello !

    This is my first post here. I'm asking if it is possible to drive a standard 16x2 lcd via PCF8574 I2C I/O expander with PBP code directly.
    I've done V and A meter with 2 channel ADC in PIC12F675 (0-50V, 0-5A) and I was thinking to output measured data on the LCD. The problem is the small number of I/O pins on the PicMicro. My idea is to use the I2C port expander. This type of controlling the LCD I saw on the net but was implemented in C programming language.
    Any help will be apriciated !

  2. #2
    Join Date
    Oct 2005
    Location
    Pinckney, Michigan
    Posts
    91


    Did you find this post helpful? Yes | No

    Default

    I have used the PCB8574 extensively and I see no reason why it won't work.

    It's a little convoluted and will be a little slow because you'll have to send an entire message to the PCF8574 just to wiggle one of it's output pins, etc.

    You may want to consider the EDE702 chip, can't remember the supplier, do Google search) it's basically a smart LCD serial interface chip for just a few bucks. I think they're also available at JDR and/or Jameco.

  3. #3
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Smile I2c Lcd

    Hi, Bostian

    No problem to do it ... a french speaking electronics magazine ( Elektor or Electronique pratique ...i'll look for, if you want ) has already published that idea ...

    Just a bit boring sending bytes to the LCD, a bit slow also, but works perfectly.

    Alain

    PS: Note I2C LCDs are sold ready to use on the market ...
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  4. #4
    Join Date
    Nov 2005
    Posts
    4


    Did you find this post helpful? Yes | No

    Default

    Thanks for your answers. I wish to use PCF because I have some. Can you give me some further info because I'm just trying to get into PicMicro programming. In short I'm a real beginner. I dont won't the finished code but just explanation in a few step by steb guide how to deal with my problem. I understend the operation with clasic conection LCD to PIC but I dont understend what data I have to send to PCF for making work the LCD. Please remember that I'm a begginer (mechanical engeneer) who wants to learn!

    Thanks again for your help

  5. #5
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Smile

    Hi, Bostjan

    I Finally got it ...

    Elektor magazine project 030060 ... see their site in the netherlands for an English version.

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  6. #6
    Join Date
    Nov 2005
    Posts
    4


    Did you find this post helpful? Yes | No

    Default

    Thanks! I will look to this project.

Similar Threads

  1. Is this code not initialising the LCD properly?
    By Platypus in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 30th January 2010, 19:14
  2. 16f688 LCD what have I done wrong
    By spitfiredriver in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th August 2009, 19:54
  3. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 16:56
  4. LCD Problem
    By karenhornby in forum General
    Replies: 3
    Last Post: - 19th June 2008, 11:43
  5. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 02:30

Members who have read this thread : 2

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