-
-
Notifications
You must be signed in to change notification settings - Fork 6
Setting Up Your Raspberry Pi
This portion of the guide is only needed you're going to be doing real-time emote switching. If you're only looking to display one image on your matrices, you don't need a Raspberry Pi and can just power your microcontrollers off an external source. Otherwise, read on!
For this project, I recommend using good old Raspian, as it comes with many of the utilities you need, but you're welcome to use any *nix system that suits you provided it's compiled for ARM. For instructions on how to flash an SD card with Raspian or any other OS, I'd check the official documentation.
Once you've run through setup, make sure all of your packages are up-to-date by connecting to the internet and running sudo apt update && sudo apt upgrade. Run sudo apt install python3 python3-pip pyserial as well as python3 -m pip install pyserial if you aren't running Raspian.
We'll enable SSH and VNC at this point so it isn't a hassle later. Go into the Raspian menu (top left), under Preferences, and open Raspberry Pi configuration. Under the interfaces tab, enable SSH and VNC. If you aren't running Raspian, use Google to find resources on how to enable SSH and VNC.
Next, you'll want to turn your Raspberry Pi into a wireless access point. You will lose the ability to connect to the internet from your wireless adapter (unless you have more than one), so make sure everything above is done first. You can follow the official guide to setting up your Pi as an AP.
Some people recommend using PuTTY on Windows for SSH connections, but I prefer Windows' inbuilt SSH. Once you've connected to your Pi's AP, open up a Command Prompt window and type ssh pi@192.168.4.1 (assuming you used that IP in the guide above). It will prompt you for your account password. If you don't know the account password, you can change it using sudo raspi-config on the Pi. With any luck, you should have your command prompt. This is what you'll use to issue commands to your Arduinos.
If you want access to the desktop, you'll need to use VNC. You can get it at VNC's download page, or for Chocolatey users, choco install vnc-viewer.
Alright, all the setup is done. Next, we'll go through the serial connection between your Pi and Arduinos.
- Home
- Getting Started
- Designing Your Own Patterns
- Configuring the Serial Bridge with Raspberry Pi
- Getting Out On The Con Floor
- Notes
