cancel
Showing results for 
Search instead for 
Did you mean: 

Reading four analog inputs using STM32duino with an STM32L476RG board

GianPepe
Associate

Hi to everyone,

I am an engineering student and I am doing a project using an STM32L476RG board with the Arduino IDE. My goal is to read four analog inputs from four vibration sensors attached on a surface and to detect the signals from an impact on the surface. Then i want to calculate the TDOA in order the estimate the impact position with a multilateration algorithm. To calculate the TDOA I need a very high clock frequency, this is why I am using a Nucleo-64 board rather than an Arduino UNO.

I am encountering many difficulties in reading all the signals using the ADC of the Nucleo-64 board so that i can maximize the sample rate, as i have not a sufficient knowledge regarding these things. Could someone please help me?

I also checked the library of STM32duino but i was not able to find anything that could solve my issue.

Thank you

1 REPLY 1
Sco
ST Employee

What's the problem you meet when you are saying "as i have not a sufficient knowledge regarding these things"?

Normally, start from the cube, you could have the examples, a link to NUCLEO here FYI: NUCLEO-L476RG - STM32 Nucleo-64 development board with STM32L476RG MCU, supports Arduino and ST morpho connectivity - STMicroelectronics