Skip to the content
2 layers125 × 85 mmMkrfox1200, the printed circuit board in 3D

Embedded software and hardware design for Arduino MKR-board based Weatherstation (Atmel SAMD processors).

Size
125 × 85 mm
Copper layers
2
Thickness
1.6 mm
Parts
69
Nets
50
Pads
276
Tracks, vias
556, 124
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
10 Dec 2021
Updated
22 Jul 2022

Overview

Mkrfox1200 is an open-source printed circuit board by AGVOLUTION, from the AGVOLUTION/arduino_weatherstation repository on GitHub. It is a 2-layer board of 125 × 85 mm with 69 parts on 50 nets, routed with 556 tracks and 124 vias.

It is built around the INA126U, BME280 and MCP1642B-50I/MS, with the ZLDO1117G33TA, DMN3115UDM and DMN65D8LDW among its other parts. Its parts include 21 connectors, 17 capacitors, 12 resistors, 9 ICs and 3 transistors. It belongs with the home automation and IoT boards of this library.

Main components

6

README

README.md

Wie viel hat es kürzlich auf meinem Feld tatsächlich geregnet?

What was the last on-site rain amount on my farm?

Ist die Temperatur im Pflanzenbestand die selbe, wie die der nächsten Wetterstation?

Does the temperature of the public weatherstation and inside the plants match?

Wir helfen dir, kostengünstig und simpel eine eigene Wetterstation in Betrieb zu nehmen.

Wir stellen dir die Anbindung ans Internet, Datenauswertung und -visualisierung kostenlos und unkompliziert zur Verfügung.

We help you to install your own low-cost weatherstation. Connectivity and data storage, evaluation and -visualization is provided by us.

Agvolution Open-Source Weatherstation

Embedded software and hardware design for Arduino MKR-board based Weatherstation (Atmel SAMD processors).

