This project enhances the Embedded Neopixel LED Christmas Tree by maketvee. The battery has been removed and it is now powered from a 12V DC power brick. A Web server has been added to allow the tree to be controlled from an Internet browser. A speaker has also been added so it can now play tunes. It has 5 animations and 3 Christmas songs that you can choose from.
Video3D PrintingOther than replacing the base with the new one provided, the printing and assembly of the tree part hasn't changed. The video below shows how to assemble the tree.
Base AssemblyI have included the Eagle files should you wish to get your PCB commercially made or do as I did and make it yourself. I used the Toner method. Start by adding the SMD components.
Next add the through hole components:
I used JST XH 2.54 connectors but you can solder the wires directly to the board if you wish. Add the DC power socket and wire to the board.
The board slides into its slots in the base.
Program the ESP-01 with the sketch provided. Run the software in the Arduino IDE first. You don't need to have anything connected as this is only to set up the WiFi credentials and get the Web server IP address.
When the software is run for the first time, the software will create a WiFi access point. Use your phone to connect to the WiFi access point "EmbeddedTreeAP". You can then enter your credentials for your WiFi network. Once this is done, you shouldn't need to do it again.
Turn on the console to 115200 baud. You should see that it connects to your network and that the server is active. It will show the IP address that you need to put into your Internet browser to control the tree.
Comments
Please log in or sign up to comment.