søndag 24. september 2017

RGB Sword - ESP8266 RGB LED strip only


This is information regarding a smart lamp with RGB channels only. You may consider this the first version of the smart lamp, and the five channel lamp the latest version. The main difference between the two is the five channels on the latest version: Red, Green, Blue, Cold white, Warm white.

Here you can see the results after I installed the RGB LED strip in my brothers room.

Parts and Tools

You are going to need the following parts

To put everything together you will need these tools
  • Soldering iron
  • Solder
  • Wire cutters
  • Wire strippers
  • USB cable that goes between your computer and micro controller


Simply follow the schematic to recreate your circuit on a perf board. I recommend using the barrel jack on the power connections from the power supply. It's also a good idea to solder female header pins to the perf board so the NodeMCU can easily be added or removed from the soldered perf board.

To determine your maximum length of LED strip we need to do a bit of math. The LED strips draw 60mA of current per 10cm of length. The strip is divided into segments of 10cm so this means it draws 60mA per segment. The NodeMCU along with the linear voltage regulator draws about 100mA. My PSU could supply 2A at 12V.
Thus I can power a max number of: (2000 [mA] - 100 [mA]) / 60 [mA per segment] = 31.67 segments
Which equals 31 segments * 10cm = 310cm. Thats a long light strip!

Arduino Code

Follow the regular arduino configuration in the main information page. The only difference here is you need to change 
const int ARRAY_LED_COUNT = 5;
to 3 instead of five. Along with removing 5, and 4 from the line
const int ledPin[ARRAY_LED_COUNT] = {14, 12, 13, 5, 4};
That's it! You've now configured the arduino code to work with three instead of five channels!

Ultimate Electronics Helper || Variable Bench Top PSU With Helping Hands

I have finally completed a long awaited project! This is something that's been churning around in my head for quite some time - close to a year. I started ordering parts for last years Christmas. After receiving these I've gone through several design iterations on both the 3D printed casing and the electronics and circuitry. I have to admit I'm quite pleased with the results!

Introduction at instructables
When working with electronics two tools are pretty much always needed. Today we'll be creating these two essentials. And we'll also take it one step further and merge these two together into the ultimate electronics helper!

I'm of course talking about a Variable Bench Top PSU and a good pair of Helping hands!

The PSU features variable voltage and current so it can be used in any number of projects. It also has a constant 5V output from a USB connector. As you've probably experienced a lot of DIY electronics projects require 5V and some other voltage.

Helping hands always need a sturdy base to keep everything still. This is solved by mounting them onto a power supply unit, which usually weighs a lot.

Let's get started!

Programming Electronics Academy Podcast Interview

I'm as lucky as to have been interviewed about my passion - hobby electronics and DIY projects!
Programming Electronics Academy is a site with several courses on electronics and arduino. Every other week they release an interview with makers from around the world.

In this episode the host, Mike, and I spend a half hour talking about how I chose my studies, self watering plants, DIY home automation, and much more!

You can listen to the episode on their website or on their youtube channel. Be sure to check out both their learning material and this very special podcast interview!