Projects

Fading with Arduino circuit

Fading an LED off and on using Arduino

Demonstrates the use of the analogWrite() function in fading an LED off and on. AnalogWrite uses pulse width modulation (PWM), turning a digital pin on and off very quickly, to create a fading effect. Circuit Connect the anode (the longer, positive leg) of your LED to digital output pin 9 on your Arduino through a 220-ohm resistor. Connect the cathode (the shorter, negative leg)

Fading an LED off and on using Arduino Continue Reading

Digital Read Serial Circuit

Digital Read Serial using Arduino

This example shows you how to monitor the state of a switch by establishing serial communication between your Arduino and your computer over USB. Hardware Required Arduino Board A momentary switch, button, or toggle switch 10k ohm resistor breadboard hook-up wire Circuit image developed using Fritzing. For more circuit examples, see the Fritzing project page Connect three wires to

Digital Read Serial using Arduino Continue Reading

Use Arduino for Projects

Free Arduino projects, circuits, code and tutorials. Pick a board, pick a sensor, build something.

Scroll to Top