background image

The AS3935 Lightning Detector is connected to the primary SPI bus and Chip Select (CS) for the AS3935 is tied to
G1/Bus1 (MicroMod pad 42).

For in-depth information about the sensor, refer to the AS3935 Datasheet or our Hookup Guide for the SparkFun
Lightning Detector Breakout.

Soil Moisture Sensor Latch Terminal

The three-pin latch terminal makes it easy to connect a Soil Moisture Sensor to your Weather Carrier Board. The
soil moisture sensor is a handy addition to the Weather Carrier Board if you are using it in something like a
greenhouse environment to keep an eye on your soil and, with some slick coding, you could even turn an irrigation
system on or off depending on the sensor's measurements.

The Soil Moisture Sensor has two large coated pads that act as prongs for what is essentially a large variable
resistor. The sensor takes advantage of a simple concept of moist soil being more conductive than dry soil so as
more water is added to the soil, the resistance of the circuit drops and the SIG output increases.

Power (

3.3V

) for the sensor is provided by G0 (MicroMod pad 40) allowing you to turn it on and off easily

(continuous power is not recommended for the soil moisture sensor) and the Signal output is tied to A0 (MicroMod
pad 34).

If you are looking for some inspiration for an automated watering project, check out our Product Showcase Video
and the Soil Moisture Sensor Hookup Guide.

Wind and Rain RJ11 Connectors

Содержание MicroMod SEN-16794

Страница 1: ...Board This nifty little weather station board works with all SparkFun MicroMod Processors so you can customize your weather station project to fit your needs SparkFun MicroMod Weather Carrier Board SE...

Страница 2: ...r data Required Materials Like all of our MicroMod Carrier Boards there is no processor included but instead you can plug in a processor of your choice to the MicroMod M 2 connector on the carrier Her...

Страница 3: ...need a SparkFun Soil Moisture Sensor the Weather Meter Kit and a microSD card SparkFun Qwiic Cable Kit KIT 15081 Flexible Qwiic Cable 100mm PRT 17259 USB 3 1 Cable A to C 3 Foot CAB 14743 Reversible U...

Страница 4: ...re you get started with the Weather Carrier Board you may want to read through the Hookup Guide for your chosen MicroMod Processor MicroMod Processor Hookup Guides can be found on the processors produ...

Страница 5: ...a variety of terminal emulator applications Getting Started with MicroMod Dive into the world of MicroMod a compact interface to connect a microcontroller to various peripherals via the M 2 Connector...

Страница 6: ...MicroMod circuit RTC Backup Battery Charge Circuit 1mAh backup battery for the Real Time Clocks on MicroMod Processors that have a built in RTC Receives charge voltage from 3 3V microSD Slot Insert a...

Страница 7: ...nm peak 330 10nm irradiance so you can calculate the UV Index at your Weather Station Example 4 Calculate UVI in the SparkFun VEML6075 Arduino Library demonstrates how to calculate that index using th...

Страница 8: ...u could even turn an irrigation system on or off depending on the sensor s measurements The Soil Moisture Sensor has two large coated pads that act as prongs for what is essentially a large variable r...

Страница 9: ...he rainfall detector outputs a digital signal to D1 MicroMod pad 18 For help assembling and testing your Weather Meters Kit check out our Weather Meter Hookup Guide Plated Through Hole Headers The Wea...

Страница 10: ...gulator For help measuring current take a look at our How to Use a Multimeter tutorial CLOSED Bypass BYP The penny in the fuse jumper Bypasses the 6V 2A fuse and nets VIN and V_USB together Close only...

Страница 11: ...3V Regulated 3 3V via USB C 3 USB_D Passthrough USB D connection for Processor Board 4 3 3V_EN 3 3V Enable Voltage regulator enable input 5 USB_D Passthrough USB D connection for Processor Board 6 RES...

Страница 12: ...Tied to TX2 PTH header pin 23 SWDIO SWDIO Serial Wire Debug I O 32 PWM0 PWM0 Dedicated PWM0 pin Broken out to PTH header pin 34 A0 SOIL_MOIST_SIG Analog input from soil mositure sensor 38 A1 WDIR Anal...

Страница 13: ...that fit a standard 4 40 screw Hardware Assembly Now that we are familiar with the hardware and sensors on the Weather Carrier Board it s time to assemble it with your chosen MicroMod Processor and g...

Страница 14: ...backward since the key prevents it from mating with the M 2 connector As an extra safeguard to prevent inserting a processor improperly or with a poor connection the mounting screw will not match up...

Страница 15: ...tor your environment Head on to the next section for an example to test all the sensors the Weather Carrier Board features Weather Station Arduino Example Note These examples assume you are using the...

Страница 16: ...BME280 SparkFun VEML6075 and SparkFun AS3935 Alternatively you can download the libraries from their respective GitHub repositories linked above or you can download the ZIP for each of them by clickin...

Страница 17: ...ect Weather carrier board to power useing USB C cable Connect SparkFun Soil Moisture Sensor to Weather carrier using latching terminals Connect both wind and rain meters to Weather carrier using the R...

Страница 18: ...lled when the magnet in the anemometer is activated void wspeedIRQ windFlag true This variable holds the number representing the lightning or non lightning event issued by the lightning detector int i...

Страница 19: ...plan on using this outdoors uncomment the following line lightning setIndoorOutdoor OUTDOOR the loop function runs over and over again forever void loop digitalWrite LED_BUILTIN HIGH turn the LED on...

Страница 20: ...w how far away is it Distance estimation takes into account any previously seen events in the last 15 seconds byte distance lightning distanceToStorm Serial print Approximately Serial print distance S...

Страница 21: ...e code prints out data from each sensor Open your serial monitor and set the baud to 115200 to watch the data print out Resources and Going Further For more information about the MicroMod Weather Carr...

Страница 22: ...chine Instructions on hooking up to and communicating with the Si4707 Weather Band Radio Breakout using an Arduino LED Cloud Connected Cloud Make an RGB colored cloud light You can also control it fro...

Отзывы: