fbpx

How we set up an IoT connection?

How to use IoT on our Tokymaker?
With an example of a burglar alarm we will show you how easy we can use IoT on our Tokymaker.

 

Here are the things TO DO :

 

Step 1

  • Create an account on the IoT platform Adafruid via: https://www.adafruit.com

Step 2

  • Go to https://io.adafruit.com and log in with your account
  • Copy your AIO Key

Step 3

  • Go to the programming webpage of Toky: https://create.tokylabs.com/earlybird`

Step 4

  • Connect with a WiFi router via the IoT Block “WIFI : set”
  • Log in to Adafruit via the IoT “IOT : loginuser” Block

 

We can send data from the Tokymaker to Adafruit with the “IOT : publish data” block.
We can receive data from Adafruit with the “IOT : data fro feet” block

Now you can program in https://create.tokylabs your wishes from your invention.
After this we can visualize this in the dashboard function of Adafruit.

Example : Burglar Alarm

Material

Tokymaker

Learn to code your own prototypes using the simple visual coding interface and just one finger and program it without installing software or connecting cables.

Internet connection

Internet access is the ability of individuals and organizations to connect to the Internet using computer terminals, computers, and other devices; and to access services such as email and the World Wide Web.

Tilt sensor

This AT407 basic tilt switch can easily be used to detect orientation. Inside the can is a ball that make contact with the pins when the case is upright. Tilt the case over and the balls don’t touch, thus not making a connection.

Sonar

An Ultrasonic sensor is a device that can measure the distance to an object by using sound waves.

Code

You can download the code here :

Amazing gadget! I got it as a present from a friend and I’m still amazed. It only took me about an hour to assemble, and now I’m experimenting with its possibilities. Kudos! Héctor

Maker in Residence at Zer0 Lab, Hackacademy

[recent_products per_page="1" orderby="menu_order" columns="0" category=""]
[top_rated_products per_page="1" orderby="menu_order" columns="0" category=""]