06
Dec
08

Arduino Website Hit-counter

For the final project in my New Media class, I assembled a little gadget that lights up whenever someone visits your website. The project uses 3 seperate scripts:

-A php script that is saved to the root directory of the website Im counting the hits on. This script just counts how many times this site is visited.

-A Python script that retrieves the counter information from the php script and delivers it to the Arduino board.

-And an Arduino sketch that I have uploaded to my Arduino board that turns a LED on each time the Python script tells it that the website has received a hit.

This is the Arduino board itself with the LED, that I sanded to diffuse the light, plugged into ground and pin 13, the pin that Arduino has conveniently connected a resistor to, so I dont  have to.

Here is the guts of the housing. It used to be a cheap alarm clock from a novelty shop, but now its going to house my Arduino Board.

Final product!



3 Responses to “Arduino Website Hit-counter”


  1. January 9, 2009 at 9:21 pm

    Any chance of you showing us the scripts as well?

  2. 2 jigglebilly
    February 23, 2009 at 12:45 am

    yarr.. please share :)


Leave a Reply