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.

solarcricket_r3resized2

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:

cricket_sketch1

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.

What will the next generation of Make: look like? We’re inviting you to shape the future by investing in Make:. By becoming an investor, you help decide what’s next. The future of Make: is in your hands. Learn More.

Tagged

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
Discuss this article with the rest of the community on our Discord server!

ADVERTISEMENT

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

Prices Increase in....

Days
Hours
Minutes
Seconds
FEEDBACK