Skip to content

Arduino Christmas Ornament

Advertising
Advertising
?
Creation quality: 5.0/5 (1 vote)
Evaluation of members on the printability, utility, level of detail, etc.

  • 641 views
  • 10 downloads

License
3D design format
STL Folder details Close
  • Bottom.stl
  • Center_Ring.stl
  • Switch_Lever.stl
  • Top.stl

Learn more about the formats

Publication date 2023-07-28 at 21:31
?
Published to Thingiverse on: 2022-12-11 at 15:58
Design number 1350279

Grodart

3D printer file info

3D model description

Designed using Fusion 360.

Print the top & bottom in your choice of color. Print the mid-section and lever in clear.

Other things that you will need.

Arduino Nano
LED 3mm - 12pcs
Screws, M3x8mm, Button Head or Socket Head - 4
Micro Switch - 1
Battery, 9v
Battery Connector
Silicone Wire, Various

LED ground wires are soldered together in a circle
LED + wires are fastened to PWM outputs, Opposite LEDs wired together as a pair

I do not use resistors in this build. Instead, I use PWM to lower the current.

Code to get you started:
int On = 50; //Ms Time that the LED is on
int cycle = 3; //# of times that the LED will flash

void setup() {
Serial.begin(9600);
pinMode(3, OUTPUT);
pinMode(5, OUTPUT);
pinMode(6, OUTPUT);
pinMode(9, OUTPUT);
pinMode(10, OUTPUT);
pinMode(11, OUTPUT);
}

void loop() {
if (cycle == 1) {
analogWrite(3, 100); //Orange
delay(On);
analogWrite(3, 0);
}
if (cycle == 2) {
analogWrite(5, 130); //Red
delay(On);
analogWrite(5, 0);
}
if (cycle == 3) {
analogWrite(6, 220); //Purple
delay(On);
analogWrite(6, 0);
}
if (cycle == 4) {
analogWrite(9, 100); //Blue
delay(On);
analogWrite(9, 0);
}
if (cycle == 5) {
analogWrite(10, 90); //Green
delay(On);
analogWrite(10, 0);
}
if (cycle == 6) {
analogWrite(11, 110); //Yellow
delay(On);
analogWrite(11, 0);
}
cycle = cycle + 1;
if (cycle > 6) {
cycle = 1;
}
}

Advertising


Issue with this design? Report a problem.

Would you like to support Cults?

You like Cults and you want to help us continue the adventure independently? Please note that we are a small team of 3 people, therefore it is very simple to support us to maintain the activity and create future developments. Here are 4 solutions accessible to all:

  • ADVERTISING: Disable your banner blocker (AdBlock, …) and click on our banner ads.

  • AFFILIATION: Make your purchases online by clicking on our affiliate links here Amazon.

  • DONATE: If you want, you can make a donation via Ko-Fi πŸ’œ.

  • WORD OF MOUTH: Invite your friends to come, discover the platform and the magnificent 3D files shared by the community!


Sharing and downloading on Cults3D guarantees that designs remain in makers community hands! And not in the hands of the 3D printing or software giants who own the competing platforms and exploit the designs for their own commercial interests.

Cults3D is an independent, self-financed site that is not accountable to any investor or brand. Almost all of the site's revenues are paid back to the platform's makers. The content published on the site serves only the interests of its authors and not those of 3D printer brands who also wish to control the 3D modeling market.

100% secure payment by credit card, PayPal, Apple Pay, Google Pay, etc.
View all payment options.