Hey guys! I Hope you already enjoyed my previous project "NodeMCU Home Automation (ESP8266)" and you are ready for a new one, as usual I made this tutorial to guide you step by step an electronic Christmas tree to celebrate the Christmas your own way, this project could be a great gift that you can give to your kids too. Follow the steps of this video and keep watching the whole video to learn how to create your own Christmas tree.

During the making of this project, we tried to make sure that this instructable will be the best guide for you in order to help you if you want to make your own christmas tree, so we hope that this instructable contain the needed documents. This project is so handy to make specially after getting the customized PCB that we’ve ordered from JLCPCB to improve the appearance of our electronic device and also there is enough documents and codes in this guide to allow you create your beautiful christmas tree with some lights and sounds. We've made this project in just 2 days only, just one days to get all the needed parts and finish the hardware making and the assemble, then one day to prepare the code to suit our project and start the testing and the adjustments.

What you will learn from this instructable:

  • Making the right hardware selection for your project depending on its functionalities.
  • Prepare the circuit diagram to connect all the choosen components
  • Solder the electronic parts to the PCB..
  • Assemble all the project parts (device box and electronic assembly)..
  • Start the first test and validate the project.

Step 1: Circuit Diagram

The project is super easy for everyone to make, and no specific knowledge required in order to make it since it is all about controlling RBG LEDs and a piezo buzzer to display the Christmas songs and all these parts will be placed in one PCB and controlled through an ATmega328 MCU which is the same Microcontroller of the Arduino UNO

The schematic has a piezo buzzer connected to the MCU which is the main responsible of displaying christmas songs. The lights blinking will be random while the device is on. the power supply used in this project a simplu 3 lithium batteries of 1.5V which makes a 4.5V enough to turn on the MCU.

Step 2: PCB Making

About JLCPCB

JLCPCB (Shenzhen JIALICHUANG Electronic Technology Development Co., Ltd.), is the largest PCB prototype enterprise in China and a high-tech manufacturer specializing in quick PCB prototype and small-batch PCB production. With over 10 years of experience in PCB manufacturing, JLCPCB has more than 200,000 customers at home and abroad, with over 8,000 online orders of PCB prototyping and small quantity PCB production per day. The annual production capacity is 200,000 sq.m. for various of 1-layer, 2-layer or multi-layer PCBs. JLC is a professional PCB manufacturer featured of large scale, well equipment, strict management and superior quality.

Talking electronics

After making the circuit design I transformed the circuit into a customized PCB design with a tree shape in order to get a beautiful PCB design when we order our circuit and to do so all what I need is to move toJLCPCBthe best PCB supplier in order to get the best PCB manufacturing service, as always just some simple clicks that’s all what you need to uploaded the appropriate GERBER files of the circuit design then I moved to set some parameters and this time we will use the green color for this PCB since we are producing a tree so it should be green anyway; just four days after placing the order and my PCBs are on my desktop.

Related download files

As you can see in the pictures above the PCB is very well manufactured and I’ve got the same PCB design that we’ve made for our main board and all the labels,logos are there to guide me during the soldering steps. You can alsodownload the Gerberfile for this circuit.

Step 3: Ingredients

Before start soldering the electronic parts...

Read more »