Assignment 1: ATTiny85 and Neopixels Control
Bill of Materials
– 1 Neopixels ring
– 1 ATTiny85 microntroller
– 1 LM7805 Voltage Regulator
– 1 10K resistance
– 1 potentiometer
– 1 9V Battery
– 1 PCB Board of choice
As I showed in the last post, the process started by flashing the code onto the ATTiny85 microcontroller using my custom bootloading jig. The code itself was adapted from the Adafruit Neopixel library “Simple” example sketch. It would have to be modified to receive an analog sensor value incoming from the potentiometer.
At first I just tried the Neopixels Sample example without the sensor control. I wanted to test if the library would work with the ATTiny. Once I confirmed the library worked I proceeded to add the potentiometer in order to control the speed in which the lights would spin around the ring.
After checking the hole circuit worked on the breadboard, I soldered the whole setup onto the PCB board.
Finally, after a bit of flux and a couple soldering, I completed a circuit I’m completely satisfied with.
Thanks for reading!