MCP23016 I/O expander


Results 1 to 40 of 43

Threaded View

  1. #17
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,160


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e
    Mr Demon,
    What is this Mister talk? I hope you're not doing the "vous" thing, 'cause if you are and you're just doing this to respect your elders, then I'm going to have to stroll over and hit you about the shoulders with my cane.

    :P

    Quote Originally Posted by mister_e
    Even if i don't see any advantage and/or need for the Optos, it also introduce, at least, a voltage drop between The PIC and the I2C device. No matter why it's working so so.
    I forgot about that.

    Quote Originally Posted by mister_e
    Schematic provided by Ralph will work. You just need to modify your I2CWRITE/I2CREAD statement to fit with the A0, A1, A2 jumpers.
    I don't have those arts on hand at the moment.



    Quote Originally Posted by mister_e
    On your SCL and SDA line, you should be able to fit all your I2C devices. As i remind MCPXXX don't have the same control word than your EEPROM so it shouldn't provide any conflict.
    Steve, I want to be able to have 8 MCP23016 for input, and another 8 for output, all on a single PIC. That's why I tried the MCT6 switch idea.

    Quote Originally Posted by NavMicroSystems
    For more than 8 (up to 16) devices of the same type share SCL for all of them and have separate SDA for each set of 8.
    Yeah, but the PIC 16F877 only has one SDA/SCL pair of pins. Is there another PIC that has multiple SDA lines (I didn't notice this feature on the MicroChip product list)?

    Robert
    Last edited by Demon; - 4th October 2016 at 18:11.
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

Similar Threads

  1. I/O extender
    By mychangl in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 20th November 2008, 14:56
  2. MCP23016 I2C serial I/O expander chip
    By GeoJoe in forum Serial
    Replies: 7
    Last Post: - 31st October 2007, 15:39
  3. MCP23016 I/O expander with PBP?
    By Jon Chandler in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 22nd August 2005, 09:32
  4. I2C I/O Expander PCF8574 hanging?
    By NavMicroSystems in forum Serial
    Replies: 12
    Last Post: - 4th August 2005, 02:26
  5. managing the I/O ports of the 16F84A
    By skyler_91600 in forum mel PIC BASIC
    Replies: 7
    Last Post: - 28th April 2005, 03:52

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