Project nativity scene 2014

The nativity scene is a several years project, that I upgrade every year. This year I decided they are complex enough to describe on my website.

First a few pictures of the scene, followed by the description of electronics that run the thing.

Control

The system is controlled by Raspberry Pi. It provides a web interface for the system. The RPi communicates with all parts of the system via an I2C bus. Because longer ethernet cables are used, I use P82B96 ics, that convert I2C communication to 12V. I have a hub, that contains 10 rj45 jacks, that supply 12V and 5V power and communication.

Sky with constellations

The oldest part of the system is sky with constellations. It has 20 chains of LEDs, that are fixed on a plywood and covered with blue fabric. The chains are joined in 10 channels, that are individually controlled by an AVR microcontroller. This was originally a standalone system, that was upgraded with I2C control.

Falling stars

Last year I added falling stars to the sky. They are made of two PCBs with 16 LEDs each. LEDs are controller with TLC5925 ics, that get the data from avr microcontroller. This year I have 3 falling stars on the sky.

Moon

This year I added a moon. Moon is made of 5 EL Panels, that can light up in different lunar phases. Each panel is connected to a high voltage power supply via a relay, that are controlled over ULN2003 ic by avr microcontroller.

Different lunar phases

Fires

In the nativity scene are fires, that are made of 12 dual color LEDs. LEDs are red-yellow and can be set any color. The twinkle rate and intensity can also be set.

Power sockets

Three controllable power sockets are used for controlling mains appliances, e.g. water pump.

Problems

Of course it did not go without problems. A faulty ethernet cable caused a short circuit on one of the supply lines. The ethernet socket melted and the cable was stuck in it. Luckily I had a spare connector for replacement. I also added fuses to prevent similar thing in the future.


Share

comments powered by Disqus