Skip to content

igrr/snowflake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snowflake, a New Year Souvenir

These were small New Year souvenirs I've made for my friends and family.

Snowflake shaped piece of laser cut acrylic with a small PCB in the center. PCB has 6 right angle mounted LEDs illuminating the inside of the acrylic sheet. LEDs are driven by the microcontroller, which uses PWM to make LEDs glow in a pseudo random way. One button, connected to the reset pin of the microcontroller, is used to turn on and turn off the device.

Laser cut shapes

lasercut directory contains a Sketchup file with two snowflake shapes.

laser cut shapes

PCB

pcb directory contains the schematic and PCB layout made in Eagle CAD.

schematic

Firmware

firmware directory contains the program for the STM8L051F3 MCU. To build it:

  • install SDCC and add it to the PATH
  • run git submodule update --init to get libstm8 submodule
  • go to firmware directory and run make

stm8flash wan used to flash the firmware to the MCU. Compile it, and add it to the PATH. Then run make flash in firmware directory.

Parts used

License

All files in this repository (except libstm8 submodule) are distributed under CC0 license.

About

New Year Souvenir

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published