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. Two digits? If that reflects the amount of interest in the website, it hardly seems worth building a hit count notifier. I do love it though.

    1. Simple solution, reprogram to reset the counter and go one magnitude higher, and change the color of the rgb led to show it has changed.

  2. 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

    1. Why not? I have seen countless Maneki Neko clocks, cash registers, tip jars – you name it and the Japanese have found some way to turn this lucky charm into merchandise.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s