Project tutorial

Scheduled Relays © GPL3+

This project will show you how to schedule to drive the outputs on a MKR Relay Proto Shield using a MKR1000!

  • 4,391 views
  • 1 comment
  • 13 respects

Components and supplies

Apps and online services

About this project

About this project

This project will show you how to drive in a programmed way the relays on a MKR Relay Proto Shield. In particular using web server hosted on the MKR1000 you will be able to set the alarm time using your browser!

Get started

To get started you have to:

  • Put your MKR1000 board in top of your MKR Relay Proto Shield;
  • Upload the code on your board;
  • Open the serial monitor and copy the board's IP address;
  • Open your browser and paste the IP address. You should see a page similar to this:
  • Click on the -- and use the arrows to set the time:
  • Click on submit!

So when your time will be matched (in this example at 10:30 AM) the two outputs on your MKR Relay Protoshield will be driven HIGH for five minutes!

How to use and improve this example

You can use this example to make your own gardening system and small automation in general! Use the MKR1000 IoT capabilities to ask for weather forecast and use them to have a smarter ON/OFF policy.

Code

Code on Create

Comments

Similar projects you might like

Sigfox Forest Fire Detector

Project tutorial by Louis Moreau

  • 2,343 views
  • 2 comments
  • 14 respects

Magic VR Hat

Project showcase by Ron Dagdag and Johnathan Hottell

  • 616 views
  • 3 comments
  • 8 respects

TV Tee Shirt

Project showcase by Maddy

  • 3,844 views
  • 1 comment
  • 12 respects

Race Car Dashboard (Online Connectivity)

Project showcase by Team Jatayu

  • 1,976 views
  • 4 comments
  • 7 respects
Add projectSign up / Login