Categories

WREN ESP12S SDK – GPIO Matrix

WIKI:

The WREN SDK uses both ESP-12S GPIO and I2C GPIO Expander (MCP23017). to control and monitor the board functionality.

For this reason, it is important to ensure your development supports the I2C Expander MCP23017.  An example from Tasmota is MCP23017 GPIO Expander

I/OFunctionESP12S GPIOMCP I/O 0x20Description
Analogue InputADCA0DC Voltage Monitor (12-40V)
I2CSCLGPIO5
I2CSDAGPIO4
InputGPIOB5GPB5/D13User Configuration Link (Enable PU)
InputIN_1AGPB0/D8Detect Isolated Input
InputIN_1BGPB1/D9Detect Isolated Input
InputIN_2AGPB2/D10Detect Isolated Input
InputIN_2BGPB3/D11Detect Isolated Input
InputSFLAGGPIO16Safety Flag Logic (Ideally Interrupt)
InputTALMGPB4/D12Temperature Alarm (Active Low)
OutputEN_1GPA0/D0Motor Driver 1 Enable
OutputEN_2GPA3/D3Motor Driver 2 Enable
OutputLED BlueGPIO2RGB LED (Active Low)
OutputLED GreenGPA6/D6RGB LED (Active Low)
OutputLED RedGPA7/D7RGB LED (Active Low)
OutputOUT_1AGPA1/D1Enable Isolated Output
OutputOUT_1BGPA2/D2Enable Isolated Output
OutputOUT_2AGPA4/D4Enable Isolated Output
OutputOUT_2BGPA5/D5Enable Isolated Output
SPIMISOGPIO12
SPIMOSIGPIO13
SPISCKGPIO14
SPISSGPIO15

Leave a Reply

This site uses User Verification plugin to reduce spam. See how your comment data is processed.
0

Cart Summary (Discounts shown at checkout)

    Product Price Quantity Subtotal

Basket totals

Subtotal £0.00
Total £0.00