Turn on an LED with an obniz Board by block programing.
- LED
- obniz Board
- power supply
- smartphone or PC
Hardware connection
Connect the LED to the obniz Board, referring to the library of LED.As shown below, connect anode to 0 pin and cathode to 1 pin.
1.Connect LED and turn on it
Use “led wired on obniz” block and “Turn on led” block from Light item.
2.Set the pin number to which the LED is connected
Enter the each pin number to which the anode and the cathode is connected.
Then, put “Turn on led” block into “repeat do” block.
In a programming term, it is called "loop" to continually repeat program.
ProgramBefore we get into the project, let's look into obniz.
Here → obniz for DIY electronics
obniz is a cloud-connected IoT development board. You can program on the web browser of any smartphone or computer and the command is sent to obniz through the internet via obniz cloud. By connecting the obniz to the cloud through wifi, users can remotely control devices that are physically connected to obniz.
Thanks to this cloud based approach, you can program with Python, Javascript, or other languages you prefer and control hardware directly. You don't need to integrate firmware into the device side. Recording and analyzing data is also easy with obniz cloud service.
Want to control hardware things with your current Python or Javascript skill? Want to start IoT project but don't know where to start? Want to learn programming with languages you prefer?
obniz will help you broaden your viewpoint and develop both your SW and HW skills.
For more information, please visit our official website → Official Website
Where to get obniz board? → Amazon /Official Store
Comments