Diy Attiny85 Digispark-inspired Traffic Light

About the project

A kids traffic light!

Project info

Difficulty: Moderate

Platforms: DigisparkMicrochip

Estimated time: 3 hours

License: GNU General Public License, version 3 or later (GPL3+)

Items used in this project

Hardware components

Arduino MKRFOX 1200 Arduino MKRFOX 1200 x 1
DigiSpark DigiSpark x 1
Arduino MKRFOX 1200 Arduino MKRFOX 1200 x 1

Software apps and online services

Arduino IDE Arduino IDE

Story

I decided to build traffic light for my kid.

I have played with addressable led many times and it’s my preferred go to LED if I can – just from the ease of use, mainly if you have more then two-three.

So I took a bit of cardboard and formed and painted a traffic light top, took parts from a clipper lighter to make the hoods.

Next step was to create the board, I used a digispark inspired board, which allow me to program the ATtiny85 directly via a USB cable without the need for external SPI programmer nor FTDI.

I used this two tutorial on the way: https://learn.sparkfun.com/tutorials/how-to-install-an-attiny-bootloader-with-virtual-usb/allhttps://www.instructables.com/id/Digispark-DIY-The-smallest-USB-Arduino/

You can view the entire process in this video.

Code

Traffic light code

Credits

Photo of talofer99

talofer99

Maker @ heart

   

Leave your feedback...