Mac Format

How to Control electronic­s projects with Blynk

-

1 Create your UI

With a Blynk account set up, create an account. Then create a new project and choose whether to connect over Wi-Fi or Bluetooth. Drag and drop widgets to define your interface. There are widgets for physical controls like LEDs and buttons, but also virtual widgets to connect to Twitter, email or web servers.

2 Install the library

You will receive an email with your authorisat­ion key. Download the code library from blynk.cc/getting-started and use the online code builder to create template code for your model. Add your key to the line that begins char auth[] =. Blynk also works with lots of other microcontr­ollers, including Raspberry Pi.

3 Program your pins

Widgets in your interface can be linked to physical pins on the Arduino and will update as the pins change voltage. You can also link them to virtual pins and update them manually from code. The command Blynk.virtualWri­te(V3, 255); turns on the widget connected to virtual pin 3, for example.

 ??  ??
 ??  ??
 ??  ??

Newspapers in English

Newspapers from Australia