Yes, both the original board and the replacement exhibit identical behavior, but I haven't returned the first Thunderboard yet since I was waiting to see if anything else panned out. I'm a big fan of lightning, and I'm a little bummed I haven't been able to get it to work, so when I do return it in the next day or two, I would also happily send you the Arduino I was using if you had the time and inclination to check it out. I made sure I used the 5V from the Arduino to power the board so there wouldn't be any 5V/3.3V problems, and I've tried 3 different manufacturer's versions of the Uno, including one genuine Arduino, so I don't think it's my Arduinos. It's also only 5 wires, two of which are Vcc and Gnd, so I'm also assuming (and hoping) it's *not* a "wetware" problem.
Nope, still the same behavior even with the 10K pullups between Vcc and SDA and SCL - the demo s/w never returns from AS3935.reset(), and the I2C scanner locks up in Wire.endTransmission(), so I'm returning it through Amazon. Thanks for all your help and suggestions. Steve
In the fullness of time (actually months) I will get the unit back from Amazon and I can test it. Thank you for your patience. We have shipped 100's of these boards with very few problems.
I still think it is something in your setup, but I don't know what. This is the curse of dealing in a maker business. We just can't tell what is wrong in the setup (Power supply, connections, oxide on the pins, etc, etc etc).
First, I just received my ThunderBoard and Arduino back from SwitchDoc labs, and I'd like to thank you for your time and help.
But...when I wired the ThunderBoard up to the Arduino that I had sent you and powered it up, it never gave any output on the serial monitor.
I also totally removed and reinstalled the Arduino IDE as you suggested, and then downloaded and installed the github.com/switchdoclabs/SDL_Arduino_ThunderBoard_AS3935 library, so my development system is as pristine as it can get. On a different Arduino than the one I had sent you, I tried both an I2C scanner and the SDL_Arduino_ThunderBoard_AS3935.ino from your git, and everything failed exactly as it did before. The I2C scanner never returns from Wire.endTransmission(), and SDL_Arduino_ThunderBoard never returns from AS3935.reset().
My wiring follows (also pictured):
TB INT -> Ard D4
TB SCL -> Ard A5
TB SDA -> Ard A4
TB VCC -> Ard 5V
TB GND -> Ard GND
I'm using Grove connectors I ostensibly purchased from SwitchDoc Labs (through Amazon), so the wire colors in the pics should be what you're used to. Any thoughts? I'm befuddled.
You're right, it was wired wrong. I flipped things around and it powers up and responds!
But...I didn't have a Grove shield, and I was going by the pin names printed on the ThunderBoard, not the wire colors. Looking closer, I believe the Grove socket pins are mislabeled, at least for the I2C socket. On the 'Int' socket, is the 'int' signal brought out on 'yellow', or is that socket mislabeled also?