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
  • About Us
  • 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
Experts, Learning and Guidance
  • Technologies
  • More
Experts, Learning and Guidance
Ask an Expert Forum Power outage alarm
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Experts, Learning and Guidance to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 25 replies
  • Answers 1 answer
  • Subscribers 289 subscribers
  • Views 1821 views
  • Users 0 members are here
  • power outage
  • pico 2
  • outage
  • alarm
Related
See a helpful answer?

Be sure to click 'more' and select 'suggest as answer'!

If you're the thread creator, be sure to click 'more' then 'Verify as Answer'!

Power outage alarm

EdgarAndre
EdgarAndre 2 months ago

Hello, I am new to electronics and I would like to make a power outage alarm with a Raspberry Pi Pico 2 circuit that I bought as a kit. The Pico would be connected via USB and when a power outage occurs, a two-hour timer would start and after these two hours an alarm would sound. The circuit would be powered by a 9 volt battery for two hours. The alarm could sound for one minute with a bib every two seconds. If the power comes back on before two hours, I would like the timer to reset. Do you have any solutions to suggest or examples of circuits adaptable to this project? Thank you very much for your help.

  • Sign in to reply
  • Cancel

Top Replies

  • shabaz
    shabaz 2 months ago +4
    If you're a beginner, you could just try some beginner projects, they may get you halfway there. The first project is usually a blinking LED. If you can blink an LED then you can pulse a buzzer with…
  • kmikemoo
    kmikemoo 2 months ago in reply to shabaz +3
    shabaz I understand EdgarAndre's desire for the 2-hour wait. At the last place we rented, the squirrels would regularly trip the main feeder breaker. The outage would typically last 45 minutes to an hour…
  • kmikemoo
    kmikemoo 2 months ago in reply to shabaz +3
    shabaz Many years ago, I put my router on a UPS. The first outage proved that my ISP had NONE of their equipment on UPS's. Nor did they have backup generators. I can only hope that they have improved.
Parents
  • shabaz
    0 shabaz 2 months ago

    If you're a beginner, you could just try some beginner projects, they may get you halfway there.

    The first project is usually a blinking LED. If you can blink an LED then you can pulse a buzzer with not much more of a leap, using say a relay module. Try controlling the blinking with a button input. If you can do that then it's not too dissimilar to getting a power status signal to know when the outage has started.

    Get familiar with loops, if/else and while statements, all of which are useful tools to build up the behaviour you may want. 

    If you're looking for a ready-made solution rather than developing it yourself, then there are fridge alarms for not a lot of money.

    image

    But personally I would want to be notified immediately, not after two hours, just in case I'm not home. But that entails a different solution.

    We had a few brief power outages one morning last week. It was interesting seeing the complete lack of business continuity plans from some of the major retail chain stores near me.. they gave up and shut for the day. On the other hand, it was a bright, warm Friday, the staff probably were not too motivated to look for an alternative solution : )

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • EdgarAndre
    0 EdgarAndre 2 months ago in reply to shabaz

    I just orderd thi freezer alarm from Amazon. This might solve my problem. But since i bought a Pico 2 Starter kit, I will start learning the basics when the weather is bad outside. Thank you for your help. https://www.amazon.ca/ORIA-Refrigerator-Thermometer-Wireless-Restaurants/dp/B07B9QF64N?crid=3UFJ7T6Q9FI3C&dib=eyJ2IjoiMSJ9.b7EA6KGf2SVSRMGHCiX3e2uweqKHN7wxVytXzAykKVXO-6WQ-jBt-DL9F0saGYpCfFVD5XYryGSUkAvh8NuqDAIx_XAmsQBpAHeFrOo-A2lTckZ7KI5RwoDSWmEq9W59DYPIEnSBHKp6CRktTBuqvaoU410LMTiHXoSVu7zyWbbb2s55gVjzk_jtbLEuzjyaiL9up5v4rvzApHKYtob5Px_3TSAGHn6_1bfv_Mq-KMZx3b8xGwFcotZl_XPrRFLIb-UqFiHdLVqbFPJw_LfddJMnSFt1CNVjQHlFFtx3GjI.cQkrAV0WciOPkDIc8c2Q1LncWYbIZgYyv1XVfi2rzE0&dib_tag=se&keywords=oquimax%2Bfreezer%2Balarm&qid=1753388793&sprefix=oquimax%2Bfreezer%2Balarm%2Caps%2C82&sr=8-9&th=1

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • EdgarAndre
    0 EdgarAndre 2 months ago in reply to shabaz

    I just orderd thi freezer alarm from Amazon. This might solve my problem. But since i bought a Pico 2 Starter kit, I will start learning the basics when the weather is bad outside. Thank you for your help. https://www.amazon.ca/ORIA-Refrigerator-Thermometer-Wireless-Restaurants/dp/B07B9QF64N?crid=3UFJ7T6Q9FI3C&dib=eyJ2IjoiMSJ9.b7EA6KGf2SVSRMGHCiX3e2uweqKHN7wxVytXzAykKVXO-6WQ-jBt-DL9F0saGYpCfFVD5XYryGSUkAvh8NuqDAIx_XAmsQBpAHeFrOo-A2lTckZ7KI5RwoDSWmEq9W59DYPIEnSBHKp6CRktTBuqvaoU410LMTiHXoSVu7zyWbbb2s55gVjzk_jtbLEuzjyaiL9up5v4rvzApHKYtob5Px_3TSAGHn6_1bfv_Mq-KMZx3b8xGwFcotZl_XPrRFLIb-UqFiHdLVqbFPJw_LfddJMnSFt1CNVjQHlFFtx3GjI.cQkrAV0WciOPkDIc8c2Q1LncWYbIZgYyv1XVfi2rzE0&dib_tag=se&keywords=oquimax%2Bfreezer%2Balarm&qid=1753388793&sprefix=oquimax%2Bfreezer%2Balarm%2Caps%2C82&sr=8-9&th=1

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
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