of course, the MCU alone is not enough for this purpose. the capabilities of debug boards are also largely the same. so, here the DevKit V1 is equipped with:
- op-amp ADC input buffer, capable of mixing input value with ESP32 DAC output
- schottkey diodes protecting ESP32(ADC) inputs
- 24V -> 8V step-down, allowing to use LCD's with 7-8V background LEDs - e.g. LPH9157-2(used in Siemens x75 mobiles) without extreme power loss on current limiting resistor.
- ... and LPH9157-2-pinout 3.3V SPI connector
- 8V -> 5V LM7805 linear regulator, providing low noise 5V at much lower than 24 -> 5 regulating power loss and overheating.
- 3.3V and 5V I2C connectors to use e.g. HD44780 LCDs with I2C adapter.
- 7 Touch capable GPIOs + GND connector - to use push button or capactive matrix keyboard
- 5V supply output and UART connector to an LCD/Touch panel(e.g. Nextion).
oversampling is the place where capability to mix input value with DAC output takes part, since it requires ~2-3 LSBs noise.
such devices often provide power supply for connected sensors, so easy to replace single-voltage 24V source is used to supply everything. capability to detect sensor-identifying resistor value with MCU on-board ADC is also implemented.
fortunately, they say there is 1 more UART in ESP32, so let us hope adding (DMA-capable) RS-485 is not a problem.
having put everything together, we get the functional filling of 0..10V measuring device, which only needs a housing:
and it would be absolutely trerific if:
- MCU pins were 5V-tolerant
- ADC linearity and precision was competitive
- developing firmware for such a device was as painless as developing its electronic part
