In the previous posts (STM32 ADC voltage monitor and STM32 monitoring motor current) we used the ADC in single channel mode. Now we will put everything together.
ST has an exhaustive application note on current sensing: AN4076 (shunt resistor based current sensing circuit design) The general schema is as follows: In our case we can skip the offset stage. Probably the first filter stage can be skipped too if we just want a rough approximation and probably the filtering can be shifted […]
In this example we will use the ADC to monitor the main voltage. LiPo are used in RC toys for their characteristics. An overall introduction on LiPo can be found in Lithium Polymer Etiquette: A Comprehensive Guide to Working with LiPo. One thing that is clear is that these batteries can be dangerous. It is […]