Pic12f675 + Pcf8574 + Lcd


Closed Thread
Results 1 to 13 of 13
  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,614


    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,614


    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.

  7. #7


    Did you find this post helpful? Yes | No

    Default

    it's sept. 2003, let me know if you can't find it

  8. #8
    Join Date
    Jan 2006
    Location
    Toronto
    Posts
    109


    Did you find this post helpful? Yes | No

    Default

    I found it here:

    http://www.elektor-electronics.co.uk...n&SearchText=#

    But you have to pay to download the PDF.

  9. #9
    Join Date
    Nov 2005
    Posts
    4


    Did you find this post helpful? Yes | No

    Default

    I will try to find it in the local library. If I cant find it it is possible to obtain the article from you ?

    Cheers

  10. #10


    Did you find this post helpful? Yes | No

    Default

    Let me know ok
    bbarney

  11. #11
    Join Date
    Jan 2006
    Location
    Toronto
    Posts
    109


    Did you find this post helpful? Yes | No

    Default

    I don't have the article, I was also interested so I tried to search for it but that was all I could find. If I do find it I will post it here.

  12. #12
    mahatia's Avatar
    mahatia Guest


    Did you find this post helpful? Yes | No

    Default Re: Pic12f675 + Pcf8574 + Lcd

    Hello every body! I am a student, and I am trying to build a digital clock by using PIC12F675 as a microcontroler, one PCF8574, RTC DS1307, and one LCD 16x2 with mikroc langage. Have anyone some solution to program it? any help is apreciated! thank you very much! I need it a lot! I don't know how should I do! I must use these electronik components.

  13. #13
    Join Date
    Oct 2009
    Posts
    583


    Did you find this post helpful? Yes | No

    Default Re: Pic12f675 + Pcf8574 + Lcd

    Quote Originally Posted by mahatia View Post
    Hello every body! I am a student, and I am trying to build a digital clock by using PIC12F675 as a microcontroler, one PCF8574, RTC DS1307, and one LCD 16x2 with mikroc langage. Have anyone some solution to program it? any help is apreciated! thank you very much! I need it a lot! I don't know how should I do! I must use these electronik components.
    So why post on a forum that supports PicBASIC Pro ?

    MikroElectronica have the own forums supporting their programming languages including MikroC - I would suggest you search their website or post on their forum for advice more suited to the hardware and programming environment you are using

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 : 1

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