Getting Started with Arduino

Arduino is an open-source hardware and software company, project and user community that designs and manufactures single-board microcontrollers and microcontroller kits for building digital devices and interactive objects that can sense and control both physically and digitally. wiki

  1. Getting Started with Arduino

Getting Started with Arduino

https://randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-windows-instructions/ http://blog.daum.net/_blog/BlogTypeView.do?blogid=0ZPt7&articleno=2649

https://bbangpan.tistory.com/17 http://www.lucadentella.it/en/2018/03/05/esp32-32-ble-ibeacon/ https://devcenter.heroku.com/articles/getting-started-with-python

https://dl.espressif.com/dl/package_esp32_index.json http://arduino.esp8266.com/stable/package_esp8266com_index.json

  1. Install the arduino desktop ide
  2. Use your arduino uno on the arduino desktop ide
    • connect the board to your computer using the USB cable.
    • The green power LED labelled PWR should go on.

    arduinocable

    nameprocvol(op/input)cpu(Mhz)analog in/outdigital in/outeeprom(kb)sram(kb)flash(kb)usbuart
    unoATmega328P5 / 7-12166 / 014 / 61232Regular1
    proATmega168
    ATmega328P
    3.3 / 3.35-12
    5 / 5-12
    8
    16
    6 / 014 / 60.512
    1
    1
    2
    16
    32
    -1
    pro miniATmega328P3.3 / 3.35-12
    5 / 5-12
    8
    16
    6 / 014 / 61232-1
    yùnATmega32U4
    AR9331 linux
    516
    400
    12 / 020 / 712.5
    16mb
    32
    64mb
    micro1
    zeroATSAMD21G183.3 / 7-12486 / 114 / 10-322562 Micro2
  3. Examples blink
    • open your first sketch
      Open the LED blink example sketch: File > Examples >01.Basics > Blink.
      blink
     void setup() {
         pinMode(LED_BUILTIN, OUTPUT);
     }
    
     void loop() {
         digitalWrite(LED_BUILTIN, HIGH); 
         delay(1000);                     
         digitalWrite(LED_BUILTIN, LOW);  
         delay(1000);                     
     }
    
    • select your board type and port
      select port
    • upload the program
      upload
      a few seconds after the upload finishes, you should see the pin 13 (L) LED on the board start to blink (in orange).

© 2018. All rights reserved.

Powered by Hydejack v8.4.0