XHC WHB04B development?

More
8 months 2 weeks ago #343044 by MRx
Replied by MRx on topic XHC WHB04B development?
I only have the wired versions of it (3 of them) and they are solid.

Please Log in or Create an account to join the conversation.

More
8 months 2 weeks ago #343045 by rodw
Replied by rodw on topic XHC WHB04B development?

I only have the wired versions of it (3 of them) and they are solid.
A hard wired pendant with no USB is only $30 to $50

Please Log in or Create an account to join the conversation.

More
8 months 2 weeks ago - 8 months 2 weeks ago #343046 by Hakan
Replied by Hakan on topic XHC WHB04B development?
It could be the radio version that have the crash issues I guess.

MRx, you don't see these disconnects/reconnects for your wired pendant?
Last edit: 8 months 2 weeks ago by Hakan.

Please Log in or Create an account to join the conversation.

More
8 months 2 weeks ago #343053 by MRx
Replied by MRx on topic XHC WHB04B development?
I'm using the hardwired version for years without any problems - no disconnects.
Can you open your pendant and take some photos of the PCBs so I can compare it with mine?

Please Log in or Create an account to join the conversation.

More
8 months 2 weeks ago #343054 by Finngineering
Attached is the "test driver" I made, which repeatedly polls the pendant and displays the data received. It can also update the display if you uncomment the last line in usb_interrupt_callback(). Just unzip the file into a folder and running from the terminal you should get something like:
Code:
$ make && ./whb04b gcc -Wall -Wextra -pedantic -c -o main.o main.c gcc -o whb04b main.o -lusb-1.0 -lm 1771265676.388 info: usb->devh: 0x564516f1abe0 1771265676.491 info: IN data: 04 10 00 00 10 11 00 10  1771265676.509 info: IN data: 04 10 00 00 10 11 00 10  1771265676.951 info: IN data: 04 10 00 00 10 11 00 10  1771265677.395 info: IN data: 04 10 00 00 10 11 00 10
You need to have libusb-1.0-0-dev installed for this to compile it. But if you already compiled LinuxCNC from source, I think you should already have it.

And regarding repeated disconnects... It may be normal behavior in as far as that is what happens. But it is for sure not correct behavior.

I would also prefer a wired pendant over this wireless one. But when I bought it this seemed like the best option for me for a relatively low cost. And I do not think that the issues we see are caused by the RF link failing.

Please Log in or Create an account to join the conversation.

More
8 months 2 weeks ago #343055 by Finngineering
Here are a few photos of my pendant that I took in the summer. Sorry, but I do not currently have any photos with the cards inside the housing. And just for info... I tried to read out the firmware from the STM32, but unfortunately it is read-out protected.
 
 
 
 

Please Log in or Create an account to join the conversation.

Time to create page: 0.318 seconds
Powered by Kunena Forum