Skip to main content

Getting Started with Arduino

What is Arduino / When to Use It

Arduino is an open-source electronics platform based on easy-to-use hardware and software. Use Arduino for simple sensor reading, motor control, or quick prototyping with a vast library ecosystem.

Prerequisites

  • Arduino board (Uno, Mega, Nano, etc.)
  • USB cable (A-to-B for most boards)

Install Toolchain

  1. Download Arduino IDE from arduino.cc/en/software
  2. Install and launch the IDE
  3. Select your board: Tools → Board → Arduino Uno
  4. Select port: Tools → Port → COMx (Windows) or /dev/ttyUSB0 (Linux)
void setup() { pinMode(LED_BUILTIN, OUTPUT); }
void loop() {
digitalWrite(LED_BUILTIN, HIGH); delay(1000);
digitalWrite(LED_BUILTIN, LOW); delay(1000);
}