Files
PrincessPiTracker/NOTES-SCRATCH.md
T
2025-11-29 14:32:04 -07:00

1.0 KiB

Notes

  • using esp-idf v5.5.1 for testin

Wireshark

  • filter for finding these adverts by mac is btle.advertising_address == xx:xx:xx:xx:xx || btle.scanning_address == xx:xx:xx:xx:xx
  • filter for narrowing to without mac is (btcommon.eir_ad.entry.type == 0x01) && (btle.advertising_header == 0x2506)

Voltage reading

Wiring SDC to bat voltage to measure with ADC0

  1. 2x 200k resistor
    1. bat+ -> adc0
    2. bat- -> adc0
  2. adc oneshot read esp-idf
  3. battery usage Xiao C6
  4. battery usage Xiao C3
  • max usable interval 4000ms seems like
    • 2000ms seems moar stable? idk

Scratch

burst-60s-200ms-10ms-3b-nousb-ant-8069460- normal-10.230s-10ms-nousb-ant-8069460- burst-60s-200ms-10ms-3b-nousb-noant-8069460- normal-10.230s-10ms-nousb-noant-8069460-