Skip to the content
2 layers25.1 × 21.6 mmDS2502 prog, the printed circuit board in 3D

Power a Dell Optiplex 3050 Micro from a 24V industrial power supply

Size
25.1 × 21.6 mm
Copper layers
2
Thickness
1.6 mm
Parts
15
Nets
7
Pads
28
Tracks, vias
33, 0
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
24 Mar 2023
Updated
24 Dec 2023

Overview

DS2502 prog is an open-source printed circuit board by jamwaffles, from the jamwaffles/optiplower repository on GitHub. It is a 2-layer board of 25.1 × 21.6 mm with 15 parts on 7 nets, routed with 33 tracks and 0 vias.

It is built around the VP0106N3-G. Its parts include 4 resistors, 4 transistors and 1 capacitor.

Main components

1

README

README.md

Optiplower

Dell Optiplex Power supply experiments.

I want to run a Dell Optiplex 3050 Micro off an industrial 24Vdc supply. Two issues:

  1. The Dell takes 19.5v
  2. It will refuse to clock above 800MHz if it can't communicate with the charger to check how much power it can provide.

This project aims to solve both by incorporating:

  1. A 5A DCDC converter to give 19.5v from 24v input
  2. Either an ATTiny85 or a DS2502 to communicate with the mainboard and spoof it into thinking it has a 65W PSU attached.

Onto a single, tiny PCB that can be hidden away inside the Dell.

References:

Please use KiCAD 7 to open the board files. The PSU uses JLC/LCSC-sourcable parts if you'd like to build your own.

DigiSpark ATTiny85 devboard LED is connected to PB0

Connection

The output connector is designed for a 5-way 1.27mm pitch ribbon cable. The 5 pins mirror the layout of the pins on the barrel jack PCB connector.

Sample dumps

Firmware setup

Uses Arduino CLI

bash
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=~/.local/bin sh

Programming

You'll need to edit the memory variable in ds2502-emulator/src/DS2502.h to change how the charger identifies.

bash
cd ds2502-emulator

make

make program

make fuses

Works with ATTiny25-10SSU, but can be made to target ATTiny85, etc by modifying the AVRDUDE_MCU? line in ./ds2502-emulator/Makefile along with the fqbn... line in ./ds2502-emulator/sketch.yaml.

Burning bootloader issues

Don't actually need to use the bootloader - I can use the USBASP directly. This section is just left here as a note.

Arduino IDE 2.x, "burn bootloader" with usbasp programmer selected.

Need to swap out programmer for the one on the system or various lib versions won't match, e.g.

text
error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

E.g.

bash
mv /home/james/.arduino15/packages/arduino/tools/avrdude/6.0.1-arduino5/bin/avrdude /home/james/.arduino15/packages/arduino/tools/avrdude/6.0.1-arduino5/bin/avrdude_old
ln -s $(which avrdude) /home/james/.arduino15/packages/arduino/tools/avrdude/6.0.1-arduino5/bin/avrdude

Parts

15
QtyValueFootprintReferences
6SOLDER_POINTADS2502_prog:P1-13+12V0, DS2502, GND0, GND1, I/O0, PRGM/0
32N7000DS2502_prog:TO92-LINEQ2, Q3, Q4
1100kDS2502_prog:0309_10R4
110KDS2502_prog:0207_2VR3
110kDS2502_prog:0309_10R2
14.7KDS2502_prog:0207_2VR1
1470pfDS2502_prog:C025-025X050C1
1VP0106N3DS2502_prog:TO92-Q1

More from jamwaffles/optiplower

1
  • 2 layers56.4 × 21 mmOptiplower, the printed circuit board in 3D

    Optiplower

    jamwaffles/optiplower

    Power a Dell Optiplex 3050 Micro from a 24V industrial power supply

    22 parts33

Similar boards

  • 2 layers19 × 76 mmSub, the printed circuit board in 3D

    Sub

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    15 parts3kApache-2.0
  • 2 layers26.7 × 62.2 mmDeniseadapter, the printed circuit board in 3D

    Deniseadapter

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    15 parts1kGPL-3.0
  • 2 layers100 × 44 mmVideoslot, the printed circuit board in 3D

    Videoslot

    mntmn/amiga2000-gfxcard

    MNT VA2000, an Open Source Amiga 2/3/4000 Graphics Card (Zorro II/III), written in Verilog

    15 parts1k
  • 2 layers91 × 51 mmBusinessCard, the printed circuit board in 3D

    BusinessCard

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    15 parts915
  • 2 layers24.3 × 57.9 mmFlosspods pro flex, the printed circuit board in 3D

    Flosspods pro flex

    kenp-io/not-for-airpods-repairs

    The content of this repository is licensed under the WTFPL License. Please have a close look at the terms before using this material.

    15 parts609WTFPL
  • 2 layers20.3 × 15.2 mmL0 Load, the printed circuit board in 3D

    L0 Load

    Luos-io/luos_engine

    Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

    15 parts546MIT
  • 2 layers68 × 50 mmEleLab v2 PowerFeed, the printed circuit board in 3D

    EleLab v2 PowerFeed

    Chrismettal/EleLab_v2

    Cheap DIY lab system for hobbyists and the tinkering folk

    15 parts531GPL-3.0
  • 2 layers50.8 × 35.6 mmInterface, the printed circuit board in 3D

    Interface

    harbaum/I2C-Tiny-USB

    Cheap and simple I²C to USB interface

    15 parts454

Questions

How big is the DS2502 prog PCB?

It measures 25.1 × 21.6 mm and has 2 copper layers, 1.6 mm thick.

What parts does the DS2502 prog use?

15 parts, built around the VP0106N3-G. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the DS2502 prog KiCad files?

From the jamwaffles/optiplower repository on GitHub, at the commit this page was made from: the board is DS2502_prog/DS2502_prog.kicad_pcb and its schematic DS2502_prog/DS2502_prog.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the DS2502 prog design in my own project?

Its repository states no licence, so its author keeps all rights: ask jamwaffles before reusing the design.