in reply to Re^2: Controlling USB on Raspberry Pi
in thread Controlling USB on Raspberry Pi

Do you have the datasheet for the USB module?

Not at present but I have a module on order and I'm hoping it will come with some clues as to what needs to happen to make it operate.

Replies are listed 'Best First'.
Re^4: Controlling USB on Raspberry Pi
by stevieb (Canon) on Dec 06, 2020 at 05:18 UTC

    Here's a hard learned tip... when purchasing electronic devices for these types of projects, *always* ensure that you have a datasheet up front that you can review to ensure that it seems reasonably sane, and that you can understand at least the core information it contains.

    I have written software across several languages for over a hundred random ICs and devices, and the only thing worse than no documentation, is poorly written documentation that is incorrect (nothing like the fun of debugging an IC to learn after three days of head-desking that the damned documentation failed to mention overlapping registers!).

    Hopefully this device comes with proper docs, but in the future, solidify that fact up front if you carry on doing projects like this.

      Your fears were correct 😕

      The module has arrived with no datasheet...

      So next step will be to connect it to the USB port on a laptop and find some software to use the USB and attempt to find what the module needs.

        Have you done anything like this before? It's normal not to get the datasheet delivered with the components. Often they're linked on the sellers product page, or easily locatable using a search engine. Ensuring you know what you're buying, before you buy it is the only sensible way to approach this sort of thing?