Displaying 20 results from an estimated 69 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...
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...
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
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...
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...
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...
2010 Apr 20
1
Serial connections?
Does anybody know if there is any support to read from serial ports?
I just got an arduino, and wanted to write some scripts for working
with real time streaming sensor data...
In base::connections documentation, it's not clear if there's an easy
way to do this? Any ideas on hacking it? I'm open to win/linux/mac
solutions. I'm not sure how sockets work, but possibly t...
2023 Nov 15
1
What is the arduino sub-driver intended to be used for?
...o 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...
2023 Feb 20
2
Using 'dummy.ups' for a real application, not just testing...
...is. I have no experience with nodemcu's, and never heard
> of MQTT until your message, but I am always willing to learn
> something new. Has NUT been deployed on a nodemcu? It looks like these do
> not run traditional operating systems?
This would not run NUT or unix -- it's an arduino-class CPU. I was
assuming you have another computer on that will and the RPI was just to
drive the i2c.
Basically:
ESP8266: very small/low-power/cheap ($7?) arduino-ish dev board with
wifi and GPIO/i2c/etc.
nodemcu: software that lets you write in lua for the esp8266/esp32.
Or you can w...
2023 Nov 05
1
Passing hid_rep_index to libusb_get_config_descriptor is wrong?
...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 USB device, CDC is
on interface one, HID Power on Interface 2. According to the NUT source
tree, an arduino HID subdriver came in a couple of years ago (e07bec1), so
this should "just work" ;-) But it doesn...
2016 Aug 05
2
Tripp-Lite SMART1500LCDT
...thought it might be it's USB port.
>
> I bought a `plugable USB2-HUB-AG7' and experimented a bit. So far, I did not
> get it to turn the power to devices completely off:-( But the unbind/bind
> seems affect the devices somehow. I tried it with a little Sparkfun RedBoard
> (Arduino clone) and when I [re]bind, the RX/TX LEDs flash shortly, so it
> seems to reinitialize it's USB-Serial chip. Maybe that's enough?
>
> The same TX/RX LED flashing happens with the hub-ctrl power off->on;-)
>
> OK, the USB hub is now installed between the aTV & USP ;-)...
2023 Nov 05
1
Passing hid_rep_index to libusb_get_config_descriptor is wrong?
...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 USB device, CDC is
> on interface one, HID Power on Interface 2. According to the NUT source
> tree, an arduino HID subdriver came in a couple of years ago (e07bec1), so
> this should "just work&qu...
2019 Apr 28
3
"Untrusted application launcher (desktop launchers)"
...users how to do things correctly.
>
Oh, yeah, you really think I am going to get very far telling *non-techies* to:
1) Open up a terminal (right-click on the desktop and select "Open Terminal")
2) Type at the shell prompt (huh? what is a "shell prompt")
/usr/local/bin/arduino &
OR
gnucash &
OR
scratch &
These happen to be the three desktop shortcuts I am providing. Yes, the last
two can be found by searching through all available applications, if they
know what to look for. It is so much easier to say: click on the light
blue-green in...
2023 Nov 05
1
Passing hid_rep_index to libusb_get_config_descriptor is wrong?
...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 USB device, CDC is
>> on interface one, HID Power on Interface 2. According to the NUT source
>> tree, an arduino HID subdriver came in a couple of years ago (e07bec1), so
>> this should &q...