Offers the possibility of manufacturing of decorative panels with led backlighting, which will be controlled using Arduino. This mural will depict the Big dipper and the surrounding constellation. The role of the stars will fulfill the LEDs. To make the picture more mystery and charm, stars in an arbitrary order will be flashing.
The question «what to buy a tablet?» — 3 answer
You will need
- — Arduino;
- — resistors with a nominal value of 190..the 240 Ohm number of LEDs;
- — connecting wires;
- — plywood;
- — the burner;
- — soldering iron.
1. The first thing you need to prepare plywood of the desired size and carefully handle it with sandpaper.
After that, apply a pencil on the plywood the image you want to see on your panels. You can use carbon paper, it is possible to divide the surface into cells and to draw a picture by hand on cells. Or, if you’re good at drawing, draw by hand.
Further burns need a picture of the burner. I think this requires no explanations.
2. Now you need to determine where you will be led, and drill in holes the diameter of the LEDs. For example, in this panel LEDs will be in the places of the brightest stars in the picture.
On the back side panels define a place where there will be an Arduino Nano or Mini, and cut under it a hole.
Also Arduino Board will need to wrap the wires from the LEDs. They are also advisable to hide in the recesses. Accordingly, it is necessary to outline and cut the track grooves for the wires.
3. Laid in the cut grooves of the wire. You can strengthen them with metal clips. Leave the ends of the wires free.
4. Connect the LEDs. Do not forget that each led should have a current limiting resistor from 180 to 240 Ohms. So first you need to solder to one of the legs of each led a resistor.
Then insert the LEDs into the drilled holes. Place both the legs and the resistor along the carved grooves.
The findings of the LEDs will be fixed in the grooves and will be in close contact with each other. So they must be isolated from each other dielectric. It is desirable to have the pieces of shrink tubing and slide them on the ends of the wires before you solder to the pins of the LEDs. If no tube, then fit the pieces cambrica or other insulator.
Then solder the legs of the LEDs to the wires and also fix them with metal staples.
5. Install the Arduino on its place in the prepared recess.
Solder the wires from the LEDs. It is convenient to solder the positive terminals (anodes) of LEDs to digital or analog insights Arduino and the ground to display on any bus and solder all the wires from the cathodes of the LEDs to this bus.
6. Now, when the whole electronic part is assembled, decorate with a mural of a beautiful frame from paintings or photographs. You can assign the frame tin parts.
7. Left to write the sketch and upload it to the Arduino. Version of the sketch shown in the image.
LEDs connected to digital pins without function the PWM (pulse width modulation we discussed in a previous article), will illuminate with a constant brightness. And the other connected to outputs with PWM will periodically change their brightness. Moreover, the time delay and pin number will be given randomly in a given restricted range. It will simulate the twinkling of stars.
8. Loaded the sketch into the Arduino memory. Panels are ready!
With chargers for phone, cable mini-USB supply power to Arduino… and admire the result of their labors!