srr58
New Member
Posts: 17
|
Post by srr58 on Jul 11, 2019 5:43:42 GMT -8
I'll post a pic later today after I get home.
The board is set to the default 0x02 address, and the SDL_Arduino_ThunderBoard_AS3935 demo software uses 0x02. When I run it, the AS3935 s/w never returns from the AS3935.reset().
I tried the I2C scanner you(?)/SDL posted on this forum to see if the board was even found. The I2C scanner never returns from the first Wire.endTransmission() call.
Steve
|
|
|
Post by SDL on Jul 11, 2019 9:20:45 GMT -8
OK. I just need to see the picture of the board now.
BP
|
|
srr58
New Member
Posts: 17
|
Post by srr58 on Jul 11, 2019 18:17:37 GMT -8
 Here you go. This is the replacement that was sent out.
|
|
|
Post by SDL on Jul 14, 2019 17:39:01 GMT -8
ssr58,
We have already sent you a replacement? Did the previous one do the same thing?
BP
|
|
srr58
New Member
Posts: 17
|
Post by srr58 on Jul 15, 2019 5:56:59 GMT -8
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. Cheers, Steve
|
|
|
Post by SDL on Jul 15, 2019 7:06:56 GMT -8
Steve,
It is very unlikely that you have two bad Thunderboards. Would you add some 10K pull-ups to 5V on the SDA/SCL lines to rule that out?
BP
|
|
srr58
New Member
Posts: 17
|
Post by srr58 on Jul 16, 2019 6:38:11 GMT -8
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
|
|
|
Post by SDL on Jul 16, 2019 8:08:53 GMT -8
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).
BP
|
|
srr58
New Member
Posts: 17
|
Post by srr58 on Aug 12, 2019 17:32:19 GMT -8
Is John back in town? Did you receive my Lightning Board and Uno? Thanks, Steve
|
|
|
Post by SDL on Aug 13, 2019 16:31:26 GMT -8
I'll dig it out and put it in front of him to do it!
Do you have an RMA #?
PM me your full name and address.
BP
|
|
srr58
New Member
Posts: 17
|
Post by srr58 on Aug 14, 2019 6:49:11 GMT -8
SwitchDoc Labs RMA# 071519-02 909 S Shelley Lake Lane Spokane Valley, WA 99037
Put it ATTN: John Shovic
|
|
|
Post by SDL on Aug 14, 2019 13:10:36 GMT -8
Tested it. It works fine. Both the Arduino and the Thunderboard. I've sent it back.
This is some kind of a software problem with the IDE on your end. I'd start by completely deleting and reinstalling the Arduino IDE.
John
|
|
srr58
New Member
Posts: 17
|
Post by srr58 on Aug 22, 2019 19:35:06 GMT -8
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. Thanks, Steve Attachments:

|
|
|
Post by SDL on Aug 24, 2019 6:39:54 GMT -8
|
|
srr58
New Member
Posts: 17
|
Post by srr58 on Aug 26, 2019 18:40:48 GMT -8
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? Cheers, Steve Attachments:
|
|