Tuesday 27 June 2017

Arduino

Let's start with Arduino


    COMPONENTS NEEDED

  • Any Arduino board
  • Arduino IDE software
  • USB connector for your Arduino
This is a very simple project, this project is for beginners in electronic circuits and programming

Arduino is a simple to use microcontroller board, it is easy to use and do not need much experience in programming.

let's start with a simple example 

  • buy any Arduino based boards (i recommend you to buy Arduino Uno which is very cheap and you can replace the microcontroller if anything goes wrong)
  • download Arduino IDE software from Arduino official website (make sure that Java is installed on your computer)
  • plugin you Arduino board to your computer via USB

tools>Board> and select your board type (in my case it is Arduino Uno)


the COM port will be selected by the computer if not select it.


  • Arduino board will have a LED attached to its PIN 13, we will use that LED for this project
  • The code is already available in the examples.



if you open that it will be like this.



then just upload the program to you Arduino


after uploading you will the LED blinking for 1sec


The program has two parts first is the setup and the second is the loop, setup is where you program you gpio pins in an Arduino as input or as an output, and the loop part repeats itself .



No comments:

Post a Comment

Own IOT website and Hardware Using Node MCU (cyber thinks)

NODE MCU code -- website link  Cyberthinks google drive link  cyberthinks website files #include <ESP8266WiFi.h> #include <ArduinoJ...