# 2. Proteus Simulation Tutorial

### Step 1 : Setup the Arduino IDE 
Go to Preferences :\
[![](https://learn.digilabdte.com/uploads/images/gallery/2026-02/scaled-1680-/image-1770192932136.png)](https://learn.digilabdte.com/uploads/images/gallery/2026-02/image-1770192932136.png) \
Checklist the Show Verbose output during compile and upload :\
[![](https://learn.digilabdte.com/uploads/images/gallery/2026-02/scaled-1680-/image-1770192879104.png)](https://learn.digilabdte.com/uploads/images/gallery/2026-02/image-1770192879104.png)

### Step 2 : Compile the Code 
Compile the code using this button :\
[![](https://learn.digilabdte.com/uploads/images/gallery/2026-02/scaled-1680-/image-1770192973008.png)](https://learn.digilabdte.com/uploads/images/gallery/2026-02/image-1770192973008.png) \
Find the Hex link on the output terminal :\
[![](https://learn.digilabdte.com/uploads/images/gallery/2026-02/scaled-1680-/image-1770193018923.png)](https://learn.digilabdte.com/uploads/images/gallery/2026-02/image-1770193018923.png)

### Step 3 : Connect the Hex
Double click the Arduino on the Simulation : \
[![](https://learn.digilabdte.com/uploads/images/gallery/2026-02/scaled-1680-/image-1770193132416.png)](https://learn.digilabdte.com/uploads/images/gallery/2026-02/image-1770193132416.png) \
Copy the hex to the Arduino on the Proteus Simulation : \
[![](https://learn.digilabdte.com/uploads/images/gallery/2026-02/scaled-1680-/image-1770193105122.png)](https://learn.digilabdte.com/uploads/images/gallery/2026-02/image-1770193105122.png)\

### Step 4 : Run the Code
COMPLETE