• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
Multipurpose power supply and charger 3D Printer File Image 1
Multipurpose power supply and charger 3D Printer File Image 2
Multipurpose power supply and charger 3D Printer File Image 3
Multipurpose power supply and charger 3D Printer File Image 4
Multipurpose power supply and charger 3D Printer File Image 5
Multipurpose power supply and charger 3D Printer File Image 6
Multipurpose power supply and charger 3D Printer File Image 7
Multipurpose power supply and charger 3D Printer File Image 8
Multipurpose power supply and charger 3D Printer File Image 9
Multipurpose power supply and charger 3D Printer File Image 10
Multipurpose power supply and charger 3D Printer File Image 11
Multipurpose power supply and charger 3D Printer File Image 12
Multipurpose power supply and charger 3D Printer File Image 13
Multipurpose power supply and charger 3D Printer File Image 14
Multipurpose power supply and charger 3D Printer File Image 15
Multipurpose power supply and charger 3D Printer File Image 16
Multipurpose power supply and charger 3D Printer File Thumbnail 1
Multipurpose power supply and charger 3D Printer File Thumbnail 2
Multipurpose power supply and charger 3D Printer File Thumbnail 3
Multipurpose power supply and charger 3D Printer File Thumbnail 4
Multipurpose power supply and charger 3D Printer File Thumbnail 5
Multipurpose power supply and charger 3D Printer File Thumbnail 6
Multipurpose power supply and charger 3D Printer File Thumbnail 7
Multipurpose power supply and charger 3D Printer File Thumbnail 8
Multipurpose power supply and charger 3D Printer File Thumbnail 9
Multipurpose power supply and charger 3D Printer File Thumbnail 10
Multipurpose power supply and charger 3D Printer File Thumbnail 11
Multipurpose power supply and charger 3D Printer File Thumbnail 12
Multipurpose power supply and charger 3D Printer File Thumbnail 13
Multipurpose power supply and charger 3D Printer File Thumbnail 14
Multipurpose power supply and charger 3D Printer File Thumbnail 15
Multipurpose power supply and charger 3D Printer File Thumbnail 16

Multipurpose power supply and charger

akosboda avatarakosboda

September 20, 2022

thingiverse-icon
DescriptionCommentsTags

Description

Power supply, multi output (6x USB and more) charger, FSK remote controller code detector

Features :

       * Power supply regulated output 1.25-30V with  autoranging analog meter display on color TFT.
       * Fast current limiter from 50mA to 1A for better user circuit protection.
       * Multichannel charger USB output, 5v 3A, current measurement on all outputs separately
       * Charger for Li Ion battery, current measurement
       * Decoder (code display) for remote controllers 433 and 315 MHz with FSK modulation

Purpose: central charger for many gadgets at once. Shows that the charging takes place, how much current, finished. Supply for experimental circuits. Verifies the remote controller's operation, the user can note and keep the codes in a file to replace damaged or lost controllers.

Hardware :

  •  STM32F103 or similar microcontroller. Code size 48k, RAM use 5k, too much for UNO or Mini Arduinos. However, without the FSK decoder, it may fit.
         * Quick acting output limiter. The LM2596 module is able to deliver current beyond 3A, this with the 220uF elko on the output forms a deadly combination for any experimental circuit if shorted or misconnected. The limiter prevents such disasters.
         * ADS1115 module for precise current measurement, 256mV reference, 8 microvolt(!) resolution on 50 milliohm shunt. 11 channels.
         * LM2596 3A  module for 5V supply and another LM2596 module for the adjustable supply. 
         * TP4056 module for Li-Ion charge. 
         * Separate FSK receiver modules, the frequency and the coding of the remote controller shown.
    

Circuit description :
The raw power +35 and -35V is supplied by an old 2x24V iron core transformer. +35V supplies the two LM2596 modules. One is fixed to 5V, in the other the trimpot is replaced by a multiturn 10k potentiometer adjusting the output voltage. Normally the Q2 NMOS IRL540 transistor is open via R26 because the input of the LM2596 module is always higher than the IRL540 source. The load is connected to J1 +pin2 -pin1, the current flows back to the shunt and measured by ADS1115 on channel A0. Same signal is fed to +ve input of the OPA27 precision op-amp. The -ve input of the OPA27 is set between 2.5 to 50mV by the current limit switch. If the voltage on the shunt is higher than the limit, the opamp shuts down the IRL540 via an optocoupler. The current limit is active in microseconds. There is only a 10nF capacitor on the output so that no big capacitor discharges on the load.

