dumb question


Closed Thread
Results 1 to 40 of 94

Thread: dumb question

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    You must chose a PIC with enough pins for your F2F devices, two pins for the EEPROM (C or LC still require two lines regardless which one you chose), and however many additional pins for external communications or other connections. Remember one of the pins on the 12F675/683 is INPUT ONLY that leaves five I/O's. If you are going to use Serial Communications (like RS232) then you WILL need a Crystal or Resonator, that will use up two pins, and three I/O's may then be insufficient for your needs.

    As regarding EEPROMS... the 'C' device is a plain SERIAL device requiring something like SHIFTIN/SHIFTOUT usage, whereas the 'LC' is an I2C BUS device requiring I2CWRITE/I2CREAD usage.

  2. #2
    Join Date
    Aug 2009
    Posts
    56


    Did you find this post helpful? Yes | No

    Default

    Thank you Melanie for your answer I got it now.Where can I find a schematic or something to test that,or who could give me an advice on how to built this?
    Last edited by osceola; - 16th August 2009 at 22:11.

  3. #3
    Join Date
    Aug 2009
    Posts
    56


    Did you find this post helpful? Yes | No

    Default

    No one wants to help me?

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Which way do you want to go?

    If you go with the I2C method then take a look at the PBP manual. There is enough information there to get you started.

    The section in the manual about shiftin/out along with a data sheet will also get you started in that direction.

    Let us know the parts you plan on using.
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Aug 2009
    Posts
    56


    Did you find this post helpful? Yes | No

    Default

    Well,first I need a schematic,and I also would like to know if the F2F decoding can be done inside a PIC(16f628, 16f84 etc.) to make it as simply is posibile.So,can the F2F decoding be done inside a pic and witch series of EEPROM to use for that,24C512 or 24LC512?

  6. #6
    Join Date
    Aug 2009
    Posts
    56


    Did you find this post helpful? Yes | No

    Default

    Could anyone provide me a schematic of this or help me find it?

  7. #7
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Have you read the data sheet for the F2F part you plan to use?
    Dave
    Always wear safety glasses while programming.

  8. #8
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Melanie already answered this...
    Quote Originally Posted by Melanie View Post
    As regarding EEPROMS... the 'C' device is a plain SERIAL device requiring something like SHIFTIN/SHIFTOUT usage, whereas the 'LC' is an I2C BUS device requiring I2CWRITE/I2CREAD usage.
    Look at the last few pages of the PIC's data sheet. The info you seek is there
    a differance in package, some like surface, some like dips.
    Dave
    Always wear safety glasses while programming.

  9. #9
    Join Date
    Aug 2009
    Posts
    56


    Did you find this post helpful? Yes | No

    Default

    So can I order any of these PICs mentioned?And I will look what EEPROM I can find.Interfacing PIC with EEPROM and in the schematic need also some resistors and capacitors?witch one and how many?Thanks

  10. #10
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    EEPROM Schematic Information and example code is contained in your MeLabs PBP Manual that came with your PICBasic compiler.

  11. #11
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Just curious...
    Is this your first project?
    Dave
    Always wear safety glasses while programming.

  12. #12
    Join Date
    Aug 2009
    Posts
    56


    Did you find this post helpful? Yes | No

    Default

    I ordered the Pic Kit 2 already,have to get it this days,and yes,this is my first project and any help from you will be apreciated,so sory if sometime(or always?) I make some dumb questions

  13. #13
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Do not worry about the questions. Everyone has to get started.
    Now do not take this the wrong way, but this project might be a little advanced for a first project. Like anything else, you need to work your way up.

    When you order the PIC make sure it is a DIP package. That way it can be plugged into a breadboard. The same goes for the EEPROM.

    When the PICKIT comes let's work on a simple what we call "blinkey". That is a program that will simply blink a LED at a given rate. What this will do is make sure you understand how to set everything up. Then we can move on to more advanced things.

    In the mean time. Read everything you can on this forum. Study the data sheets for the parts you plan to use.

    In no time this project will be up and running and you will understand what is going on.
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. AN Question for "word" variable read The serial port
    By redfoen in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 14th December 2007, 17:39
  2. really simple, dumb question
    By picster in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 3rd March 2007, 22:02
  3. Question for a math guru
    By Christopher4187 in forum General
    Replies: 3
    Last Post: - 22nd November 2006, 09:45
  4. Please answer my first question
    By John_001 in forum Off Topic
    Replies: 1
    Last Post: - 15th September 2006, 06:49
  5. Dumb question
    By Christopher4187 in forum General
    Replies: 0
    Last Post: - 20th June 2006, 12:02

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