element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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
  • About Us
  • 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
Internet of Things
  • Technologies
  • More
Internet of Things
Blog Gate Keeper - an IoT Based Elephant Detection System
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Internet of Things to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Akarshcetech
  • Date Created: 16 Oct 2022 5:07 AM Date Created
  • Views 1370 views
  • Likes 9 likes
  • Comments 5 comments
  • wio
  • seeed
  • qubitro
  • wio terminal
  • arduino
Related
Recommended

Gate Keeper - an IoT Based Elephant Detection System

Akarshcetech
Akarshcetech
16 Oct 2022
Gate Keeper - an IoT Based Elephant Detection System
About The Project
I currently reside in Ooty, a beautiful hill station in southern India. The main problem is that elephants frequently enter the village. We can be alerted by their sounds sometimes, but most of the time they are silent, so we cannot be alerted.
So I have planned to make a device that can detect elephants and send an alert.
image
Get PCBs for Your Projects Manufactured
image
Project Flow:
First thing, we have to train some ML to detect the elephants. This SenseCAP K1100 kit contains Grove AI Vision module and Wio Terminal, so we can train the vision module to detect elephants and send data to Wio Terminal then the data will be passed to the cloud, and it will make an alarm. Like email and SMS.
image
Step 1:
This Grove AI Vision module can be trained to detect a model by using Roboflows ML detection. Here is the guide by Seeedstudio to create and upload a custom model. https://wiki.seeedstudio.com/Grove-Vision-AI-Module/
Here is my model which can detect elephants. It's not so much a good model, but it works fine.
image
Seeedstudio is working with Edge impulse integration so I will update this with the Edge Impulse model it will be a more confident model.
Now our Wio terminal will get model detection results, next step is to send the model classification results to the cloud and make an alert.
Step 2:
My initial plan is to integrate LoRa and TTN, but I don't have a LoRaWAN or Helium gateway, so I just make a plan to use a Wi-Fi or Cellular IoT. Then I moved with cellular to get this work done.
In this project I have used Blues Wireless notecard which is a cellular-based IoT hardware, also allows integration with multiple cloud platforms.
image
I have connected Blue's notecard in the UART port (8th and 10th pin) of the Wio Terminal. I have added a light system that can turn on at nighttime and turn off at day times to give some lights for the Vision classification. You have to create a new project on Blues note hub and program that project, I'd into the Wio terminal to send data to the cloud.
image
First get the project ID from the Blues Notehub and paste it into the following code.
image
Next, compile the code and upload it to the Wio Terminal, now this wio terminal will detect the serial data and forward it to the Blues Notecard. So this will now send model status, model confidence, and count.
image
This is my complete code
Here is the received data from the Wio terminal on Blues Notehub, now our data reached the cloud, the next thing we have to add some visualization and an alarm system.
image
For this visualization we are going to use the Qubitro Cloud platform, Qubitro allows visualizing the data from multiple data sources like MQTT, TTN, HTTPS, Helium, etc. Just check Qubitro.com for more additional details. Go to portal.qubitro.com and create a new project and add a device with an MQTT connection. You can see the connection credentials, just note those, because you will need those on the next step.
image
First, go to the Route tab on the Blues Note hub then select type as MQTT and enter the credentials in the below format.
image
image
Now we need to do another procedure, just go to the environment section on the Blues Device and change the content as below.
image
That's all now we are at the final step.
Step 3:
Open the Qubitro Portal and look for the incoming data from the note hub.
image
Now you see there are so much data we got from the note hub also, we need to arrange them. To do that, just go to the Blues Route tab and scroll down and add a JSON rectifier as below.
image
Let's see the data again, it is now more readable and reasonable.(also, I have added the location)
image
The next step is adding visuals for this navigation to the monitoring section and creating a new dashboard.
image
You can add different widgets as per your need. Finally, we are going to add an alarm system, for this we are going to use webhooks with make.
Go to eu1.make.com and create a new account,
image
Then next create a new scenario like this one,
image
here I have added webhooks with Twilio and email so once the webhook is triggered it will start the SMS and email alerts.
Then go to the Qubitro portal and navigate to the rule section, add a new rule here I have added a rule like model score =100, so whenever the model is detected it would trigger the webhook then all the actions will take by make.
image
Webhook alert flow
Here is the final output of the email alert.
image
Here is the final output of theSMS alert.
image
Conclusion:
image
In this tutorial, I have shown you how to build a vision-based alert system for elephant detection with Cellular communication with Qubitro Cloud's webhook and Twilio integration.
  • Sign in to reply
Parents
  • robogary
    robogary over 3 years ago

    Nice looking project. What is the primary nuisance the elephants cause ? 

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

    Nice looking project. What is the primary nuisance the elephants cause ? 

    • 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