EasyManuals Logo

Adafruit Feather HUZZAH ESP8266 User Manual

Adafruit Feather HUZZAH ESP8266
53 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #11 background imageLoading...
Page #11 background image
I2C & SPI pins
You can use the ESP8266 to control I2C and SPI devices, sensors, outputs, etc. While
this is done by 'bitbanging', it works quite well and the ESP8266 is fast enough to
match 'Arduino level' speeds.
In theory you can use any pins for I2C and SPI but to make it easier for people using
existing Arduino code, libraries, sketches we set up the following:
I2C SDA = GPIO #4 (default)
I2C SCL = GPIO #5 (default)
If you want, you can connect to I2C devices using other 2 pins in the Arduino IDE, by
calling Wire.pins(sda, scl) before any other Wire code is called (so, do this at
the begining of setup() for example
Likewise, you can use SPI on any pins but if you end up using 'hardware SPI' you will
want to use the following:
SPI SCK = GPIO #14 (default)
SPI MOSI = GPIO #13 (default)
SPI MISO = GPIO #12 (default)
©Adafruit Industries Page 11 of 53

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Adafruit Feather HUZZAH ESP8266 and is the answer not in the manual?

Adafruit Feather HUZZAH ESP8266 Specifications

General IconGeneral
BrandAdafruit
ModelFeather HUZZAH ESP8266
CategoryMicrocontrollers
LanguageEnglish

Related product manuals