element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Just Encase
  • Challenges & Projects
  • Design Challenges
  • Just Encase
  • More
  • Cancel
Just Encase
Blog Remote Farm Monitoring and Watering System - Blog #1 - Introduction and Unboxing.
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Just Encase to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: carmelito
  • Date Created: 22 Dec 2021 3:28 PM Date Created
  • Views 809 views
  • Likes 8 likes
  • Comments 2 comments
  • oled
  • Arduino MKR WAN 13000
  • remote_monitoring_farm
  • just_encase
Related
Recommended

Remote Farm Monitoring and Watering System - Blog #1 - Introduction and Unboxing.

carmelito
carmelito
22 Dec 2021

The Just Encase Design challenge comes at an opportune time, basically winter is a great season(temperature between 22 C to 30 C) here in Goa, India, where my family grows vegetable on my Dad’s farm. The farm is about 500 meters away from my house, which I think is a good enough distance distance for two Arduino MKR WAN 1300 to communicate with each other, if I can find the matching antenna’s to connect to the UFL connector on the
Arduino board. Here is picture from last year, of various type of veggies growing – we have spinach, Radish and a red leafy vegetable, which is a local variety here in Goa.

Veggies grown last year Dec 2020

As part of the build, I will have one of the Ardino MKR WAN 1300 in a the plastic enclosures, connected to a temperature and humidity sensor and Water Level float sensor, on a stick/pole just above the water tank in the Farm marked in red on the map below. And the other Arduino MKR WAN 1300 will be at home marked in yellow on the map, connected to an OLED display, in the case with the transparent cover, which reads the data from the Arduino MKR WAN 1300 in the Farm, and can also sends data to start the pump connected to a relay to water the vegetables, when a switch is pressed.

image

I just received a package from UPS today, and all the components mentioned in Kit as part Encase Design Challenge came neatly packed in a Newark brown box, here is a picture of the components that  are part of the kit. To read more about the components, check out the blog post on the design challenge page at /challenges-projects/design-challenges/just-encase/w/documents/23203/just-encase-design-challenge#kit

Unboxing the Encase Kit

Once I was done unboxing, I had to say thank you to Element14 and Hammond Manufacturing for organizing the challenge using the provided Arduino MKR WAN 1300 and an OLED screen...

imageimage

Here is the Arduino Code uploaded to the Arduino MKR WAN 1300 connect to the OLED screen (SSD1306)

//OLED screen connected to Arduino MKR WAN 1300, via I2C
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#define SCREEN_WIDTH 128 // OLED display width, in pixels
#define SCREEN_HEIGHT 32 // OLED display height, in pixels

// Declaration for an SSD1306 display connected to I2C (SDA, SCL pins)
#define OLED_RESET     4 // Reset pin # (or -1 if sharing Arduino reset pin)
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);

void setup() {
  // SSD1306_SWITCHCAPVCC = generate display voltage from 3.3V internally
  if(!display.begin(SSD1306_SWITCHCAPVCC, 0x3C)) { // Address 0x3C for 128x32
    Serial.println(F("SSD1306 allocation failed"));
    for(;;); // Don't proceed, loop forever
  }
  display.display();
  delay(2000); 
  display.clearDisplay();
}

void loop() {
  display.clearDisplay();
  display.setTextSize(1);             
  display.setTextColor(SSD1306_WHITE);       
  display.setCursor(0,0);           
  display.println("Just Encase");
  display.println("Design Challenge");
  display.display();
  delay(5000);
  display.clearDisplay();
  display.setTextSize(1);             
  display.setTextColor(SSD1306_WHITE);       
  display.setCursor(0,0);           
  display.println("Thank you Element14");
  display.println("and Hammond Manufacturing");
  display.display();
  delay(5000);
}

In addition, before you upload the code, please install the Arduino SAMD Board in the Arduino Board Manager, and install the Adafruit_GFX, Adafruit_SSD1306 Libraries from the Managed library section.

  • Sign in to reply
Parents
  • DAB
    DAB over 3 years ago

    Are you also going to monitor the rain fall so you do not over water?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • carmelito
    carmelito over 3 years ago in reply to DAB

    Basically the rainy season here is from June to mid September. And when it rains, it floods Smiley, which means it is not the ideal time to grow vegetables. But having said that, this is a great feature I could add. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • carmelito
    carmelito over 3 years ago in reply to DAB

    Basically the rainy season here is from June to mid September. And when it rains, it floods Smiley, which means it is not the ideal time to grow vegetables. But having said that, this is a great feature I could add. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube