Coder Social home page Coder Social logo

jscrane / psu Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 223 KB

Software-controlled variable-voltage power supply with current and power monitoring

License: Apache License 2.0

C++ 76.17% Makefile 2.74% HTML 21.09%
esp8266-arduino ina219 tft-display x9c103s

psu's Introduction

View this project on CADLAB.io.

PSU

Software-controlled variable-voltage power supply with current and power monitoring.

Features:

  • Common voltages preset through web interface (In Progress)
  • TFT LCD to display output voltage and current
  • Digital Potentiometer for software-controlled adjustment (TODO)

Hardware

Display hardware as WifiWeatherGuy:

  • Wemos D1 Mini
  • PCB-mounted push switch
  • 1.8" TFT LCD display
  • v3 PCB (with pin headers)

PSU hardware:

  • LM317 variable voltage regulator
  • INA219 voltage and current sensor
  • X9C103P digital potentiometer
  • Old laptop transformer (19v)

Software

psu's People

Contributors

jscrane avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

arx76

psu's Issues

Basic variable regulator

Basic potentiometer-controlled voltage regulator circuit:

  • solder transfomer plug and breadboard socket
  • lm317 + capacitors + trimpot
  • connect to voltage/current sensor

Software-controlled fuse

Mosfet circuit-breaker when current exceeds threshold

  • threshold configuration
  • mosfet circuit connected to gpio
  • enable output after reach voltage threshold

Digital potentiometer

  • add preset voltage array (float) into config.json and prepopulate with 3.3, 5, 9v
  • read preset voltages and cycle between them with switch
  • replace trimpot with digital potentiometer
  • use Vout = Vref*(1 + RL/RH) to generate fixed output voltages, assume linear relationship between resistance and percentage argument to setPot() API
  • this library looks better than the first one found: https://sites.google.com/site/tfagerscode/home/digipotx9cxx

Board layout improvements

  • Positioning of INA219 breakout (protrudes over edge of board)
  • Positioning of C1 and C3 prevents correct attachment of heatsink to U1
    • replace heatsink footprints
    • move capacitors in
    • move U1 and Q1 out

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.