2023-04-18 07:59 PM
I am using
https://os.mbed.com/platforms/ST-Nucleo-L496ZG-P/#board-pinout
with this manual
Now I would like to learn Analog-to-Digital Conversion (ADC):
Read the voltage and current signals from the sensors (that normally using for hose single phase energy meters )
And learn how to configure and use the ADC on STM32 board
My great appreciate to recommend me topics, articles , or YouTube video that starting from basic ,
Also which model sensors buy , connect to board and test them.
Solved! Go to Solution.
2023-04-19 01:44 AM
Hello @CG3 ,
First download the STM32Cube MCU Package for STM32L4 series, here. This allows you to access example/template codes.
Then, my advise is use the "ADC with DMA Transfer" example.
The HAL driver layer provides a simple, generic multi-instance set of APIs (application programming interfaces) to interact with the upper layer (application, libraries and stacks).
Please, read carefully the "readme.txt" file which explains how to use it.
Regards
Pierre
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-04-19 12:42 AM
Background:
https://www.youtube.com/watch?v=EnfjYwe2A0w
and
https://www.youtube.com/watch?v=HicZcgdGxZY
or
https://deepbluembedded.com/stm32-adc-tutorial-complete-guide-with-examples/
Little more advaced (DMA)
Some project idea's:
https://deepbluembedded.com/stm32-light-sensor-ldr-interfacing-ambient-light-sensor-project/
https://deepbluembedded.com/stm32-adc-read-example-dma-interrupt-polling/
If this isn't enough you can use google to find way more!
2023-04-19 01:44 AM
Hello @CG3 ,
First download the STM32Cube MCU Package for STM32L4 series, here. This allows you to access example/template codes.
Then, my advise is use the "ADC with DMA Transfer" example.
The HAL driver layer provides a simple, generic multi-instance set of APIs (application programming interfaces) to interact with the upper layer (application, libraries and stacks).
Please, read carefully the "readme.txt" file which explains how to use it.
Regards
Pierre
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-04-20 09:36 PM
Dear Pierre
Thank you so much and if i have question will reply here