Skip to main content
Ss.61
Associate III
May 26, 2021
Solved

How to use ADC multi channel (stm32f042g6) - Read 2 or more sensors data (in Different channel) ?

  • May 26, 2021
  • 2 replies
  • 713 views

* I want to know how to read 2 or more sensors data in (stm32f042g6) through ADC,

*stm32f042g6-> This is my controller has only one ADC (with 9 channels),

Eg: Suppose Channel No :1 (temp-sensor) Channel No :2 (gas-sensor) connected,

*In this scenario how i read two sensors data at a time (Suggest which method is recommended among poll,interrupt,Dmd)

Examples are recommended,

This topic has been closed for replies.

2 replies

TDK
TDKBest answer
May 26, 2021
Ss.61
Ss.61Author
Associate III
May 27, 2021

Thank you for your quick response.