info:esp-12_pinout
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
info:esp-12_pinout [2019/07/07 13:20] – 192.168.1.179 | info:esp-12_pinout [2019/11/20 07:28] (current) – 192.168.1.199 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== NodeMCU ===== | ||
+ | |||
+ | ==== I2C ==== | ||
+ | |||
+ | I2C can be used to connect up to 127 nodes via a bus that only requires two data wires, known as SDA and SCL.\\ | ||
+ | |||
+ | SDA=4 => D2.\\ | ||
+ | SCL=5 => D1\\ | ||
+ | |||
+ | ==== SPI ==== | ||
+ | |||
+ | SPI is much simpler than I2C. Master and slave are linked by three data wires, usually called MISO, (Master in, Slave out), MOSI (Master out, Slave in) and M-CLK.\\ | ||
+ | |||
+ | M-CLK => D5\\ | ||
+ | MISO => D6\\ | ||
+ | MOSI => D7\\ | ||
+ | (SPI Bus SS (CS)is D8.)\\ | ||
+ | |||
{{: | {{: | ||
{{: | {{: |
info/esp-12_pinout.1562520010.txt.gz · Last modified: 2019/07/07 13:20 by 192.168.1.179