The data sheet is here: PCF8574 datasheet. I’m using the PCF8574AP chips that I’ve bought on ebay (Original, fakes, who knows, they work.). On this post I’m using the NodeMcu and Lua language. This is possible because the ESP8266 can create and use an I2C bus on those two pins, using either native programming or the NodeMcu firmware and the Lua language. If we want more pins we need to buy another ESP board with more exposed pins, or use an I2C port expander. ![]() ![]() ![]() The problem with the ESP-01 board is that it only has two GPIO pins available for doing something: GPIO0 and GPIO2. Many of us bought a few ESP-01 boards when they came out, before other boards that have more general purpose input/output pins (GPIO) exposed had become available, like the ESP-12.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |