Lucky Cat Hit Counter

[Jan] was looking for a way to monitor web site hits while sitting on the couch. This lead to the Lucky Cat Hit Counter. The hack gives a stock Lucky Cat some new hardware: a servo, a RGB led, a light sensor, and a 7 segment display. The added components are controlled by an Arduino Ethernet.

The Arduino Ethernet is set up as a web server. When a visitor fetches [Jan]’s site, a GIF is requested from the Arduino. This trigger changes the RGB LED color, increments the seven segment display, and of course, makes the cat wave by actuating the servo. The light sensor is used to make the cat silent at night. When the light value is below a threshold, night mode is engaged and the cat doesn’t wave.

After the break is a video walk through of the Lucky Cat receiving some HTTP requests.

17 thoughts on “Lucky Cat Hit Counter

  1. Hi Janwil ,

    i love the idea of storing a .gif and counting the requests for it .Its a nice workaround for people who don’t have a host that supports scripts such as google blogger.Could i request the sketch pls ? as i have a bell here waiting to ring when i get a hit ,but till now it hasn’t been possible .

    Best Regards

    Rupert

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.