-
Notifications
You must be signed in to change notification settings - Fork 3
The 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.
sudo apt update
sudo apt upgrade
This will take some time, may as well get up and stretch!
The following dependencies must be installed:
sudo apt-get install git wiringpi libecasoundc-dev libsqlite3-dev
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
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.
Download the Blynk app from your smart phone app store.
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.
Run the project in the Blynk app by pressing the "play button", the sideways triangle in the top menu bar.
TBD
TBD