src.nth.io/

summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index 0959a02..dbcf294 100644
--- a/README.md
+++ b/README.md
@@ -40,6 +40,7 @@ only measured by the ADC.
- r1 = 100kO
- r2 = 10kO + 2.2kO
+- 1.85V seems to be where high goes to low. - Probably remove the 2.2kO resister.
## Partition Sizing
@@ -62,9 +63,10 @@ phy_init, data, phy, , 0x1000,
factory, app, factory, , 0x180000, # Change from 1M to 0x180000
```
-
## Doorbell ADC Output
+An ESP32 GPIO pin cannot bt used for both interrupts and ADC sampling at the same time so two adjacent GPIO pins are bridged to take the same voltage, one for interrupt handling and the other to read the ADC.
+
```I (65813) HAP Intercom: Intercom bell ring value in range [2960]
I (66813) HAP Intercom: Intercom bell ring value in range [2966]
I (67813) HAP Intercom: Intercom bell ring value in range [2957]
@@ -96,3 +98,7 @@ I (92813) HAP Intercom: Intercom bell ring value in range [2959]
I (93813) HAP Intercom: Intercom bell ring value in range [2951]
I (94813) HAP Intercom: Intercom bell ring value in range [2949]
```
+
+## Building
+
+Use the [Espressif esp-ide](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/index.html#step-2-get-esp-idf) to build. This also includes a custom fork of the [Espressif HAP SDK](https://github.com/espressif/esp-homekit-sdk) that adds HomeKit doorbell support. \ No newline at end of file