I have a project where I need to measure DC currents in the range of 0-150 A. I am using an STM32F446RE MCU. I can't use the solution where I convert current to voltage using resistors and reading them using the ADC pin of my MCU. I have found some components like the ACS712 Current Sensor that internally converts current (0-30 A) into a voltage, which I could later read using my MCU, but I can only find cases where they use a PIC MCU. For example: https://circuitdigest.com/microcontroller-projects/digital-ammeter-circuit-using-pic16f877a-acs712 .
What changes would I need to do the make this work on my MCU?. Does anyone have any ideas?