Better Enlightened

Better EnlightenedBetter EnlightenedBetter Enlightened

Better Enlightened

Better EnlightenedBetter EnlightenedBetter Enlightened
More

Electronic Illumination

Electronic IlluminationElectronic IlluminationElectronic Illumination

LED digital control circuit

3D printed enclosure

ASM & python code

Electronic Illumination

Electronic IlluminationElectronic IlluminationElectronic Illumination

LED digital control circuit

3D printed enclosure

ASM & python code

Is it supposed to do that?

Figure it out as we go.

I've always been fascinated with the physical world. In particular, digital electronics and lighting. I also enjoy taking my time to understand why things work they way they do, which explains my (sometimes painfully) meandering journey to design and produce a better lighting control system.


Although I've received a formal education in electrical engineering, I've taught myself 3D object design, audio/video production, and coding in various languages. I am enjoying this journey.


Below, you will find links to my recent YouTube videos that document the various aspects of developing this illumination apparatus and my discoveries along the way. Here is a link to the whole playlist starting with the first video in December 2021: https://www.youtube.com/playlist?list=PL8fx2PasT3iDHbZt3daNV69Nn2KMNSdC5


I've also included a few links where you can find some of the source code I wrote for this project.


- Arif K. Rafiq 

Episodes

Downloadables

LED controller FreeCAD 3D model python code

In episode 25 we designed an enclosure in FreeCAD for the controller. Rather than using the graphical interface, we wrote parametric code in Python to create the 3D object. If you like to explore deeper, the button below leads to my Dropbox where you can grab the code.

Download code

Rotary encoder schematic

The circuit schematic from episode 16, in which we designed and built a 2-bit quadrature incremental rotary encoder, complete with de-bouncing RC filters to control the intensity of our digital illumination system.  Here is the component list:

4x 51kohm resistor

2x 22nF capacitor

2x Schmitt trigger inverters  (2 of 6 circuits  on a single 40106 IC)

1x D-flip flop (1 of 2 circuits on a single 4013 IC)

1x 2-bit  incremental rotary encoder (Bourns PEC16)

Download content

Policy

This is a passion DIY project. Any code provided is provided as-is without warranty:


Copyright (C) 2024 Arif K. Rafiq

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.


This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.


You should have received a copy of the GNU General Public License along with this file.  If not, see https://www.gnu.org/licenses/ or write to: license@temperedoptimism.com

Social

Copyright © 2025 Better Enlightened - All Rights Reserved.

Powered by

This website uses cookies.

We use cookies to analyze website traffic and optimize your website experience. By accepting our use of cookies, your data will be aggregated with all other user data.

Accept