• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Mini Christmas Light With Arduino (Very Easy)

By Abhishek Ghosh August 1, 2015 6:10 am Updated on August 1, 2015

Mini Christmas Light With Arduino (Very Easy)

Advertisement

Here is a Mini Christmas Light With Arduino as Project Which Needs 3 Resisters and 3 LEDs, No External Power Supply. It Has 2 Blink Effects. This is great for the beginners and better than plain Blink that is supplied with the Arduino Software. It does not need external power means – it needs very less resources.

 

Mini Christmas Light With Arduino : Required Components

 

Frankly, at minimum you should have :

  1. One Arduino UNO board
  2. Some wires
  3. 3 LED Lights
  4. Two 220 Ohm resisters
  5. One 10K resister

But it is better to have a breadboard, Multimeter and typical Electronics DIY kit. It is not that, without these later 3 you can not play. We have a video to show you how it exactly looks like :

Advertisement

---

 

Mini Christmas Light With Arduino : Circuit

 

We have a circuit design for you :

Mini Christmas Light

It is quite easy. The basic line diagram will be like this :

Vim
1
2
3
4
5
LED1 ---(+)---[200 Ohm Resister]---- Pin 8
LED2 ---(+)---[200 Ohm Resister]---- Pin 7
LED3 ---(+)------------------------- Pin 12
 
LED1, LED2, LED3 ----(-)----[10K Ohm Resister]--- GND

All the three LED’s negative pole should be connected and attached to a 10K Ohm resister (it is needed for our later upgraded guides, you can actually omit the resister here) and the wire connecting to the resister will go to GND of Arduino board.

The first LED’s positive pole should be connected to a 220 Ohm resister and go to pin number 7 of Arduino Board.
The second LED’s positive pole should be connected to a 220 Ohm resister and go to pin number 8 of Arduino Board.
The third LED’s positive pole should be connected directly connected to pin number 12 of Arduino Board. Resister not required for this LED.

 

Mini Christmas Light With Arduino : Code

 

Here is the code snippet, you can actually get the whole project on GitHub and at FritZing as Mini Christmas Light Arduino UNO. We are writing the snippet here for documentation purpose.

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
void setup() {
  pinMode(13, OUTPUT); // on board LED OFF
}
 
void loop() {
  digitalWrite(13, LOW);   // declaired pin value pinMode
  delay(10);
// we will repeat the cycle for 6 times to create a visual impression, we will light up the 2nd blue LED at 3rd interval
// continuous blink starts
  digitalWrite(8, HIGH);   // LED on 8 ON
  delay(100);              // wait time
  digitalWrite(8, LOW);    // LED off
  delay(50);               // wait time
 
  digitalWrite(7, HIGH);   // LED on 7 ON
  delay(100);              // wait time
  digitalWrite(7, LOW);    // LED off
  delay(50); // wait time  
// add smoothing transition effect
  digitalWrite(8, HIGH);
  delay(50);
  digitalWrite(8, LOW);
  delay(50);  
// this is the second blue LED without any resister
  digitalWrite(12, HIGH);  
  delay(100);  
  digitalWrite(12, LOW);  
  delay(50);  
// again add smoothing transition effect
  digitalWrite(7, HIGH);
  delay(50);      
  digitalWrite(7, LOW);
  delay(50);
  
  digitalWrite(8, HIGH);
  delay(100);          
  digitalWrite(8, LOW);
  delay(50);      
 
  digitalWrite(7, HIGH);  
  delay(100);      
  digitalWrite(7, LOW);  
  delay(50);
  
  digitalWrite(8, HIGH);  
  delay(100);      
  digitalWrite(8, LOW);  
  delay(50);    
 
  digitalWrite(7, HIGH);  
  delay(100);  
  digitalWrite(7, LOW);  
  delay(50);
  
  digitalWrite(8, HIGH);  
  delay(100);  
  digitalWrite(8, LOW);  
  delay(50);
 
  digitalWrite(7, HIGH);  
  delay(100);  
  digitalWrite(7, LOW);  
  delay(50);
  
  digitalWrite(8, HIGH);  
  delay(100);        
  digitalWrite(8, LOW);  
  delay(50);    
 
  digitalWrite(7, HIGH);  
  delay(100);        
  digitalWrite(7, LOW);  
  delay(50);
  // continuous blink ends
  // now do a bit delayed lighting creating another effect
  
  digitalWrite(8, HIGH);   // LED on 8 ON
  delay(1000);              // wait time prolonged
  digitalWrite(8, LOW);    // LED off
  delay(50);               // wait time
 
  digitalWrite(7, HIGH);   // LED on 8 ON
  delay(1000);              // wait time prolonged
  digitalWrite(7, LOW);    // LED off
  delay(50); // wait time
  // give the second blue LED a shorter time to light up
  digitalWrite(12, HIGH);   // LED on 8 ON
  delay(100);              // wait time
  digitalWrite(12, LOW);    // LED off
  delay(50);  
 
}

Tagged With arduino easy christmas lights , ардуино гирлянда автоматическая скетч , проекты ардуино гирлянда

This Article Has Been Shared 152 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Mini Christmas Light With Arduino (Very Easy)

  • Arduino Vs Raspberry Pi

    Arduino is for prototyping, the boards are micro-controllers. Whereas, Rapasberry Pi is actually a computer. Here is Arduino Vs Raspberry Pi

  • Used Mobile Phone’s Display For Arduino & Other DIY Projects

    It Is Not Abnormal To Think About Used Mobile Phone’s Display For Arduino & Other DIY Projects To Save the Total Cost. Here are some details.

  • Breadboard Power Supply Tutorial

    Battery is not a cost effective. Not always we use micro controller. Here is a guide on Breadboard Power Supply Tutorial for all situations.

  • How to install and setup Arduino on OS X

    Here is Step by Step Guide With Video on How to install and setup Arduino on OS X. The Arduino Board Used in this Guide is Arduino UNO R3.

  • Basic Electronic Components List and What They Do

    Here is an Illustration of the Basic Electronic Components List and What They Do. This article is helpful for new Electronics Enthusiasts.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023
  • What is a Data Mesh? January 25, 2023
  • What is Vehicular Ad-Hoc Network? January 24, 2023
  • Difference Between Panel Light, COB Light, Track Light January 21, 2023

About This Article

Cite this article as: Abhishek Ghosh, "Mini Christmas Light With Arduino (Very Easy)," in The Customize Windows, August 1, 2015, January 30, 2023, https://thecustomizewindows.com/2015/08/mini-christmas-light-with-arduino-very-easy/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT