5LED Chaser-potentiometer using arduino
Lightings
Today we will make a 5 LED Running circuit can adjust speed by potentiometer. Which LED Chaser circuit like this We’ve created long time ago. But today we try to use arduino. We are writing technical code “LOOP FOR” very interesting. Parts you will needs First of all, we need to have parts below: • Arduino UNO R3 • Potentiometer 100K • Five LEDs • Five 470 ohms resistors • Jumper wires • Breadboard Secondly, see the schematic diagram as Figure 1 Figure 1 Schematic diagram Then, assemble parts on a breadboard and cable to usb port. Figure 2 Circuit …
Adjustable LED  flasher-first potentiometer using Arduino
Lightings
Today we will make a Adjustable LED flasher-first potentiometer using Arduino. It is first time that we use it. First to use potentiometer on Arduino Arduino has the analog input pin (A0 to A5 for read any signals. When we apply voltage to potentiometer and to analog input pin Arduino. We can apply to control electornics appliance. When we rotate the potentiometer make a voltage across it change. The arduino can read this changing. As Figure 1 analog input pins and Power output pins that we use with the potentiometer. Figure 1 Analog input and Power output Parts you will …
3 LED running-int code by Arduino
Lightings
This is the easy 3 LED running circuit or LED Chaser using Arduino. We will learn code “int” to define the variable. -variable Is representatives of the various Let’s write code Sample one LED flasher. Which we’ve already made easiest it ——code Sample one LED flasher use int on Arduino int pin1 = 13; // to define the variable void setup() { pinMode (pin1, OUTPUT); // pin1 = 13 }void loop(){digitalWrite(pin1, HIGH);delay(1000);digitalWrite(pin1, LOW);delay (1000);} ++++++++++++ From the code above. We use “int” to define the variable: pin1 = 13 The number 13 is output of arduino use for LED In void …
Blink 2 LED flasher using Arduino
Lightings
Today we will make a 2 LED flasher using Arduino (UNO) Usual we use a transistors circuit to make two LED flasher. This we will study programing C code on Arduino. It is easy to learn. Step to step by Chayapol. Lets go! Figure 1 Define pictograms,easy to understand Figure 2 Set the diagram programing Figure 3 Put code in programing Then, we open the Arduino IDE software. Next,write the code below CODE void setup() { pinMode(13, OUTPUT); pinMode(12, OUTPUT);}void loop() { digitalWrite(13, HIGH); digitalWrite(12, LOW); delay(1000); digitalWrite(13, LOW); digitalWrite(12, HIGH); delay(1000);} Figure 4 programing on Arduino IDE And then, …