PCF8574 GPIO Extender - With Arduino and NodeMCU

Поділитися
Вставка
  • Опубліковано 28 гру 2024

КОМЕНТАРІ • 207

  • @Crusty_Camper
    @Crusty_Camper 2 роки тому +5

    This was very useful, thank you. As an older learner, I needed a slightly slower pace but it's easy to pause the video or play it at 75% speed, which I found excellent so as not to miss anything.

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  2 роки тому +1

      Thanks for the appreciation
      I will try to slow down a bit in my upcoming videos.

    • @Crusty_Camper
      @Crusty_Camper 2 роки тому +2

      @@CrazyCoupleDIY You are enthusiastic... that's what matters. Please keep publishing your videos.

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  2 роки тому +1

      Cheers thanks 😊👍

    • @ashokas5812
      @ashokas5812 2 роки тому

      @@CrazyCoupleDIY why pull-up resistor is used ?

    • @56NeilWatson
      @56NeilWatson Рік тому +1

      Totally agree with you CC. Glad to see I wasn't the only one. A lot of info at the speed of light.

  • @AjinkyaMahajan
    @AjinkyaMahajan Рік тому +2

    Very helpful in understanding the io expander module.
    Thanks

  • @mynkow
    @mynkow 2 роки тому +1

    Fantastic Video. I am amazed how much I have learned in 10min. Thank you

  • @ManuelCastillo-kq3xy
    @ManuelCastillo-kq3xy 6 років тому +3

    I just come to thank you for all the help you gave me to solve the issue of controlling 8 SSD relays with a single pin extender in NodeMCU.
    Thank you very much for the time you gave me.

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  6 років тому +2

      All good mate. Sorry for a bit of delay in replying as I was on a road trip yesterday.
      Do let me know if you need more help.
      Always happy to help ✌️👍

  • @yagothanus7273
    @yagothanus7273 4 місяці тому +1

    I thank you immensely, imrão you are to be congratulated for the blessed work, forward only upwards and only forwards,

  • @pepsodentpasta
    @pepsodentpasta 3 роки тому +2

    Thank you for sharing this video. Very clear, easy to understand, and straight to the point.

  • @joshuarosen6242
    @joshuarosen6242 4 роки тому +4

    Thank you for that informative video. You took it at a fair pace but I found it exactly right. You covered a lot of ground in 11 minutes but I understood all of it - it was very clearly presented.

  • @jcduplessis1
    @jcduplessis1 2 роки тому +1

    Excellent tutorial. Thank you very much!

  • @murrrr8288
    @murrrr8288 2 роки тому +1

    very good tutorial! before the video i didn't know what chip i have, now i not only know how to use it but also got lots of ideas where i could use it :)

  • @MhLiMz
    @MhLiMz 3 роки тому +2

    Excellent tutorial, thank you for creating and sharing it!

  • @Siziksu
    @Siziksu 5 років тому +3

    Great quality video. Best tutorial ever about this subject. Thank you very much!

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому

      You are most welcome
      Check out my other tutorials and projects in your spare time ✌️✌️✌️

  • @kamlishpandit5125
    @kamlishpandit5125 4 роки тому +1

    dear really mind-blowing explanation. superb.

  •  2 роки тому +1

    This was very helpful, thank you.

  • @WhatsAppVideos4U
    @WhatsAppVideos4U 6 років тому +13

    Very nice, I loved the pace with with the information was delivered

    • @FERNANDO050694
      @FERNANDO050694 4 роки тому

      MULTIPLEXER DISPLAY 7 SEGMENTS (COMMON ANODE OR COMMON CATODE) - ARDUINO - PCF8574 REMOTE 8 BIT I/O EXPANDER FOR I2C BUS
      ua-cam.com/video/ENlRaSL34h0/v-deo.html

  • @xXRabbitmanXx
    @xXRabbitmanXx 4 роки тому +1

    best tutorial! straight to the point with useful information! please keep it up

  • @rondlh20
    @rondlh20 5 років тому +1

    Great job, very clear and informative

  • @talktothehand4786
    @talktothehand4786 4 роки тому +1

    Hello,
    Very instructive post, one thing you want to be careful about about the PCF8574 modules, they already have a 1 kOhm pullup on the board (the 2 small resistors next to the male connector). If you want to daisy chain several modules, you need to remove these resistors on all but one of the board, otherwise the pullup becomes to strong ... if you daisy chain 8 modules, the pullup value is 1kOhm/8 : 125 ohm which is a bit strong : 5V/125 ohm = 40 mA...

  • @omsingharjit
    @omsingharjit 5 років тому +1

    4:24 and what for p instead of a from of 8574 A/P ?

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому

      How did you get one of the PCF8574P's mate. To my knowledge they are discontinued
      Anyways the datasheet still has a bit of info : www.nxp.com/docs/en/data-sheet/PCF8574_PCF8574A.pdf

    • @omsingharjit
      @omsingharjit 5 років тому

      @@CrazyCoupleDIY AliExpress

  • @sandrosales89
    @sandrosales89 Рік тому +1

    Excelente vídeo, parabéns e obrigado !!

  • @diaboy96
    @diaboy96 Рік тому +1

    Great video! Helped a lot. Thanks 😍😍

  • @codewithdaniel-1
    @codewithdaniel-1 Рік тому +1

    excellent tutorial

  • @hakier_
    @hakier_ 5 років тому +1

    Very nice video, good job! Thank you!

  • @bestnless4649
    @bestnless4649 3 роки тому +1

    Very nice tutorial

  • @nbabasketball6735
    @nbabasketball6735 6 років тому +2

    I will book mark 07:10 that's an important information for starters

  • @plcmoduleckt
    @plcmoduleckt 4 роки тому +1

    Nice Clear Information.Thanks.

  • @KanchanDas
    @KanchanDas 6 років тому +2

    Khub valo....

  • @ourhomelappy7698
    @ourhomelappy7698 6 років тому +5

    Well done

  • @ShailSonsTech
    @ShailSonsTech 6 років тому +3

    Very nice tutoral

  • @iotan09
    @iotan09 2 роки тому +1

    very clearly, thanks sir

  • @CodeBallast
    @CodeBallast 2 роки тому

    i have no electronics skills.
    This Tutorial was easy to understand.
    What are the two pull up resistors good for?
    A0, A1 and A2 how do you set their address? Are you just giving them 3,3 volts?

  • @sanjaybatra6593
    @sanjaybatra6593 Рік тому

    Its really great presentation. I used it, interface 4x4 keypad. I had a little issue...which automatically gone without any efforts.
    Issue 1. LCD start flickering, then somehow it got stable, when I removed SDA and SCL wires.
    Issue 2. For testing purpose , I am doing ON/OFF of one LED, which Stoped when I connected/Disconnected SDA/SCL.
    After Switching OFF/ON the power , LCD and LED both working fine.
    What you suggest ? do SDA/SCL connection impact on other things ?
    Any Capacitor or something required ? Value of PULLUP resistor ?
    (this exercise was done with RAW atmega16A chip).

  • @BNBLamai
    @BNBLamai 6 років тому +4

    again watching ..interesting

  • @electronicphilia1687
    @electronicphilia1687 3 роки тому +1

    Love it 😍

  • @thamashwerago3603
    @thamashwerago3603 4 роки тому +1

    Thank you so much to solve my problem

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  4 роки тому

      You are welcome and
      Happy new year 🥳

    • @thamashwerago3603
      @thamashwerago3603 4 роки тому

      @@CrazyCoupleDIY same to you
      I have another problem can how can i control 2 i2c module using PCF8574 library

  • @Metroid1890
    @Metroid1890 5 років тому +1

    This is amazing!!

  • @yogeshwaranoo7
    @yogeshwaranoo7 6 років тому +1

    Very use full... where u bought the ics.. not the breakout board.. i want dip type to keep in pcb... can you send me the link.. thanks in advance

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  6 років тому

      I bought it from this seller: www.aliexpress.com/item/5PCS-PCF8574P-DIP16-PCF8574-DIP-new-and-original-IC-In-Stock/32874028961.html?spm=a2g0s.9042311.0.0.27424c4dDlq15X
      Thanks for watching, plz do subscribe for more tutorials/projects coming soon.
      Also if you have time check out my other tutorials :)

  • @draglorde
    @draglorde 3 роки тому +2

    Great video thank you! But there is a mistake in one of your tables: A0 and A2 are inversed at 5:27

  • @JeremyCook
    @JeremyCook 6 років тому +2

    Very useful, thanks!

  • @ARVLOGS2
    @ARVLOGS2 6 років тому +2

    Nice information 🙂

  • @GhostsOfSparta
    @GhostsOfSparta 2 місяці тому

    does this chip debounce button press automatically?

  • @sbiswas6694
    @sbiswas6694 3 роки тому

    But i am using multiple PCF and the address is conflicting is there any way to define the address or connect both without using a multiplexer.

  • @TheJavaSync
    @TheJavaSync 2 роки тому

    Is it similiar with I2C backpack LCD ?

  • @ajamyunan4754
    @ajamyunan4754 3 роки тому

    i have some problem, i use pcf8574 and arduino. when arduino get power on, all pcf8574 pin active high. how to set pcf pin always Low/off when power on.

  • @baluvarma4921
    @baluvarma4921 6 років тому +1

    Wow it's very interesting tutorial

  • @ryucond
    @ryucond 5 років тому +1

    Excelent video... thanks

  • @adamwalter2573
    @adamwalter2573 Рік тому

    What would you propose for driving 3/5v relay modules ? I need 4x8 gpio output ping that are capable of providing 5mA each, so for one relay module (x8) I would need some expander to provide me 8x5mA=40mA. I had this module and it provides only 0,8mA (?) and also mcp23008 and the same amount, so they are not enough for me.

  • @adityak3578
    @adityak3578 5 років тому +1

    hey my desi friend video is wonderfull

  • @dtesta
    @dtesta 4 роки тому

    Why do you need external pull-up resistors on the esp8266? Why can't you use the built-in ones?

  • @JoeEvansSound
    @JoeEvansSound 5 років тому +1

    Hey there, thanks for a great video, very instructive. I have a question if you can help me please. When I attach a LED light to my 5v and ground from my arduino it works great. When I attach this led to a pin on my expander board it is very dull. I am not sure what is happening - thanx

    • @JoeEvansSound
      @JoeEvansSound 5 років тому

      I have (at long last) worked out where I am going wrong. I was attaching the LED the wrong way. The correct way is +ive to the 5v rail and -ive to the I2C pin. HAPPY HAPPY HAPPY :¬)

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому

      I am glad you fixed it
      Good work.

  • @auzworld
    @auzworld 5 років тому +1

    Really well explaned ... I'd be interested in your boards you mentioned at the end.. did you ever create them ?

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому

      Hey
      First of all thanks for watching
      Secondly, na I have not created one yet 😉

  • @edwintok2466
    @edwintok2466 Рік тому

    Hello! thank you so much for the tutorial, can i ask how do you control rhe PCF8574 port output individually?
    Currently i am using the wire.h library to manually write them, and i am controlling the output by writing the hexadecimal in to the pcf8574. however there will be an overwrite of my previous input.
    For example to control the port output to be high or low
    case 15: write 0x01
    case 16: write 0x02
    case 17: write 0x04
    case 18: write 0x08
    input 15 -> P0 will be high -> input 16 -> P0 will be Low and P1 will be high
    Will want this to be changed to P0 AND P1 to be high which means the previous input wont be affected

  • @HammadKhatri
    @HammadKhatri 6 років тому +1

    Great

  • @trishyajameen336
    @trishyajameen336 3 роки тому

    well done buddy

  • @instaboiidsg2117
    @instaboiidsg2117 5 років тому +1

    AWESOME!!!

  • @veereshy5444
    @veereshy5444 5 років тому +1

    Hey , Very crisp and clear explanation. Thank you.. BTW. I am looking for 16 bit expansion. Can I use MCP23017 which has 16 io pins?

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому

      First of all thanks
      And secondly you may use MCP23017
      Or piggyback couple of these

  • @MrAsterian75
    @MrAsterian75 4 місяці тому

    Hi, can i connect a PCF8574 and after in serie a PCA8685 on the same I2C bus ? with the new PCF8574 GPIO, can i control a DFplayer Mp3 Mini, o receive data from a IR Receiver ?

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  4 місяці тому

      I have not tried that
      So can't give you a straightforward answer. Sorry mate

  • @UFanXtremeXMC
    @UFanXtremeXMC 5 років тому

    Hi excuse me I have a problem with digitalPinToInterrupt, it's not declared please can u help me?

  • @tinware
    @tinware 3 роки тому

    I would like to control the GPIO of a chip from the operating system using a program written in C ++. Which IC should I use?

  • @MaxintRD
    @MaxintRD 6 років тому +3

    Nice tutorial! Some time ago I made a library to drive the Nokia LCD using a PCF8575 or PCF8574 I/O expander.
    I recognize the effort you have taken to deliver such high quality video. May I ask which software you use to make the animated graphics?

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  6 років тому +1

      Hi there
      First of all thanks for the appreciation
      These ics are real life savers.
      I have used
      Vsdc free and
      Flimora
      For the animation.
      Have a blessed new year.

    • @MaxintRD
      @MaxintRD 6 років тому +1

      @@CrazyCoupleDIY - Thanks for the info. I wish you too much happiness, good luck and health in the new year. Have fun!

  • @shoaibmuneer9372
    @shoaibmuneer9372 5 років тому +1

    Super cool

  • @ManuelCastillo-kq3xy
    @ManuelCastillo-kq3xy 6 років тому +1

    Hi, it's posible use this for controlling 8 reley (control individualy) in a wemos D1? I need add 5 other's sensors and oled display 0.96 I2C, but wemos d1 only have 11 gpio pins. Can you help me with this problem, please?

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  6 років тому +1

      HI There
      Yes you can control 8 relays individually using any MCU
      I havent worked with a Wemos D1 yet so cant comment a lot on that
      However, if you want to use I2C OLEDs you can use an I2C MUX for that: Check out:ua-cam.com/video/XWQsqPQOW-U/v-deo.html
      A full tutorial on OLED displays is here : ua-cam.com/video/_e_0HJY0uIo/v-deo.html

    • @ManuelCastillo-kq3xy
      @ManuelCastillo-kq3xy 6 років тому

      Crazy Couple but how pin 8 relay and 2 sensors in mcu? All pins It’s possible for use digital?

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  6 років тому +1

      I will make a sketch and will show you tomorrow morning

    • @ManuelCastillo-kq3xy
      @ManuelCastillo-kq3xy 6 років тому

      Crazy Couple thx!!!!

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  6 років тому +2

      @@ManuelCastillo-kq3xy Please check this out imgur.com/a/KVYcrge
      If you still have any questions please send me an email

  • @piotrkowalczuk5686
    @piotrkowalczuk5686 5 років тому

    am asking for help the expander gives high state 5v but when I connect the diode, the voltage drops on 2v what to do?

  • @kkt9108
    @kkt9108 3 роки тому

    I cannot san
    Just showing below message.
    I2CScanner ready!
    starting scanning of I2C bus from 8 to 200...

  • @MountainRidgeMalamutes
    @MountainRidgeMalamutes 6 років тому +1

    Very interesting!

  • @ManuelCastillo-kq3xy
    @ManuelCastillo-kq3xy 6 років тому +1

    The only one problem, for me, is all examples are realized with and arduina nano. In the nodeMCU, its different conect to pines and everything....

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  6 років тому +1

      I did explain in this tutorial how to connect this to a NodeMCU board.
      Don’t worry I will reply to your email with full details.

    • @ManuelCastillo-kq3xy
      @ManuelCastillo-kq3xy 6 років тому

      @@CrazyCoupleDIY thx man!!!!!

    • @harunalrassyid7392
      @harunalrassyid7392 5 років тому +1

      @@ManuelCastillo-kq3xy did you find the way how to do it in nodeMCU sir?

    • @harunalrassyid7392
      @harunalrassyid7392 5 років тому

      @@CrazyCoupleDIY did you find the way how to do it in nodeMCU sir?

    • @harunalrassyid7392
      @harunalrassyid7392 5 років тому

      @@ManuelCastillo-kq3xy is it possible or no sir?

  • @BNBLamai
    @BNBLamai 6 років тому +1

    Good one .Thank you

  • @JeremyCook
    @JeremyCook 5 років тому

    So when you use an input button, should you be using a pulldown resistor for each input so it doesn't float? Or is that taken care of by the chip or breakout module?

  • @raginikapare6908
    @raginikapare6908 5 років тому +1

    Can I use this one for interfacing 8 sensors to atmega 16

  • @ahtelel
    @ahtelel 4 роки тому

    Do I need the breakout board at all, or is just using the IC with the 10k resistors ok? If I only use the IC, can I run the IC scanner?

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  4 роки тому

      Just yeh if with the pull-up traitors is fine.
      Yes u can run the scanner

    • @ahtelel
      @ahtelel 4 роки тому +1

      Great, thanks!

  • @SamSmartLabs
    @SamSmartLabs 3 роки тому

    i'm having problems
    this ywo errors help me pls
    error: 'class PCF8574' has no member named 'pinMode'
    error: 'class PCF8574' has no member named 'digitalRead'

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  3 роки тому

      Looks like your library is missing files
      Can you please redownload the library needed for the PCF8574 and give it a retry

  • @vnagaravi
    @vnagaravi 4 роки тому

    I didn't get ic or module in my place can i use
    PCF8574 i2C LCD driver
    To expand my gpio

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  4 роки тому +1

      That’s also the same thing

    • @vnagaravi
      @vnagaravi 4 роки тому

      @@CrazyCoupleDIY how to use those for pwm out

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  4 роки тому

      How about using serial in and out

    • @vnagaravi
      @vnagaravi 4 роки тому

      @@CrazyCoupleDIY i never tried don't know about it...🤔

  • @nikhilpatil5633
    @nikhilpatil5633 5 років тому

    What is the code for reading value

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому

      Find the code in here: diyfactory007.blogspot.com/2018/12/pcf8574-gpio-extender-with-arduino-and.html

  • @Sunwq_edits
    @Sunwq_edits 4 роки тому

    is this possible whit an arduino leopardo?

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  4 роки тому +1

      Yes it is.
      This extender connects to the I2C bus. So as long as the micro-controller has i2c pins it will work flawlessly

  • @hamzasajid3773
    @hamzasajid3773 4 роки тому

    Sir I am using node-MCU cam board, I need to extend gpios so where i can connect it?

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  4 роки тому

      Hi, I am not sure what type of board it is but if the board has i2c pins out please connect to that
      Refer to the boards datasheet

    • @hamzasajid3773
      @hamzasajid3773 4 роки тому

      @@CrazyCoupleDIY ESP-32 CAM is the board

  • @dbush3721
    @dbush3721 4 роки тому

    Do the extended pins support PWM?

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  4 роки тому +1

      They are digital pind

    • @dbush3721
      @dbush3721 4 роки тому

      @@CrazyCoupleDIYCool that's what I was figuring. Do you have a complimentary suggestion for pin expansion that supports PWM. From what I understand I would need a built-in PWM driver like www.adafruit.com/product/1411 However I'm using a 5$ NodeMCU and it feels wrong it have to employ a 18$ shield ;)

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  4 роки тому

      In the past I achieved this using 2x Arduinos connected to each other using serial port

  • @huzaifaahmed8467
    @huzaifaahmed8467 5 років тому +1

    how we can initialize two different hex addresses in a single program while cascading multiple 8574 ICs, plz tell me

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому +1

      you need to set the HEX address first:
      PCF8574 ex1(0x20);
      PCF8574 ex2(0x20);
      and so on
      to use them u just call them by their name
      ex1.digitalWrite(P0, HIGH);
      and so on
      Check out the video from here: 08:15

    • @thamashwerago3603
      @thamashwerago3603 4 роки тому

      @@CrazyCoupleDIY hey, ex1 and ex2 are like variable names?

    • @thamashwerago3603
      @thamashwerago3603 4 роки тому

      can i change ex1 and ex2 if i want

  • @jarchdm
    @jarchdm 5 років тому +1

    you got a new subscriber and a thumbs up, although i found the presentation a little shall we say breathless. I myself prefer a slightly more moderate pace. but all in all great info just when i needed it.
    could you possibly make a video on how to use the interrupt on this device to wake a wemos d1 mini or similar device

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому

      Sure can
      And thanks s lot.
      I tried adding pretty much everything in one video so tried to keep the pace otherwise it would have sounded boring and monotonous. Like my tutorial no 1.
      If you have time checkout my tutorial no 7 on OLED displays. That’s one of my blockbusters.

  • @LogicMathh
    @LogicMathh Рік тому +1

    Thanks

  • @railfilm
    @railfilm 5 років тому

    Hi very nice and explaining video. I built the first modules and they are individually all working. I run into a trouble when I wanted to copy all bits from the first PCF8574 into the second one. ( one is the collecting device, the second one is the address devise.).
    Individually they worked fine but the command - digitalReadAll(); - gave me something what I do not understood.
    I have for eg. Two
    PCF8574W(0x20); // device to write
    PCF8574R(0x21); // device to read
    I want to transfare the whole byte from PCF8574R.digitalInputAll(); into the PCF8574W device. ( in the future I plan to change the devices for the 16 bit version (PCF8575)). Will your code support also those devices?
    Thank you!
    Eugen/Austria

  • @yudishak3445
    @yudishak3445 5 років тому +1

    Thank you for this amazing quality content :D [+1]

  • @steffenskel2052
    @steffenskel2052 3 роки тому

    Bei mir geht der input nicht The input is not function What can I do

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  3 роки тому

      What exactly is the issue?
      Plz explain so that I can help, thanks

    • @steffenskel2052
      @steffenskel2052 3 роки тому

      @@CrazyCoupleDIY I'm can control the output About the input not read

  • @Willy_Tepes
    @Willy_Tepes 5 років тому +1

    With 64 servos, motors and sensors you could make very advanced robotics based on a single board computer or indeed a Arduino chip. Make a 3D printed cat please :)

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому

      Sure, I will definitely try that.
      Thanks for the suggestion

  • @JibunnoKage-YouTube-Channel
    @JibunnoKage-YouTube-Channel Місяць тому

    PCF8574 is NOT designed for GPIO OUT except at very low current. The PCF8574 is designed to SINK current, not PUSH current. So you have to design circuits to SINK current which is INPUT oriented. Refer to the DATASHEET for the current loading limits.

  • @ammccoy4131
    @ammccoy4131 5 років тому

    CY8C9560A IO Expander tuttorial please..

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому

      Hi there,
      Sure I can make one but can you please suggest me where can I buy a fully assembled board from?

    • @ammccoy4131
      @ammccoy4131 5 років тому

      @@CrazyCoupleDIY I'm not so sure, I searched the internet and only found 1 product in DHI Electronic. I am very happy if you want to make a video about this, thank you very much.

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому

      I will do a bit of search and see if I can find something.

  • @martinj9647
    @martinj9647 6 років тому +1

    Why not just use the PCF8575 if maximum IO is the goal? Of course it'd require a bit of tweaking to the 8574 library, but not much, and would double the IO for a very very small price increase! The TCA9534 is also quite interesting for inputs as it has essentially the same functionality and pinout as the 8574, 8474A, 8575, etc., but with the addition of internal pullups on P0-P7 as well as the interrupt pin.

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  6 років тому

      Well at the beginning of the tutorial I did say that "This is one of the many IO expanders available in the market"

    • @martinj9647
      @martinj9647 6 років тому

      @@CrazyCoupleDIY Sure, yet nothing in my comment could even possibly be misconstrued to be me claiming you said this was the only IO expander available. It was just a very simple suggestion for an alternate IC more suited to your goal of maximum IO expansion, so I'm not really sure what that's even supposed to mean.

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  6 років тому

      @@martinj9647 Well I can suggest an even better one.
      This one is slow just 100KHz. I would suggest MCP23017 instead as it is 16 bits and can be programmed to be both input or output and speed up to 1.7MHz. It also available for SPI version which means more speed.

    • @martinj9647
      @martinj9647 6 років тому

      @@CrazyCoupleDIY I feel like you're clearly the type of person who thinks simple suggestions are like some sort of personal attack or challenge of your intellect, sooo hard pass. Good luck with your eye two see adventures!

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  6 років тому

      @@martinj9647 Well, I guess you are that type of person who has nothing else to do in this world other than whining on people.
      Well, good luck with whatever knowledge you have.
      Just remember one thing mate, if you have a house made of glass dont throw stones on other people

  • @nikhilpatil5633
    @nikhilpatil5633 5 років тому

    Pcf8574 is not reading the value

  • @MehSimCreations
    @MehSimCreations 6 років тому

    Interesting

  • @Ahmadnaweed786
    @Ahmadnaweed786 5 років тому

    The more gpio pins the slower the comms or overall processing speeds will be.

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому

      True, but you can add up clock pulses to the setup to speed up the comms

  • @CrazyCoupleDIY
    @CrazyCoupleDIY  6 років тому

    Functions…………………………………………… 08:52

  • @YD4GSI
    @YD4GSI 3 роки тому

    Pcf8574 i/o expander

  • @startobytes
    @startobytes 4 роки тому

    you know what? I'll maka a Video about this chip in english and also in German!

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  4 роки тому

      Good job
      Well thanks for letting me know that I wasn’t speaking English

  • @lezbriddon
    @lezbriddon 2 роки тому

    pcf8574 isnt fully bidirectional, so calling it ' IO ' is a bit of a stretch of the truth, unless you can live with its limitations. The MCP23017 is the way to got if you want real bidirectional ' IO '

  • @DorothyMaloney-w9u
    @DorothyMaloney-w9u 3 місяці тому

    Prohaska Highway

  • @briancoats2373
    @briancoats2373 11 місяців тому

    I2C

  • @frankhovis
    @frankhovis 4 роки тому

    Watch out with these, all outputs are set HIGH as power on.

  • @SAMYTAHER
    @SAMYTAHER 2 роки тому +1

    √√√

  • @tecnicesar2
    @tecnicesar2 7 місяців тому

    this guy only copy and paste from the PCF 8574 Library. nothing original. Do some thing from yourself