|
Post by JimK on Feb 11, 2019 15:16:25 GMT -8
I recently purchased the The Thunder Board - I2C Lightning Detector - Grove Connectors and the simulator board. I am using an arduino uno r3 and wired it as:
SCL yellow -> A5
SDA white -> A4
vcc red - 5v
gnd black -> gnd
int pin yellow -> D4
when I compile/upload the white LED on the board turns on for a few seconds and in the serial monitor I see this bestTune = 0
Difference =3125
Tuning out of range, check your wiring, your sensor and make sure physics laws have not changed!
Noise floor is: 1
Spike rejection is: 2
Watchdog threshold is: 2
Then I plugged in the simulator and tried all the buttons (the LEDs light up) but nothing in the monitor window. The doc says it may need to be close but does not define 'close' . I tried it from about 12" and then 3" but nothing happens.
thoughts ? thanks
|
|
|
Post by SDL on Feb 11, 2019 18:42:28 GMT -8
First things first. Download the i2cscanner program, run that and post the results. You can also try putting some 10K pull-ups on SDA and SCL.
BP
// -------------------------------------- // i2c_scanner // // Version 1 // This program (or code that looks like it) // can be found in many places. // For example on the Arduino.cc forum. // The original author is not known. // Version 2, Juni 2012, Using Arduino 1.0.1 // Adapted to be as simple as possible by Arduino.cc user Krodal // Version 3, Feb 26 2013 // V3 by louarnold // Version 4, March 3, 2013, Using Arduino 1.0.3 // by Arduino.cc user Krodal. // Changes by louarnold removed. // Scanning addresses changed from 0...127 to 1...119, // according to the i2c scanner by Nick Gammon // http://www.gammon.com.au/forum/?id=10896 // Version 5, March 28, 2013 // As version 4, but address scans now to 127. // A sensor seems to use address 120. // // // This sketch tests the standard 7-bit addresses // Devices with higher bit address might not be seen properly. //
#include <Wire.h>
void setup() { Wire.begin();
Serial.begin(9600); Serial.println("\nI2C Scanner"); }
void loop() { byte error, address; int nDevices;
Serial.println("Scanning...");
nDevices = 0; for(address = 1; address < 127; address++ ) { // The i2c_scanner uses the return value of // the Write.endTransmisstion to see if // a device did acknowledge to the address. Wire.beginTransmission(address); error = Wire.endTransmission();
if (error == 0) { Serial.print("I2C device found at address 0x"); if (address<16) Serial.print("0"); Serial.print(address,HEX); Serial.println(" !");
nDevices++; } else if (error==4) { Serial.print("Unknow error at address 0x"); if (address<16) Serial.print("0"); Serial.println(address,HEX); } } if (nDevices == 0) Serial.println("No I2C devices found\n"); else Serial.println("done\n");
delay(5000); // wait 5 seconds for next scan }
|
|
jim
New Member
Posts: 1
|
Post by jim on Feb 13, 2019 15:23:07 GMT -8
I ran the scanner and it reported this in the monitor window: Scanning... I2C device found at address 0x02 ! done
|
|
|
Post by SDL on Feb 13, 2019 16:33:23 GMT -8
You are in a high noise environment I think. Move away from your monitors and your phone and try again.
BP
|
|
|
Post by JimK on Feb 14, 2019 15:21:08 GMT -8
I got a 4ft USB cable today so it is pretty far from my laptop and the phone is downstairs and here the readings from the monitor window:
bestTune = 0 Difference =3125 Tuning out of range, check your wiring, your sensor and make sure physics laws have not changed! Noise floor is: 1 Spike rejection is: 2 Watchdog threshold is: 2
|
|
|
Post by SDL on Feb 14, 2019 22:39:57 GMT -8
OK. Looks like you must have a bad lightning board.
Send it on in (include your shipping address)
SwitchDoc Labs RMA#021419-2 909 S Shelley Lake Lane Spokane Valley, WA 99037
BP
|
|
|
Post by JimK on Mar 5, 2019 15:14:53 GMT -8
I mailed this a few weeks ago and was wondering if I could get an update? according to the tracking number it should have arrived on 2/21 thanks
|
|
|
Post by SDL on Mar 6, 2019 6:00:08 GMT -8
I'll pass that on to Cindy and get another board right out.
Please PM me your shipping address.
BP
|
|
|
Post by SDL on Mar 6, 2019 9:35:54 GMT -8
We found it and we will be shipping out a new ThunderBoard today. We also found your shipping address!
BP
|
|