An Instructables member, nicknamed JennieK6, designed this glue gun holder for the school office. Now it’s convenient to store them, and flashing LEDs remind students that guns need to be unplugged.
All parts of the holder, made of plywood and plexiglass, are cut with a 50-watt Epilog laser machine. The craftswoman attaches two CDR files to the instruction: one for cutting back wallanother - all the rest.
To control the RGB LED strip, she took Arduino Uno, three powerful N-channel MOS transistors designed to control logic levels, and three 10-kilo-ohm resistors (they will tighten the gates of the transistors to a common wire). The scheme of their connection, compiled in Fritzing, she took ready from here (note that the common wire of the tape is connected not with the common, but with the plus bus of the circuit, although the corresponding wire in the figure is black):
And gathered:
I stitched short sketch:
int ledPinRed = 6;
int ledPinGreen = 9;
int ledPinBlue = 5;
void setup ()
{
pinMode (ledPinRed, OUTPUT);
pinMode (ledPinGreen, OUTPUT);
pinMode (ledPinBlue, OUTPUT); }
void loop () {
int Red = random (200,255);
int Yellow = random (10,30);
int Blue = random (0, 5);
analogWrite (ledPinRed, Red);
analogWrite (ledPinGreen, Yellow);
analogWrite (ledPinBlue, Blue);
delay (random (100)); }
And got a very realistic flame effect:
Then she proceeded to assemble the holder on the glue in the following sequence:
In order for everything to work not from the battery compartment, but from the network, the craftswoman used two power supplies: one for the Arduino, the other, which did not fall into the frame, for the tape fed through transistors. Throughout electronics together with the extension cord placed in a niche:
Here, the extension cord is closed by the front panel, and there is no second PSU yet:
How to place the holder in the classroom? Put it on the table - it will tip over. Screw it to the wall with screws - it will fall off. Therefore, JennieK6 made it so that the entire weight of the structure fell on the table, and the screws only prevented tipping over:
Students willingly use homemade teachers working on their homemade products: