hi,
Could you tell me ASAP which FC9 ADC component to use for ESP32.
Thx
Which FC9 ADC component use for ESP32 ?
-
- Posts: 172
- http://meble-kuchenne.info.pl
- Joined: Thu Sep 23, 2021 3:44 pm
- Location: France
- Has thanked: 29 times
- Been thanked: 22 times
Which FC9 ADC component use for ESP32 ?
Last edited by lucibel on Thu Feb 23, 2023 2:54 pm, edited 1 time in total.
Seb
-
- Posts: 172
- Joined: Thu Sep 23, 2021 3:44 pm
- Location: France
- Has thanked: 29 times
- Been thanked: 22 times
Re: Which FC9 ADC component use for ESP32 ?
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..
thx for your prompt reply but for FC09 was missing on my question.
And when I said Component, I mean Potentiometer, CAL ADC, etc..
Seb
-
- Matrix Staff
- Posts: 1457
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 513 times
- Been thanked: 473 times
Re: Which FC9 ADC component use for ESP32 ?
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.
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.
Martin
-
- Posts: 172
- Joined: Thu Sep 23, 2021 3:44 pm
- Location: France
- Has thanked: 29 times
- Been thanked: 22 times
Re: Which FC9 ADC component use for ESP32 ?
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 ?
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 ?
Seb
-
- Posts: 172
- Joined: Thu Sep 23, 2021 3:44 pm
- Location: France
- Has thanked: 29 times
- Been thanked: 22 times
Re: Which FC9 ADC component use for ESP32 ?
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 but can be 4 different values in Components properties 950,1250,1750,2450 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 ?
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 but can be 4 different values in Components properties 950,1250,1750,2450 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 ?
Seb
-
- Matrix Staff
- Posts: 1457
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 513 times
- Been thanked: 473 times
Re: Which FC9 ADC component use for ESP32 ?
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?
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?
Martin
-
- Matrix Staff
- Posts: 1457
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 513 times
- Been thanked: 473 times
Re: Which FC9 ADC component use for ESP32 ?
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.
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.
- Attachments
-
- TTGO Display ADC.fcfx
- (22.37 KiB) Downloaded 40 times
Martin
-
- Posts: 172
- Joined: Thu Sep 23, 2021 3:44 pm
- Location: France
- Has thanked: 29 times
- Been thanked: 22 times
Re: Which FC9 ADC component use for ESP32 ?
ok thx but did you check this post about properties?
viewtopic.php?p=10364#p10364
viewtopic.php?p=10364#p10364
Seb