Hello I have an Arduino Uno and I salvaged a USB port from an old computer. The USB port has 4 pins on it and it accepts USB sticks. I was wondering if it is possible to connect it to my Arduino so my Arduino can load data from files on the USB. I don't want to go out and buy a shield but I don't mind using libraries. Is it possible to read and write data from a USB stick with Arduino?

migrated from electronics.stackexchange.com Jul 17 '16 at 15:22

This question came from our site for electronics and electrical engineering professionals, students, and enthusiasts.

  • 1
    Usb OTG mass storage library. Good luck – cde Jul 17 '16 at 13:37
  • 1
    Requires an USB Host Shield. The UNO can only work as device otherwise. Talking to a stick requires host role. – Turbo J Jul 17 '16 at 14:58

The Uno does not have any USB host or OTG capabilities on its own, and bit banging it is not easy. A USB Host shield, or a better microcontroller is needed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.