Showing posts with label Lighting. Show all posts
Showing posts with label Lighting. Show all posts

Saturday, December 7, 2013

"Off Grid" DC Solar Electric Garage Lighting... Hard Wired and Fully Integrated

Instructables was kind enough to send me this neat little solar kit as a prize for being runner up in last year's "Off the Grid Contest".

The kit comes with a solar panel, an intelligent battery pack, a universal USB cell phone battery charger,  a wall adapter charger and a 12 volt LED light bulb with power cord.

The battery pack can be charged from either the solar panel or the wall charger from a set of terminals in the back. It has a built in charge controller as well as an alarm that will notify you of an error. On the front of the unit are two 12 volt "cigarette lighter" outlets and two 5 volt USB ports that you can use to draw power. On the front there is also a battery level indicator as well as a charge status indicator.

In these photos you can see the solar panel on a little wooden frame that I built for it. When I first got it I planned on using it for camping trips and emergencies so I made up this portable stand. Now I will make up an aluminum mount and mount it on the roof of my garage with the power cable routed through the roof deck, attic and over to the battery pack. For now I put the panel on the ground beside the shed whenever it's sunny.

The light bulb that came with the kit was particularly interesting. Even though its a 12VDC bulb it has an E26 screw base similar to the ones found on your conventional household 120VAC bulbs. The cord that was included had a bulb screw socket on one end and a "cigarette lighter" style plug on the other end to plug into the battery pack. As strange as the light bulb was it meant that I could install it in a conventional household light fixture as long as it was wired up for 12VDC and not 120VAC. I found more of the same bulbs on eBay and then gathered up some electrical boxes, 18/2 Romex wire, tools and got going.      


View the original article here

Wednesday, October 16, 2013

Arduino Web Enabled RGB Lighting

finished_closed_1.jpgI just happened to see some large strips of LED lighting when I was picking up some parts at Maplin which were on sale (if I remember correct they were around £12 per approx. 2m strip) however the controller/driver was still around £40, so I thought I would just build a better one myself.
I wanted it to be a web enabled controller as there are a lot of cool things that can be done with a device once it is accessible over HTTP, and I am working on a home automation server project so it would be good to have some devices which I can test this with.

Anyway, let's get started, here is a basic parts list, some of the components may change depending on the nature of your lighting installation (i.e. if you are driving more LEDs you may need higher power transistors, etc.): Arduino (Duemilanove, Uno, etc., can be done with a Mega but it is overkill) Ethernet Shield 12v to 5v switchmode DC-DC converters (my LED strips rat at 12v but the Arduino needs 5v and this is more efficient than a linear converter) Assorted resistors (for transistor protection, usually around 100-500 ohms) NPN transistors (I just used basic NPN transistors as I was only switching around 300mA per channel) Push to make button Various connectors and cables Stripboard (goes by various other names, I used this to make my driver circuit into an Arduino shield) Enclosure (optional but recommended) Fuse and fuse holder (optional but highly recommended for permanent installations) Scrap materials to make any mounting hardware needed (I used HIPS to mount my Arduino in the enclosure) Tools I used which would help: Soldering iron Multimeter Small flat screwdriver Small posi-drive screwdriver Laser cutter (drills and a file will suffice if you don't have access to one) All the code for this project is available at this GitHub repo.

Here is a quick demo of my installation at uni using an Android app for control:

driver_schematic.pngNOTE: Please read the next two steps before starting any work mentioned here, I had to do some modification to my original shield because of power issues, they are described on the next step.

Here you will want to build the driver circuit depicted in the schematic below, this can be done in the same way I did it and made into a shield to stack on top of the Arduino and Ethernet shield, or can be a separate board, either way will work, but I don't see any advantage to not making it as a shield.

Some minor points, you will want to have three power cables coming from your shield: One +12v cable going to the 12v pin on the LED strip output One +5v pin going to the 5v pin on the Arduino, and One ground going to the ground pin on the Arduino The reason for this is explained in the next step.

There are some good guides to building a shield from scratch using stripboard on YouTube, alternatively you could use a (semi) pre-built prototyping shield.


View the original article here