Lucky Resistor
Menu
  • Home
  • Learn
    • Learn C++
    • Product Photography for Electronics
      • Required Equipment and Software
    • Soldering for Show
  • Projects
  • Libraries
  • Applications
  • Shop
  • About
    • About Me
    • Contact
    • Stay Informed
  •  
Menu

Snowflake Configuration

Posted on 2019-11-22 by Lucky Resistor

In version 1.2 of the snowflake firmware, I added a configuration mode, using a button attached to the data in of the first element.

If you own the pre-assembled version from Pimoroni, be aware the power supply voltage is 5V and there is a resistor bridge to limit the voltage to 3.3V on data in.
This post describes the configuration for version 1.2.1 of the firmware. Later fimware versions may add more features to the configuration.

The States

The attached button can issue two actions: a short press and a long press. A short press is anything from 50ms to approximate two seconds, and a long press is any press longer than two seconds.

After the initial power-up of the decoration, it starts in the play animation mode, using the first automatic mode and a one-minute duration for each pattern.

In the play animation mode, a long press will turn the decoration off. If turned off, any button press will turn it on again.

A short press in play animation mode will switch to the configuration. The indicator for the configuration is the fast blinking LEDs around the first snowflake. Use button presses to change the configuration as described below. If you wait for six seconds, the configuration is accepted and the decoration goes back into the play animation mode.

The Configuration

You always start in the mode selection. Short presses will iterate through all auto modes, then through all single modes. After the last single mode, it will start over with the first auto mode.

The LED in the centre indicates an auto mode. The shown LED 1-5 indicate which auto mode is actually selected. After reaching the last auto mode, single pattern modes are selected.

The single pattern mode is indicated with the centre LED off and two LEDs in the inner ring. The two LEDs indicate the page of the pattern and the LED in the outer ring the pattern number. There are six patterns on each page, and after the sixth pattern, you switch to the next page.

After the last pattern, you switch back to auto mode selection.

If you wait for six seconds, the decoration will switch back into the play animation state, using the selecting mode.

A long press switches to the pattern duration configuration.

The Pattern Duration Configuration

In the pattern duration configuration, you select how long a pattern in any auto mode is displayed, before the decoration switches to the next random pattern.

The indicator for this mode is dim-lit LEDs in the outer ring and centre. The number of LEDs in the inner ring displays the selected duration.

Each short press will iterate through the six durations. A long press will switch back to the mode configuration.

If you wait for six seconds, the decoration will go back to the play animation state, with the selected mode and pattern duration.

Conclusion

The selected mode and duration is not permanently stored in the decoration. If you remove the power, the configuration is lost.

If you have questions, missed any information, or simply want to provide feedback, feel free to comment below or reach out to us through Twitter!

More Posts

Snowflake Project Videos

Snowflake Project Videos

From the beginning of the snowflake project, I tried to create photos or videos which capture the actual beauty of the decoration. Here are the two more recent videos I created: Differences to the Real ...
Read More
Snowflake Assembly Video

Snowflake Assembly Video

Here a quick video of the snowflake assembly. It shows the assembly of the LED side of the panel using hot air. The assembly went without big problems, except there was a little bit excess ...
Read More
Programming the Snowflake Decoration

Programming the Snowflake Decoration

In this brief article, I will discuss the requirements to flash a custom firmware to your Pimoroni snowflake decoration. I assume you have some programming knowledge and have previously worked with an Arduino Uno or ...
Read More
Snowflake Project Documentation

Snowflake Project Documentation

I wrote a short page about the snowflake project from the end of 2017. On the page, you will find a summary of the project and the link to the repository with all the required ...
Read More
Snowflake Decoration Available on the Pimoroni Store

Snowflake Decoration Available on the Pimoroni Store

We have some great news about my Snowflake Decoration: Starting today, you can buy an assembled version of the project from Pimoroni that can be shipped worldwide. Pimoroni did an excellent job on this project ...
Read More
Perfect Prototype Boards from Eurocircuits

Perfect Prototype Boards from Eurocircuits

Today prototype boards from Eurocircuits arrived. The quality of this boards is outstanding. I do not know any other board house which delivers this incredible quality of boards. They really thrive for perfection ...
Read More

Leave a Reply Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Stay Updated

Join me on Mastodon!

Top Posts & Pages

  • How and Why to use Namespaces
  • Storage Boxes System for 3D Print
  • Use Enum with More Class!
  • Circle Pattern Generator
  • Real Time Counter and Integer Overflow
  • Circle Pattern Generator
  • Logic Gates Puzzles
  • C++ Templates for Embedded Code
  • C++ Templates for Embedded Code (Part 2)
  • Logic Gates Puzzle 101

Latest Posts

  • The Importance of Wall Profiles in 3D Printing2023-02-12
  • The Hinges and its Secrets for Perfect PETG Print2023-02-07
  • Better Bridging with Slicer Guides2023-02-04
  • Stronger 3D Printed Parts with Vertical Perimeter Linking2023-02-02
  • Logic Gates Puzzle 1012023-02-02
  • Candlelight Emulation – Complexity with Layering2023-02-01
  • Three Ways to Integrate LED Light Into the Modular Lantern2023-01-29
  • The 3D Printed Modular Lantern2023-01-17

Categories

  • 3D Printing
  • Build
  • Common
  • Fail
  • Fun
  • Learn
  • Projects
  • Puzzle
  • Recommendations
  • Request for Comments
  • Review
  • Software
Copyright (c)2022 by Lucky Resistor. All rights reserved.
 

Loading Comments...