3 LED running-int code by Arduino
Digitals
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
Digitals
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, …
Simplest programing C on Arduino UNO
Digitals
Today, let’s do a one LED flasher. Which we use the Arduino Software (IDE). Although, difficult to use, because the text mode. But it works completed, the most popular and free. Step by step as 9 years boy learning. 1. Define symbol that human understand “LED is ON” and “LED is OFF” Figure 1 2. However, since the LED changes from “ON” to “OFF” very quickly. The human can not see it. We need to delay the LED ON longer for 1 second Figure 2 3.We start with programing, add a delay and “LED is ON”. The system will always …
Easily draw circuit by easyEDA
Basic - Tools & Tips
My son draw circuits by a pencil, which is not beautiful at all as Figure 1. We found a way to draw a good and perfect EasyEDA.com, we can do circuit simulation, PCB design, Electronic circuit design online for free. It works well on Mac, Linux, Windows and Android: All Platforms Supported Figure 1 hand drawn circuit EasyEDA is a free, zero-install, Web and Cloud-based EDA tool suite, integrating powerful schematic capture, mixed-mode circuit simulator and PCB layout in a seamless cross-platform browser environment, for electronic engineers, educators, students and hobbyists. Please read more on easyeda.com look below: Now he …