Read data from a MCP3428 on ESP32

Hello,
I need to recover data from a sensor on my Esp32 with MCP3428 (I have multiple module each one composed with one ESP32 and one MCP3428), sadly i can't find (and somehow don't understand) how to configure each channel, neither how to recover in order to stock them. I use my four channel (on each MCP3428): first sensor on the first channel, his regulator on the second one, the second sensor on the third channel, and lastly his regulator on the fourth one. So I have 2 way. I use the <MCP342x.h> library and the <Wire.h> library but despite my numerous research, I can't find the solution...

Thank you in advance for your response.


Bonjour,

Je cherche a récupérer des données provenant de capteurs sur mes esp32 grâce à des MPC3428 (j'ai plusieurs modules équipés chacun d'un Esp32 et d'un MCP3428), malheureusement je n'arrive pas à trouver (et ne comprends pas) comment configurer les différentes entrées, ni comment les récupérer afin de les stocker. J'utilise les 4 entrées de mes cartes avec le capteur 1 sur l'entrée 1, son régulateur sur la seconde entrée, le capteur 2 sur l'entrée 3 et son régulateur sur l'entrée 4; soit je me retrouve avec 2 voies. J'utilise les bibliothèques <MCP342x.h> et <Wire.h> mais malgré mes nombreuses recherches je commence à épuiser mes options...

Merci d'avance pour les réponses que vous pourrez m'apporter.

Maybe as a first step you should read this and try the scanner:

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.