mini-box / dcdc-usb Goto Github PK
View Code? Open in Web Editor NEWMini-Box DCDC-USB, Intelligent buck-boost DC-DC converter with USB interface
Mini-Box DCDC-USB, Intelligent buck-boost DC-DC converter with USB interface
Mini-Box DCDC-USB Linux application(dcdc-usb) and library (libdcdc-usb) for controlling and listing the parameters of mini-box.com DCDC-USB product (http://www.mini-box.com/DCDC-USB) Compiling and Installing: Make sure you have libusb and libusb development packages installed: $ sudo apt install libusb-0.1 libusb-dev $ sudo make clean install It will install by default in /usr/local/ Usage: dcdc-usb with no parameters will display the current output voltage. sudo dcdc-usb -a will display all settings from the device. sudo dcdc-usb -v 20.50 will set the output voltage to 20.5V.
I'm running into issues trying to use dcdc-usb on Ubuntu Linux. I cloned the repository and it built fine but wasn't able to run the application successfully.
This is what I get:
$ dcdc-usb
Cannot set configuration 1 for the device
Cannot setup device
After getting this I modified the dcdc-usb-comm.c file to print the error code for the usb_set_configuration() call. It returned -1, and in libusb it looks like that's an IO error.
Can you provide some guidance here?
System specs:
Ubuntu 14.04.2
Kernel 3.16.0-52
libusb 0.1
Note that I tried building with libusb-1.0 and ran into build issues which could be associated with my system. Can you confirm version dependency on libusb?
how can I connect it to linux computer and control it?
want to see the voltage\states and also to send to linux "shutdown" command
when it will be possiable?
Would it be possible to set the Mode of the unit between Dumb and Automotive? I can do the change if you could provide the details about the command.
The compilation object should moved AFTER the linked files on the dcdc-usb: build step.
e.g.: Change it to this:
dcdc-usb: $(MAINSRC)
See my pull request w/ corrected code.
Hi; I know this probably isn't the place for this, but is it possible to publish a windows version of this? or at the very least a 64bit version of DCDCUsbLib?
Thank you
The mini-box ups project also includes driver support for dcdc-usb devices. The ups drivers support features such as reading and writing flash configuration variables, setting non-volatile voltage output, control of ups functions, etc.
Would suggest referencing the following project in readme.txt:
https://github.com/mini-box/ups
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.