Light
Meter
Inject block to trigger Analog In block in every one second. Set
Repeat interval to 1 second.
Analog In block reads analog input from Magicbit pins. Open
properties and set Device ID , Pin to
LDR(36).
Keep Method as
Poll
and
Threshold at default value. Output will be range of 0-4095.
Display light level on a dashboard
Develop web based Dashboards with Magicbit to display sensor or
input values.
STEP 1 :
Power up your Magicbit using USB cable and get connected to Magicblocks
cloud. Check page 11 to configure Magicbit for Magicblocks.
STEP 2 :
Open playground and drag following blocks to workspace from the block pallet.
gauge block from dashboard blocks. Set Range from
0
to
4095
19