Our Cookies Policy
To make full use of www.electromaker.io, enjoy the personalised features and ensure the websites works to its full potential, your computer, tablet or mobile phone will need to accept cookies.
Our cookies don’t store sensitive information such as your name, address or payment details: they simply hold information about how you use our site so we can improve your experience and resolve any errors.
If you’d prefer to restrict, block or delete cookies from www.electromaker.io, or any other website, you can use your browser to do this. Each browser is different, so check the ‘Help’ menu of your particular browser (or your mobile phone’s handset manual) to learn how to change your cookie preferences.
Here’s a list of the main cookies we use, and what we use them for:
Electromaker – Login session
Google Analytics – Analytics
Twitter – Twitter Feed
Each web browser handles cookie management differently, please follow instructions for your chosen browser:
Next, download the LightShow Pi code by doing the following
# Install git (if you don't already have it)
sudo apt-get install git-core
# Clone the repository to /home/pi/lightshowpi
git clone https://email@example.com/togiles/lightshowpi.git
# Grab the stable branch
git fetch && git checkout stable
Install LightShow Pi
Now, install the LightShow Pi by navigating to the home directory of your code. It will be /home/pi/lightshowpi if you have followed the tutorial so far
It takes a long time for the software to install, but once it does, please restart the raspberry pi.
Configuring the hardware
One of the first things to do is to determine how your pins are laid out.
To do that, you need to enter
Lightshow Pi uses the WiringPi pinout, so you'll want to convert your pins from the GPIO to the wPi layout.
Just a little word of warning, if you plan to utilize the FM broadcasting feature, do not use wPi-7 for any of the regular pins.
Navigate to the configuration folder and use your favorite editor open the overrides.cfg file. It is simply a copy of the defaults.cfg file, but allows you make modifications and still maintain a default file.
Scroll down to the gpio_pins section and enter the list of pins that you are going to use by entering
gpio_pins = 25,0,24,23,22,28,27,29
I used a mechanical switch, so it only has an on or off state, but you can configure your hardware for solid state relays or other things.
I also turned on the fm module and selected a frequency that did not overlap with any nearby stations
fm = True
frequency = 98.7
Once you've completed the setup of your hardware, you can move on to testing it
Testing the Hardware
To see if your configurations are working, use the command