Fix Sonoff Basic pinouts (#88)

GPIO 4 and 17 are only available by soldering directly to the MCU.
Unlike the S20, the Sonoff Basic doesn't have a red LED.
Added pin numbers for the 3 GPIOs that are available on the programming header.
Added link of Sonoff-Tasmota wiki page with an image of pinout locations
This commit is contained in:
sherbang 2018-11-27 17:44:41 -05:00 committed by Otto Winter
parent 627537f540
commit 6d901142d8

View File

@ -46,19 +46,15 @@ exposes all of the basic functions.
================================================== ==================================================
``GPIO0`` Button (inverted)
-------------------------------------------------- --------------------------------------------------
``GPIO1`` ``RX`` pin (for external sensors)
``GPIO1`` ``RX`` pin (C1 Pin 2)
-------------------------------------------------- --------------------------------------------------
``GPIO3`` ``TX`` pin (for external sensors)
``GPIO3`` ``TX`` pin (C1 Pin 3)
-------------------------------------------------- --------------------------------------------------
``GPIO4`` Optional Sensor
-------------------------------------------------- --------------------------------------------------
``GPIO12`` Relay and Red LED
``GPIO12`` Relay
-------------------------------------------------- --------------------------------------------------
``GPIO13`` Green LED (inverted)
-------------------------------------------------- --------------------------------------------------
``GPIO14`` Optional Sensor
-------------------------------------------------- --------------------------------------------------
``GPIO17`` Analog Input
``GPIO14`` Optional Sensor (C1 Pin 5)
================================================== ==================================================
.. code-block:: yaml
@ -130,6 +126,7 @@ See Also
- :doc:`sonoff`
- :doc:`sonoff_4ch`
- :doc:`sonoff_s20`
- `GPIO locations <https://github.com/arendst/Sonoff-Tasmota/wiki/GPIO-Locations>`__
- `Edit this page on GitHub <https://github.com/OttoWinter/esphomedocs/blob/current/esphomeyaml/devices/sonoff_basic.rst>`__
.. disqus::