Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question housing #1

Open
sandmen opened this issue Apr 9, 2023 · 1 comment
Open

Question housing #1

sandmen opened this issue Apr 9, 2023 · 1 comment

Comments

@sandmen
Copy link

sandmen commented Apr 9, 2023

Hi,
is there a power switch for the battery in the housing ?
Or, how to switch off the Bike-Computer ?
Thanks

@euphi
Copy link
Owner

euphi commented Apr 9, 2023

There is space for a switch, but I connected before USB-C power supply, so battery is always connected.

Software has a deep-sleep-button in the Settings screens (longpress on clock). Wakeup is by Touch.
I choose this solution to keep the ULP and thus RTC running.

There are several drawbacks with this:

  • T-RGB electronics provides power from battery to USB-C even in deep-sleep. (So the extra ESP32 to convert Forumslader Classic bluetooth to BLE is kept on, if battery voltage is high enough).
    • Solution: connect the second ESP32 before the switch.
  • Touch can switch on T-RGB unintentionally.
    • Workaround: Auto-Deep-Sleep if no external power supply
    • Solution: Use boot-button for wake-up. I tried, but display (backlight) is not initialized correctly when I do so. (needs further investigation). This would also need a button extension in the housing (this is feasible).
  • RTC is extremely unaccurate (several minutes per day depending on external influences (temperature, voltage etc.) so you cannot calibrate for the drift.)
    • Solution: Use different clock source (Internal 8.5 MHz oscillator). However, this is fixed in the Arduino-ESP32 and I was not able to compile (link) with own Espressif IDF configuration yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants