First, I gathered datasheets for the elements that I wanted to use (Here are the links to each components:
ESP32C3 ,
DHT11 ,
CP14 (Peltier)).
Afterwards I looked for other people’s examples of connecting ESP32C3 with the components. It was relatively straightforward to figure out ESP32C3 + DHT11 since it seems to be a common sensor.
While I was struggling a little bit to find how people connect Peltier to ESP32C3, I found this pretty helpful diagram from Arduino forum that shows how Peltier could be connected to Arduino using MOSFETs. (here is a
link to the forum)
I learned Peltier components tend to run at a higher voltage and will need an extra battery to power it. In order to mediate between the voltage differences, the microcontroller (e.g., ESP32 or ESP32-C3) sends a low-power control signal to the MOSFET, which in turn switches the higher-power current needed by the Peltier module.