Arnov Sharma
Published © MIT

DIY Bench Power Supply

Made a bench PSU from scratch using the ZK-4KX DC-DC Buck Boost module and a 3D-printed body.

BeginnerFull instructions provided1 hour3,304
DIY Bench Power Supply

Things used in this project

Hardware components

ATtiny85
Microchip ATtiny85
×1
PCBWay Custom PCB
PCBWay Custom PCB
×1

Software apps and online services

Fusion
Autodesk Fusion
Arduino IDE
Arduino IDE

Hand tools and fabrication machines

3D Printer (generic)
3D Printer (generic)

Story

Read more

Custom parts and enclosures

CAD FILE

Schematics

SCH

Code

code

C/C++
int pinsCount=5;                        // declaring the integer variable pinsCount
int pins[] = {0,1,2,3,4};          // declaring the array pins[]
void setup() {
pinMode(0, OUTPUT);
pinMode(1, OUTPUT);
pinMode(2, OUTPUT);
pinMode(3, OUTPUT);
pinMode(4, OUTPUT);

}
void loop() {
for (int i=0; i<pinsCount; i=i+1){    // chasing right
digitalWrite(pins[i], HIGH);         // switching the LED at index i on
delay(70);                          // stopping the program for 100 milliseconds
digitalWrite(pins[i], LOW);          // switching the LED at index i off
}
for (int i=pinsCount-1; i>0; i=i-1){   // chasing left (except the outer leds)
digitalWrite(pins[i], HIGH);         // switching the LED at index i on
delay(70);                          // stopping the program for 100 milliseconds
digitalWrite(pins[i], LOW);          // switching the LED at index i off
}
}

Credits

Arnov Sharma
352 projects • 360 followers
I'm Arnov. I build, design, and experiment with tech—3D printing, PCB design, and retro consoles are my jam.

Comments