similar to: Supporting a DIY UPS with minimal effort but maximum gain

Displaying 20 results from an estimated 10000 matches similar to: "Supporting a DIY UPS with minimal effort but maximum gain"

2024 May 16
1
Supporting a DIY UPS with minimal effort but maximum gain
I agree with earlier posters, such documentation can help future tinkerers. There is probably more than just one to hold the hand and walk through the ordeals :) Perhaps a new page at https://github.com/networkupstools/nut/wiki can be a good location... Jim On Thu, May 16, 2024 at 1:29?PM Bill Gee <bgee at campercaver.net> wrote: > Hi Kelly - > > As an Arduino nerd, I am
2024 May 16
1
Supporting a DIY UPS with minimal effort but maximum gain
I put together my own DIY UPS, it's a RV charger/converter, an inverter, and some batteries. I use an Arduino and the HIDPowerDevice library ( https://github.com/abratchik/HIDPowerDevice) to get it to talk to NUT. Been working great for months! The Arduino is connected to two modules: * AC detection circuit to measure mains power on/off * Voltage divider and an external ADC to get a
2024 May 16
1
Supporting a DIY UPS with minimal effort but maximum gain
Hi Kelly - As an Arduino nerd, I am interested in this! I am sure others on the list would be interested. If nothing else, it would be nice to have some documentation in the archives. I assume you set it up as an online system rather than a standby system. Right? If true, then the choice of inverter is fairly critical. It has to be bomb-proof reliable. What did you choose for battery
2024 May 16
2
Supporting a DIY UPS with minimal effort butmaximum gain
On 5/16/24 08:59, Jim Klimov via Nut-upsuser wrote: > I agree with earlier posters, such documentation can help future > tinkerers. There is probably more than just one to hold the hand and > walk through the ordeals :) > > Perhaps a new page at https://github.com/networkupstools/nut/wiki > <https://github.com/networkupstools/nut/wiki> can be a good location... >
2024 May 16
1
Supporting a DIY UPS with minimal effort butmaximum gain
Ha! I got several on and off list requests for details, so I'll give a bunch of details here and then maybe I can move this to a wiki page others can help edit. WARNING! WARNING! WARNING! Be careful! My implementation required opening up high power components, and dealing with 120VAC mains power and high currents on 12VDC. If you decide to tackle any of this yourself, you need to understand
2024 May 17
1
Supporting a DIY UPS with minimal effort butmaximum gain
Looks very great, thanks for writing this! I gather you'd port this to the Wiki page you've started, too? A couple of comments: > So I run a NUT server on a Raspberry PI which is connected via USB to my DIY-NAS Arduino. DIY-UPS? > See drivers/arduino-hid.c for the list of supported IDs... Since NUT v2.8.1 [PR #1369], the `usbhid-ups` driver allows the user to specify a
2024 May 18
1
Supporting a DIY UPS with minimal effort but maximum gain
Hello all, I think there was a very good reply about an Arduino-based controller for a DIY UPS here. The project you posted to, with an Arduino presenting as a Megatec protocol server, also seems interesting. Here I'd like to reply to one point not covered before - DMF. As a short and quick reply - unfortunately no, you can not use it with stock upstream NUT at the moment, and not for
2024 May 19
1
Supporting a DIY UPS with minimal effort but maximum gain
Hello all, Now that I am subscribed to the list I can reply at last :) Kelly, thank you for the comprehensive write-up and pointers to sources and the Arduino lib and example. This took me into a rabbit hole and I've spent entirely too many hours browsing through the NUT sources and USB/HID/PowerDevice specs. Jim, thanks for the comprehensive write-up and all the work you do on NUT. This
2023 Nov 12
1
What is the arduino sub-driver intended to be used for?
I posted earlier on this list about getting an Arduino Pro Micro using https://github.com/abratchik/HIDPowerDevice in a simple sketch to monitor a DIY UPS I have built. With the changes from that thread (I had a PR merged), I was able to get usbhid-ups to recognize my device and could setup NUT the rest of the way. My intended configuration is to run NUT on a Raspberry Pi, have that device be
2023 Nov 12
1
What is the arduino sub-driver intended to be used for?
Well, the intention generally is to use it as a driver, so the more abilities the merrier (PR would be welcome) :) Per comments to initial PR that added it, https://github.com/networkupstools/nut/pull/1044 : > The idea of introducing this driver is to enable creation and prototyping of smart UPS based on Arduino, which is inexpensive versatile platform very much suitable for custom fully
2023 Nov 13
1
What is the arduino sub-driver intended to be used for?
oh! Ok, I'll go look at all the HID objects reported by the sample code @abratchik has on top-of-tree of his repo and see what makes sense to add to NUT. PR coming this week. On Sun, Nov 12, 2023 at 2:38?PM Jim Klimov <jimklimov+nut at gmail.com> wrote: > Well, the intention generally is to use it as a driver, so the more > abilities the merrier (PR would be welcome) :) >
2018 Aug 19
2
Protocol for an Arduino based UPS
Hi, I'm building a DIY UPS for a Raspberry Pi using a 12V SLA battery, charger, and an off the shelf 5V regulator. To monitor the battery level I'd like to use an Arduino or similar type device. Since the Arduino can have a serial over USB connection with the Pi I'd like to implement a protocol that can be used with NUT. Does anyone know if something like this has already been done?
2023 Nov 05
1
Passing hid_rep_index to libusb_get_config_descriptor is wrong?
Hi all, I posted originally here last week: https://alioth-lists.debian.net/pipermail/nut-upsuser/2023-October/013461.html Since then, I've been building and testing from source following the instructions a helpful reply in the above thread pointed out. The original problem is I've got one of these arduino HID power devices, as a project for a DIY UPS at home. This arduino is a composite
2023 Nov 05
1
Passing hid_rep_index to libusb_get_config_descriptor is wrong?
Thank you for the investigation! I've thought about this in vague terms, i.e. that numbers like this should be configurable, but did not have time to read into USB-related libraries and specs to make any more specific sense of it (and the libusb code is not mine except the recent layers of cleanup). I guess I did not even realize that there is more than the regularly mentioned "interface
2023 Feb 20
2
Using 'dummy.ups' for a real application, not just testing...
Tom via Nut-upsuser <nut-upsuser at alioth-lists.debian.net> writes: >>That makes sense. So you'll have input voltage, output voltage, and >>output current I would guess. You might consider a nodemcu (ESP8266) >>publishing via MQTT to reduce power and use of unobtainium. > > Yes, that is exactly what I was planning to instrument. Maybe battery > voltage too
2023 Nov 05
1
Passing hid_rep_index to libusb_get_config_descriptor is wrong?
Thanks for the quick reply! Ya, I'm new to all this so I didn't know this either, I was vaguely aware of USB composite devices from other projects, but never how it was all enumerated. I dug a bit more on this and I'm convinced the relationship is this: Device ??? Configuration 1 ??? Interface 1 ? ??? Endpoint 1 ? ??? Endpoint 2 ? ??? ... ??? Interface 2
2023 Nov 05
1
Passing hid_rep_index to libusb_get_config_descriptor is wrong?
@jimklimov: Looking at the code that uses hid_rep_index, hid_desc_index, and hid_ep_in|out in usb_subdriver (all in nut_libusb.h) I don't see any use of the addvars mechanism. If I follow the examples that set and use those struct members, it looks like everything relies on them being initialized to 0 by default, then only set in subdrivers or situations that need something different. If I
2023 Nov 15
2
What is the arduino sub-driver intended to be used for?
Making progress on this PR. I have question about storing and checking state in a subdriver HID Power Devices can a "UPS.PowerSummary.CapacityMode" value. According to the spec, the values are: 0: maH 1: mwH 2: percent (%) 3: Boolean support only (OK or failed) Grep'ing the source, nothing makes use of this now (some subdrivers have it mapped to
2017 Jun 24
2
NUT supporting Modbus TCP
Hi! I was wonering if there is a driver that supports communicating with a Modbus aware device over IP. I have a solar/wind invertor that can broadcast its state and I would like to monitor the batteries. If they discarge to a certain voltage or come to a defined state, I would perform a shutdown. All of this information id provided in Modbus holding registers. This could of course be done
2023 Oct 30
2
usbhid-ups not loading with Arduino Leonardo on Ubuntu 23.10
> VID 2341 doesn't show up in the NUT Git source tree. I was curious about this so just searched for Arduino and then 2341. I found a few hits, but the interesting one was in nut/drivers /arduino-hid.c I don't know enough about the project to know what a "subdriver" (that's what the comments says) is, but it looks to me like there's at least some people that have