by Michael McRoberts

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

Project 7 – Pulsating Lamp

You are now going try a more advanced method of controlling LEDs. So far, you have simply turned the LED on or off. Would you like to adjust the brightness of an LED? Can you do that with an Arduino? Yes, you can.

Time to go back to basics.

Parts Required

Green Diffused 5mm LED          images

Current Limiting Resistor            images

Connect It Up

The circuit for this project is simply a green LED connecting, via a current limiting resistor, between ground and Digital Pin 11 (see Figure 3-3).

Figure 3-3. The circuit for Project ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required