Displaying 20 results from an estimated 80 matches for "arduino".
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 N...
2023 Nov 12
1
What is the arduino sub-driver intended to be used for?
...ntention 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 open-source UPS development.
I don't think it was supposed to end and be finished work at that point,
but distractions happen...
It might be worth asking @abratchik if he has something tinkered over this
time and rea...
2023 Nov 13
1
What is the arduino sub-driver intended to be used for?
...s 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 open-source UPS development.
>
> I don't think it was supposed to end and be finished work at that point,
> but distractions happen...
>
> It might be worth asking @abratchik if he has something tin...
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 `subdriver` in config - to use the specific mapping for the
specified vendorid:productid (and/or other matching options involved),
allowing...
2024 May 16
1
Supporting a DIY UPS with minimal effort butmaximum gain
...turns off, I can make that 50-60W.".
My NAS is a QNAP, it has NUT installed. Before this DIY UPS, I was using an
APC consumer UPS connected to the NAS via USB so it would turn off 5 min
after mains power went off. That's the behavior I wanted for my DIY UPS.
So how did I do this?
Gear:
* Arduino Pro Micro clone. It has a micro USB port built in and is commonly
used for "make an Arduino appear to be some USB device" projects. It can be
powered over USB, or by 5VDC directly to pins.
* AC detection module: https://www.amazon.com/gp/product/B082PWV586. Gives
me an opto-isolated &quo...
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? The only thing I
could find was this [1], but it doesn't look like there is...
2023 Nov 15
2
What is the arduino sub-driver intended to be used for?
...w (some subdrivers have it
mapped to unmapped.ups.powersummary.capacitymode or something similar) and
many of the HID UPS drivers assume CapacityMode 2 (they interpret
RemainingCapacity, WarningCapacityLimit, RemainingCapacityLimit as
percent). My application (and the original sample sketch for the Arduino
project also does this, so I'm fine with that.
But, I was wondering if anyone could point out the right way in a NUT
subdriver to have a function that handles RemainingCapacity do different
things based on CapacityMode. I think I understand how to write my own
function to handle values in ardu...
2024 Oct 18
2
NUT 2.8.0-7 Can't claim USB device [2341:8036]@2/0: Invalid parameter using usbhid-ups
Hello All,
I have been trying to get NUT package working on proxmox host with
Arduino HIDPowerDevice (https://github.com/abratchik/HIDPowerDevice)
And I have been banding my head against the wall and looking through the
internet why I am getting "Can't claim USB device [2341:8036]@2/0:
Invalid parameter" error, but could not find anything relevant.
The information :...
2009 Jun 03
1
Wiring or Arduino package/scripts
Hi, I am looking any way to communicant with Arduino
(http://www.arduino.cc/) Wiring (http://www.wiring.org.co) boards and
read data generate with sensor on these.
If anyone know how to do it, I will appreciate if could give some
advice.
Thanks in advance
2024 May 16
2
Supporting a DIY UPS with minimal effort butmaximum gain
...; <https://github.com/networkupstools/nut/wiki> can be a good location...
>
> Jim
>
Great Idea Jim.
>
> On Thu, May 16, 2024 at 1:29?PM Bill Gee <bgee at campercaver.net
> <mailto:bgee at campercaver.net>> wrote:
>
> 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...
2018 Jul 17
1
Codec Implementation on Hardware
Respected Sir/Madam,
I am working as Research Scholar at IIT, Bhubaneshwar, which is one of the
pioneer educational organization in India. ( http://www.iitbbs.ac.in )
My assigned task is to transfer voice signal (Audio in future) over
wireless sensor network.
I have Arduino DUE, Arduino Mega, TMS320C6713 DSP board, TMS320F28379D
Lunch pad, FPGA boards and necessary
Microphone, filter, amplifier, speaker, Zigbee, bluetooth and other
required electronics modules.
I am able to transmit raw audio samples through Arduino Due and Zigbee
modules. The audio quality in receiv...
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 thought about Ardu...
2018 Aug 20
0
Protocol for an Arduino based UPS
On Aug 19, 2018, at 3:31 PM, Glenn Ramsey <gr at componic.co.nz> wrote:
>
> 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? The only thing I
> could find was this [1], but it doesn'...
2023 Oct 30
1
usbhid-ups not loading with Arduino Leonardo on Ubuntu 23.10
On Oct 29, 2023, at 10:17 PM, Kelly Byrd <kbyrd at memcpy.com> wrote:
>
> > 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
>
Sorry, I made a mistake while searching for the VID. That should work.
> Is it possible I need to compile NUT myself instead of using the Ubuntu package?
Looks like it, since it looks like...
2024 Oct 18
1
NUT 2.8.0-7 Can't claim USB device [2341:8036]@2/0: Invalid parameter using usbhid-ups
...library and NUT needed some PRs to get it work. IIRC, v2.8.2 has
everything needed.
On Fri, Oct 18, 2024 at 4:58?AM linkinpiocz via Nut-upsuser <
nut-upsuser at alioth-lists.debian.net> wrote:
> Hello All,
>
> I have been trying to get NUT package working on proxmox host with
> Arduino HIDPowerDevice (https://github.com/abratchik/HIDPowerDevice)
> And I have been banding my head against the wall and looking through the
> internet why I am getting "Can't claim USB device [2341:8036]@2/0:
> Invalid parameter" error, but could not find anything relevant.
>...
2023 Oct 29
1
usbhid-ups not loading with Arduino Leonardo on Ubuntu 23.10
...at I hope are the
relevant bits (output of lsusb -v and usbhid-ups)
Long term goal: I've got a DIY UPS that I would like to get working with my
QNAP NAS (which uses Linux and NUT underneath the hood)
Immediate short-term problem:
I can't get past running usbhid-ups on Ubuntu 23.10 with an Arduino
Leonardo.
I have an Arduino Micro using this
https://github.com/abratchik/HIDPowerDevice/ library. I have a
sketch working successfully with both Win10 and MacOS. They both recognize
the Arduino as a HID power device and detect the AC present true/false as
well as a hard-coded (for now) charge sta...
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 crit...
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 reasonably good DC vol...
2024 May 16
1
Supporting a DIY UPS with minimal effort but maximum gain
...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 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 in...
2023 Nov 15
1
What is the arduino sub-driver intended to be used for?
...ave it
> mapped to unmapped.ups.powersummary.capacitymode or something similar) and
> many of the HID UPS drivers assume CapacityMode 2 (they interpret
> RemainingCapacity, WarningCapacityLimit, RemainingCapacityLimit as
> percent). My application (and the original sample sketch for the Arduino
> project also does this, so I'm fine with that.
>
> But, I was wondering if anyone could point out the right way in a NUT
> subdriver to have a function that handles RemainingCapacity do different
> things based on CapacityMode. I think I understand how to write my own
> func...