Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^4: Controlling USB on Raspberry Pi

by stevieb (Canon)
on Dec 06, 2020 at 05:18 UTC ( #11124737=note: print w/replies, xml ) Need Help??

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 (Curate) 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.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11124737]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2022-05-28 10:38 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (99 votes). Check out past polls.