xro:eh2024_badge_homeassistant_esp32

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
xro:eh2024_badge_homeassistant_esp32 [2024-10-17 00:14] xroxro:eh2024_badge_homeassistant_esp32 [2025-11-09 09:25] (current) – external edit 127.0.0.1
Line 13: Line 13:
   * It still works with about 1.8V where it takes about 50mA but has almost no activity and is very dark   * It still works with about 1.8V where it takes about 50mA but has almost no activity and is very dark
   * which is perfect, so we can control it's activity by controlling it's supply voltage   * which is perfect, so we can control it's activity by controlling it's supply voltage
 +
 +Basically we want to trick the step-down module to generate less output by changing the feedback voltage it sees by generating an offset voltage using the ESP32's DAC. 
  
 {{ :xro:eh2024_badge_esp32.svg |}} {{ :xro:eh2024_badge_esp32.svg |}}
Line 30: Line 32:
  
   * [[https://github.com/btittelbach/esphome_config_examples/blob/main/eh_badge_power_indicator.yaml|ESPhome Example YAML]]   * [[https://github.com/btittelbach/esphome_config_examples/blob/main/eh_badge_power_indicator.yaml|ESPhome Example YAML]]
 +  * [[https://www.analog.com/en/resources/technical-articles/digital-adjustment-of-dcdc-converter-output-voltage-in-portable-applications.html|Helpful Document explaining different options of controlling power supply voltage]]
  
 ==== Result ==== ==== Result ====
  • /srv/dokuwiki/data/attic/xro/eh2024_badge_homeassistant_esp32.1729124085.txt.gz
  • Last modified: 2025-11-09 09:24
  • (external edit)