Step 2: Buttons and LEDs

I used two buttons:
button one is connected to Ground (GND) and the reset pin of the arduino.
The second one is to manually start the RGB LED, because it's always fun to change the color of an LED. It's connected to Pin 7 and +5V. And to pull the pin low there's a resistor (10K) connected to GND.
The RGB LED is connected to Pin 17 to 19 on the arduino. (Would be better to connect them to the PWM pins)
The yellow LEDs are attached to Pin 16
The servo is attached to Pin 6 (and +5V and GND)
The display uses Pin 2 as LatchPin, Pin 3 as DataPin and Pin 4 as ClockPin. It's juice it gets from +5V and GND
The light resistor is attached to analogue pin 1 and +5V and to GND using some resitors (2.4K)

Choose the correct resistors for your leds for example by using ElectroDroid on your smartphone.
The "Lucky Cat" is a cool display! Nice project.
Hi Janwil ,<br> <br> 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 on <a href="http://runawaybrainz.blogspot.com" rel="nofollow">runawaybrainz.blogspot.com</a>&nbsp;,but till now it&nbsp;hasn't&nbsp;been possible .<br> <br> Best Regards<br> <br> Rupert
Hi Rupert,<br> <br> the only thing you have to include into your blog or website is a gif, pointing to the arduino. I used dyndns to get something like a &quot;fixed&quot; ip, so the url for the gif is like mywebsite.dyndns.org/ where is the arduinos ip here in my homenetwork. Include the gifs url into your website and it will be directed to the arduino. On the arduino site you'll need to include the part of the sketch here in the instructable starting with&nbsp;// listen for incoming clients...&nbsp;<br> <br> Nice blog you have there<br> Jan
&quot;lucky Cat&quot; is something new and cool to me...
very cute, love the idea! can you explain a little more about how you set this up? there is in image on your page that you have stored in the Arduino? where are you hosting the other files on your site? can you post a link to the site? <br />thanks!
The setup on the website is easy: there's just a .gif pointing to the url of the arduino: <br> <br>The ip of the arduino here in my homenetwork is determined within it's sketch. So whenenver a browser asks for that .gif it's directed right to the arduino. The arduino does recognize that and send's back an 200ok line to the browser so that the browser finishes loading the website. So there's never a real image send, it's just used to point the browser to the arduino.
ok, thanks for the info
ALso what are the colors you explain in the beginning such as red pin etc, are these part of your shift register pins? Im curious as to your basic display counter with the 2 7 segment displays do you have more info on that circuit? <br>Anyway cool idea!
The colors are the variables for the RGB LED which lights up at night instead of waving the cats arm. <br>The seven segment displays setup could be part of another instructable I think. basically its 14 LEDs which are controlled by the arduino. Normally one would have to use 14 pins on the arduino, but with using shift registers, you just have to use three arduino pins to control the LEDs. I'll search for my notes on that and jot it down in another instructable

About This Instructable


45 favorites


More by janhimself: Arduino powered Lucky Cat as physical Webcounter PNA Case where your GPS feels comfortable Cellphone Charging Hanger
Add instructable to: