horace1
Advanced Member level 5
- Joined
- Nov 18, 2008
- Messages
- 2,118
- Helped
- 596
- Reputation
- 1,188
- Reaction score
- 571
- Trophy points
- 1,393
- Location
- Norwich, UK
- Activity points
- 13,063
I have an application where I am using a PIC24 to switch a USB flash drive between the PIC USB input and a PC. The switching works without problems.
However, when the USB flash drive is switched thru to the PC I need to detect if the flash drive is removed.
I thought of looking at the power line to the flash drive. Initial thoughts were to use a current sensor such as the LTC6101
Linear Technology - LTC6101 - High Voltage, High-Side Current Sense Amplifier in SOT-23
any ideas for a simpler solution? I don't need an accurate measure of current, all I need to detect if the flash drive is drawing power or not
However, when the USB flash drive is switched thru to the PC I need to detect if the flash drive is removed.
I thought of looking at the power line to the flash drive. Initial thoughts were to use a current sensor such as the LTC6101
Linear Technology - LTC6101 - High Voltage, High-Side Current Sense Amplifier in SOT-23
any ideas for a simpler solution? I don't need an accurate measure of current, all I need to detect if the flash drive is drawing power or not