Single Blinking LED by Arduino

3 years ago 493
  • Description
  • Documents
  • BOM
  • Attachments
  • Members
  • Comments

Description

Arduino drive a LED blinkling

A light-emitting LED, a resistor. With hardware devices after (on-board resources), you need to install the software Arduino IDE (Integrated Development Environment) on your computer. In addition, you need to install on your computer and configure your Arduino board (by installing the device driver).

    Driver Download http://arduino.cc/en/Main/Software Here to talk about win8.1 system arduino driver installation, win8.1 system is not allowed without a visa drivers installed on your computer, it will appear when you install the driver, "When windows encounters a device driver software installation question ", the problem that the drive does not support the signature win8.1 system, Workaround: Go to the bottom right corner Settings - Change PC settings - Update and Recovery - Recovery - Advanced Startup (restart) - Troubleshooting - Advanced Options - Startup settings - on the keyboard, press 7 prohibits mandatory driver signature - After the computer restarts, reboot You can install the driver.     It shows a light-emitting diode circuit schematics, RN1.2 diodes limiting resistor The following figure

program CODE

 int val;
int i;
int ledpin=13;
void setup()
{
Serial.begin(9600);
pinMode(ledpin,OUTPUT);
}
void loop()
{
val=Serial.read();
if(val=='R')
{
  for(i=0;i<100;i++)
{digitalWrite(ledpin,HIGH);
delay(500);
digitalWrite(ledpin,LOW);
delay(500);}

Serial.println("Hello My Arduino!");

}
}

easyeda schematic

open it in the easyeda editer easyeda Single Blinking LED

Documents

mega 2560 led

BOM

ID Name Designator Footprint Quantity Manufacturer Part Manufacturer Supplier Supplier Part Price LCSC Assembly Mounted
1 mega 2560 S1 CarCommand 1
2 1K RN1 0603-ARC 1
3 YELLOW L CHIP-LED0805 1

Attachments

None

Members

Success
The owner does not allow comments in this project now

Comments (0)

goToTop
你现在访问的是EasyEDA海外版,使用建立访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow
We use cookies to offer you a better experience. Detailed information on the use of cookies on this website is provided in our Privacy Policy. By using this site, you consent to the use of our cookies.