Question about 18F4450


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Don't give them away yet.

    Did you know that the PBP I2C commands don't use the Hardware MSSP module?

    You can still use I2CREAD and I2CWRITE.
    <br>
    DT

  2. #2
    Join Date
    May 2008
    Location
    Florida
    Posts
    64


    Did you find this post helpful? Yes | No

    Default

    Darrel
    No I didn't know that, I have been using the MSSP pins and figured that was the way it had to be.
    The code I have written works on the 877A and 887 but not on the 4450. I am reading and writting to EEPROM.

    I am currently using this to set the ports. (LAB-X1 board)

    DataPin var PORTC.4
    ClkPin var PORTC.3

    I inserted the 4450 and programmed it, everything worked except the writting to EEPROM.

    Guess I should have looked a little more closely at the datasheets. Pins changed in 4450, so no I2C on LAB-X1 Board.

    877a - Pin18 - SCL - c3
    Pin23 - SDA - c4

    4450 - Pin18 - Vusb - Input
    Pin23 - c4

    Waiting for a few remaining parts to be able to start using Breadboard, then I can get off of the hardwired ports on the LAB-X1.

    Thanks for your timely help there Darrel.
    Last edited by manwolf; - 9th July 2008 at 20:47. Reason: Opened eyes and looked at Datasheets.

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    > ... be able to start using Breadboard, then I can get off of the hardwired ports on the LAB-X1.

    Ahhhh, freedom at last.

    And, while I've never owned a LAB-X1 ... I think it's possible to cut the trace in-between the header rows, to isolate the pin from the peripherals. Then the peripherals can be wired to any other pin as needed.

    I've seen it done before to allow using a 16F84 on the Lab-X1. (ICSP pins are different)

    For RC3 its P2 pins 15-16, RC4 is P3 pins 15-16.

    HTH,
    DT

  4. #4
    Join Date
    May 2008
    Location
    Florida
    Posts
    64


    Did you find this post helpful? Yes | No

    Default

    I have already 'wired' alot of stuff out to a breadboard. But I kind of like the little guy and don't want to start doing major surgery just yet.
    Maybe next month

    Now the EasyPic5 is a horse of a different color, I would do major surgery on it in a heartbeat.
    I think it will end up in the parts bin before its over.

    I have found the LAB board much easier to work with than the EasyPic. I think the switches adds more confusion to everything. My little pea brain can handle only having one chip in a socket at time.

    I have a zif socket for the EasyPic and a few other ideas to make it more userfriedly for a future project.

    Any suggestions for a power supply, I am currently using a 12v laptop powersupply and one of those cheap wall adapters from Radio Shack. The laptop supply is rated at 3 amps and appears to be clean enough for my projects so far.

  5. #5
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    > and don't want to start doing major surgery just yet.

    Probably a wise precaution.

    > Any suggestions for a power supply

    Could be a large number of answers to that question. And in the past I've used many different types. But these days, it's almost exclusively the little 5v "Switching" power supplies left over from dead routers, USB hubs etc that seem to only last about 3-5 years. The equipment dies, but the power supplies last forever.

    Not all of them are switching, and not all are 5V. But the ones that are, work perfect for everything I've needed.

    They have excelent isolation, fairly good regulation (4.8-5.2V), and usually a fairly high current output compared to a Transformer type "Wall Wart" that's twice the size.

    Only rule is ... Measure the voltage and polarity BEFORE connecting to anything.
    DT

Similar Threads

  1. Remote PIC input question
    By Adrian in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 1st September 2007, 15:44
  2. FREQOUT - PWM question
    By Etcho in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 25th February 2007, 23:51
  3. PIC16F684 Program question
    By Nicholas in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th December 2006, 14:30
  4. Question for a math guru
    By Christopher4187 in forum General
    Replies: 3
    Last Post: - 22nd November 2006, 09:45
  5. Please answer my first question
    By John_001 in forum Off Topic
    Replies: 1
    Last Post: - 15th September 2006, 06:49

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