Hello,
I'm measuring the current and voltage of an AC Motor with a Teensy 3.6 (see image below). The Voltage sensor requires 5V; and I'm using the Teensy 5V to power it (USBHost_t36.h Library). The diagram works, however, when I turn the motor ON, I can log the data well; but as soon I turn the motor OFF (from switch); the USB port gets disconnected.
What I'm doing wrong?
I thought it was a bad ground; but then, If I disconnect everything (gnd, analog and +5V) from the teensy, and run the motor again- It still disconnects from the USB as soon I turn the motor off. I try with 2 teensys 3.6 and 2 different pcs and the problem still exists.
Any help or tips will be very helpful.
I'm measuring the current and voltage of an AC Motor with a Teensy 3.6 (see image below). The Voltage sensor requires 5V; and I'm using the Teensy 5V to power it (USBHost_t36.h Library). The diagram works, however, when I turn the motor ON, I can log the data well; but as soon I turn the motor OFF (from switch); the USB port gets disconnected.
What I'm doing wrong?
I thought it was a bad ground; but then, If I disconnect everything (gnd, analog and +5V) from the teensy, and run the motor again- It still disconnects from the USB as soon I turn the motor off. I try with 2 teensys 3.6 and 2 different pcs and the problem still exists.
Any help or tips will be very helpful.