The upgrade can't be used with BIG Spiral Lamp V2 [WLED] as the sizes are different!
Description:
Hi guys,
after one day of frustration yesterday (one hardware piece was not suitable for the battery project), I received the right part today and everything works as it should :)
First I wanted to add this to the original project but as there is already so much of description I rather wanted to do it in a clean project.
What features can you expect?:
the lamp will be dimmable (the dimm is delayed, so if you turn the wheel the current glow is still executed. with the next glow iteration the dimm is applied)
it will have batteries, so you can carry it arround with you (belive me - I did this all the time since i printed it :P)
you can switch off the lamp via the switch and still load the batteries
you can load and use the lamp simultaneously
What do you need?
The hardware:
In the original project I used → 1x USB-C port board with charger capability → I exchanged that board because there is a much better alternative (there is even another solution but delivery would have taken 5 days and I wasn't patient enough :P)
and finally I used two 18650 batteries. This link is exemplary as I used old batteries from my vacuum cleaner robot (I had to switch the batteries and the old ones are still good enough for the lamp).
..and of course you need cables (I think there are still some left from the base project)
solder skills
hot glue as the new USB-C port is much smaller than the old USB-C charger board
Print everything with 100% speed. Do NOT use other modes than normal mode!
Re-Flash the Arduino with the file attached to the documentation in this project:
use again the overall LEDs number
Edit my source code (see documentation → download, remove “.txt” and open in the Arduino IDE) with that number
Flash it (you can find a howto in the base project)
Cut the cables in the half, strip the insulation and solder everything:
do NOT solder the potentiometer as it can be damaged. just use the plug!
you need to create a Y cable for getting power to the potentiometer and also to the Arduino
you need also two Y cables for the batteries (in order to use two in parallel)
solder this way:
Arduino
see base project for power & LED stripe
for the potentiometer you need to solder another two cables to the Arduino
a female plug to A0 → this is connected to the middle pin of the potentiometer
a female plug to another GRD (there should be some left on the board) → this is connected to the right pin of the potentiometer (when you have the wheel in front of you)
charger board
solder two female plugs to the power input
solder two female plugs to the battery pins
solder two male plugs to the powe out
Replace the old USB-C port from the base model with the new one
Assembly:
This time it's more an assembly of the electronic parts as adding the lid to the lamp is quite easy :P
First add the rotary potentiometer
Add the switch
Connect the batteries in parallel and add them to the lid (I will not give advices here as you should know how to handle that electronics. If you don't know STOP here and familiarize first! That's why I did not post the cabled connection here). The picture also shows an old board which was not suitable for that project. The final project uses the right board (the model has the right housing for the right board).
How to connect:
connect the USB-C port (+/-) to the input (+/-) of the charger board
connect the battery port (+/-) of the charger board with the parallel batteries (the batteries should have male plugs at the end of their y cables)
connect the 5V + output of the charger board with the switch and connect the switch with the 5V + input of the Arduino (use the y cable!)
connect the remaining ground from the charger board with the ground of the arduino
connect the other end of the Y cable from 3. (you need three, two for the batteries) with the left pin of the potentiometer (the wheel is in the front)
connect the middle pin of the potentiometer with the cable of the Arduino with A0
connect the remaining pin of the potentiometer with the remaining ground cable of the Arduino
You are done :) Test everything then glue the board, fix the connection cables with tape and combine the lid with the lamp. If you have any questions just write me a private message (english or german).
This work is licensed under a Standard Digital File License.
You shall not share, sub-license, sell, rent, host, transfer, or distribute in any way the digital or 3D printed versions of this object, nor any other derivative work of this object in its digital or physical format (including - but not limited to - remixes of this object, and hosting on other digital platforms). The objects may not be used without permission in any way whatsoever in which you charge money, or collect fees.