Hi,
This is my first post here. I wanted to share my portable Squeezebox project.
This is based on the following hardware:
- A Raspberry Pi B+
- An Adafruit PiTFT 2.2" non-touch screen
- A TeckNet iEP360 6000mAh portable charger
- A 5V 2x3W amplifier board
- A generic USB DAC
- An Edimax 7811UN WiFi adapter
- Three switches, two rotary encoders with switches, and two scavenged 4ohm speakers.
- A solid state Reed relay
This only just fits inside a scavenged 17x9cm case. The case is really too small for all of the above, so I had to take apart the WiFi adapter and the DAC and solder them directly to the Pi's +5V, GND and USB data pins.
On the software side, it uses:
- Raspbian modded for the PiTFT from Adafruit.
- Squeezelite modded to activate a GPIO pin
- Jivelite modded for PiTFT 2.2"
- Pikeyd modified to support rotary controllers
- I also adapted the Clock screensaver for 2.2" screen
So thanks to the Clock screensaver, this device works as an alarm clock, connected to a USB charger.
The right rotary encoder controls the volume. Pressing it switches squeezelite on and off, which also switches the 5V amp on and off through a GPIO controlled relay. When switched off, the Clock screensaver kicks in, and screen dims to its lowest level.
The left rotary encoder browses the menu up and down, pressing validates your choices. A long press opens the "+" menu.
The row of buttons are mapped Back, Pause/Play, and Next.
The front panel is temporary. Version 2.0 will have a custom-cut aluminium front panel (2mm thick) and two aluminium knobs will fit over the rotary controllers. I'll do the rear panel in plastic, with a switch to disable the Wifi and an RJ45 extension for Ethernet (since this is supposed to double as an alarm clock, I'm not keen on it beaming WiFi through my head all night). I'll also try to clean up the back by adding an extension for the micro USB.
This is my first post here. I wanted to share my portable Squeezebox project.
This is based on the following hardware:
- A Raspberry Pi B+
- An Adafruit PiTFT 2.2" non-touch screen
- A TeckNet iEP360 6000mAh portable charger
- A 5V 2x3W amplifier board
- A generic USB DAC
- An Edimax 7811UN WiFi adapter
- Three switches, two rotary encoders with switches, and two scavenged 4ohm speakers.
- A solid state Reed relay
This only just fits inside a scavenged 17x9cm case. The case is really too small for all of the above, so I had to take apart the WiFi adapter and the DAC and solder them directly to the Pi's +5V, GND and USB data pins.
On the software side, it uses:
- Raspbian modded for the PiTFT from Adafruit.
- Squeezelite modded to activate a GPIO pin
- Jivelite modded for PiTFT 2.2"
- Pikeyd modified to support rotary controllers
- I also adapted the Clock screensaver for 2.2" screen
So thanks to the Clock screensaver, this device works as an alarm clock, connected to a USB charger.
The right rotary encoder controls the volume. Pressing it switches squeezelite on and off, which also switches the 5V amp on and off through a GPIO controlled relay. When switched off, the Clock screensaver kicks in, and screen dims to its lowest level.
The left rotary encoder browses the menu up and down, pressing validates your choices. A long press opens the "+" menu.
The row of buttons are mapped Back, Pause/Play, and Next.
The front panel is temporary. Version 2.0 will have a custom-cut aluminium front panel (2mm thick) and two aluminium knobs will fit over the rotary controllers. I'll do the rear panel in plastic, with a switch to disable the Wifi and an RJ45 extension for Ethernet (since this is supposed to double as an alarm clock, I'm not keen on it beaming WiFi through my head all night). I'll also try to clean up the back by adding an extension for the micro USB.