Menu

⚡ A new control interface for my HP 6642A power supply ⚡

#arduino#redditarduino#gpib#control#voltage
Reading 0:00
15s threshold

The HP 6642A (0-20 V / 0-10 A) is a great bench supply, but it can only be remote-controlled over GPIB, and real USB-GPIB adapters are expensive. So I built my own adapter from a cheap Arduino Uno and wrote a web-based control panel for it.

🔧 How I built the adapter:

• Desoldered a 24-pin GPIB (IEEE-488) plug from the board with a soldering iron and desoldering pump, then cleaned the pins

• Tinned the plug pins and 17 wires, then soldered one wire directly to each signal pin: 8 data lines (DIO1-8), 3 handshake lines (DAV, NRFD, NDAC), 5 control lines (EOI, IFC, SRQ, ATN, REN) and ground (pins 18-24 joined together)

• Plugged the other wire ends straight into the Arduino headers: DIO1-6 → A0-A5, DIO7-8 → D4-D5, EOI → D12, DAV → D11, NRFD → D10, NDAC → D9, IFC → D8, SRQ → D3, ATN → D2, REN → D6, GND → GND

• Secured everything in place with hot glue

• No resistors or other parts needed, just wires

• Flashed the open-source AR488 firmware with a custom pin layout matching my wiring.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.