Welcome to Hackster!
Hackster is a community dedicated to learning hardware, from beginner to pro. Join us, it's free!

IoT Cloud - Getting Started

This tutorial is obsolete for changes to the libraries, API and Arduino IoT Cloud itself. Please see below for an updated link

BeginnerProtip193,117
IoT Cloud - Getting Started

Things used in this project

Hardware components

Arduino MKR1000
Arduino MKR1000
A MKR1010 is also a perfect option, or you could use a MKR IOT Bundle (see below)
×1
Arduino MKR IoT Bundle
Arduino MKR IoT Bundle
×1
Breadboard (generic)
Breadboard (generic)
×1
LED (generic)
LED (generic)
A generic 20mA LED
×1
Resistor 221 ohm
Resistor 221 ohm
In our example we used a 150Ω resistor to limit the current flowing through the LED which will be powered by 3.3 Volts HIGH signal from the pin
×1
Rotary potentiometer (generic)
Rotary potentiometer (generic)
×1
Pushbutton switch 12mm
SparkFun Pushbutton switch 12mm
×1
Resistor 10k ohm
Resistor 10k ohm
This will act as a Pull-Down resistor on the button pin
×1

Software apps and online services

Arduino Web Editor
Arduino Web Editor
Arduino IoT Cloud

Story

Read more

Schematics

Schematic

Schematic for the circuit

Code

Arduino_IoT_Cloud_Example

FT Debouncer Library

This library makes it easier to implement push and release actions for physical buttons, without the burden to track time, buttons states and change of state between LOW and HIGH. Create a Debounce Manager, add a pin to keep track of and let the library call two functions for when the button is pressed or released. More info on the GitHub repository, as well as in the video.

Credits

Arduino_Genuino
91 projects • 11344 followers
Contact
Ubi de Feo
4 projects • 81 followers
very curious human being
Contact
umbertobaldi95
2 projects • 46 followers
Contact
albertian
0 projects • 25 followers
Contact
marcopass
0 projects • 54 followers
Contact

Comments

Please log in or sign up to comment.