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.


  1. FillerB says:

    That counter is going to overflow really fast…

  2. agtrier says:

    Connected to, the servo would soon wear out ;-)

  3. Mojo says:

    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.

  4. vonskippy says:

    Or you could, you know, check your smartphone and get all the stats.

  5. owp says:

    Am I the only one who saw that cat and immediately thought of redban?

  6. koogar says:

    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


  7. says:

    Am I the only one who saw that cat and thought “WHY?”

  8. Jim Putman says:

    Brilliant idea. I love unique notification systems like this.

  9. Bogdan says:

    Interesting way to go around the lack of script ability on the site.
    Why not use the original waving mechanism of the lucky cat?
    But it really needs more digits…. my counter already uses 6 digits and i’m looking for the seventh..

  10. anyone says:

    dumb. this isn’t a hack, this is a “hurrr i want to be on hackaday.”

Leave a Reply

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

You are commenting using your 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


Get every new post delivered to your Inbox.

Join 96,757 other followers