Frequently Asked Questions (FAQ)

  1. How can I build my own Weatherstation? We have published a KiCad schematic, PCB-layout, Bill of Materials, and the embedded firmware - including pre-built binaries. You can either buy a complete Weatherstation or a DIY-kit (assembled PCB) from Agvolution GmbH or start from scratch by ordering and assembling all the components (PCB, electronic components, sensors, housing, etc.) on your own. Do not hesitate to contact us! (contact@agvolution.com)
  2. How can I customize the configuration (e.g. packet transmit, wind sampling, position periods, etc.)? You can make adjustments to the transmit and sampling periods in Inc/commission/commission.h and then rebuild the project. We also provide pre-built binaries with different configurations (check the builds folder).
  3. Which sensors can I connect? Please check the list below (supported sensors). You can simply integrated new sensors by adjusting the firmware. Let us know about your changes, we can then merge your pull-request (reach out to l.kamm@agvolution.com).
  4. What is the battery life time of my station? We have provided an energy-benchmark table in the energy-benchmark folder. On the one hand, it contains energy measurements on the real system. On the other hand, it contains a parametric energy consumption simulation. You can use it to estimate the battery life time depending on your system configuration.
  5. Can I connect a solar module? Yes, you can. We will provide further information soon.
  6. Which LPWANs are available? The first version was built on SigFox. We can easily integrate other boards (Nb-IoT, LoRa, Bluetooth, WiFi, ...). Feel free to contact us.
  7. How can I access the data? There exist two methods: 1) You can register your Arduino MKRFox1200 board in the SigFox backend using the ID and PAC programmed to the RF chip. You have then access to the raw payloads. 2) You can register your Arduino MKRFox1200 board with Agvolution or buy a pre-programmed and pre-registered board at us. You have then access to the climate data (human-readable) via a Smartphone App (iOS, Android) [Farmalyzer], IoT-platform in the browser (charts, position, etc.) [https://iot.agvolution.com] and via a data API (GraphQL). Data storage, payload decoding, visualization - we do it for you! You can manage users and share your data with your partners on our platform. You can also make use of our application software services (recommendations, models, etc.). Reach out to us (contact@agvolution.com).

Supported sensors

At the moment, we support:

  • Sensirion SHT3x (I2C-addresses 0x44 and 0x45)
  • Bosch BME280 (I2C-addresses 0x76 and 0x77)
  • DS18B20 (arbitrary address, automatic address scan, selecting the first available sensor on the 1-wire bus)
  • Watermark soil matrix potential (up to 4x)
  • GNSS satellite positioning module
  • Rain Gauge (up to 2 passive, tipping spoon reed contact sensors)
  • Wind direction (analog poti) and speed (passive contact pulse)
  • Weight Cell (we have included a temperature-stable, low-noise instrumentation amplifier. It can be used to read weight cells (German: Dehnungsmessstreifen, DMS). Used for bee hive weight monitoring, ...)

Custom configuration

  • Edit Inc/commission/commission.h and build the project.
  • Alternatively, you can use the pre-built binaries in the builds-folder

Build the project

Required Arduino libraries:

  • Arduino Low Power (by Arduino LLC), v1.2.2
  • Arduino SigFox for MKRFox1200 (by Arduino LLC), v1.0.4
  • RTCZero (by Arduino), v1.6.0
  • SD (by Arduino), v1.2.4
  • BlueDot BME280 Library (by BlueDot), v1.0.9
  • DS18B20 (by Mathias Munk Hansen), v1.0.0
  • FlashStorage (by Arduino), v1.0.0
  • OneWire (by Paul Stoffregen), v2.3.5
  • SHT31 (by Rob Tillaart), v.0.3.4

Required Arduino boards:

  • Arduino SAMD Boards (32-bits ARM Cortex M0+) (by Arduino), v1.8.11

Instructions

  1. Clone the project
  2. Open arduino_weatherstation.ino in Arduino IDE. Install the required library and board packages.
  3. Build + Flash.
  4. Done!

Hardware Installation

Solar Panel

  1. Cut the DC jack. solar_1
  2. Strip the two wires and twist the ends. solar_2 solar_3 solar_4
  3. Install the JST connector at the respective clamp. Please take care of the polarity ( + red, - black ). Also, replace the screw next to the GPS module area by a hex distance bolt. You can use Loctite to fix the screws. solar_5
  4. Conduct the solar wire through one of the housing cable mounts. Bend the copper wires 180°, insert them on the Solar Charger Module at PWR IN (+ red, - blue) and tighten the screws. To improve the durability, make sure, that the screws of the clamp not only fasten the thin copper wires, but also the plastic moulding of the cables. Mount the Solar Charger Module on the hex nut and connect the JST cable to the socket. The status LEDs should be on, when the module is placed in the sun. solar_6

Anemometer (Davis)

  1. Cut off the RJ11 connector. wind_1
  2. Use the 4-pin clamp in the PCB corner, labelled with 'Davis Anemometer'. wind_2
  3. Strip the wire and drill the ends. Insert the wires into the clamp while pressing down the bolt, using a screwdriver or a similar tool. Please take care of the wire colors (Y: yellow, G: green, R: red, B: black). wind_3 wind_4

ToDo

  • If BME76 and BME77 looses initialization (power cut) -> Detect and Re-Init ? Which registers need to be written?
  • Integration of LoRa, mioty, Nb-IoT boards

Parts

69
QtyValueFootprintReferences
15100nFCapacitor_SMD:C_0805_2012MetricC1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C17
6Conn_01x02_MaleAGV1k-700:Phoenix_19_84_96_3_1x02_P3.50mm_VerticalJ1, J5, J6, J8, J9, J10
4FiducialFiducial:Fiducial_1mm_Mask3mmFID1, FID2, FID3, FID4
3Conn_01x04_MaleAGV1k-700:Phoenix_19_84_98_9_1x04_P3.50mm_VerticalJ4, J12, J13
20Resistor_SMD:R_0805_2012MetricR5, R6
2150Resistor_SMD:R_0805_2012MetricR7, R8
233kResistor_SMD:R_0805_2012MetricR9, R10
24.7MResistor_SMD:R_0805_2012MetricR13, R14
24.7uFCapacitor_SMD:C_0805_2012MetricC15, C16
24051AGV1k-700:SO-16_3.9x9.9mm_P1.27mmU1, U2
2Conn_01x01_FemaleAGV1k-700:BatteryClip_Keystone_54J19, J20
2Conn_01x05_FemaleAGV1k-700:Phoenix_19_84_99_2_1x05_P3.50mm_VerticalJ17, J18
2Conn_01x14_FemaleConnector_PinSocket_2.54mm:PinSocket_1x14_P2.54mm_VerticalJ2, J3
2DMN3115UDMPackage_TO_SOT_SMD:SOT-23-6Q2, Q3
2INA126Package_SO:MSOP-8-1EP_3x3mm_P0.65mm_EP1.68x1.88mmU5, U6
2RJ14AGV1k-700:RJ14_Wuerth_615004138421_HorizontalJ15, J16
110kResistor_SMD:R_0805_2012MetricR4
12k2Resistor_SMD:R_0805_2012MetricR12
1330Resistor_SMD:R_0805_2012MetricR11
14.7uHInductor_SMD:L_0805_2012MetricL1
17.87kResistor_SMD:R_0805_2012MetricR3
1BME280Package_LGA:Bosch_LGA-8_2.5x2.5mm_P0.65mm_ClockwisePinNumberingU9
1BQ297xyPackage_SON:WSON-6_1.5x1.5mm_P0.5mmU7
1Conn_01x02AGV1k-700:Phoenix_19_84_96_3_1x02_P3.50mm_VerticalJ21
1Conn_01x03_MaleAGV1k-700:Phoenix_19_84_97_6_1x03_P3.50mm_VerticalJ11
1Conn_01x04_MaleAGV1k-700:NS-Tech_Grove_1x04_P2mm_VerticalJ14
1Conn_02x03_Odd_EvenConnector_IDC:IDC-Header_2x03_P2.54mm_VerticalJ7
1DMN65D8LDWPackage_TO_SOT_SMD:SOT-363_SC-70-6Q1
1LTC1983-5Package_TO_SOT_SMD:TSOT-23-6U3
1MCP1642B-50Package_SO:MSOP-8-1EP_3x3mm_P0.65mm_EP1.68x1.88mmU4
1QR_Code_agvolution.comAGV1k-700:QR_Code_agvolution.comQR*****
1SW_PushButton_Switch_SMD:SW_SPST_PTS645SW1
1ZLDO1117G33TAPackage_TO_SOT_SMD:SOT-223-3_TabPin2U8

Similar boards

  • 2 layers20 × 20 mmSGR, the printed circuit board in 3D

    SGR

    Jackv-makes/SGR

    A Simple Gameboy Pocket/Color Regulator that uses the MCP1642B boost regulator IC

    11 parts18CC-BY-4.0
  • 2 layers70 × 14 mmBoostAAA, the printed circuit board in 3D

    BoostAAA

    HarkonenBade/boostAAA

    14 partsMIT
  • 2 layers46 × 55.3 mmIndoor env monitor, the printed circuit board in 3D

    Indoor env monitor

    w-cobb/indoor-env-monitor

    Project for the indoor environment monitoring device using ESP32 with a BME280 and PMS5003 sensors.

    46 parts
  • 4 layers72.9 × 61.3 mmGraphics card rev-2, the printed circuit board in 3D

    Graphics card rev-2

    ShaneTWilliams/worlds-worst-graphics-card

    Custom HDMI transmitter PCB with 480 MHz STM32H7 microcontroller

    131 parts18MIT
  • 2 layers120 × 90 mmOpenBeacon2, the printed circuit board in 3D

    OpenBeacon2

    etherkit/OpenBeacon3

    500 mW Si5351C-based MEPT Transmitter

    105 parts7GPL-3.0
  • 2 layers99 × 58.5 mmHDMIspartan6 Board, the printed circuit board in 3D

    HDMIspartan6 Board

    Fabeltranm/SPARTAN6-ATMEGA-MAX5864

    259 parts4GPL-3.0
  • 2 layers72.3 × 72.3 mmAnchor7, the printed circuit board in 3D

    Anchor7

    jmpinit/babel-hardware

    PCBs for the Babel in Reverse art installation under the Manhattan Bridge

    84 parts2

Questions

How big is the Mkrfox1200 PCB?

It measures 125 × 85 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Mkrfox1200 use?

69 parts, built around the INA126U, BME280, MCP1642B-50I/MS and ZLDO1117G33TA. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Mkrfox1200 KiCad files?

From the AGVOLUTION/arduino_weatherstation repository on GitHub, at the commit this page was made from: the board is hardware/V2.2.1/mkrfox1200.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Mkrfox1200 design in my own project?

Its repository states no licence, so its author keeps all rights: ask AGVOLUTION before reusing the design.