From 6d901142d84771597b0bc7e5d6b2a34f36f423ee Mon Sep 17 00:00:00 2001 From: sherbang Date: Tue, 27 Nov 2018 17:44:41 -0500 Subject: [PATCH] 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 --- esphomeyaml/devices/sonoff_basic.rst | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/esphomeyaml/devices/sonoff_basic.rst b/esphomeyaml/devices/sonoff_basic.rst index 4ad1e8cf5..34130188f 100644 --- a/esphomeyaml/devices/sonoff_basic.rst +++ b/esphomeyaml/devices/sonoff_basic.rst @@ -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 `__ - `Edit this page on GitHub `__ .. disqus::