Click on edit icon at Group property to assign a group. On next
window click again on edit icon to set a Tab. Provide a name for Tab and
click Add button. Then provide a name for Group and click Update button.
Click Done to complete dashboard setup.
STEP 4 :
Click Deploy button to apply changes. Open dashboard on main sidebar menu.
Cover LDR by hand to see the magic.
Activity
Add different dashboard widgets such as chart and text to view light level.
Try to turn on a LED when dark.
Hint: Use Switch, Change, Digital Out blocks
Dashboard
LDR (Light Dependent Resistor) is a sensor that changes resistance with the light level.
Analog Input - Magicbit has 12bit ADC (Analog to Digital Converter) to get analog voltage
input from 0 to 3.3V and convert to digital value of 0 to 4095. That means if you supply 3.3V to
analog pin Magicbit gives value as 4095.
Do you know?
0V : 3.3V -> 0 : 4095
20