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
- Download Arduino IDE from arduino.cc/en/software
- Install and launch the IDE
- Select your board: Tools → Board → Arduino Uno
- Select port: Tools → Port → COMx (Windows) or /dev/ttyUSB0 (Linux)
First Example: Blink
void setup() { pinMode(LED_BUILTIN, OUTPUT); }
void loop() {
digitalWrite(LED_BUILTIN, HIGH); delay(1000);
digitalWrite(LED_BUILTIN, LOW); delay(1000);
}