Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample Green Bean traffic #3

Open
puddly opened this issue Apr 16, 2019 · 4 comments
Open

Sample Green Bean traffic #3

puddly opened this issue Apr 16, 2019 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@puddly
Copy link
Owner

puddly commented Apr 16, 2019

I'm looking for somebody willing to donate an hour of their time (or their Green Bean for a few days) by capturing some sample USB and bus traffic from a Green Bean.

  • For capturing the traffic from the computer to the Green Bean, you can either use Wireshark and capture the USB packets, or you can just patch the Node.js module's sendPacket and receiveNextPacket functions to write the sent/received data to a file.

  • For capturing the traffic to the module, you can use a $12 USB logic analyzer and PulseView. I found 500KHz to be a reasonable sample rate. Just plug in the adapter and hit the Run button. You will somehow need to tap into the bus, which will require you to either sacrifice a short Ethernet cable and carefully cut into housing in the middle to clip into the GND (brown) and COMM (brown/white) wires:
    image

    Or find some convenient place on the Green Bean to probe them, like:

    image

    There is a four-pin header on the Green Bean but it might just be for communicating with the microcontroller.

@Hixie

@puddly puddly added enhancement New feature or request help wanted Extra attention is needed labels Apr 16, 2019
@Hixie
Copy link

Hixie commented Apr 16, 2019

If you send me precise details for how to do it (commands and the hardware to do it), I'm happy to just do it (happy to send you money to pay for the hardware, too). Otherwise I can try to figure it out but it might be a few months as I'm rather busy at the moment.

@puddly
Copy link
Owner Author

puddly commented Apr 16, 2019

@Hixie I can mail you all the required hardware if you're in the US but I can't guarantee the software will work flawlessly. If nobody else is interested and I can't figure it out by myself in the next couple of weeks, I'll send you an email.

@jallen2281
Copy link

@puddly do you use facebook or another messaging service? I'd be happy to help with this as well.

@puddly
Copy link
Owner Author

puddly commented May 28, 2019

@jallen2281 I use Telegram but I've also setup a Gitter chatroom that you can sign into with your GitHub account if that's easier.

@puddly puddly mentioned this issue Dec 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants