Skip to content

Example 01

Magicblocks edited this page Jun 20, 2019 · 1 revision

Example 01:

This Example shows you how to control Digital Pin of your Magic IoT device with your own Web Based dashboard:

Part List:-

● MagicZERO/MagicONE development Board-01

● Breadboard -01

● LED-01

● Jumper Cable

● 5V power Supply.

Circuit Diagram:

Flow :

  1. Go to your Magicblocks.io Playground .

  2. Select SWITCH node which is in Dashboards Nodes of your Palette and drag it into your flow .

  3. Select DIGITAL OUT node in Magicblocks Nodes of your palette and drag it into your flow.

  4. Connect both nodes.

  5. Double click on SWITCH node and configure it.

Group:click on edit icon, then it redirect to another window and type any word as Name and click on edit button for select a Tab .You can give any name as the Tab name.

  1. Double click on DIGITAL OUT node and configure it.

Name: You can give any Name.

Device: your device id from Device Manager and place it.

Pin: Type the pin no which you wish to connect LED

  1. Click on DEPLOY button.

  1. Go to dashboard Menu and click on View Dashboard Icon .Now you can control your LED by navigating to your dashboard URL from any End User Device.

Clone this wiki locally