Mcp23017: Skirtumas tarp puslapio versijų

Iš Žinynas.
Jump to navigation Jump to search
(Naujas puslapis: 300px 600px This port expander provides you 16 more GPIOs and cost you around 1€. And be...)
 
7 eilutė: 7 eilutė:
 
= ESP32 Wiring =
 
= ESP32 Wiring =
  
* SDA -> GPIO5
+
* SDA -> pin 21
* SCL -> GPIO4
+
* SCL -> pin 22
 
* VSS -> GND
 
* VSS -> GND
 
* VDD -> VIN
 
* VDD -> VIN
21 eilutė: 21 eilutė:
  
 
[[Category:Hardware]]
 
[[Category:Hardware]]
[[Cateogry:ESP32]]
+
[[Category:ESP32]]
 
[[Category:ESP8266]]
 
[[Category:ESP8266]]

02:37, 26 lapkričio 2022 versija

Mcp23017-pinout.jpg.webp

Mcp23017-and-8-leds schem.png-2.webp

This port expander provides you 16 more GPIOs and cost you around 1€. And because it communicates via I²C it only uses two GPIOs of your ESP8266 and you can address up to 8 MCP23017. That makes up to 126 additional GPIOs.

ESP32 Wiring

  • SDA -> pin 21
  • SCL -> pin 22
  • VSS -> GND
  • VDD -> VIN
  • 17 -> GND
  • 16 -> GND
  • 15 -> GND


ESP8266

https://medium.com/@wilko.vehreke/more-gpios-for-the-esp8266-with-the-mcp23017-b89f5e15cde3