-
Notifications
You must be signed in to change notification settings - Fork 1
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 :
-
Go to your Magicblocks.io Playground .
-
Select SWITCH node which is in Dashboards Nodes of your Palette and drag it into your flow .
-
Select DIGITAL OUT node in Magicblocks Nodes of your palette and drag it into your flow.
-
Connect both nodes.
-
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.
- 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
- Click on DEPLOY button.
- 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.