J. Nick Koston
ecc0b366b3
[esp32] Reduce compile time by excluding unused IDF components ( #13610 )
2026-01-29 13:21:12 -06:00
tomaszduda23
333ace25c9
[adc] Fix indent ( #11933 )
2026-01-21 12:41:56 -05:00
J. Nick Koston
ee65f2f0cd
[adc] Combine log statements to reduce loop blocking ( #12841 )
2026-01-03 15:24:41 -10:00
1a308583b3
[esp32] Add support for ESP32-C61 variant ( #12285 )
...
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-12-05 12:16:19 -05:00
Jesse Hills
7fd79fdded
[esp32] Change imports to use esp32 only, not .const ( #12243 )
2025-12-05 09:53:08 -05:00
Thomas Rupprecht and Jonathan Swoboda
22803ef54b
[esp32] Sort variants in situ ( #10410 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2025-12-03 20:48:11 -05:00
Jesse Hills
fe1371f4dc
[adc] Fix FILTER_SOURCE_FILES location ( #10673 )
2025-09-10 22:32:04 -05:00
Edward Firmo
90c2fdd565
[adc] Fix autorange negative coefficient bug causing incorrect voltage readings ( #10549 )
2025-09-09 12:56:18 +12:00
tomaszduda23 and Jesse Hills
7a4738ec4e
[nrf52] add adc ( #9321 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-08-01 13:49:39 +12:00
Clyde Stubbs
5f7c2f771f
[adc] Enable ADC on ESP32-P4 ( #9954 )
2025-07-29 18:20:37 +12:00
J. Nick Koston
b7ce8c116b
[core] Centralize component setup logging to reduce flash usage ( #9885 )
2025-07-25 19:27:03 +00:00
78c32eac04
[adc] Add ESP32-C5 support ( #9486 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
Co-authored-by: oxynatOr <98734567+oxynatOr@users.noreply.github.com >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-07-16 23:32:44 +12:00
J. Nick Koston and Jesse Hills
f3c0c0c00c
Remove legacy unique_id field from entities ( #9022 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-07-16 04:56:49 +00:00
Edward Firmo and Jesse Hills
5480675dd8
[adc] Use new library with ESP-IDF v5 ( #9021 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-07-16 13:03:19 +12:00
J. Nick Koston
440de12e3f
Don't compile unnecessary platform files (e.g. ESP8266 files on ESP32) ( #9354 )
2025-07-08 09:04:41 +12:00
Jonathan Swoboda
3470305d9d
[esp32] Remove IDF 4 support and clean up code ( #9145 )
2025-07-01 16:22:41 +00:00
Keith Burzinski
53ab016098
[adc] Memory optimizations ( #9247 )
2025-06-29 06:17:53 -05:00
J. Nick Koston
c0b05ada1a
Reduce ESP_LOGCONFIG calls ( #9026 )
2025-06-09 00:02:30 +00:00
Keith Burzinski
6675e99862
Remove unnecessary ellipsis ( #8964 )
2025-06-03 21:46:10 +01:00
Keith Burzinski
b6fa4f641d
Streamline setup() logging (a, b) ( #8924 )
2025-05-28 22:53:51 +12:00
Thomas Rupprecht
0fe6c65ba3
[adc] sort variants and add links to reference implementations ( #8327 )
2025-04-29 15:08:08 -05:00
Igor Novgorodov and Djordje Mandic
1ab1768b6a
Add ADC sampling method option ( #8131 )
...
Co-authored-by: Djordje Mandic <6750655+DjordjeMandic@users.noreply.github.com >
2025-02-10 17:32:54 +13:00
luar123
ea06740b46
Fix adc channel for ESP32-H2 ( #7964 )
2024-12-16 10:59:54 +13:00
Edward Firmo
5877c57a35
[adc] Restore missing LIBRETINY code in a separated file ( #7955 )
2024-12-15 07:55:04 +13:00
Edward Firmo
437b236a4d
[adc] Split files by platform ( #7940 )
2024-12-10 13:38:45 +13:00
Mat931
247b2eee30
Add ADC multisampling ( #6330 )
2024-05-16 14:11:21 +12:00
Jesse Hills
9a6e90af54
[adc] Fix 11db deprecation warning ( #6749 )
2024-05-15 12:51:01 +12:00
Samuel Sieb
fdd54d74a3
Don't crash with invalid adc pin ( #6059 )
...
* Don't crash with invalid adc pin
* lint
2024-01-07 21:39:53 -06:00
Clyde Stubbs
d9792b0d92
Checks for pins used in multiple places ( #5666 )
2023-12-05 08:56:53 +09:00
Keith Burzinski
736dbfac13
Add IDF 5 test yaml, add adc to IDF tests, fix adc for IDF 5 ( #5379 )
2023-09-13 11:36:17 +12:00
Jesse Hills
fc354eec0e
Attempt to fix rp2040 adc with vcc ( #5378 )
2023-09-12 14:14:10 +12:00
Ilia Sotnikov
7bb67ae94b
[ADC] Support measuring VCC on Raspberry Pico (W) ( #5335 )
...
* [ADC] Support measuring VCC on Raspberry Pico (W)
Added support for measuring VCC on Raspberry Pico (W) with ADC.
GPIO pin is provided as `VCC`, same as with ESP8266. VSYS is the voltage
being actually processed, and might have an offset from actual power
supply voltage (e.g. USB on VBUS) due to voltage drop on
Schottky diode between VSYS and VBUS on Rasberry Pico. The offset has
experimentally been found to be ~0.25V on Pico W and ~0.1 on Pico,
presumably due to different power consumption.
Example usage:
sensor:
- platform: adc
pin: VCC
name: "VSYS"
* + Added tests for VCC measuring on `rpipicow` board
2023-09-09 04:00:45 -05:00
a9630ac847
Support for LibreTiny platform (RTL8710, BK7231 & other modules) ( #3509 )
...
Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl >
Co-authored-by: Sam Neirinck <git@samneirinck.com >
Co-authored-by: David Buezas <dbuezas@users.noreply.github.com >
Co-authored-by: Stroe Andrei Catalin <catalin2402@gmail.com >
Co-authored-by: Sam Neirinck <github@samneirinck.be >
Co-authored-by: Péter Sárközi <xmisterhu@gmail.com >
Co-authored-by: Hajo Noerenberg <hn@users.noreply.github.com >
2023-09-05 10:16:08 +12:00
Austin and Stijn Tintel
fe7893d1b3
Support for ESP32-C2 & ESP32-C6 ( #4377 )
...
Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be >
2023-08-21 09:42:03 +12:00
Jesse Hills
00f9af70a9
Fix some configs after #5181 ( #5209 )
2023-08-07 11:48:23 +12:00
Jesse Hills
f81c556b63
Update components "if x in config" ( #5181 )
2023-08-02 16:25:26 +12:00
Keith Burzinski
56630bb717
Swap ADC back to use 'int' because C3 ( #5151 )
2023-07-31 09:19:06 +12:00
Pierre-Alexis Ciavaldini and Keith Burzinski
3ac0165f00
ESP32 enable ADC2 when wifi is disabled ( #4381 )
...
Co-authored-by: Keith Burzinski <kbx81x@gmail.com >
2023-07-17 07:42:01 +12:00
Jesse Hills
39a650ee54
Add more configuration for microphones - i2s/pdm/adc ( #4775 )
2023-05-10 16:37:21 +12:00
Jesse Hills
ef26677b67
Always use brackets around single log macros ( #4072 )
2022-11-23 10:32:51 +13:00
Jesse Hills
719c212009
Support ADC on RP2040 ( #4040 )
2022-11-17 13:51:08 +13:00
Samuel Sieb
e809488cc0
Remove deprecated adc init call. ( #3667 )
2022-08-01 09:44:58 +12:00
Carlos Garcia Saura and Otto Winter
dd24ffa24e
Correct ADC auto-range for ESP32-S2 variant (13 bit adc) ( #3158 )
...
Co-authored-by: Otto Winter <otto@otto-winter.com >
2022-06-03 16:07:35 +12:00
MFlasskamp
d685fdf54a
mask deprecated adc_gpio_init() for esp32-s2 ( #3445 )
2022-05-10 17:16:16 +12:00
Jesse Hills
3b8bb09ae3
Add class as first positional arg to sensor_schema ( #3216 )
2022-02-18 10:27:20 +13:00
Martin
7590d5eacb
set adc width to 13 bits for esp32-s2 ( #3117 )
2022-01-26 13:33:59 +01:00
Oxan van Leeuwen and Jesse Hills
80d03a631e
Force braces around multi-line statements ( #3094 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2022-01-25 08:56:36 +13:00
Carlos Garcia Saura
c84efe64d3
ADC: Turn verbose the debugging "got voltage" ( #2863 )
2021-12-06 19:56:53 +13:00
Carlos Garcia Saura
219b225ac0
[ESP32 ADC] Add option for raw uncalibrated output ( #2663 )
2021-11-10 19:12:57 +01:00
Otto Winter
cac5b356db
ESP32 ADC use factory calibration data ( #2574 )
2021-10-21 16:01:33 +02:00