![]() #password_command = gpg -decrypt ~/password # See manpage for a description of the config keys ![]() # lines you need and copy/move this file to ~/.config/pianobar/config (Note that the login information needs to be replaced with your own Pandora account information).Ĭopy the following into a new file "config" in the /home/pi/.config/pianobar directory, changing the login information: # This is an example configuration file for pianobar. Our next step is setting up configurations for Pianobar, an example of which is given below. This installation has a directory for configuration files located in /home/pi/.config/pianobar. (Hint: typing "?" will give a list of keybindings for controlling Pianobar) Log into your Pandora account, and get a feel for the program. By entering pianobar in a terminal, the program begins. ![]() Setup is simple - run the following from a terminal: sudo apt-get install pianobarĪfter entering "y" to all the prompts, Pianobar should be successfully installed. Although the Pi is limited in resources, a lightweight application like Pianobar is right at home. Pianobar is an open-source, lightweight terminal program which runs Pandora Radio. Either work as the "pi" user, or be prepared to alter some scripts later. If not, the file locations used later on will need to be altered. Important warning: All of the work in this Instructable assumes you are working as the "pi" user. Now simply wait for the build to finish, and the operating system is ready to install Pianobar, an open-source program running Pandora Radio. However, to simplify these instructions, we only need to run: sudo apt-get install git-core Now, in order to access the GPIO pins in a more user-friendly manner, we will install the wiringPi library. Run the following in LXTerminal: sudo apt-get install python-serialĭocumentation for the Pyserial module can be found at: We need to add the serial module in order to drive our LCD module. Also, enabling the SSH server will let us work on the Pi on a separate computer, without a keyboard and mouse plugged into the Pi.Ģ) Next, follow the instructions here to stop the OS from writing to the UART, which we will use to drive the LCD: ģ) Adding Serial Communication to Python: The SD partition should be expanded to fit the entire SD card, and the boot_behavior option should be set to boot to the desktop on startup. Four changes need to be made.ġ) In LXTerminal, run the following: sudo raspi-config Familiarity with a laser-cutter is necessary, since every laser cutter and design software package is different.Īfter getting Raspbian Wheezy up and running on the Pi, the OS will need to be configured. 4-40 fillister flat head nylon screws were used with these standoffs.Īlthough this Instructable includes directions for the custom case, this is probably the trickiest part of the design. The standoffs used were a combination of (3/8" - hex - 1.25" - 4-40 thread) and (3/8" - hex - 0.375" - 4-40 thread) nylon male/female standoffs. Other thicknesses can probably be used - this will be left up to your discretion (and experience). This was great for cutting with a laser-cutter. The acrylic used in this project was 0.08" thick and can be found at Lowe's in 8"x10" sheets. Instructions for this process found at: Ģ) Serial LCD module (3.3V module from Sparkfun was used: 3) Ethernet CableĤ) USB Keyboard and mouse (necessary for setup, not the final product)ĥ) Pushbuttons (6) - "Normally Open" type with threaded mountsĦ) 3.3V Regulator (LM1117T-3.3 from Texas Instruments in the TO-220 package type used here)Ĩ) Capacitors: (2) 10 uF tantalum (as recommended by TI for 3.3V regulatorĩ) Pi T-Cobbler from Adafruit (not necessary, but makes GPIO access much easier)ġ) Soldering Iron and solder (for the T-Cobbler breakout board) Next, you will need an SD card with a Raspbian Wheezy image. This Instructable is based on a Revision 2 board, but will work on earlier boards with minimal changes. The main piece is a Raspberry Pi Model B with a 5V, 1A power supply. In order to build the system, you will need several things.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |