• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!


Environmental Study

Page history last edited by mike 11 years, 11 months ago




Unabridged Video:



The meat of the Android code is these two lines:


         if ((time == DAY) && (prevTime == NIGHT))

             new Sound(mContext).play("/sdcard/rooster.mp3");


And then here's the digital ratchet filter used to cleanup the unfiltered light sensor output:


                    if ( (sensorVal < 50) && (ratchetCounter > ratchetMin))



                    if (ratchetCounter == ratchetMin)

                        time = NIGHT;


                    if ((sensorVal > 400) && (ratchetCounter < ratchetMax))



                    if (ratchetCounter == ratchetMax)

                        time = DAY;


                    if ((time == DAY) && (prevTime == NIGHT))

                        new Sound(mContext).play("/sdcard/rooster.mp3");


         prevTime = time;



2x Arduino

1x AT&T Cell Modem

1x Wireless Router

1x BeagleBoard with Android Ambrosia

1x BeagleTouch

1x AMBI Light Sensor

1x Humidity & Temperature Sensor

1x Pelican Case

2x Deep Cycle Marine Batteries

2x 12V Solar Panels


Recommended tools:



Recommended Helpers:

Chris Ladden

Matt Mehling

Justin Huynh

Mike Gionfriddo

Rith Ong


Wiring Diagram:

Coming soon


Block Diagram:

Coming soon


More Pictures:

Coming Soon

Comments (0)

You don't have permission to comment on this page.