Skip to content

Simple christmas tree ornament with attiny4-5-9-10

License

Notifications You must be signed in to change notification settings

edwardrousseau/ChristmasTreePCBTiny10

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Christmas tree with LEDs and Attiny4-5-9-10

Getting Started

This is a christmas tree ornament that uses an Attiny and 3 LEDs. The power is supplied by a CR2032 battery.

Requirements

  • Arduino IDE version 1.8.3 (The attine10 core is not working on higher versions)
  • ATtiny10Core
  • USBASP programmer(Need recent firmware, will probably require an update if bought from eBay)

See here to learn how to install the required software and program the MCU.

Building

Programming

The PCB does not include a programming port. It is possible to use an external programmer with a socket, or use one of the PCB as the programmer. To do it:

  1. Solder wires to one PCB as seen in the images folder (including RESET on the backside, 5 wires in total)
  2. Plug the wires in one end of the programmer's cable
  3. Disconnect the cable from the programmer
  4. Place the IC on the PCB, at the right place and in the right direction, and hold it with one hand
  5. With the other hand, plug the wire in the programmer
  6. Program with the Arduino IDE
  7. Disconnect the programmer's cable

Assembling

  • Start with the MCU.
  • Continue with the leds (D*) and the resistors (R*). For the leds, the small green dot is the negative side and it goes in the "white box".
  • Solder the battery holder. The + side is at the top.

BOM

  • PCB (Printed Circuit Boards, order from OSHPark or another supplier)
  • MCU (Attiny4-5-9-10)
  • 3 * 0805 1kOhm resistors
  • 3 * 0805 LED (different colors)
  • 2032 battery holder (with distance between pins of 20mm)

Possible improvements

  • Real pseudo-random LEDs pattern
  • Add a small programming port
  • Use a smaller battery so it is smaller than the board

Author

License

This project is licensed under the GPLv3 - see the LICENSE file for details

About

Simple christmas tree ornament with attiny4-5-9-10

Topics

Resources

License

Stars

Watchers

Forks

Languages