{"id":152,"date":"2011-12-03T00:18:33","date_gmt":"2011-12-03T08:18:33","guid":{"rendered":"http:\/\/rustybolt.info\/wordpress\/?p=152"},"modified":"2013-02-23T18:32:33","modified_gmt":"2013-02-24T02:32:33","slug":"2011-12-02-watsons-blue-blinky-joule-thief-flasher","status":"publish","type":"post","link":"https:\/\/rustybolt.info\/wordpress\/?p=152","title":{"rendered":"2011-12-02 Watson&#8217;s Blue Blinky Joule Thief Flasher"},"content":{"rendered":"<p>I built this Blue Blinky and installed the partly used AA cell on Dec 1, 2007.\u00a0 For most of the next 21 months, on or about the first of the month I published a short blog on how it was doing.\u00a0 As the cell ran down it got dimmer and dimmer, but continued to flash, with the speed increasing toward the end.\u00a0 If I remember correctly, the cell&#8217;s voltage dropped down to under 0.8 volts, and it still kept on blinking.\u00a0 I think it deserves a prominent place because of the apparent low current draw and longevity of the battery.\u00a0 I uploaded a <a href=\"http:\/\/www.youtube.com\/watch?v=I7DYw8Nf0Fc\">20 sec video of them flashing to Youtube<\/a>, so check it out.\u00a0 The middle two turn off when I shine the light on them, the top and bottom don&#8217;t turn off because they don&#8217;t have the LED sensor.\u00a0 And it&#8217;s cheaper and easier to get a red LED than a CdS photocell.<\/p>\n<p>I have come across several of the circuits on David Johnson&#8217;s website that have very long battery life, but those usually have a CMOS chip, which inherently is very low current.\u00a0 My Blue Blinky uses three regular transistors and doesn&#8217;t require any chips, and does a good job of being a current miser with a long battery life.<\/p>\n<p><strong>Daylight shutoff<\/strong>\u00a0 I updated the schematic (not shown on this one<a href=\"http:\/\/rustybolt.info\/wordpress\/?attachment_id=154\" rel=\"attachment wp-att-154\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright  wp-image-154\" title=\"DSCN0318S\" src=\"http:\/\/rustybolt.info\/wordpress\/wp-content\/uploads\/2011\/12\/DSCN0318S-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/rustybolt.info\/wordpress\/wp-content\/uploads\/2011\/12\/DSCN0318S-300x225.jpg 300w, https:\/\/rustybolt.info\/wordpress\/wp-content\/uploads\/2011\/12\/DSCN0318S.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>) to include a CdS photocell across the emitter to base of Q3.\u00a0 When the Blue Blinky is in the dark, it will run, and when the ambient light is like that in a normally lit room it will shut off.\u00a0 This should double the lifetime of the battery depending on the light\/dark ratio. Having the room lights on after dark may keep it off, so the battery life may be further extended.\u00a0 But I really don&#8217;t have another 2 to 4 years to test it and find out. \ud83d\ude1b<\/p>\n<p>One reason I say &#8220;test it&#8221; is because the photocell will shut off the flasher part. A JT, for instance, may run, if left undisturbed, until the cell voltage drops below 0.5 volts (some have claimed lower than 0.4V). As long as the JT is running, there is enough voltage to keep it running.\u00a0 But if you disconnect the cell, when it is reconnected the JT may not start until the cell voltage rises to around 0.6V.<\/p>\n<p>Because the Blue Blinky will flash down to a battery voltage of below 0.8 volts <span style=\"text-decoration: underline;\">if left undisturbed<\/span> (without a photocell that turns it off every day), I could not say for certain if it would work down to that low battery voltage with the photocell turning it on and off.\u00a0 I guess one could check its performance by using a &#8216;dead&#8217; AA cell that has a voltage of less than 1 volt, and running it for a few months on what little &#8216;juice&#8217; is left in that cell.\u00a0 At least one would not have to wait for years.<\/p>\n<p><strong>Operation\u00a0<\/strong> I used a standard two transistor flasher circuit found at a number of places on the net, including <a href=\"http:\/\/www.bowdenshobbycircuits.info\/page5.htm#flash2.gif\">Bill Bowden&#8217;s website<\/a>.\u00a0 However it does not have to supply the 70 or more mA current the Joule Thief requires, it only has to supply the base bias current to the base of the JT transistor, which is only a milliamp or less.\u00a0 The flash rate is determined by the C4 1uF capacitor and the two resistors R3A and B.\u00a0 I found that if R3 is too low, the flasher can become unstable and refuse to flash or turn fully on.\u00a0 I think it is better to keep R3 at more than 1 megohm, and change C4 if you want to adjust the flash rate.<\/p>\n<p>The Joule Thief part of the circuit is pretty much just a standard JT.\u00a0 It uses a coil made from a <a href=\"http:\/\/www.surplussales.com\/inductors\/FerToro\/FerToro-3.html\">ICH-YJ41003TC core<\/a>, with ten turns of 24 AWG solid telephone wire, and 10 turns of 30 AWG enameled magnet wire.\u00a0 The coil inductance is in the mid to high 200s of microhenrys.\u00a0 The feedback winding is not connected to the battery, instead it is connected to the flasher&#8217;s output.\u00a0 The flasher&#8217;s short pulse turns on the JT for a short period of time and the blue LED lights up brightly.\u00a0 The relatively long stretch of dark time between blinks is what extends the battery life.\u00a0 The flasher, as I said, turns the base bias to the JT on for a very short period of time; it is off most of the time.\u00a0 This is how the Blue Blinky makes the battery last so long.<\/p>\n<p>The C5 bypasses the pulses of the feedback winding to minus, so that the base of Q1 gets its full voltage as if the winding was directly connected to positive. (Now that I reread the preceding sentence, it sounds too abstruse [difficult to comprehend])\u00a0 The R5 resistor is to discharge C5 so the JT stops abruptly.\u00a0 I have not tried changing it or removing it, but the JT may work as well with a higher value or with it removed.\u00a0 But then see the June 25, 2012 update below.<\/p>\n<p><strong>Update Dec 9, 2011<\/strong> &#8211; I have spent a lot of time the last few evenings designing the &#8216;Blue Blinky&#8217; PC board with ExpressPCB.\u00a0 I started out with a rectangular board not far from being square.\u00a0 I could get 6 of them on a &#8220;miniboard&#8221; (size 2.5&#8243; by 3.8&#8243;). But then I realized I could save a battery holder by making the PC board longer and about as wide as a AA cell.\u00a0 The contacts on the ends of the board will be made out of a loop of steel wire cut from the end of a heavy paper clip. I got this idea<a href=\"http:\/\/www.youtube.com\/watch?v=IVNogpoTNHs\"> here<\/a>.\u00a0 I bought some of his Night Joule Thief boards and built a few so I know they work okay (BTW this guy has some fantastic LED art &#8211; check out <a href=\"http:\/\/www.theledart.com\/blog\/\">his website<\/a>). I decided to change from the nearly square rectangular board to a much longer and thinner board to allow it to become the battery holder.\u00a0 It&#8217;s tedious work but I pretty much have it down to where I want it, and I can get five of them on a miniboard, so a standard order of three miniboards or fifteen of the PCBs will come to something around 65 dollars US.\u00a0 That&#8217;s about $4.33 a PC board, but I&#8217;ll have to cut them up when they arrive.\u00a0 The glass epoxy board is hard on the mini hacksaw blades I use so I&#8217;ll wear out a few of those and it will cost somewhat more as a consequence, not to mention a little sweat equity.\u00a0 But hey, that&#8217;s what it&#8217;s all about &#8212; it&#8217;s a hobby(?)&#8230;<\/p>\n<p><strong>Update Dec 10<\/strong> &#8211; In my Blinky I first used the CdS photocells just like I discussed above. But CdS photocells are uncommon, whereas red LEDs are as common as dog doo-doo.\u00a0 So I changed over to a red LED used as a light sensor (maybe I should call it a LSD or light sensing diode).\u00a0 The LED is just like a photovoltaic solar cell but the surface area is very tiny, so it can only generate microamps.\u00a0 But that&#8217;s good enough to drive the base of a transistor which then amplifies the current up to whatever is needed.\u00a0 I just put the red LED between the base and emitter of a 2N3904 and it will turn the transistor on when it&#8217;s lit.\u00a0 I connected the 2N3904 transistor&#8217;s emitter to negative and collector to the base of Q2.\u00a0 The LED turns on the 2N3904\u00a0so it shorts out the current coming through the two 680k resistors and the flasher circuit cannot flash any more.\u00a0 The two 680k (or one 1.3M) resistors will conduct a microamp or so during shutoff, which is so low that it would take many, many years to drain the battery.<\/p>\n<p><strong>LSD Sensitivity<\/strong>\u00a0 The LSD (light sensing diode) shuts off the Blue Blinky when it&#8217;s daytime outside, even in the shade.\u00a0 But inside the ambient light is lower, and my only problem is that the clear lens red LEDs I used are very directional, and only turn it off when the LSD is pointed directly at the ceiling light.\u00a0 So I have to figure out how to get the LED to turn on when light is shining from the sides.\u00a0 Maybe I can diffuse the light by making the LED rough on the top with some sandpaper. Well, I tried dulling the top of the light sensing LED with some sandpaper. It still is directional.\u00a0 The dullness reduces the light a bit so it&#8217;s probably less sensitive.\u00a0 But it still turns off when I point the top of the LED towards the ceiling light. I changed to an orange LED, hoping it would be a bit more sensitive, but it is still directional.\u00a0 I sawed off the round top of the led so the lens was flat, then polished it with some very fine sandpaper to smooth the roughness out.\u00a0 It lost too much sensitivity, and wouldn&#8217;t turn off when I pointed it at the ceiling light.\u00a0 I changed it back to a regular red LED.<\/p>\n<p>I had been using the PN2222A for the LSD current amplifier.\u00a0 This transistor has a medium to high gain of 100 to 300 at 10 ma current.\u00a0 But the LSD puts out a few microamps, and the PN2222A amplifies that to a small fraction of a milliamp at a fraction of a volt.\u00a0 The datasheet for the PN2222A says that the gain could be as low as 35 at 1\/10 milliamp.\u00a0 In other words, the PN2222A&#8217;s current gain gets much lower at low currents.\u00a0 What I need is a transistor that has high gain at low currents.\u00a0 I chose the BC550C, which is made for low current, low noise amplifiers (it is the same as the BC547C).\u00a0 It has a current gain of 420 to 800 at 2 mA, which is a lot more than the PN2222A.\u00a0 I removed the PN2222A and put in the BC550C, and the difference is like night and day, no pun intended.\u00a0 The LSD now turns off the Blue Blinky\u00a0 with just the ambient room light; it does not have to be pointed at the ceiling light.<\/p>\n<p><strong><a href=\"http:\/\/rustybolt.info\/wordpress\/?attachment_id=364\" rel=\"attachment wp-att-364\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-medium wp-image-364\" title=\"DSC_0119S4\" src=\"http:\/\/rustybolt.info\/wordpress\/wp-content\/uploads\/2011\/12\/DSC_0119S4-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/rustybolt.info\/wordpress\/wp-content\/uploads\/2011\/12\/DSC_0119S4-300x225.jpg 300w, https:\/\/rustybolt.info\/wordpress\/wp-content\/uploads\/2011\/12\/DSC_0119S4.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/> <\/a>Update Dec 19<\/strong> &#8211; I received the Blue Blinky PC boards yesterday morning and sawed one off, and assembled it (see the picture nearby).\u00a0 It worked like a champion as soon as I connected the AA cell, but I had to bend the heavy paper clip battery contacts a bit to get the battery to stay in its place.\u00a0 The flash rate is a bit faster than 1 per second, actually about 1.1 per second.\u00a0 I&#8217;ve since assembled three more, and all work just fine.\u00a0 One had two red LEDs in series in place of the blue LED, but a Red Blinky just doesn&#8217;t have that poetic sound to it.\u00a0 By the way, the picture to the right does not show the red &#8220;LSD&#8221; directly behind the leftmost transistor &#8211; it works great without it.<\/p>\n<p>Update Jan 15 2012\u00a0 Another pic of a slightly modified PC board, which I received in another order.\u00a0 I positioned the battery clips so they were closer to the ends of the AA cell.\u00a0 A few other mods,\u00a0 but it looks a lot like the original boards.\u00a0 I&#8217;m happy with the battery holders, I have used paper clips and heavy bare copper wire, I think it&#8217;s 20 AWG or 18 AWG.\u00a0 <a href=\"http:\/\/rustybolt.info\/wordpress\/?attachment_id=813\" rel=\"attachment wp-att-813\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-medium wp-image-813\" title=\"DSC_0091S3\" src=\"http:\/\/rustybolt.info\/wordpress\/wp-content\/uploads\/2011\/12\/DSC_0091S3-300x199.gif\" alt=\"\" width=\"300\" height=\"199\" srcset=\"https:\/\/rustybolt.info\/wordpress\/wp-content\/uploads\/2011\/12\/DSC_0091S3-300x199.gif 300w, https:\/\/rustybolt.info\/wordpress\/wp-content\/uploads\/2011\/12\/DSC_0091S3.gif 903w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>I changed the .01 uF capacitor to .001 or 1 nF, which seems to work just as well.\u00a0 I used two yellow LEDs on this board. I haven&#8217;t installed the red LED used for sensing the light.\u00a0 I changed the transistor farthest to the left from PN2222 to BC550C, which is more sensitive to light.\u00a0 The resistor laying on the board behind the electrolytic cap is a 1.5 megohm which replaces the two 680k resistors; it determines the flash rate.\u00a0 The reason I originally used two 680k resistors in series was that the total added up to 1360k, which was closer to the 1 second flash rate I wanted.\u00a0 But the 1 \u03bcF is an electrolytic, which has a typical tolerance of + or &#8211; 20%.\u00a0 That&#8217;s quite wide, so I figured that I could put a 1 Meg resistor in one of the two positions, and then use a pot to adjust the flash rate to about 1 second.\u00a0 When I&#8217;ve found the optimum point, I remove and measure the pot, and then put in a resistor close to that value, such as 390k.\u00a0 But I&#8217;ve been putting in two 680k or a 1.3 Meg, and that&#8217;s close enough.\u00a0 Changes in the temperature will cause variations in the flash rate, so it&#8217;s not really possible to get it exactly 1 second.<\/p>\n<p>Back to experimenting&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I built this Blue Blinky and installed the partly used AA cell on Dec 1, 2007.\u00a0 For most of the next 21 months, on or about the first of the month I published a short blog on how it was doing.\u00a0 As the cell ran down it got dimmer and dimmer, but continued to flash,<a href=\"https:\/\/rustybolt.info\/wordpress\/?p=152\"> <\/p>\n<p> (Read More&#8230;)<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,4,12],"tags":[62,59,60,61,63],"class_list":["post-152","post","type-post","status-publish","format-standard","hentry","category-electronics","category-joule-thief-smps-dc-dc","category-led","tag-cds-photocell","tag-led-light-sensor","tag-led-senses-light","tag-light-sensing-diode","tag-phototransistor"],"_links":{"self":[{"href":"https:\/\/rustybolt.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/152","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rustybolt.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rustybolt.info\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rustybolt.info\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/rustybolt.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=152"}],"version-history":[{"count":73,"href":"https:\/\/rustybolt.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/152\/revisions"}],"predecessor-version":[{"id":157,"href":"https:\/\/rustybolt.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/152\/revisions\/157"}],"wp:attachment":[{"href":"https:\/\/rustybolt.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rustybolt.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rustybolt.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}