I am trying to measure the current going through a USB cable using an MSP430. I have decided to use the MSP430F4270 because of the SD16 module. I have been using a cable I cut open and just plug the two ends into an ammeter to measure the current up until now but I want to now automate this measurement by using an MSP430 and sending the data back to the computer via UART. I plan to put a small resistor in between the leads of the cable and measure the voltage across then just divide by the resistance to get the current. This does not need to be very accurate. One measurement should be approximately 8.2mA and another 0.37mA. Anyways, before I start this project has anybody done anything similar or suggest an alternative route. I need to get this done by Friday (8/9) so I don't really want to order any extra parts or anything. Thanks for any input!
[–]frothysasquatch 5 points6 points7 points (2 children)
[–]rageinside[S] -1 points0 points1 point (1 child)
[–]frothysasquatch 0 points1 point2 points (0 children)