How Can I Map 0-5 Adc Range To ESP32 0-3.3v Range #3 - GitHub

Skip to content Dismiss alert {{ message }} / ESP32-ADC-Accuracy-Improvement-function Public
  • Notifications You must be signed in to change notification settings
  • Fork 37
  • Star 220
  • Code
  • Issues
  • Pull requests
  • Actions
  • Projects
  • Security

    Uh oh!

    There was an error while loading. Please reload this page.

  • Insights
Additional navigation options How can I map 0-5 adc range to ESP32 0-3.3v range #3New issueNew issueClosedClosedHow can I map 0-5 adc range to ESP32 0-3.3v range#3@futechiot

Description

@futechiotfutechiotopened on Apr 26, 2018

Hello there,

This is not an issue but I need your help to complete my product.so I'm posting here.

I have 8 analog sensors for water quality measurement. They all have metering circuit to measure electrode readings. For example https://www.dfrobot.com/wiki/index.php/Analog_ORP_Meter(SKU:SEN0165)

these sensors and metering circuits are design for an ARDUINO for 5volt and for 10 bit resolution.( 5v AREF that gives 0-1023 range) all the codes are design for Arduino. So they all are giving me proper output.

But I want send those 8 sensors data over WiFi..and ESP32 has more analog pins..

Using your functions I'm able to change the resolution to 10 bit... But the problem is this gives me 10 bit resolution for 3.3 volt(for 0 it goves 0 and for 3.3 it gives 1023) all the codes and output depends on ADC counts And ESP32 gives 1023 on 3.3v so i will never get output for voltage greater then 3.3.

So how can I achieve same result as Arduino.. I want same 5v 10 bit resolution as Arduino.. because changing all the code is time consuming and may be I will not getting proper results..

So how can I achieve this.. Any suggestions appreciated.

😕React with 😕1

Metadata

Metadata

Assignees

No one assigned

Labels

No labelsNo labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You can’t perform that action at this time.

Từ khóa » Ph4502c 3.3v