Croakers' Chronometer

by MikeTheMaker in Circuits > Arduino

1262 Views, 4 Favorites, 0 Comments

Croakers' Chronometer

croakers - 9.jpg

If you smile at the frogs, some of them will vibrate. By understanding the movement, one can tell time--a shaky operation.

Frogs "looking up" represent hours in binary (left to right; 8,4,2,1).

Frogs "looking forward" represent minutes in binary multiplied by five (left to right; 40, 20, 10, 5).

Smiles are detected by a Google AIY vision kit (camera behind the frog in the booth).

Frogs were made by my wife, Annelle, using polymer clay. They were part of the "Froggy World" project a few years ago.

Supplies

Google AIY vision kit

(2) Arduino Uno

5 volt power supply (5 amp)

(8) micro motors (3 volt)

Pushbutton switch

Polymer clay

3d printed parts

Relay

(8) 2n3904 transistors

(8) 1n4007 diodes

(8) 100 ohm resistors

Photo resistor

1/4 inch plywood

(16) 3mm x 6mm screws

Paint

Wire

Solder

schematic17042020.jpg

The Google AIY Vision kit includes smile detection in the default setup mode. The "hat" atop the cardboard Google assembly is a LED button that changes color when a smile is detected. A photo resistor can be used to detect that change. With "no face," I measured 12 K ohms across the photo resistor. With "face detected," 1.8 K shows up on the photo resistor. With "smile detected," .6 K is measured on the photo resistor.

Detecting a smile causes a relay to operate, providing power to the motors that shake the frogs.

croakers - 1 (1).jpg
croakers - 2 (1).jpg

Print and assemble the lilypad spacers.

croakers - 4 (1).jpg

Cut the top from plywood. Drill holes and paint.

croakers - 3 (1).jpg

Solder wire wrap wire to the motors.

croakers - 10.jpg

Insert the motor into the canister.

croakers - 5 (1).jpg

Screw 3mm screws into the "wobbler."

croakers - 11.jpg

Press the wobbler onto the motor shaft.

croakers - 7 (1).jpg
croakers - 8 (1).jpg

Run the motor wires through plastic bolts that have been inserted in the top of the lilypad.

croakers - 6 (1).jpg

These bolts prevent the cans from turning around and moving out of position when vibrating.

croakers - 2.jpg

Insert the cans on the pad.

croakers - 4.jpg

Glue a piece of wood to the lower lilypad base.

croakers - 6.jpg
croakers - 3.jpg

Add velcro to the wood and attach the lower and upper lilypads.

croakers - 5.jpg
croakers - 7.jpg

Wire according to the schematic diagram in step #2.

croakers - 1 (2).jpg
croakers - 2 (2).jpg

Place the cap over the top of the Google AIY Vision kit--we don't want ambient light to impact smile detection.

croakers - 8.jpg

Secure the frogs using duct tape.

croakers - 3 (2).jpg

Velcro the "Smile Booth" to the lilypad--angled upward so that the camera will "see" someone looking at the clock.

Smile . . . then perform binary math and multiplication to tell the time :)