![]()
A Raspberry Pi 02w can turn a widescreen monitor into a standalone YouTube statistics display, showing channel information on a custom web page. TechfulGoodies built and tested the device using Google’s YouTube API, a lightweight desktop and a printed enclosure. The small board needs careful software choices, but the finished ticker can load its page automatically and be controlled remotely. Discover how the screen, dashboard and Raspberry Pi fit together.
Choose a Screen and Plan the Housing
TL;DR Key Takeaways :
- A custom HTML page pulls channel statistics through YouTube Data API v3.
- XFCE and Epiphany replace an unusably slow Chromium setup.
- VNC provides remote control of the standalone screen.
- A printed enclosure holds the panel, Pi and display adapter board.
A regular HDMI monitor can show the dashboard from a computer without a Raspberry Pi. The board’s role is to make the display independent of that computer. An LED name badge and two LED panels were tried first, but their proprietary apps made it difficult to find an easy way to update them in real time.
The selected widescreen panel has HDMI input and USB power, and came with an adapter board that connects to the panel by ribbon cable. The build also needs HDMI and USB cables, a microSD card of at least 8GB, and a display adapter board if the chosen monitor requires one. A USB-powered monitor simplifies the setup. For another screen option, see Raspberry Pi Touch Display 2.
A custom 3D-printed enclosure holds the components and gives the device a finished appearance. It has a clip-on front, built-in standoffs and mounting brackets, cable access and ventilation slots. Several draft prints checked alignment: an early version needed tape because it did not fit together correctly, while a later version used a friction fit. When designing a housing, measure the components, leave access to cables and ports, add ventilation holes and consider mounting options.
Keep the Dashboard and Desktop Lightweight
The custom HTML dashboard uses Google’s YouTube API to display subscriber counts, views and video information. JavaScript calls the API and places the returned information on the page. The implementation is deliberately simple, though more detailed metrics, including engagement rates, could be added.
Software choice matters because the Raspberry Pi 02w proved severely underpowered for several approaches. Chromium was unusably slow: even typed text took minutes to appear. A Raspberry Pi OS Lite image based on an older Debian version booted to a terminal without a desktop, while an operating system designed just to display a website was also tried. The build instead uses XFCE and Epiphany to retain the freedom to load different websites.
Connect and Configure the Display
The panel can be checked on a laptop before the Raspberry Pi is configured. The tested screen has a 400 by 1280 resolution and initially showed the laptop image sideways. It can also be used vertically, for example as a PC system monitor. The following sequence takes the build from that initial screen test to a closed unit.
- Connect the panel to its adapter board by lifting the small locking lever, sliding the ribbon cable in with its contact side facing down, and closing the lock. Gently tug the cable to check that it is secure.
- For an initial computer test, connect the adapter board to a laptop with an HDMI cable and the appropriate HDMI adapter. Connect micro-USB power separately, because HDMI alone did not provide enough power to run the screen.
- In Windows display settings, choose to extend rather than duplicate the displays, so the panel acts as an independent screen and uses its full area. Select the second screen, choose Landscape (flipped) and keep the changes.
- Open the desired page on the panel and press F11 for full-screen display. The custom statistics page was checked this way on the laptop before the Pi was set up.
- Create a Google Developers account and a new project, then enable YouTube Data API v3. Generate credentials using an API key or an OAuth 2.0 client ID, and create the HTML page with JavaScript to request and display the statistics.
- Use Raspberry Pi Imager to put a Raspberry Pi OS image on the microSD card, insert it into the board and boot it. Install XFCE for a lightweight graphical desktop and Epiphany for the dashboard; the desktop installation was straightforward for someone comfortable with the Linux command line.
- Configure the Pi to boot into XFCE and automatically launch the browser with the statistics page. The startup routine also triggers F11, returning the page to full screen after startup or a power outage.
- Connect the monitor to the Pi with HDMI for video and USB for power. In Raspberry Pi display settings, select the appropriate resolution and horizontal or portrait orientation; if orientation is wrong, adjust display_rotate in the Pi’s config.txt file. Adjust brightness and contrast, then check readability under different lighting conditions.
- For remote control, open a terminal, enter raspi-config and enable VNC in the Raspberry Pi configuration. Install a VNC viewer on the computer or mobile device you will use; this build uses RealVNC on the main computer.
- Connect the Raspberry Pi to the home network, enter its IP address as the VNC server and connect with the VNC credentials. The remote desktop mirrors the display. Press F11 in the session to leave full-screen mode and minimize the browser to reach the desktop, change the page, update settings or troubleshoot.
- Place the Pi in the enclosure base with room for its cables and screw it down. The build uses screws in two diagonally opposite holes, although four are available. Secure the display adapter board with small screws, then feed the external USB-to-micro-USB power cable through the rear opening and connect it to the Pi’s power input.
- Connect the Pi to the display adapter board with HDMI, using an adapter and internal cable as needed. An adapter was used because a micro-HDMI-to-micro-HDMI cable was not available; the internal cables avoided soldering.
- Connect a male-to-male micro-USB cable from the Pi’s second USB port, which carries data and power, to the display adapter board. The external supply powers the Pi, which in turn powers the display board. Keep the internal cables tidy and away from the processor, then power the assembly and check that the operating system and full-screen page load.
- Seat the monitor on the lip in the front bezel and secure it with tape. A friction fit was avoided for the panel because its tolerance for pressure was unknown and it might be damaged. Once everything is connected and tested, clip the front onto the enclosure.
Keep the Finished Ticker Running
Use a stable, high-quality power adapter rated for at least 3A to support the Pi and monitor. The enclosure’s ventilation slots allow airflow, although heat was not expected to be a problem while the board was displaying a web page. Minimizing background processes, choosing lightweight applications and regularly updating Raspberry Pi OS and installed software can help performance.
Once assembled, the subscriber ticker displayed its page without blinking or apparent issues and could be controlled remotely. The result was a set-and-forget first version, with the startup routine bringing the page back after a power interruption. Remote access also leaves a way to change the page or troubleshoot without opening the enclosure.
We like the choice of a lightweight desktop and remote access for a display intended to run on its own, especially because Chromium proved too slow on this board. The trade-off is that assembling the panel, configuring the API and arranging automatic startup require work beyond plugging in a monitor. A computer-connected screen is the simpler option if independence is not important; the Pi build makes more sense if you want a dedicated display and are comfortable configuring it.
Possible future versions include an e-paper display, which could reduce power consumption and improve readability in bright environments. APIs for other social platforms, a more advanced visualization dashboard and touchscreen interaction are also possibilities. For more ideas, explore Raspberry Pi AI projects.
Media Credit: TechfulGoodies
Disclosure: Some of our articles include affiliate links. If you buy something through one of these links, Geeky Gadgets may earn an affiliate commission. Learn about our Disclosure Policy.