What to do after buying arduino?


Arduino Is a microcontroller which helps in making various electronic project from simple led blinking to making an rfid based solenoid lock system arduino uno r3 which I am using for this project has various microprocessor & controller to control the arduino there are many pins on top of the boards which can be used to connect different shields or modules. to communicate arduino uno r3 has a port which is can  connect with computer The microcontrollers are typically programmed using a dialect of features from the programming languages C and C++ there is a Arduino IDE which is generally used to program different arduino boards it also consist several example sketches to test out arduino board today we will use The board to create a simple project of blinking led which is inbult in arduino r3 board


Step 1: Download Arduino IDE from this LINK
Image of Arduino IDE downloading page

Step 2: Connect the board to computer with the cable
Image of arduino board with port

Step 3: Open the Arduino IDE and select the board
This image shows how to select the board in arduiono ide

Step 4: Select basic blink example
This image shows selecting of basic example

Step 5: Upload the code which will look like this
Image which shows the upload button and code of blink


*/

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second //CHANGE HOW LONG LED WILL BE ON
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second  // CHANGE DELAY BETWEEN BLINK
}


Step 6: Tweak the code and check 



Comments

Popular posts from this blog

How to make free phone calls to any landline and mobile number US and Canada?

Generate an invoice / bill | For free | Online