http://qs1969.pair.com?node_id=11124737


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

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.

Replies are listed 'Best First'.
Re^5: Controlling USB on Raspberry Pi
by Bod (Parson) on Dec 12, 2020 at 12:18 UTC

    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?

        Have you done anything like this before?

        It's a couple of decades since I last had anything to do with electronics and the world has moved on a bit since then!

        Ensuring you know what you're buying, before you buy it is the only sensible way to approach this sort of thing

        Yes - I can see this being problematic...
        I have found a review on Amazon that says it is Plug-and-Play and implies that it 'just works'. Although I have it plugged into a Windows 10 laptop which recognises it correctly but doesn't give me any clues other than it is successfully configured using a generic driver utilising input.inf which is a start but not very helpful.

        I'm beginning to think that the GPIO route is going to be simpler than USB. At least with GPIO, there is a helpful Amazon review that very clearly shows the set up with a picture.