“Solder a circuits from Monday to a prototyping board (2 leds in series or parallel).”
For part one, I remade my in series circuit by soldering all the components to a small perf board. The result was a cute little breakout board with three tiny green LEDs, one 100 Ω resistor and a tiny button. Simple but useful
“Build a circuit with 2 or more digital inputs. Use LEDs (regular or RGB) or neopixels as outputs. Program your microcontroller so that each input has a unique output.”
Parts: micro-controller, breadboard, neopixel strip, button, switch, LED, resistors.
My idea was to have a circuit that has an “on/off” toggle switch and a button that, when pressed, lights up a green LED and changes the light animation from slow blinking blues and purples (Chill mode) to brighter flashing reds and yellows (Burn mode) on a neopixel strip.
I had a bit of trouble getting the buttons to work at first, but then our instructor pointed out I was missing part of the code. After working out that hang up, I was able to get my light components up and running. I like working with the ALA (Arduino Light Animation) Library. This library has some nice “twinkly” options that I’ve really enjoyed using in other projects, and it is easy to add to the Arduino IDE.
Test of the button and toggle with green LED
Here is the code: