Main Site Documentation

Raptor and HubAP5


#1

I have a character display module (Y) plugged into socket #1 of my HubAP5 (I), which in turn is plugged into my Raptor at socket #4. I get nothing bug garbage characters on the display. I have tried the HubAP5 in all the “I” sockets on the Raptor as well. Some of them don’t even give me the garbage characters.

However, if I plug the display into a “Y” socket directly on the Raptor, it works fine.

If I plug a OneWire moduled (Y) into the Hub, then I even get an argument exception

#### Exception System.ArgumentException - 0xfd000000 (1) ####
#### Message: 
#### Microsoft.SPOT.Hardware.Port::.ctor [IP: 0000] ####
#### Microsoft.SPOT.Hardware.OutputPort::.ctor [IP: 0006] ####
#### Gadgeteer.Modules.GHIElectronics.OneWire_X1::.ctor [IP: 0033] ####
#### GadgeteerApp1.Program::InitializeModules [IP: 002b] ####

And just to make sure I did not have a bad Hub, I tried my backup (never order just one of anything), and the same issue.

Suggestions?

Roy


#2

Gadgeteer does not provide an interface to OneWire like it does SPI or I2C, so there is no way to indirect a OneWire device through the hub.

As for the character display, it has precise timing requirements, so it is possible that indirecting it over I2C through the hub messes up those timings. That said, I was able to get the display to work over the hub. Could you show the code you are using?


#3

@ John -
That said, I was able to get the display to work over the hub.

I for one… Would love to see that code!