loading

Code for Activating a Led After 2 Minutes and Will Blink After 30 Seconds Interval

Use a commonly available USB power pack re-charging from mains and powering the Arduino. Use a light source directly powered by main and optically couple that to an Arduino. There are plenty of examples on the web where an Arduino is used to detect light. Once triggered, write some additional code to blink the led. Since you are not doing anything other than timing, you can use the delay Arduino library to time events

Can anyone help me to build a code which will activate a LED after 2 minutes when the power supply is cut off and blink that LED after a time interval of 30 seconds.

I want to import the code on Arduino-Uno.

I will power the Arduino with cell and assign two pins as sensor if they are connected to each other than every this is fine if they are cut the Arduino will blink the LED after 2 minutes and will keep blinking at 30 seconds interval

GET IN TOUCH WITH Us
recommended articles
Related Blogs Info Center
Ti Introduced Tps54062's Latest 50mA, 60V Synchronous Step-down Converter, Which Can Simplify the De
Beijing, August 4, 2011 - Texas Instruments (TI) recently announced the launch of a 50 Ma, 60 V synchronous swift â„¢ The step-down regulator can pr...
How to Solve the Heat Dissipation Problem of 5g Communication Power Supply
As the "heart" of the communication system, 5g communication power supply determines the reliability of the whole system. In order to reduce and maintain the cost, i...
Eirgrid's Interconnector Application Thrown Out Because of Typing Error
A TYPING error on the public notice announcing Eirgrid's intention to apply for planning permission to build the much-needed €200 million north-sout...
How to Use the Mobile Phone Charger As the Power Supply to Add an Optical Control LED Lamp to the Wa
If you want to use the mobile phone charger as the power supply, add an optical control LED lamp to the wall clock, and use the simple optical control circuit shown ...
Application of Monitoring Technology in Communication Power Supply
The application of centralized monitoring technology of communication power supply in communication power supply marks the transformation of maintenance and manageme...
Introduction of Some Important Indexes of DC Power Supply
DC power supply is the instrument that produces pure and stable DC power supply.In addition to the number of channels, total power, output specification and resoluti...
Playing Games at Comdex
November 23, 1999 Web posted at: 9:49 a.m. EST (1449 GMT)by Joel Strauch (IDG) -- Think of Comdex as a monstrous state fair -- only for a state populated largely by...
What Is the Classification and Principle of Switching Power Supply?
Switching power supply (SMPS) is widely used as an efficient and effective power supply. This is a major part of their efficiency. SMPS has advantages in size, weigh...
Is My Power Supply Dead?
Your PSU has been fried, you put too much wattage through it. Go for 650w or maybe higher to future proof your system1. Power supply defect or CPU defect?It sounds p...
Working Conditions, Characteristics and Modes of Switching Power Supply
With the development and innovation of power electronics technology, switching power supply technology is also constantly innovating. At present, switching power sup...
no data
Contact Us
Contact Person: AI customer service
Tel: +86 0757-23368757
Address: No.4 Of Xingye Road, Shafu Industrial Park, Longjiang Town, Shunde District, Foshan 
WHATSAPP: +86-15919090839
WECHAT: w87735492
Better Touch Better Business
Contact Sales at JuJiao.
Call Us
+86 0757-23368757
  
Contact us
whatsapp
contact customer service
Contact us
whatsapp
cancel
Customer service
detect