{"id":238,"date":"2014-07-02T22:47:20","date_gmt":"2014-07-03T05:47:20","guid":{"rendered":"http:\/\/pididu.com\/wordpress\/solarbike\/?p=238"},"modified":"2026-10-27T16:56:48","modified_gmt":"2026-10-27T23:56:48","slug":"trailer-lights","status":"publish","type":"post","link":"http:\/\/pididu.com\/wordpress\/solarbike\/trailer-lights\/","title":{"rendered":"Trailer Lights"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The solar trailer will be down low where a car won&#8217;t be expecting it. I can&#8217;t put a tall flag on it for visibility, as that would shade the panel. So I&#8217;d like to have flashing lights.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For a little while, I thought about using the PICAXE to drive some trailer lights. However, I want the lights to be able to work at night, too, in the unlikely event that I have to be on the road. That means battery power, and a separate flasher circuit.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sometimes the old ways are better. By using an ancient discrete transistor circuit, I&#8217;ll be able to run off a wide range of voltage, without the need for a regulator. The last time I really did this kind of thing was about 40 years ago, as a <a title=\"The Rose Among Mushrooms\" href=\"http:\/\/www.wattpad.com\/9126494-the-rose-among-mushrooms-project-88j\">gift for a special girl<\/a> in high school.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/pididu.com\/wordpress\/solarbike\/files\/2014\/07\/flasher.gif\"><img loading=\"lazy\" decoding=\"async\" width=\"723\" height=\"404\" src=\"http:\/\/pididu.com\/wordpress\/solarbike\/files\/2014\/07\/flasher.gif\" alt=\"astable multivibrator\" class=\"wp-image-249\"\/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">The above is a conventional astable multivibrator circuit, with a few less common options. An RC time constant of about 1 is needed for the flash rate of 1 Hz. In the old days, I would have used 10k and 100 \u00b5F, and the 100 \u00b5F would have been electrolytic. Today, I can easily find 1 uF or even 10 uF in a small surface mount ceramic caps. This implies a base resistor of around 1 M\u03a9. Ordinary NPN transistors would not have enough gain to brightly light LEDs with such a weak base drive, so Darlingtons are used. The diodes in series with the bases of the transistors are to protect against negative base voltages beyond what the transistors can stand. If the power supply was 9 volts or less, those diodes would not be needed. The other diodes are for anti-lockup insurance. In a simpler implementation, the base resistors are tied straight to the positive supply, but this arrangement can get into a state where both transistors are on and stay on forever. The dual diodes are used because they are common, inexpensive, and hard to put onto a PC board in the wrong orientation.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/pididu.com\/wordpress\/solarbike\/files\/2014\/07\/proto4.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"480\" src=\"http:\/\/pididu.com\/wordpress\/solarbike\/files\/2014\/07\/proto4.jpg\" alt=\"The flasher circuit occupies a tiny area at the top right of the perforated prototyping board.  Since the power transfer controller has not been built yet, there's no reason for the elaborate chassis, except that it looks nice.\" class=\"wp-image-282\" srcset=\"http:\/\/pididu.com\/wordpress\/solarbike\/files\/2014\/07\/proto4.jpg 640w, http:\/\/pididu.com\/wordpress\/solarbike\/files\/2014\/07\/proto4-300x225.jpg 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><figcaption class=\"wp-element-caption\">The flasher circuit occupies a tiny area at the top right of the perforated prototyping board. Since the power transfer controller has not been built yet, there&#8217;s no reason for the elaborate chassis, except that it looks nice.<\/figcaption><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/pididu.com\/wordpress\/solarbike\/files\/2014\/07\/MountedLEDs.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"480\" src=\"http:\/\/pididu.com\/wordpress\/solarbike\/files\/2014\/07\/MountedLEDs.jpg\" alt=\"The super bright LEDs are mounted in holders.  After this picture was taken, the holes were covered with captan tape.\" class=\"wp-image-281\" srcset=\"http:\/\/pididu.com\/wordpress\/solarbike\/files\/2014\/07\/MountedLEDs.jpg 640w, http:\/\/pididu.com\/wordpress\/solarbike\/files\/2014\/07\/MountedLEDs-300x225.jpg 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><figcaption class=\"wp-element-caption\">The super bright LEDs are mounted in holders. After this picture was taken, the holes were covered with captan tape.<\/figcaption><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/pididu.com\/wordpress\/solarbike\/files\/2014\/07\/TrailerFlasher.gif\"><img loading=\"lazy\" decoding=\"async\" width=\"425\" height=\"282\" src=\"http:\/\/pididu.com\/wordpress\/solarbike\/files\/2014\/07\/TrailerFlasher.gif\" alt=\"Trailer Tail Lights\" class=\"wp-image-252\"\/><\/a><\/figure>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>The solar trailer will be down low where a car won&#8217;t be expecting it. I can&#8217;t put a tall flag on it for visibility, as that would shade the panel. So I&#8217;d like to have flashing lights. For a little while, I thought about using the PICAXE to drive some trailer lights. However, I want &hellip; <a href=\"http:\/\/pididu.com\/wordpress\/solarbike\/trailer-lights\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Trailer Lights<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[46,47,48,15],"class_list":["post-238","post","type-post","status-publish","format-standard","hentry","category-electrical","tag-flasher","tag-led","tag-light","tag-trailer"],"_links":{"self":[{"href":"http:\/\/pididu.com\/wordpress\/solarbike\/wp-json\/wp\/v2\/posts\/238","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/pididu.com\/wordpress\/solarbike\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/pididu.com\/wordpress\/solarbike\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/pididu.com\/wordpress\/solarbike\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/pididu.com\/wordpress\/solarbike\/wp-json\/wp\/v2\/comments?post=238"}],"version-history":[{"count":0,"href":"http:\/\/pididu.com\/wordpress\/solarbike\/wp-json\/wp\/v2\/posts\/238\/revisions"}],"wp:attachment":[{"href":"http:\/\/pididu.com\/wordpress\/solarbike\/wp-json\/wp\/v2\/media?parent=238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/pididu.com\/wordpress\/solarbike\/wp-json\/wp\/v2\/categories?post=238"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/pididu.com\/wordpress\/solarbike\/wp-json\/wp\/v2\/tags?post=238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}