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
Design For A Cause 2021
  • Challenges & Projects
  • Design Challenges
  • Design For A Cause 2021
  • More
  • Cancel
Design For A Cause 2021
Blog Remote Agriculture Solution #04: Setting up Arduino Nano 33 IOT
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: aaryan2134
  • Date Created: 27 May 2021 9:56 AM Date Created
  • Views 1326 views
  • Likes 2 likes
  • Comments 0 comments
  • arduino_nano_33_iot
  • iot system
  • arduino nano 33 iot
  • design for a cause design challenge
  • design_for_a_cause_2021
  • agriculture
Related
Recommended

Remote Agriculture Solution #04: Setting up Arduino Nano 33 IOT

aaryan2134
aaryan2134
27 May 2021

Remote Agriculture Solution

Blog Links:

#01: Introduction

#02: Components and Design Structure

#03: Setting up the AgroBot

#04: Setting up Arduino Nano 33 IOT

#05: Monitoring System

#06: Irrigation System

#07: Pest Control System

#08: Linking Everything to Arduino Nano 33 IOT

#09: Time to See the Work in Action

#10: Future Improvements

 

In this blog, we will configure Arduino 33 nano IOT for the first time.

For this project, I will be using Blynk.

imageimage

Setting up:

Our main aim for this blog, is to setup the Arduino Nano 33 IOT(the kit). We would need to do a few setup changes to the Arduino IDE for this. As the other boards like the Arduino Uno are a little different from this board.

To use this board, we need to go to the Board Manager and download Arduino SAMD Boards.

image

To connect this board to WiFi, we need WiFiNINA library. You can download this from Library Manager.

image

For getting started with Blynk, I had to download Blynk App on my phone. I created an account on the website and opted for the free option as that was enough for this project. Login with your credentials.

 

As this was my first time using the board, I tried a very simple task of turning On/Off the inbuilt LED(on D13) on Arduino Nano 33 IOT.

 

Blynk Setup:

  • To do this, create a new project in Blynk.
  • Name your project.
  • Choose device as "Arduino Nano"
  • Choose connection type as " Wifi"
  • Choose any theme of your choice
  • The authorization token will be sent to your registered email.
  • Using the "+" button in the top bar, add a Button
  • Click on the newly added Button
  • Set Output Pin to "D13"
  • Name the Button as "Led"

You are all set to go now. The Blynk Project is ready. Now it's time to write the code and upload it to the board using the Arduino IDE.

 

Code:

I used this example code provided by Blynk.

The code file can be downloaded from this https://github.com/aaryan2134/Remote-Agriculture-Solution/tree/main/Blink_Led_using_IOT 

#define BLYNK_PRINT Serial
#include <SPI.h>
#include <WiFiNINA.h>
#include <BlynkSimpleWiFiNINA.h>


// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "add your authorisation code";


// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "enter your SSID";
char pass[] = "enter your password";


void setup()
{
  // Debug console
  Serial.begin(9600);


  Blynk.begin(auth, ssid, pass);
  // You can also specify server:
  //Blynk.begin(auth, ssid, pass, "blynk-cloud.com", 80);
  //Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,100), 8080);
}


void loop()
{
  Blynk.run();
}

 

Just upload this code to the board. After that open the Blynk App and run the project.

When you press the button, the LED will turn on. Pressing again will turn off the LED.

image

 

Finally, we are done with the initial setup of Arduino Nano 33 IOT using Blynk!

Stay connected for further progress.

We will finish setting up the complete monitoring system in the next Blog.

 

Connect with Me:

aaryan2134@gmail.com

Github - aaryan2134

My website

Linkedin

  • Sign in to reply
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