Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

The Blynk App

Carlos Aguayo edited this page Jul 30, 2020 · 18 revisions

Blynk App

This program runs on a Raspberry Pi and can be used to control a jam session via a Blynk app. This program connects to the Blynk server and communicates with the Blynk app on your smart phone.

Note that although the Blynk app itself is free, in order to run the Blynk project you will need to spend around $10 US. Blynk uses the concept of "energy". You get a certain amount of energy for free when you download the app. Each UI element that you add to you project uses up a certain amount of this energy. As the UI that you create for your project gets more complex, you will use up your free energy and will need to buy more. The additional energy needed to run the Blynk project will cost around $10 US.

You will either need to use ssh to connect to your headless pi or use a keyboard and monitor directly connected to it in order to build the Blynk app.

Update the Pi

sudo apt update
sudo apt upgrade

This will take some time, may as well get up and stretch!

Install Dependencies

The following dependencies must be installed:

sudo apt-get install git wiringpi libecasoundc-dev libsqlite3-dev

Get the Raspberry Jam Source Code

First, move the existing installation:

mv raspberry-jam raspberry-jam-old

Then, clone the repo:

hash -r
git clone https://github.com/rbultman/raspberry-jam

And then:

cd raspberry-jam
git submodule update --init --recursive

Building

To build the application:

cd blynk-app
make

You can do a clean build with the following:

make clean
make

If the build completes successfully, you will see the blynk binary.

Installing the Blynk App

Download the Blynk app from your smart phone app store.

Get the Blynk project.

A Blynk project is shared with others via a QR code. The QR code for this Blynk project is:

Once the project is installed, go to the project settings page and email the project auth token to yourself. You will need this to run the program on the pi.

Running the Program

Run the project in the Blynk app by pressing the "play button", the sideways triangle in the top menu bar.

Using the Program

TBD

Address Book

TBD