Assignment 1: ATTiny85 and Neopixels Control
The Idea
The project consists of developing some kind of interactive project with an ATTiny85 microcontroller. I decided to control a NeoPixels ring I had laying around with a potentiometer to control the speed of the flashing lights around the ring.
The Result

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


Process
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.

The Code
Code Repository : https://github.com/lacouture100/ATTiny85-NeoPixel
Circuit Diagram

Thanks for reading!