Page 1 of 1
Multichannel (scan) continuous conversion mode ARDUINO IDE
Posted: Fri Sep 15, 2023 10:43 am
by tjpascon
Good morning!
In my project I need to read 6 different analog inputs continuously and update the respective values of 6 variables associated with the ADCs. Could you help me carry out this task using the Arduino IDE and the STM32F103C8T6 board?
Re: Multichannel (scan) continuous conversion mode ARDUINO IDE
Posted: Fri Sep 15, 2023 11:11 am
by ag123
you can use the plain old
reading all the different pins.
anything more complicated requires direct ADC calls, libraries e.g. HAL etc.
Re: Multichannel (scan) continuous conversion mode ARDUINO IDE
Posted: Fri Sep 15, 2023 6:38 pm
by tjpascon
Thanks!
I tested this method (analogRead()) and it worked, the problem is that it seems to be a little slow for my application. I need you to read more quickly and continuously. I will research more about the terms you suggested to me.
Re: Multichannel (scan) continuous conversion mode ARDUINO IDE
Posted: Fri Sep 15, 2023 7:09 pm
by fpiSTM
Re: Multichannel (scan) continuous conversion mode ARDUINO IDE
Posted: Wed Jul 10, 2024 4:57 am
by HollisPollich
Let's use Arduino IDE to continuously read 6 analog inputs from the STM32F103C8T6 board and update the value of the 6 corresponding variables to the ADC. You should look up on
Google how to do it fastest