background image

Once your external sensors are assembled, connecting them is a snap (literally). To connect the Soil Moisture
Sensor, simply plug in the three wires to the three-pin latch terminals taking care to match the signals. For the
Weather Meters, just plug the connectors for the Wind & Rain signals into their matching RJ11 jacks on the
Weather Carrier Board.

Connecting Everything Up

With your processor inserted and secured it's time to connect your MicroMod Weather Carrier Board to your
computer using the USB-C connector. Depending on which processor you choose and which drivers you already
have installed, you may need to install drivers for your board. Refer to your processor's hookup guide for detailed
instructions on how to install them.

With your MicroMod Weather Carrier Board, Processor Board, and any external sensors assembled we can now
move on to uploading some code to monitor 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 latest version of the Arduino IDE on your desktop. If this is

your first time using Arduino, please review our tutorial on installing the Arduino IDE. If you have not
previously installed an Arduino library, please check out our installation guide.

We've written a few examples to get started with the Weather Carrier Board. They can be found in the "Examples"
folder of Hardware GitHub Repository and will work with any SparkFun MicroMod Processor you choose. In this
section we'll only cover the comprehensive Weather Station example, but you can use the other examples to test
each sensor on the Weather Carrier along with the additional soil moisture and weather meter sensors.

Soil Moisture Sensor Hookup Guide

A quick hookup guide and project to get you started
with the Soil Moisture Sensor from SparkFun.

Weather Meter Hookup Guide

How to assemble your very own weather meter!

Содержание 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...

Отзывы: