element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi Projects
  • Products
  • Raspberry Pi
  • Raspberry Pi Projects
  • More
  • Cancel
Raspberry Pi Projects
Blog [PROJECT] Raspberry Pi Perpetual Yule Log
  • Blog
  • Documents
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi Projects to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Catwell
  • Date Created: 1 Dec 2017 5:12 AM Date Created
  • Views 1555 views
  • Likes 4 likes
  • Comments 0 comments
  • tutorial
  • holiday 2017
  • project
  • diy
  • xmas
  • christmas 2017
  • raspberry pi
  • cabeatwell
  • holidayspecialch
  • christmas
  • raspberry_pi_projects
Related
Recommended

[PROJECT] Raspberry Pi Perpetual Yule Log

Catwell
Catwell
1 Dec 2017
image

The Holiday Special

Enter Your Project for a chance to win $100 Shopping Carts, Gifts to Give, and a  3D Printer!

Back to The Project14 homepage image

Project14 Home
Monthly Themes
Monthly Theme Poll

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Raspberry Pi Perpetual Yule Log demo. I address the video transition glitches in the writeup below. Otherwise, I got to say... for a drop-and-forget yule log video player, it's pretty useful.

 

Background:

 

Who doesn’t like a fireplace? Who doesn’t like the Yule Log?

....also... who else doesn't have either?

 

Nothing is more comfy than a fireplace-fire during those quiet holiday moments. This project brings that to you - thanks to our good friend, the Raspberry Pi.

 

We’ve all seen “Yule Log” videos. I think they have been around since the days of VHS. The Pi plays those videos. They are the next best thing to having an actual fire.

However, this isn’t just a glorified video player, I took it a little further. Here were my design requirements:

  1. I didn’t want the Yule Log fun to end, but I also do not want to play the same video on repeat. I want to play a collection of videos – one after another – no repeats!
  2. I want the video playback system to be quiet. No PC fan sounds, discs spinning, etc.
  3. Portability is absolutely key… for strategically adding fireplaces where need be.
  4. And I need a way to cycle through videos if, for some reason, I don’t like the one playing.

 

The project by sections:

 

This project is about as straightforward as Pi projects can get. All you need is a Raspberry Pi, technically. There is no hardware you need to build.

However, in my version I added a few things outside the typical Raspberry Pi setup.

  1. I used the same wireless HDMI design I used in my “PiBall” project. This way, I didn’t have to run any video cable from the Pi to the Screen. I could have my Pi over 60 feet away from the screen! Let’s say all the plugs are used at the TV, put the Pi somewhere else!
  2. I had a 16GB SD Card in the Pi. This was mainly so I could hold all the Yule Log videos.
  3. I also used a wireless keyboard and mouse. But, this is pretty typical.

 

BOM:

 

1x Raspberry Pi 3

1x Wireless HDMI from Nyrius “ARIES Pro”

1x Wireless keyboard and mouse adapter

 

Schematic and design:

 

NONE! Just connect the Pi to a screen.

 

It is this simple. The complexity comes in the code.

 

HOW it functions:

 

It plays the yule log videos. image

Press "S" to advance to the next video.

Press "A" to go to the previous video

 

Code:

 

A little setup is necessary.

 

The program and videos you want to play have to be located in the /home/pi directory (folder).

 

Write at pi command line or via SSH. This setup is used to display a background PNG file inbetween videos, so you don't see the desktop or the command line text:

    chmod 755 pngview

 

So you know, the full code is attached to this post. I use pygame and omxplayer to handle it all. Take a look at the code if you are curious how it's done.

 

 

How to add autostart to this program so it load immediately after the Pi boots:

 

Edit the file /home/pi/.config/lxsession/LXDE-pi/autostart

              sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart

 

remove line @xscreensaver -no-splash

 

Add these lines to bottom:

  cd /home/pi

  @python yulelogplayer.py

 

Save the file. The next time you boot it up, it will start immediately.

 

 

Suggestions on the build:

 

- Personally, I’d just keep the Raspberry Pi somewhere within wireless HMDI range. But, if you don’t want to fork over the money for such a device, then buy a lengthy HDMI cable.

- The Pi 3 does get a little warm. If you have access to some heatsinks for it, then by all means use it. Otherwise, be aware of a potential heat hazard.

 

Other uses of the system:

 

- You could play the Yule Log, of course. But, any holiday related video would work. Holiday classics, family video.

- This could also be used in advertisement scenarios. A solid-state solution to repeating ads.

 

Oddities and observations:

 

The wireless HDMI brought its own problems. I experienced a graphical glitch in between videos. I found it was most prevalent with the wireless adapter.

 

If I had more money/time:

 

- Loading the next or previous video had a delay I didn’t care for. I would like to speed up this process. Perhaps preloading?

 

Cabe

http://twitter.com/Cabe_Atwell

Attachments:
CabeAtwell yule log player 2017.zip
  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube