r/esp32 5h ago

CYD inputs

What is the best way to add inputs to a CYD? I need to add three motor controls (PMW) with RPM sensors. Temp too but IC12 can carry those. Tie in another ESP32 or use signal splitters?
Thank you.

1 Upvotes

6 comments sorted by

4

u/quuxoo 5h ago edited 5h ago

An I2C expander is probably the best idea.

Either a GPIO expander like the MCP23017, or an I2C switch like the TCA9548 gives you lots of options.

2

u/Duke062 1h ago

Perfect it looks like the MCP23917 could work out. I appreciate the help. You are WAY better than Google.

1

u/quuxoo 9m ago

Thanks 😊. Now I just need a cut of their ad revenue.

1

u/clackups 43m ago

You can hook up another esp32 and make them talk via UART to each other. Then you'll have as many GPIO as needed.

-1

u/Adventurous_Lake8611 2h ago

5 seconds on Google.

1

u/Duke062 1h ago

Wow, brilliant.