Solar Panels + Arduino + Piezo = Solar-Powered After-Sunset Cricket

Arduino Technology
Solar Panels + Arduino + Piezo = Solar-Powered After-Sunset Cricket

solar cricket _ square

A discreet enclosure box sits in the sun, seeming to innocently soak up the rays abound. Two solar panels sit on top, recharging a Nickel–metal hydride battery contained within. You’ve seen this before in garden lights, motion lights, and similar outdoor appliances. But this black box has an ulterior motive!

Solar Cricket is the latest addition to our Weekend Projects series of beginner-friendly electronics builds. With over 40 projects to choose from that you can start and finish in a weekend, if you build or modify any of these projects please send us pictures and a story of your experience. Use hashtag #WeekendProjects on either Google+, Twitter, or Facebook to post your progress and we will find you.


While the solar panels are used during the day to keep the Arduino active and recharge the battery, they’re also used as a sensor to detect light levels. Simpler builds could implement a light dependent resistor to detect when light drops below a certain level, but using the panels in conjunction with an Arduino Micro gives us more semantic control over when the circuit knows it truly is after sunset:


In other words we can compensate for cloud cover during the day, because crickets do not typically start chirping until after a genuine sunset!

But back to the circuit for a minute. We want to both keep the circuit operating during the day but also sense when to begin chirping at night (at which point the battery power kicks in). This is done via a simple charging circuit that ensures a steady supply of voltage is delivered to the Arduino, while the battery acts as a reserve for any excess power. This is done using a small number of common components. In the end all we are doing is running the sketch code and chirping a piezo buzzer [kudos to the builder for the 2600 reference -Ed.]. This may be overkill for some, but it’s a great introduction to the jeelib library for power management and this process of charge during the day, switch on at night, could easily be modified to power other projects.

YouTube player

Check out the entire Solar Cricket project online here, and again if you either build this project or modify it in some way to suit your own needs, email us pictures and a story about your build.

2 thoughts on “Solar Panels + Arduino + Piezo = Solar-Powered After-Sunset Cricket

  1. Cricket, History Best Catch, Live Tv Streaming says:

    Crikcet game is very intresting to see but some time some amazing moment always rember in our mind. Top 20 Best Catches In Cricket History. The top 20 greatest catches in cricket history Top 20 cricket catches. The best catches of cricket history Best catches on boundary .The best cricket catch ever best one handed catches in cricket Catches by Kieron Pollard, AB de villiers, Kane Williamson, Yuvraj Singh, Brett Lee, Ricky Ponting and more….

Comments are closed.

Discuss this article with the rest of the community on our Discord server!

I'm an artist & maker. A lifelong biblioholic, and advocate for all-things geekathon. Home is Long Island City, Queens, which I consider the greatest place on Earth. 5-year former Resident of Flux Factory, co-organizer for World Maker Faire (NYC), and blogger all over the net. Howdy!

View more articles by Nick Normal


Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).