srr58
New Member
Posts: 17
|
Post by srr58 on Jun 20, 2019 18:39:18 GMT -8
I just purchased the ThunderBoard I2C Lightning Detector with Grove Connectors and I'm using an Arduino uno r3 wired thusly:
ThunderBoard -> Arduino ================ SCL -> A5
SDA -> A4
VCC -> 5v
GND -> gnd
INT -> Nothing
When I plug the Arduino in, the INT LED light on the ThunderBoard lights up white, and stays lit. When I run the I2C scanner, it just stops and never returns from the Wire.endTransmission(). Any help would be most appreciated!
Thanks, Steve
|
|
|
Post by SDL on Jun 22, 2019 16:19:40 GMT -8
What I2C address are you using on the Arduino? Try the example software too.
BP
|
|
srr58
New Member
Posts: 17
|
Post by srr58 on Jun 23, 2019 11:54:04 GMT -8
The address is whatever the board defaults to, but the I2C scanner doesn’t ever even find the board. The scanner just stops and never returns. Steve
|
|
|
Post by SDL on Jun 25, 2019 11:22:15 GMT -8
Run the ThunderBoard demo software and see if the ThunderBoard responds. Check the software to make sure it is checking for the 0x02 I2C address.
BP
|
|
srr58
New Member
Posts: 17
|
Post by srr58 on Jun 26, 2019 12:41:13 GMT -8
I downloaded the I2C library and the SDL_Arduino_ThunderBoard_AS3935 demo software from github.com/switchdoclabs/SDL_Arduino_ThunderBoard_AS3935. The demo s/w is using 0x02, and when I run it, it never returns from AS3935.reset(). I also tried the I2C scanner you posted for JimK on the forum (http://forum.switchdoc.com/thread/810/lightning-detector-simulator-working-arduino), and that never returns from the first Wire.endTransmission() call. It seems the ThunderBoard just isn't responding. Your thoughts? Thanks, Steve
|
|
|
Post by SDL on Jun 30, 2019 6:32:41 GMT -8
What happens when you disconnect the Thunderboard and run the i2c scanner software?
BP
|
|
srr58
New Member
Posts: 17
|
Post by srr58 on Jul 1, 2019 8:12:48 GMT -8
With the Thunderboard disconnected, the i2c scanner completes the scan, reports that it finds no I2C devices, and repeats the scan every 5 sec. When the Thunderboard is connected, it never returns from the very first call to wire.endTransmission(). I replaced the Thunderboard with another I2C device I have, and it finds that properly.
|
|
|
Post by SDL on Jul 2, 2019 18:54:25 GMT -8
You have a bad ThunderBoard. Thanks for the information.
Where and when did you buy it?
BP
|
|
srr58
New Member
Posts: 17
|
Post by srr58 on Jul 2, 2019 19:05:34 GMT -8
That’s what I figured. I bought it from Switchdoc Labs through Amazon.com, ordered June 17. Amazon says I can return it until July 18. Should I go through amazon, or ...?
|
|
|
Post by SDL on Jul 3, 2019 5:56:41 GMT -8
Going through Amazon gets you free return postage, so I would suggest that.
BP
|
|
srr58
New Member
Posts: 17
|
Post by srr58 on Jul 5, 2019 13:09:52 GMT -8
Thanks. RMA'ed through Amazon 7/5/19. Cheers, Steve
|
|
srr58
New Member
Posts: 17
|
Post by srr58 on Jul 7, 2019 16:10:42 GMT -8
And the replacement arrived 7/7/2019. Thanks! Steve
|
|
|
Post by SDL on Jul 7, 2019 16:28:56 GMT -8
Does it work?  BP
|
|
srr58
New Member
Posts: 17
|
Post by srr58 on Jul 7, 2019 17:35:19 GMT -8
 No. I get the same result on three different brands of Arduino Uno boards, even a genuine Arduino. I'm not sure what to try, so any thoughts? Steve
|
|
|
Post by SDL on Jul 10, 2019 13:17:46 GMT -8
srr58,
Post a close up picture of the board and let me get a look at it. I'm clueless at this point.
What is the result you are getting? You know this is at address 0x02 don't you? And you should be using AS3935 software to test the board, not an I2C scanner.
BP
|
|