Semster 2
1/6/2022 TinkerCAD:
I learned how to use TinkerCAD which is a designer application to make 3d models which you can choose to print using a 3d printer.
I made Plankton using directions provided
Building the neopixel circuit
Neopixel circuit
We added a second strip for the battery and adjusted our code for it also light up.
code for two neopixels working
#include <Adafruit_NeoPixel.h>
#ifdef __AVR__
#include <avr/power.h> // Required for 16 MHz Adafruit Trinket
#endif
#define LETTERSPIN 6 // On Trinket or Gemma, suggest changing this to 1
#define BATTERYPIN 10
#define NUMPIXELS 20 // Popular NeoPixel ring size
Adafruit_NeoPixel pixelsLETTERS(NUMPIXELS, LETTERSPIN, NEO_GRB + NEO_KHZ800);
Adafruit_NeoPixel pixelsBATTERY(NUMPIXELS, BATTERYPIN, NEO_GRB + NEO_KHZ800);
#define DELAYVAL 500 // Time (in milliseconds) to pause between pixels
void setup() {
#if defined(__AVR_ATtiny85__) && (F_CPU == 16000000)
clock_prescale_set(clock_div_1);
#endif
pixelsLETTERS.begin();
pixelsBATTERY.begin();
}
void loop() {
pixelsLETTERS.clear();
pixelsBATTERY.clear();
for(int i=0; i<NUMPIXELS; i++) {
pixelsLETTERS.setPixelColor(i, pixelsLETTERS.Color(0, 0, 255));
pixelsBATTERY.setPixelColor(i,pixelsBATTERY.Color(0, 0, 255));
pixelsLETTERS.show();
pixelsBATTERY.show();
delay(DELAYVAL);
}
}
Soldering
Soldering is a process to connect electronic components. This process works by using a hot solder tool to melt the solder on the wire to keep it on there forever.
Results
This is the result of using the soldering process
Create your own light pattern
After we soldered our wires we used Arduino to program them. To do this we went to tools, manage libraries, and downloaded adafruit neopixel.. Then, we modified the code of adafruit into the pattern we like.
Acrylic LED Sign
First, I made the prototype base for the led sign using Inkscape. I saved the file as an SVG file after that
Then I put the file on the glowforge and used the laser cutter to cut the pieces out for our box which were made out of cardboard
I assembeled the 6 pieces together with hot glue but I didn't hot glue the top part so I would have space for my led lights
I made the Acrylic Design on Inkscape then my teacher used my svg file to put it on acrylic using a laser cutter
After that I put leds in the bottom of my box which lighted up green. The leds were coding using arduino which had the code saved on it from a while back
Lastly, I hot glued the top piece on and made sure the acrylic design was on top of the leds so it shined as bright as possible. The picture to the left is the final product