PRISM Summer Research Internship Portal

Python, Robotics, and Intelligent Simulation Methods
Kia Cooperative Systems Lab • University of California, Irvine
PI: Solmaz Kia, Mechanical and Aerospace Engineering Dept., University of California Irvine

๐Ÿš€ 1. Software Setup Overview

To program your Arduino Nano, your computer needs two things:
1. Arduino IDE (Integrated Development Environment): The app where you write and compile code.
2. USB Serial Drivers: Software that helps your PC communicate with the Nano's onboard USB chip (especially CH340 chips on budget boards).

๐Ÿ“ฅ 2. Step-by-Step Installation Guide

Click on each step below to expand detailed instructions:

1
Download & Install Arduino IDE
Official App
Go to arduino.cc/en/software and download the installer for your operating system (Windows 10/11 or macOS). Run the installer and accept the default settings.
2
Connect the Arduino Nano
USB Cable
Plug your Arduino Nano into your computer using a Mini-USB (or USB-C depending on your Nano version) cable. Ensure the green PWR (Power) LED lights up on the board.
3
Select Board & Processor in IDE
Tools Menu
Inside Arduino IDE, click Tools > Board > Arduino AVR Boards > Arduino Nano.
Next, go to Tools > Processor and select ATmega328P.
Note: If uploading fails later, change this to ATmega328P (Old Bootloader)!
4
Select the Correct COM Port
Serial Connection
Go to Tools > Port and select the port listed (e.g., COM3, COM4, or /dev/cu.usbserial). If unsure which port is yours, unplug the USB cable, check the menu, and plug it back in to see which port appears!
Troubleshooting (CH340 Driver Issue):
If no COM port appears in Tools > Port, your board likely uses a CH340 USB chip. Download and install the free CH340 USB driver driver from WCH or watch Video Tutorial 2 below for help.

๐ŸŽฅ 3. Recommended Video Guides for High Schoolers

Watch these tutorials to see the IDE setup, driver configuration, and test upload process in action:

How to Install Arduino IDE on Windows 10/11
A step-by-step walkthrough of downloading the IDE, running the setup wizard, connecting your board, and configuring initial settings.
Watch Video Tutorial 1
Arduino Nano CH340 Setup & Driver Fix
Covers selecting the "Old Bootloader" option, fixing missing COM ports, and installing CH340 drivers if your Nano isn't recognized.
Watch Video Tutorial 2

๐Ÿงช 4. System Diagnostic Test Code

Use this program to test your system setup. It uses the built-in LED on pin 13 (no external wiring required) and prints status messages to the Serial Monitor at 9600 baud.

system_test.ino
// Diagnostic Test Sketch for Arduino Nano Setup
const int testLedPin = 13; // Onboard LED pin

void setup() {
  // Initialize Serial Communication at 9600 bits per second
  Serial.begin(9600);
  pinMode(testLedPin, OUTPUT);

  // Startup diagnostic banner
  Serial.println("==========================================");
  Serial.println("PRISM System Diagnostic Test Started!");
  Serial.println("Arduino Nano connection: SUCCESS");
  Serial.println("==========================================");
}

void loop() {
  // Turn onboard LED ON & output message
  digitalWrite(testLedPin, HIGH);
  Serial.println("System Status: ONLINE [LED HIGH]");
  delay(1000);

  // Turn onboard LED OFF & output message
  digitalWrite(testLedPin, LOW);
  Serial.println("System Status: ONLINE [LED LOW]");
  delay(1000);
}

How to Verify Success:

  • Click the Upload (→) button in Arduino IDE. The bottom bar should display "Done Uploading".
  • Look at the Nano board: the built-in LED (labeled L next to pin 13) should blink once per second.
  • Open Tools > Serial Monitor and set the baud rate at the bottom right to 9600 baud. You should see "System Status: ONLINE" messages scrolling in real-time!

โœ… 5. Interactive Setup Readiness Checklist

Check off each milestone as you complete it: