Page 1 of 2
Which FC9 ADC component use for ESP32 ?
Posted: Thu Feb 23, 2023 2:19 pm
by Xbiotec
hi,
Could you tell me ASAP which FC9 ADC component to use for ESP32.
Thx
Re: Which FC9 ADC component use for ESP32 ?
Posted: Thu Feb 23, 2023 2:57 pm
by Xbiotec
Hello Medelec,
thx for your prompt reply but for FC09 was missing on my question.
And when I said Component, I mean Potentiometer, CAL ADC, etc..
Re: Which FC9 ADC component use for ESP32 ?
Posted: Thu Feb 23, 2023 3:11 pm
by medelec35
Hello.
I have deleted my post and changed your post to include the 9 post icon as you have edited your post to state FC9.
In future on the first post, we recommend using the 9 or 10 post icon depending on what Flowcode version you are using.
Just use one of the Potentiometers as any should work with ESP32.
If you find an issue, then let us know and we will look into it.
Re: Which FC9 ADC component use for ESP32 ?
Posted: Thu Feb 23, 2023 3:28 pm
by Xbiotec
Ok I will try Potentiometers
before to ask help, I did many test with CAL ADC and read is very strange!
at each compilation without change in the prog, the read value change a lot between 2 prog uploading
Can be around 1V difference
If better to use potentiometer, it mean that there is problem with CAL ADC with ESP32?
- with potentiometer, which function is better to use? (getint, Raw, getvoltage)
- what is getspeedfilter?
there is way to setup this filter ?
Re: Which FC9 ADC component use for ESP32 ?
Posted: Tue Feb 28, 2023 5:00 am
by Xbiotec
hello Medelec,
no news ?
thx
Re: Which FC9 ADC component use for ESP32 ?
Posted: Tue Feb 28, 2023 11:35 am
by Xbiotec
hi,
For pot_panel component, the macro SetProperties doesn't change the properties of the component. (At least VRef10Ms parameter).
VRefop can be only 0 or 1

- VRefop.jpg (21.85 KiB) Viewed 4417 times
but can be 4 different values in Components properties 950,1250,1750,2450

- VRefopComp.jpg (12.09 KiB) Viewed 4417 times
Convspeed can be only "Fixed" in Components properties ( may be it's normal, I don't know)
so which value to add in SetProperties ConvSpdOpt ?
Re: Which FC9 ADC component use for ESP32 ?
Posted: Tue Feb 28, 2023 1:12 pm
by medelec35
Hello.
Thank you for letting us know, the ADC will be looked into.
Are you looking into displaying the voltage across the ADC pin or after a byte or integer value?
Re: Which FC9 ADC component use for ESP32 ?
Posted: Tue Feb 28, 2023 1:37 pm
by Xbiotec
hi,
I need to read voltage and Integer value.
thx
Re: Which FC9 ADC component use for ESP32 ?
Posted: Wed Mar 01, 2023 4:29 pm
by medelec35
Hi Seb.
I have attached a project showing several different methods.
I would not recommend using the version within ADC user macro.
The reason is Espressif Systems have changed the way ADC works.
I have found since then ADC has not been as stable.
I hope the project file helps you.
Re: Which FC9 ADC component use for ESP32 ?
Posted: Wed Mar 01, 2023 5:20 pm
by Xbiotec
ok thx but did you check this post about properties?
viewtopic.php?p=10364#p10364