Overclocked
Member
Its been a while since Ive used calculus, but I have realized I need to use it for this. I am measuring the current consumed by a bluetooth module (HC05) by using a small resistor that then goes to a O-Scope. The scope is measuring the voltage across the resistor, from there I can use Ohms law to get the current consumed by the module.
Ive broken it up into blocks (its a square wave). I figured if I measure the voltage of that certain block, and then divide by the resistance, I can get current consumed in that period. From there I (think) I would divide Current by time to get average current. Correct me if Im wrong on this.
My Data: For a period of 4mS The measuring resistor has 66mV across it. For 5mS the measuring resistor has 214mV across it. Total ON time of the signal is 9mS. Off time is 116mS. Period time is 0.125 seconds. My Resistor is 5 Ohms. The current consumed in those periods is 13.2mA and 42.8mA respectively. Am I correct in adding them both together and then dividing by total time? Or should I divide each current by its respective period and then add?
I get 12mA Average if I do the math out.
Ive broken it up into blocks (its a square wave). I figured if I measure the voltage of that certain block, and then divide by the resistance, I can get current consumed in that period. From there I (think) I would divide Current by time to get average current. Correct me if Im wrong on this.
My Data: For a period of 4mS The measuring resistor has 66mV across it. For 5mS the measuring resistor has 214mV across it. Total ON time of the signal is 9mS. Off time is 116mS. Period time is 0.125 seconds. My Resistor is 5 Ohms. The current consumed in those periods is 13.2mA and 42.8mA respectively. Am I correct in adding them both together and then dividing by total time? Or should I divide each current by its respective period and then add?
I get 12mA Average if I do the math out.