09/12/2019 at 20:47 •
After building the structure and having a close to completed circuit I thought it was time to figure out how the table light was going to work.
Of course from my schematic I mentioned that there will be 3 "sections" to this light. However I had no idea how many pieces of the LED strips I needed, how many white LEDs I need in relation to RGB LEDs and how high off the table light needed to be from the working surface.
This is why I made a rough version of one of the sections from cardboard, duct tape and rope just to get an idea of what I really needed.
The pictures of them are below:
09/12/2019 at 13:01 •
This structure sits on top of the table and 3 "sections" of LED strips will be placed underneath.
This structure also doubles as a shelf and also has various screws and nails to hang my tools.
Below are pictures of the process of building the structure (click on picture to view bigger version):
Designing The Structure:
Rough sketches and designs for the general form and shape of the structure
Detailed design of the side of structure
Front / Top View
Building the Structure:
Building the Sides
Attaching the back cross bar
Attaching the top of the structure
The basic completed structure
However I do not intend to leave this structure looking like this, since this is now part of work station/flow, adding motorized/level changing shelves, places for tools and off course the actual work table light is a must.
09/10/2019 at 17:42 •
After my last log I fixed most of the bugs like the majority of the flickering and the switching between modes.
This is by no means is the final product, I put the components on a perfboard in order to accurately test the performance of the circuit since the breadboard was introducing a lot of noise.
Things to Improve / Fix for Perfboard:
- Need to include potentiometers with knobs for easy turning
- Need to include bigger buttons as well
- A proper port for 12V should also be added
Things to Improve / Fix for LED strip:
- Add RGB to HSV conversion for colours
- This is will fix the blinking that occasionally occurs when scrolling through colours
- When the white LED strip is at full brightness, it does not turn off when night mode button pressed.
- Later found out that is was a floating terminal (gate) issue. Will need to review schematic to ensure there are no other floating terminals.
- The red colour in night mode is too bright thus defeating its purpose. Need to lower brightness
- Apparently the colour green is also used for night and allows for more colour differentiation compared to red, therefore may use a dimmer green for night mode.
02/23/2019 at 08:24 •
In this log, I put the functions all together in one file and see if they can work together without any bugs or complications.
After these tests, I seems that the only bugs are flickering and the nightmode not properly working. This can due to a number issues from hardware to software.
Further tweaking of the code will be necessary in order to mitigate the flickering.
The next step will be to create the full the schematic, design the actual table light and where each strip should go. As well fixing the code.
02/23/2019 at 07:53 •
Since I am planning on including different types of functions in this work table light, I decided to everything one by one and start off small.
That is why before attempting to make the whole thing at once I coded each individual element of this table light and tested each function separately to ensure that everything will together once everything was put together.
This can be seen in my github where I have many files that contain the separate codes for each of the functions.