I’m having a curious problem with an UNO R3 and a USB Host Shield:
With the shield mounted on top of the Uno in the standard way, it works fine.
I’ve done this with many projects and many boards.
However, because of space limitations, I decided to wire the boards together to lower the height. I started with the host mounted normally, test my code, and all worked as expected.
Then following the documentation, I wired the active pins, but the USB signal didn’t get to the UNO. So I progressively added more connections, with continued failure. I wound up connecting every pin on the host to the Uno, including the 6 pin ICSP header, and it still doesn’t work, even after verifing continuity between every connection. I’m baffled.
Thanks, but I checked the wiring and did continuity tests. Wiring is 1 to 1 and pin to pin between the boards. No, I didn’t drew a schematic. In this case it’s much easier to see the actual jumpers between the boards.
Thanks, but I checked the wiring and did continuity tests. Wiring is 1 to 1 and pin to pin between the boards. All good. I wish it were as easy as your suggestion, but thanks.
Thanks, but been there, done that. I’ve tried all the usual tricks I’ve learned from my 65 years of designing and building electronics. Only one I haven’t tried is hitting it with a 10 inch crescent wrench.
Solved! I have it working reliably now. The problem seems to be the unreliability of the header sockets on these Chinese boards. The contacts inside are 12 mils thick forks, very floppy with the prongs about 24 mils apart. Good quality jumpers have pins 25 mils square. More common jumpers have 25 mils round pins. They all mostly connect but the more connections, the more likely one or more doesn’t. And pins must connect at both ends so odds against go up fast. (For our non American friends, mils are thousands of an inch, 25mils = 0.635mm).
So with good jumpers, carefully placed, redundancy where possible, and a 6 pin harness I made with with a good 6 pin header and socket all soldered to connect the ICSP headers all works well. Now that I’ve found the problem, I’ll go on to solder all connections and likely delete the redundant connections. Thanks to all for the suggestions. Aaron
Wouldn't be the first time an engineer eventually found a solution long after a high school kid on a summer job did. I love the attitude too, nothing has changed.