1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- menu "Andreas Pool Temp Sensor Configuration"
- config ESP_WIFI_SSID
- string "WiFi SSID"
- default "Hemnet3"
- help
- SSID (network name) to connect to.
- config ESP_WIFI_PASSWORD
- string "WiFi Password"
- default "mypassword"
- help
- WiFi password (WPA or WPA2) to use.
- config ESP_MQTT_PASSWORD
- string "MQTT Password"
- default "mypassword"
- help
- MQTT password
- config ESP_MQTT_UNAME
- string "MQTT User"
- default "myuser"
- help
- MQTT Username
- choice BLINK_LED
- prompt "Blink LED type"
- default BLINK_LED_GPIO if IDF_TARGET_ESP32
- default BLINK_LED_RMT
- help
- Defines the default peripheral for blink example
- config BLINK_LED_GPIO
- bool "GPIO"
- config BLINK_LED_RMT
- bool "RMT - Addressable LED"
- endchoice
- config BLINK_GPIO
- int "Blink GPIO number"
- range 0 48
- default 8 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32H2
- default 18 if IDF_TARGET_ESP32S2
- default 48 if IDF_TARGET_ESP32S3
- default 5
- help
- GPIO number (IOxx) to blink on and off or the RMT signal for the addressable LED.
- Some GPIOs are used for other purposes (flash connections, etc.) and cannot be used to blink.
- config ONE_WIRE_GPIO
- int "OneWire GPIO number"
- range 0 33
- default 4
- help
- GPIO number (IOxx) to access One Wire Bus.
- Some GPIOs are used for other purposes (flash connections, etc.) and cannot be used.
- GPIOs 34-39 are input-only so cannot be used to drive the One Wire Bus.
- config ENABLE_STRONG_PULLUP_GPIO
- bool "Enable strong pull-up controlled by GPIO (MOSFET)"
- default n
- help
- An external circuit can be used to provide a strong pull-up to the One Wire Bus.
- This is useful when the bus has parasitic-powered devices and extra current is
- required to power them, such as during temperature ADC conversions.
- An example of such a circuit for the ESP32 is a P-channel MOSFET (such as the BS250)
- connected Source-to-Drain between a current-limiting resistor (e.g. 270ohm for 12mA
- max at 3.3V), itself connected to VCC, and the One Wire Bus data line. The Gate is
- connected to the GPIO specified here.
- config STRONG_PULLUP_GPIO
- int "Strong pull-up GPIO number"
- range 0 33
- default 5
- help
- GPIO number (IOxx) to control the strong pull-up on the One Wire Bus, perhaps
- via a P-channel MOSFET between VCC and the One Wire Bus data line.
- This GPIO will be set as an output and driven high during temperature conversion.
- This would enable the MOSFET providing current to the devices.
- At all other times it will be driven low, switching off the MOSFET and allowing
- the One Wire Bus to operate normally.
- Some GPIOs are used for other purposes (flash connections, etc.) and cannot be used.
- GPIOs 34-39 are input-only so cannot be used to drive the One Wire Bus.
- depends on ENABLE_STRONG_PULLUP_GPIO
- endmenu
|