The repository contains scripts to setup a Raspberry Pi as an Arbalet workstation.
The default configuration considers that you're using the SPI MOSI (GPIO 10)
pin to connect your LED strip. Here is how to connect the input side of the WS2812B strip:
- red: power supply +5V
- green or yellow: GPIO 10 (data pin)
- black: power supply GND
Although the Pi and the strips are not using the same high level voltage, experience shows that this works fine anyway, but any serious project should add a level shifter on the data pin. However you might experience artifacts (flashes) with this technique.
The install procedure hereunder will configure your Pi for GPIO 10
. You can always modify the configuration file afterwards to use an Arduino connected to your Pi instead, or even PWM on GPIO 18
(WIP, but requires root access).
Before running the script, optionally add SSH keys to the file authorized_keys
to be able to connect to the Arbalet Pi from your workstation without password prompt.
Run the command below on your workstation to get the public key to be pasted in authorized_keys
:
cat ~/.ssh/id_rsa.pub
- From your workstation perform a fresh Raspbian install on your SD card, e.g.
sudo dd bs=4M if=2016-11-25-raspbian-jessie-lite.img of=/dev/mmcblk0
- From your workstation, download this repository on your SD card, e.g.
wget https://github.com/arbalet-project/arbapi/archive/master.zip -O /tmp/arbapi.zip
unzip /tmp/arbapi.zip -d /media/<MY_SD_CARD_NAME>/home/pi
- Optionally, populate
authorized_keys
with your workstation's key - Boot on the Raspberry Pi and login as
pi
with default passwordraspberry
- Make sure your Pi is connected to the Internet via Ethernet
- Run the root script
arbapify.sh
to execute the installing procedure:
cd /home/pi/arbapi-master
./arbapify.sh
Be patient, the procedure typically lasts about 20 minutes 7. Reboot your Raspberry Pi:
sudo reboot
It must reboot and activate the Arbalet application sequencer automatically
8. Default password of user pi
is changed into arbalet
after installing