I'm working on a project to design a current shunt measurement and need help with both the circuit design and code implementation. As a newbie, I'm specifically interested in understanding how to implement an ADC in this setup. I want to measure the current of a motor that will use less than 3 Amps.
Specifications:
Maximum current: 3A
Desired resolution: 0.001A (1mA)
Sampling rate: 20kHz
Precision and accuracy are very important.
What I Need:
1. Complete Circuit Solution:
Shunt resistor: What value and type would you recommend for this current range and resolution?
Amplification: Should I use an instrumentation amplifier like INA240? Any suggestions for noise filtering or gain settings?
ADC: I’m considering a 16-bit ADC like ADS1115 or ADS1262 to meet my resolution and sampling requirements. Are there better options I should explore?
2. Microcontroller and Code Design:
Which microcontroller would work well for interfacing with the ADC and processing data at this sampling rate?
Any examples of implementing an ADC (code, library recommendations, etc.) would be greatly appreciated.
3. Learning Resources:
As I’m new to ADCs and precision measurements, are there any guides, tutorials, or reference designs you’d recommend to help me understand this better?
I’m excited to learn and dive into this project, so any advice or suggestions from the community would be highly valued. Thank you in advance for your time and expertise!