I need the scanner to work as I have to scan for new device on the bus when user plug in a new device.Īfter sometime struggling with turning off Wifi, did not work, I applied an old trick, set the GPIO2 to LOW before Wire. Turn of wifi make scanner work and found devices returned!Ĭan any one advice me on how to solve the problem with thanks. I also tried putting pull-up resiter 1K, 3.3K, 4.7 K on the bus but no option worked. PCF8574ESP - A very simplistic library for using the PCF8574/PCF8574A I2C 8-pin GPIO-expander. Adafruit-PCD8544-Nokia-5110-LCD-Library - Port of the Adafruit PCD8544 - library for the ESP8266. While (!Serial) // Leonardo: wait for serial monitorįor(address = 1 address > 3.1-3.2V and on port expander VCC/GND was still 3.1 V (within the range of valid power for I2C). OneWire - Library for Dallas/Maxim 1-Wire Chips. ![]() However, when I used the scanner procedure (see below.Also, If I connect another Pcf8574 module to the bus, with address 0x27, the connection is just fine also. When I connect the port and use wire library to connect via I2C, the connection was just fine with a declared address of 0x20.The bus does not need pullup resitors as the module itself has built in 1k pullup resistor already. AZ-Touch ESP Kit, RC522 RFID reader, and wrapping wire Black background. Setting: ESP8266-01S is connected to 3.3V power and connect to I2C bus with 1 PCF8574 port expander (known address of 0x20) on GPIO0-SDA/GPIO2 - SCL. 8-inch TFT LCDs, MCUFRIENDkbv library is useful As a bonus, this display has a. ![]() I have a very strange problem with ESP8266-01S as below:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |