element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Hack the Holidays
  • Challenges & Projects
  • Project14
  • Hack the Holidays
  • More
  • Cancel
Hack the Holidays
Hack the Holidays Blog Star Twister
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Hack the Holidays to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: dougw
  • Date Created: 1 Jan 2023 2:25 PM Date Created
  • Views 2521 views
  • Likes 20 likes
  • Comments 11 comments
  • flashing LED bauble
  • dougw
  • Star Twister
  • flashing bell ornament
  • animated LED ornaments
  • christmas tree lights
  • flashing LED ornaments
  • hacktheholidaysch
  • LED ornaments
Related
Recommended

Star Twister

dougw
dougw
1 Jan 2023
Star Twister

This is a Hack The Holidays project to make some interesting electronic ornaments.

This year I really wanted to finish before Christmas, so the ornaments could actually be used to contribute to the festive season.

Here is a video that shows the ornaments and how they were made:

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

A key objective of the project was to make these ornaments super simple to operate because they may be used by anyone of any age.
So basically they just have an on/off switch.
Of course they need to be colorful so RGB LEDs are incorporated.
To add variety, 2 different PCBs were designed.
To make the visual impact more dynamic, the LEDs need to flash different colors randomly.
To convert a standard PCB into different ornamental shapes, different bodies were 3D printed.
To go over the top and add animation, one PCB version includes a motor, that keeps the ornament twisting randomly.

Flashing Bauble PCB

Here is the random color flashing schematic:

image

Flashing Bauble 9 LED PCB:

image image

Star Twister

Here is the Star Twister schematic - to create random rotary oscillation and random color flashing:

Note the connector for either an external switch or external power.

image

Start Twister PCB:

image image

The motor is driven by an H-bridge which periodically pulses the motor and alternates the polarity of the pulse each time.
The period of the pulses can be adjusted by jumper selection of counter outputs or by RC oscillator time constant adjustment.
The duration of the pulses can be adjusted by adjusting the time constants of the 2 inverter delay circuits.

When the motor starts, the it creates torque between the armature and the stator which tends to make the armature and the stator spin in opposite directions. The stator is connected to the PCB while the armature is connected to the string. The inertia of the armature and the PCB ensure both armature and stator will spin in opposite directions. The torsion in the string is minimal, so it will tend to wind up. When the motor is off the wound up torsion in the string will tend to reverse its spin which increases the spin of the PCB. The momentum of the PCB will continue spinning until the string winds up in the other direction and eventually reverses the spin of the PCB. The timing of motor activations can be set up to allow time for one or more oscillating spin cycles from string windup to play out between motor activations.  

Assembled Baubles:

image image

image image

image image

Animated Baubles on a tree:

image

Conclusions

This was a fun project that was completed in time for my Christmas deadline. It takes LED ornaments to the next level, not only using multiple colors and multiple shapes, and not only making them randomly change color and randomly flash but also making them physically spin semi randomly.  All this action is accomplished keeping costs down and meeting the requirement to have ultra simple user controls, just on/off slide switches. Designing 2 PCBs kept the build clean and attractive while allowing any shape to be implemented with 3D design of the outer  shell. These PCBs can be used to light up or animate any the 3D designed shapes and I have 10 of each PCB so it is only a matter of deciding what future ornaments will look like. I'm toying with the idea of iconizing some of my build projects (making the shell shapes look like recognizable icons). It is always satisfying to create something that brings a little joy to people's lives.

Links:

/challenges-projects/project14/hacktheholidays?ICID=P14main

 Project14 | Winners Announcement: Hack the Holidays! 

  • Sign in to reply

Top Comments

  • javagoza
    javagoza over 2 years ago +1
    You are a genius. Simple, fun and effective. Very well done.
  • dang74
    dang74 over 2 years ago

    The ornaments are beautiful.  They looked amazing on the tree.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • aspork42
    aspork42 over 2 years ago

    Great gift idea for family :)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • feiticeir0
    feiticeir0 over 2 years ago

    Simple and imaginative ! Way to go !

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • kmikemoo
    kmikemoo over 2 years ago

    Very nice!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • beacon_dave
    beacon_dave over 2 years ago in reply to dougw

    Hmmm.... persistence of vision Xmas tree next year perhaps? Christmas tree

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube