From 66edd8c8dc2c54e6d81d03d9e5c7373056d9fbd1 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Mon, 2 Dec 2024 09:09:54 +0000 Subject: [PATCH] Correct docs. Best not to claim the GPIO used for ADC is three *different* pins. Make them all agree with the actual code, according to the pin it ended up on. --- bathroomfloor.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bathroomfloor.yaml b/bathroomfloor.yaml index 79ea5b2..069c66e 100644 --- a/bathroomfloor.yaml +++ b/bathroomfloor.yaml @@ -4,7 +4,7 @@ # GPIO23: Onboard blue LED (used to show MQTT connectivity) # GPIO16: Onboard relay (bathroom fan) # GPIO25: Used as output for NTC bridge -# GPIO32: ADC, midpoint of NTC bridge +# GPIO34: ADC, midpoint of NTC bridge # # The underfloor heating NTC thermistor is connected as follows: # @@ -12,14 +12,14 @@ # | # ▯ 10 kΩ fixed resistor # | -# --- GPIO24 (ADC) +# --- GPIO34 (ADC) # | # ▯ 10 kΩ NTC under floor # | # ⏚ GND # # Rather than leaving current flowing through the thermistor at all times and -# potentially introduicing errors by warming it up, we only turn GPIO25 on +# potentially introducing errors by warming it up, we only turn GPIO25 on # when it's time to take a reading. # # So we disable the periodic measurement on the ADC sensor, then periodically -- 2.50.1