GW INSTEK PSU CONTROL INTERFACE

A Windows.NET c# based control interface for controlling a GW INSTEK PSU

Custom STM32 Dev Board

Technologies Used

  • C++
  • BLUETOOTH-SERIAL COMMUNICATION
  • Opto electronics

Project Overview

The goal was to create a windows based PSU interface to controll the GW INSTEK PSU .

Schematic Design

Microcontroller Selection

STM32F107RCTx was selected for its integrated USB peripheral and rich I/O set.

Power Supply Unit (PSU)

Linear PSU based on the ASM1117-3.3 voltage regulatore was used to step down the +5v frrom the USB to3.3v , C1 and C2 are the input and output smoothing capacitors R1 which is the 1.5k ohms current limmiting resistor for the LED D1 which is the power indicator LED .

Crystal Oscillator Circuit

Crystal and capacitor values were chosen to match the microcontroller’s requirements and ensure stable clocking.

Communication Interfaces

USB FS and UART headers were included for both firmware upload and serial debugging.

Debug and LED Circuit

SWD header for programming/debugging and 3 onboard LEDs for user output were integrated.

I/O Mapping

Common GPIOs were routed to headers for flexibility in testing peripherals , the LEDs D2,D3 and D4 together with their limmiting resistors R4,R5 and R65 ,.

PCB Layout

Footprint Assignment

Components were selected for compactness and availability; footprints were verified in 3D view.

Layer Count & Dimensions

A 2-layer PCB design was used to minimize cost. Final dimensions: 80mm x 50mm.

MCU Placement

The microcontroller was centrally placed to reduce trace lengths to supporting components.

PCB Fabrication

Gerber Output

Standard Gerber and drill files were generated and verified using Gerber Viewer.

Manufacturer

JLCPCB was chosen for prototyping due to cost and turnaround time.

Fabrication Specs

FR4, 1.6mm thickness, 1oz copper, green solder mask.

Cost & Delivery

Total fabrication cost was under $10 with delivery within 7 business days.

Assembly & Testing

BOM & Component Sourcing

Components sourced from LCSC and local distributors. Total BOM cost: approx. $15.

Soldering

Hand-soldered under magnification using leaded solder for ease of rework.

Testing Code Snippet

// Simple LED Blink Test HAL_GPIO_TogglePin(GPIOC, GPIO_PIN_13);

Conclusion

Future Improvements

Consider adding onboard debugger (ST-Link), USB-C, and additional protection circuits in future revisions.

My Role

I designed and developed the board end-to-end—from schematic and PCB layout to component sourcing, assembly, and firmware testing. I also documented the entire process for future iteration and reuse.