User avatar
RiccardoMoretti
Posts: 56
Joined: Fri May 25, 2012 5:33 am

MOD-1016 AS3935 based lightning and storm sensor

Fri Sep 06, 2013 12:35 pm

I purchased a MOD-1016 AS3935 based lightning detector,
http://www.embeddedadventures.com/datas ... doc_v2.pdf
and while I wait for it to arrive I'm doing some homework.

Looking at the schematic there are 2x 10K pullup resistors on the break out kit R1 & R2
and in the documentation it states that if the micro controller or I2c bus has already pullup resistors then R1 & R2 should be removed.

My question is simple does the Pi have built in Pullup resistors on the I2C bus?
and if it does should remove these two resistors on the breakout kit?

User avatar
Burngate
Posts: 4972
Joined: Thu Sep 29, 2011 4:34 pm
Location: Berkshire UK
Contact: Website

Re: MOD-1016 AS3935 based lightning and storm sensor

Fri Sep 06, 2013 4:30 pm

Schematic of the Pi http://www.raspberrypi.org/wp-content/u ... .2_027.pdf shows 1k8 pull-ups on GPIO pins 3 & 5

The 10k pull-ups on board will make little difference in parallel with those 1k8 ones, so remove or not as your fancy takes you!

Be aware the Pi's GPIOs aren't 5v tolerant, so stick to 3v3 for Vcc

User avatar
RiccardoMoretti
Posts: 56
Joined: Fri May 25, 2012 5:33 am

Re: MOD-1016 AS3935 based lightning and storm sensor

Sun Sep 29, 2013 4:15 pm

Ok Progress, my breakout kit has arrived, and I think I'm stuck,
dont know if a kind person can have a look at this for me https://github.com/pcfens/RaspberryPi-AS3935

AS3935 Pin Raspberry Pi Pin
4 (GND) 25 (Ground)
5 (VDD) 1 (3v3 Power)
10 (IRQ) 17 (GPIO)
11 (I2CL) 5 (SCL)
13 (I2CD) 3 (SDA)

Looking at the table pin 25/1/5/3 all map to the actual P1 Header pins, what's confusing is the reference to "17 (GPIO)" pin 17 is actually 3.3volts and I'm sure should read 11 (GPIO 17)?
What do you think?

Return to “Interfacing (DSI, CSI, I2C, etc.)”

Who is online

Users browsing this forum: No registered users and 13 guests