Configuration and code to be setup on a Raspberry Pi 4B board as a central node ๐ก
This image is intended to be used on Raspberry Pi 4B with 4G RAM ๐ to turn this machine into central node / server that accepts audio from Bluetooth
Yes, you read it, you can connect your phone to it
and spread it to multiple ESP32-LyraT V4.3 peripheral-node
s in your local network.
You know it well
Verry simple because the only actually required dependancies are
Just to run the setup.sh
script.
Because everything in this repository (configurations, environments, etc.) is dockerized, making things easily portable.
Running the setup.sh
script with your bash
shell:
./setup.sh
will build the docker containers that will run it's task to create the *.img
file.
There are provided default variable for:
root
userNavigating to config/vars
the default values could be overriden by creating files and variables with the same.
Example configuration:
config/vars/credentials.yml
:
user_name: thesis
user_password: thesis
root_password: very_strong_root_password_here
config/vars/wifi.yml
:
wifi_ssid: My_Router_SSID
wifi_password: My_Router_Password
You can use Docker Desktop to watch the logs from the containers to see the process going or you can type
# for the emulator output
docker logs -f central-node-pi-emulator
# for the configuration of the image
docker logs -f central-node-ansible-1
v2.1.3
The freshly created image is located in dist
folder and i called distro.img
by default:
.
โโโ dist/
โโโ distro.qcow2
โโโ distro.img <-- the output bootable image
โโโ kernel.img
You are free to use you software of choice (for example balenaEtcher
or Pi Imager
) or any other way (for example with dd
or using Gnome Disk
) to flash the distro.img
file.