Author Topic: Device current measurement  (Read 283 times)

0 Members and 1 Guest are viewing this topic.

Offline Pinout1Topic starter

  • Newbie
  • Posts: 1
  • Country: au
Device current measurement
« on: February 05, 2024, 04:35:23 pm »
Hello everyone,

Has anyone tried to measure current using one of the MCU GPIO with its on/off time measurement? I'm trying to figure out how I can measure the current of the device in this way, distinguishing the separate processes (functions) which are taking place. The problem is, that there are no running processes in the application with a clear sequence. I'm thinking what could be the principle of measurement when processes are not defined in time (interrupts, rtc events and so on...)?  I cant use adc also for this research, only power measurement device and toggling some gpios, which works perfectly when the processes used in the software are consistent.

Thanks for the answers.
 

Offline bidrohini1

  • Contributor
  • !
  • Posts: 16
  • Country: bd
Re: Device current measurement
« Reply #1 on: February 05, 2024, 08:17:03 pm »
If your processes are triggered by interrupts, log the timestamps of these interrupts. This way, you can map GPIO toggling to specific interrupt events.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf