marți, 17 ianuarie 2023


            My attempt at the "Eternity LED Blinkers"

 

              Sadly you cannot see the blink rate in the Gif!

A few months ago, my friend ordered some LED's from Ebay.  We thought nothing of them, but, we noticed that they are very low power. Trying to see how low we can go with the current, we noticed that they are even visible at a few micro-Amps! In the case of the white LED's you can go as low as 1-2 μA, but they become visible enough at about 30-50uA!

Since my purpose is not to do any advertising, I could post a picture of the LED's in question and you can do you buying from any seller you want, maybe using Google's reverse image search.

 A few months after, I wanted to make a astable multivibrator circuit using these LED's and some very high series resistors, to see how long the battery is lasting. The results were amazing!

I have built a variation of this schematic, but I knew from the start that the bipolar transistor take a lot of current. Then, I have built the same schematic using MOSFET transistors

  

The Best usage I have found for this is a lithium Ion battery indicator!.

By playing with the values of R5-R6 or R1-R3, you can get a very cool behavior: LED1 and LED2 between 4-4.2V, blinking between 3.3V-3.9V and off under 3.3V. This made a very cool indicator. Just require a pot to adjust the desired values!. Also, this runs about 5 minutes from a 2200uf Capacitor, which will be my benchmark from now on!

Moving on, I had thought about using just a single LED and blinking it.  It was then when I have found this post! (Post in German language, use Google Translate).

 From here, I have found this amazing schematic: 

 This schematic works OK, but it's still using too much power .This can be blamed on several things, including the power hungry leds. So, let's improve the schematic a little bit:

 Also, I wanted an extra voltage doubler for the white LED, so I've added another charge pump.


    


This schematic work as it should. With the low power LED and the 2200uF capacitor, it works for about 25-30 minutes! The 2 P channel MOSFET are logic level ones. In my case they are : 
FDN340P.  the 2 MOSFET can be replaced with PNP transistors, but you also need to replace R10 and R11 with  resistors varying from 1M Ohm to 4.7 M Ohm.

These schematic work very well at 1.5v batteries. Personally, i recommend some  "Energizer Ultimate Lithium" that have a shelf life of about 20 years.


 

Another schematic  that I have found and built is this one. 

    This is not mine, and I can say that the author is brilliant. The flashing part with 4001 is very well designed. Unfortunately, the "Joule Thief" part is not, as "Joule Thiefs" are doing exactly that: stealing energy and wasting it. But, we can use the first part of it... Again, tested the schematic with a 2200uF capacitor and it ran only  a few seconds..

Lets cover a bit the so called "Joule Thief's"

                                       Joule Thief's 

I won`t go so much into dept on how a Joule thief work. But this is the standard schematic of one:


 In a nutshell, the transistor open because of the current that flows trough R, inducting a EM field trough the TR, which induces a negative voltage into the base coil, that closes the transistor.  The EM field also get's collected with a second winding of the transformer and lights up the LED.

This works, but the process is not very efficient especially at low currents. in my tests, to get about 6 mA at 3.5v from a 1.5v battery, it required about 35mA. Without the LED the drawn current drops just by about 1 or 2 mA.   This get`s worse at even lower currents.

In other words, "Joule Thief's"  do exactly as they say: They steal energy.

     For efficiency we would require a specialized step-up IC with high efficiency and low quiescent current.Enter MAX1724.  1.5μA IQ, up to 90 percent efficiency! In other words, better than a DIY  "Joule Thief".      From the datasheet, we get the schematic. I have chosen the 3.3v version, as it's enough for the white LED.

Now, Now, if only we can find a low power IC flasher.... hmmm...

 

in this schematic, I have used the schematic from the 10 year flasher in the link I've posted earlier,  but instead of the 4001 I have used the low power 74HC02 IC, which draws even lower power.

Jumper 1 and 2 bypasses the IC, if you use a 3.6v lithium high shelf life battery!

After playing with this version, I could not get more than 5 minutes from a 2200uF capacitor at 1.5v. 


At first, I have build one without PCB. I have use silicone mold for (for making cakes). I gotta say it looks pretty nice.



The values of the resistors are a bit different from the schematic, as It went trough a lot of changes. Overall, It looks very nice. The battery I have used is a Energizer Ultimate Lithium, and should have a shelf life of minimum 20 years. 

I have also designed and built PCB, but, I could say the look best if they are built without a PCB.


Conclusions:

In the end , I've realized that 2 schematic stand out:

This one. Because of it's simplicity and efficiency ! On a 2200uf capacitor charged with 1.5v, it lasts for about 20 min!

 

  Finally, second best is this one: 


My experience with these ultra low power LED's is a very pleasant one. And all my experiments have shown that when you are talking about micro-amps, capacitive doubler is the way to go, because inductor based step-up are not so efficient!

Giving the high shelf life of the battery, the blinker should work for a few tens of years! Good Luck!

 

 

 

 



 


 

 

 

 

 


joi, 22 octombrie 2015

Glass covered swimming pool powered by Rainbowduinos

         




            Since this is my first post, i will post a short Youtube video to show  you the ending result of what it's all about. Many apologies  for the quality of the video: It was a test video, and i am not in the location to make another one. Soon a more detailed video and more pictures will be added to my blog.




       As you can see in this video, this is a swimming pool converted in a dance floor. It is all covered in blocks of glass each weighting  up to 98 kg, except for the stairs and the sides which weight less. Surrounding each block of glass we added a  RGB led strip with common anode. 
       For this project i used almost 450 meters of RGB strip , 2 Rainbowduinos , 64 power Mosfet transistors , 64 bipolar transistors ,a few capacitors and some resistors.
       The initial project was inspired  by (Lampduino - an 8x8 RGB Floor Lamp) project found on instructables.com
        Since i have not found a way to connect 2 Colorduinos together and control them with the same interface, i used 2 Rainbowduino_v3.0, which  are  pin compatible with the Colorduinos. This little Atmegas 328 implementations are some excellent pieces of hardware. I wish i could say same the same thing about the software.


           As long as the code goes for this little devices, i have used this code. Initially i wanted to learn C# for the programming of the Colorduino, but since the internet provided me the tools and i was constrained by time  i decided to go with the Rainbowduinos instead of the Colorduinos.
           Programming the Rainbowduino was very easy, using the Arduino IDE. Since the Rainbowduino includes aleready the USB to Serial interface, there was no need to connect a TTL interface like i did on the Colorduino.
            On the PC side i used Pixel Invaders Software, which after many hours spent on the internet looking for a good way to control both Rainbowduinos from a unified software interface, i decided it was the best path to go. Unfortunately, this software is also having some lacks, but i overcome those with a small hack. The music mode, is very terrible. Honest. No matter how hard i tried to adjust the colors in this mode, it always gives me back some mixed and not clear RGB colors.  In the end, i ended up using a simple Music visualization software combined with Pixel Invaders Screen Capture mode. Basically, a Milkdrop like software is displaying some colors on the screen, and Pixel Invaders capture the screen, controlling the 2 Raibowduino after that pattern. Both are started by a simple batch file located on the desktop of the controlling PC. It was a "ugly hack" but it is doing the job great.
            Back to the Rainbowduinos, another problem  using this devices, was that each controller is capable of outputting a few miliamps of current on each output of its multiplexers.
            To understand this better i will post the simple schematic of a common anode RGB matrix compatible with the Rainbowduino ( or Colorduino):  



                                    
                                                            A common RGB matrix






            As we can see in this schematics, the Rainbowduino ( or the Colorduino) controls each RGB led by applying a small positive current (+)  to the common anode on the row the LED is located and negative (-) on the cathode of the corresponding  column of the LED.  
            To control a 12 volts RGB strip instead of each LED, we just need to increase the current of each output of the Rainbowduino. 
           Another thing to look out for was to keep the polarity of the output, for compatibility with the RGB strip which was  common anode led strip. The circuit  i came up with is the following: 


R1-R4 -10 Kohm
Q1 - Power P channel Mosfet (eg. IRF 9540)
Q2- generic NPN small power transistor (eg. BC171)
Q3- Power N channel Mosfet (eg. IRF 540)
Q4- Generic PNP Transistor ( eg . BC177)

              As you can see, i have drawn the schematics for both the part that increase a anode current (violet) and the part who increases the cathode current (blue). Now, we just need to multiply the violet 8 times and the blue 24 times. (for each controller).
             Each Rainbowduino (or Colorduino) has 8 anode outputs ( NPN transistor + P channel MOSFET)  and 24 cathode outputs (PNP transistor + N channel MOSFET). So that is a total of 32 MOSFET's and bipolar transistors for each controller. Think of this PCB's  as exoskeletons for the Rainbowduino's. 
             Normally , the plan was to design the PCB in Eagle, using double layer PCB, and SMD components, but due to the lack of  time, being a part time project,  i used prototype board and build this 2 PCB's. The PCB's were assembled using no schematics, because of the simplicity reasons. This is my first version of the PCB, and many cross wires were used.


 v.1 Test PCB .  Mounting the N channel Mosfet and the 
PNP transistors , with the 10 k resistors.
You can see in the middle the pins for the 
Rainbowduino (Colorduino )


Top View of first image


           You can see the Colorduino i used at first is fitting perfectly in the pins soldered on the prototype board.


Fitting a Colorduino on the board

            Soon i started adding the P channel Mosfets and the NPN bipolar transistors, using the same schematics , but with reversed polarity's:
.







                                                       



         In this picture everything on my first version of  controller is added to the prototype board. I even added a 7805 voltage regulator and a few capacitors.




          At first i tested the controller with the RGBmtx software. Instead of LED's i used RGB strips and later just for a test H4 car light bulbs. The Mosfet's remained cool and that completed my test proving my design works.
          Later i started work on the second controller (because i had to drive 128 RGB strips). I have not used a PCB schematics on this version either, but i learned from the mistakes of the first one:

                                              Second PCB, with the 24 N channel Mosfets,
                                                                     PNP transistors
 and the 10 k ohm resistors



Adding some strap wires and the Rainbowduino (Colorduino)
connectors



Backside



The almost finished PCB backside.
(without the 7805 ic )



Upper side


              Next, i tried to fit the whole project in a small UPS case. I meant to mount the 2 RGB matrix in the front of the box, as a control light. I never got to do it because of time reasons. The final project has Rainbowduino's and a USB hub has also been fitted in the box.





                                                
                                                  Fitting the 2 controllers inside a old UPS box


          
            Like i sayd,  a 7805 ic was used for each of the board to stabilize the voltage to 5 volts,  supplying voltage for the Raibowduino and the USB hub i used to connect the 2 boards. Since the 7805 is a very common voltage regulator, i will not post the simple schematics. A simple google search on "7805  voltage regulator" will supply all the information needed.
           In the end, this 2 controllers were used to control almost 450 meters of RGB strip. The total current draw from the power supply ( a 450W PC power supply) was almost 8 AMPS on white colors, which draws the most current, since white is composed of all 3 RGB colors. I did not use any type of heat sink on the MOSFET's because practice show that the heat is barely noticeable even after a whole day of run.

                                                        The story behind this project:
  
             I let this at the end because is the less important part of this blog.
             I used to work in Romania in well known IT service , repairing IT equipment, mostly laptops. Due to many factors regarding mostly on how thing are heading in this country i decided to continue my life in a different place. I was proposed by good friend of mine Ielin Milorad, which i must remark that is a very skilled person when comes to designing things, to take on a last freelancer project before i leave the country. The project involved designing a light system to put a beautiful swimming pool already covered in large blocks of glass "in unique light". So we both decided to take the project as freelancers. I have done some fast research on google (about 5 minutes) and came across the Lampduino project project found on instructables.com. I have knew there must be a way to control strips instead of single Led's.  I did think at a different approach to control  multiple LEDS from  a small controller, in the beginning so we had a starting point.           
            We were told that many company's came with their own plan to illuminate this swimming pool, but out idea was one of the best. At fist , they require us to make a demo. So we did:








         The initial  project  involved just lightning the stairs, but we soon take the option into consideration to cover the whole swimming pool.
         


         


          The hard size was actually lifting the heavy blocks of glass, that up to 98 kg each. So we got the same team that created this glass covered swimming pool to help up with the heavy lifting. We were very lucky, because since they build this, they also knew how to tear it apart in order to mount the LED strip. Over 450 meters of  RGB strip was used and over 3 km of wire. Each of the wire were soldered to the strip, in order to avoid using connectors.   
          Like i said at the beginning, i will post many detailed picture as soon as i get them myself. "The important things", the schematics and the concept of using an Rainbowduino/Colorduino to power more current demanding lights is already shared. I hope it will help somebody in his own personal design.

Loren