MCP23017 plugin using with DHT,DS8b20, Rotary Encoder

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
besterquester
Normal user
Posts: 6
Joined: 07 Jun 2020, 11:38

MCP23017 plugin using with DHT,DS8b20, Rotary Encoder

#1 Post by besterquester » 07 Jun 2020, 11:51

Hi all,

First of all ESPEasy is a great work. Worked on tasmota so far. I chanced to ESPEASY: :)

Actually i am testing ESPeasy with use of MCP23017 Plugin. I am able to read simple button events and also set leds on and off.
But now i am working on a project for my outdoor sauna.
I am using 2 NODEMCU since i ran out of ports and used udb sendto command.

I want to use only one MCU combined with the port extender MCP23017.

I use following items:
  • 3x rotary Encode py040
  • 1x DHT, temp and humidity sensor
  • 2x simple switch buttons
  • 1x relais
I ried the MCP23017 and it works with simple switches and leds.

But now is my question. How can i use the py040 or DS8b20 on the IO expander.

best regards Chris

TD-er
Core team member
Posts: 2804
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: MCP23017 plugin using with DHT,DS8b20, Rotary Encoder

#2 Post by TD-er » 07 Jun 2020, 12:42

Right now only a limited number of plugins (switch and maybe others?) can use the GPIO extenders.
For the others you still need true GPIO pins on the ESP.

If you need more pins you can also try the ESP32.
If you need sensors that communicate via UART, we have another solution using an I2C to UART bridge, so you only need the I2C pins which you probably also need for other sensors.

N.B. ESP32 still has a few issues, but we plan to have the same level of support for ESP32 as for ESP82xx


Glad to see people switching from another platform to ESPEasy :)

besterquester
Normal user
Posts: 6
Joined: 07 Jun 2020, 11:38

Re: MCP23017 plugin using with DHT,DS8b20, Rotary Encoder

#3 Post by besterquester » 07 Jun 2020, 15:34

Thanks for the suggestion. I ordered 3 esp32 now and will try the newest firmware.
will let you know

regards Chris

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 21 guests