USB isolator for safe probing
Build it step by step
0 of 7 donePlug the isolator in
Between laptop and board.
Power the board
From its own adapter.
Check it enumerates
The port appears.
Upload the test sketch
Programming works.
Open the Serial Monitor
Messages arrive.
Type some text
It is echoed back.
Remove the isolator and compare
Note any change in noise.
How do you build an USB isolator for safe probing?
Put an isolator between your laptop and a project so ground loops and faults cannot hurt the laptop. You need USB isolator (ADuM3160), Arduino Uno R3 and USB A to B cable (Uno / Mega). It takes 7 steps and about 30 minutes.
- Level
- Intermediate
- Time
- About 30 min
- Parts
- 3
Parts list
- InterfacesBuy
- Development BoardsBuyArduino Uno R3 × 1
- Cables & WiresBuy
Tick what you already own. It saves to My Garage, so “Build with what I have” knows.
Wiring
| From | To | Why |
|---|---|---|
| Laptop USB | Isolator input side | Computer side |
| Isolator output side | Uno via the USB cable | Board side, data only |
| Uno power | Its own 7 to 12 V adapter | The board is powered separately |
| Uno pin 13 | Built-in LED | Shows the program is running |
Code
Normally a USB cable ties the grounds of your laptop and your project together. If the project touches a different ground, for example another supply or a measuring instrument, current can flow through the cable and the laptop's port, which adds noise or even damages the port. An isolator breaks that link: the data crosses over, and the ground does not. Plug it between the laptop and the board, give the board its own supply, and the ADuM3160 chip passes data at the full speed of USB 1.1 only, which is enough for serial and programming but not for fast transfers. Do not use it with mains-connected circuits or to connect to mains voltage; isolation here is for low-voltage lab work and does not make mains safe to touch. Probing with a scope is safest when the scope is also isolated or the project is battery-powered. If the board does not appear on the computer, check that the isolator is a data-only type and that the board has its own power. Arduino IDE, board "Arduino Uno".
Runs on a virtual Arduino Uno in your browser, with sliders for the sensors. Happy with it? Verify and upload to your real board from the same page (Chrome or Edge on a computer).
// Isolated serial test: sends a message every second and echoes what you type. Board: Arduino Uno.
// If this works with the isolator in place, the data link is isolated from the laptop.
unsigned long last = 0;
int count = 0;
void setup() {
Serial.begin(9600);
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
if (millis() - last >= 1000) {
last = millis();
count++;
digitalWrite(LED_BUILTIN, !digitalRead(LED_BUILTIN));
Serial.print("isolated link alive, message "); Serial.println(count);
}
while (Serial.available()) Serial.write(Serial.read()); // echo whatever you type
}What the serial monitor should show
Open the serial monitor at the baud rate in the code. This is what our simulator prints for a virtual Arduino Uno with its sensors at their default values. Your numbers will follow your real readings, but the format should match.
isolated link alive, message 1 isolated link alive, message 2 isolated link alive, message 3 isolated link alive, message 4 isolated link alive, message 5 isolated link alive, message 6
Test checklist
What you should see at each check. If a reading is far off, stop and use the troubleshooting list.
| Check | Expected |
|---|---|
| Isolator plugged in | Board appears as a port |
| Test sketch | Message every second |
| Type text | Echoed back |
| Board unpowered | No port, as expected |
If it does not work
Board not found
Power the board separately and re-plug the isolator.
Upload fails
Slow baud rate; try another USB port.
Messages garbled
Check the baud rate is 9600.
Still stuck? Find the fault step by step with your multimeter →
Common questions
What parts do I need for the USB isolator for safe probing?
USB isolator (ADuM3160), Arduino Uno R3 and USB A to B cable (Uno / Mega).
How long does the USB isolator for safe probing take to build?
About 30 minutes for a intermediate maker, in 7 steps.
How do I know the USB isolator for safe probing works?
Isolator plugged in: Board appears as a port. Test sketch: Message every second. Type text: Echoed back.
Board not found: what should I check?
Power the board separately and re-plug the isolator.
Upload fails: what should I check?
Slow baud rate; try another USB port.
Messages garbled: what should I check?
Check the baud rate is 9600.