The ADS1115 module channel 0-1-2 is connected to 3 shunt resistors, channel 3 is multiplexed by 74HC4051, resulting 11 channels 256mV full scale with 16 bit resolution (8 microvolt). The multiplexer does not seem to introduce any error in measurement. The channels on J1: 1-30V, 5V USB A, Li-Ion charger, USB mini and/or USB C plug 5 outputs, and 3 reserve channels. I used one for LED tester with a 39 ohm serial resistor to 1-30V output.

Code switch 2P6T selects 6 functions.
1: displaying the current on all channels.
2-3-4-5 : analog instrument graphics shows the voltage, bar graph shows the current of the 1-30V output. Current limit changes.
6: For 10 sec, the 315 MHz receiver is on, in the next 10 sec the 433 MHz is on, repeat. Code received in these time windows is displayed in decimal and hex.
The code switch I was using Knitter MRS10H has two independent parts, however they work only in 4 positions, two positions overlap. 1-2-3-4 sends different voltages to PA1. The other side 3-4-5 provides the limit voltages for the OPA27 while position 6 pulls PA1 down signaling the last function. RS26 rotary switch (source: Aliexpress) can replace this strange switch. PA2 senses the 1-30V output voltage using 100k/10k divider ( error on drawing 20k !! 10:1 ratio is correct !).
5V / 3.3V issue : The FSK receiver modules work with 5V. Two resistors in series on Data line protect the STM32 inputs PB0 PB1. Since the FSK decoder firmware is interrupt driven, there was no option to use other 5V tolerant inputs - did not work.

Microvolts issue : take care to squeeze the shunts as tight as possible (2512 SMD resistor 2.54mm apart soldering on its edge) solder a thick ground bus wire and pull this wire all the way to GND point of the ADS1115 module. No other wire should be connected to this GND point on the module. Connect the high current supply GND from the LM2596's to bus middle. Similar but less critical is the OPA27 limit voltage, if possible connect R14 to the same GND bus.
How I built it : have a lot of Weisser EI 84/112 boxes this is why I cramped the circuit in it. Feel free to build it in any other form.
Firmware : ST7735 TFT the graphics is calculated for 128x160 resolution. In another project I used the same graphics with higher resolution, code attached. Change the text arrays as you wish.
Note : Schematics:Uploaded 01 oct. 2025
Please note that until I correct this on the drawing, the resistor R26 10k (PC123- IRL540 circuit) has to be 33k instead of 10k. Some PC123-s are not sensitive enough and the IRL remains open in a current limit situation...Multiplexer chip: I used 74HC4051 SO-16 Nexperia with good results.

Option : the ADC could process type-K thermocouple signal like this :

/* K_type thermocouple 41uV /C

  • ADS1115 resolution 256000uV reference / 32768 (15 bit) = 7.8125 uV
  • Output at 100 C temperature 4100uV, which is 4100/7.8125= 525 ADC units
  • Sum up raw ADC result 100 times (noise filter), all variables integer
    */
    int K_type (void)
    { unsigned long sum=0;
    byte thermocouple_channel; // no shunt resistor on this channel !!
    for (byte i=0; i<100; i++) {sum += ADC_Value(thermocouple_channel); }
    return (sum/525); //return Celsius
    }

License:

Creative Commons - Attribution

Related Models

Stackable Battery Holders preview image

Stackable Battery Holders

adoniram profile image

adoniram

57,975

Customizable & stackable beer crate for all types of batteries preview image

Customizable & stackable beer crate for all types of batteries

CAD-Guy profile image

CAD-Guy

22,536

Social battery preview image

Social battery

QuiqueCrimson profile image

QuiqueCrimson

279

Battery dispenser dual : AAA & AA preview image

Battery dispenser dual : AAA & AA

fafabienman profile image

fafabienman

39,564

Battery Holder preview image

Battery Holder

Nodashi profile image

Nodashi

12,915

Bambu Lab Spool Weight with NFC Tag Slot And Label preview image

Bambu Lab Spool Weight with NFC Tag Slot And Label

3D-Vizja profile image

3D-Vizja

918

Flexing battery holders with integrated spring preview image

Flexing battery holders with integrated spring

enif profile image

enif

32,988

Beer crate battery holder AA AAA + boxes preview image

Beer crate battery holder AA AAA + boxes

Jarda K 66 profile image

Jarda K 66

2,512