Skip to content

Instantly share code, notes, and snippets.

@j0uni
Last active August 29, 2015 14:24
Show Gist options
  • Save j0uni/50cff9e926d772cecfe4 to your computer and use it in GitHub Desktop.
Save j0uni/50cff9e926d772cecfe4 to your computer and use it in GitHub Desktop.
AS3935 working on Arduino Pro Mini and Embedded Adventures Lightning sensor module on i2c
Using https://github.com/SkyeSweeney/Striker and http://www.embeddedadventures.com/as3935_lightning_sensor_module_mod-1016.html
SREJ = 2
NF_LEV = 2
Gain = 12
WDTH = 2
ISR: Noisy
ISR: Noisy
ISR: Noisy
ISR: Strike
ebits: 45 86 0 45 86 0 0
Pwr: 22061, Dist: 17
Reg 0x0 = 24
Reg 0x1 = 22
Reg 0x2 = C2
Reg 0x3 = 20
Reg 0x4 = 2D
Reg 0x5 = 56
Reg 0x6 = 0
Reg 0x7 = 11
Reg 0x8 = 4
Silence renabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment