• A nice housing for the game!

    Louis H01/12/2022 at 10:42 0 comments

    Following the idea of using maximum of reuse parts for this project, a sardine can has been used for the housing.

    The can has been softly hammered with wooden dowel and the painted and vernished to give it a cow aspect as far as possible (look at that beautiful nose !)

    Holes has been drilled to pass the cow head wire frame and the hook cable.

    The whole circuit has been soldered on a prototype board which fit nicely in the housing.

    The vibrating motor has been mounted on the hook and covered with hot glue.

    I have to admit it has been a bit of work, but what a nice christmass gift !

  • software for audio and vibration is done

    Louis H12/06/2021 at 21:25 0 comments


    Atmega328p has unexpected moo capability !
    Thanks to David Mellis who has made all the work for us: https://www.arduino.cc/reference/en/libraries/pcm/

    I have to warn that sound has very poor quality and only two moo audio samples already takes all program memory. So you may not build your DIY MP3 player with this but it is surprisingly suitable for this project.

    The S9014 NPN transistor as shown on schematic (see project gallery) enable to increase the volume a bit. This transistor has higher gain than classical S8050 or 2N2222.


    Vibrating drive is made considering the vibrating motor as a small motor, which it is as far as I know. It is possible to modulate vibration intensity using pwm. For this project, we have a better surprising effect on the player with a simple all-or-none drive.

    Low power

    The device is battery powered. So the autonomy is optimized using LowPower library from LowPowerLab. The hook is connected to pin 2 (through a transitor), on which we attach a wake up interrupt before powering down the device. So basically, the device is always sleeping. It wakes only when the wire is touched, plays the sound, vibrates and go back to sleep.

    Code is available here : https://github.com/iodeo/don-t-moo-the-cow