Hi,
Explanation (Questions are at end of post)
I'm planning my first project (I'm a complete beginner with electronics). The idea is to have 2 temperature sensors (BME280), one inside our server cabinet and one outside. I'll be using an ESP32 (for WiFi) which will be outside the server cabinet. But I want to power it from our UPS which is inside the server cabinet and get I2C to the sensor inside the cab. Ideally the power source would be a 5V USB wall adapter (2 to 3 amps).
My plan is to use some USB breakout boards and Adafruit EYESPI FPC cable breakouts so I can feed the flat FPC/ribbon cable through the side of the server cabinet. The EYESPI breakouts are designed for SPI but as far as I can see there are no additional components, just a breakout of the connector so I'm hoping I can use it for this purpose.
I need to take power direct from the power source as well as powering the ESP32 via USB because I want to power up to 4 displays, 2 sensors and a few LEDs which needs too much current.
Here's a basic diagram of what I'm trying to do which will hopefully make more sense.
Hardware I plan to use:
- https://wiki.dfrobot.com/FireBeetle_Board_ESP32_E_SKU_DFR0654 - ESP32
- https://learn.adafruit.com/adafruit-bme280-humidity-barometric-pressure-temperature-sensor-breakout - BME280
- https://www.adafruit.com/product/5599 - 7 Segment Display
- https://www.adafruit.com/product/2717 TCA9548A I2C Multiplexer
- https://www.adafruit.com/product/5613 - Adafruit EYESPI Breakout Board - 18 Pin FPC Connector
- https://www.adafruit.com/product/5240 - Adafruit 18 pin FPC Cable
- https://www.sparkfun.com/products/12700 - SparkFun USB Type A Female Breakout
Questions:
- Can I split the power from the USB breakouts like this and still power the ESP32 with a USB A to C cable?
- Can I use the EYESPI breakout boards and FPC cables for this purpose?
- Are there any other problems which I've missed?
Thanks
