SShortSingh.
Back to feed

Why ESP32 ADC voltage readings vary: calibration and configuration explained

0
·32 views

Espressif's ESP-IDF documentation explains that ESP32 analog readings depend on the chip's reference voltage, which is nominally 1100 mV but can range from 1000 mV to 1200 mV between chips. The calibration driver uses eFuse-stored parameters where available, and falls back to an estimated default reference when none are burned. The oneshot driver requires attenuation and bit width to be set per channel and matched in the calibration scheme. The docs also warn that adc_oneshot_read() must be called from a task rather than an interrupt, and that ADC2 is shared with Wi-Fi. The review concludes that absolute voltage accuracy requires calibration and checking the board's calibration source.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Developer Builds Multi-Country Real Estate Underwriting Engine in Pure JavaScript

A developer has described building a zero-dependency JavaScript module that models mortgage and tax rules for Canada, the United States, and France in a single underwriting engine. The author argues that common real estate calculators, which often use a US-style monthly mortgage formula and a flat closing cost, produce inaccurate results across different jurisdictions. The engine accounts for features such as Canadian semi-annual mortgage compounding, CMHC insurance premiums, OSFI B-20 stress testing, progressive transfer-tax brackets, and French LMNP furnished-rental tax regimes. The author also explains using a binary search to find maximum offer prices under discontinuous regulatory rules, and the post discloses that it promotes the author's free browser extension, PlexPulse.

0
ProgrammingDEV Community ·

Automatizar GA4 y Search Console para medir el ROI orgánico de cada publicación

Los blogs técnicos suelen separar el repositorio de contenidos de la analítica web, lo que impide saber qué piezas generan tráfico cualificado o pierden relevancia con el tiempo. Este cuarto artículo de la serie Datalaria Pulse describe cómo conectar las APIs de GA4 y Search Console mediante una Service Account de Python para recolectar métricas de forma desatendida en CI/CD. Se plantea además un enfoque de métricas relativas que evita exponer cifras absolutas de visitas o facturación en el frontend público. El objetivo es identificar qué activos requieren actualización urgente y cuáles sostienen el negocio de forma estable. La entrega forma parte de una serie de cinco que busca una gobernanza editorial autónoma y orientada a resultados.

0
ProgrammingDEV Community ·

Seven Game-Based Assessment Practice Sites Compared for 2026: What Free Access Covers

A comparison of seven sites offering practice for game-based hiring assessments, used by graduate and junior tech employers, was published on DEV Community. The author reviewed public pricing and access terms without purchasing any paid passes, so the review covers access and cost rather than how closely each game matches real tests. GamePrep offers the most generous free tier, with all 55 games and timed tests free and no account needed, while optional paid passes unlock worked solutions and score history. CogniPrep, Game Based Assessment, GameTestPrep, Game Assessment Prep and HireVueGames each differ in provider coverage, sign-up requirements, and one-off versus subscription pricing. The author disclosed that they built one of the listed sites, and noted that prices change and should be rechecked before purchase.

0
ProgrammingDEV Community ·

Eleven exact-file rules replace repeated model judgments in a code-change risk classifier

A deterministic classifier that sorts code changes by risk now uses eleven new rules derived from repeated historical answers. Each rule matches one exact file path rather than whole directories or filename patterns, so it cannot quietly broaden its reach. A replay against 1,603 ledger rows showed 37 cases moving from model-or-escalation to a deterministic answer, and none of the 27 previously model-answered cases disagreed with the new result. The replay shows consistency with past decisions, not that future model calls will be avoided or that the earlier model was correct. Mixed-risk commits and commits with unmatched sibling files remain unresolved, and the classifier still advises rather than gating delivery.