Search found 9 matches

by splitfile
23 Aug 2021 12:34
Forum: Z-Uno
Topic: Increase UART Rx buffer
Replies: 3
Views: 2962

Re: Increase UART Rx buffer

Thanks for answering! Is it possible to increase the buffer a little bit? Is my code looking ok? Do you see any areas of improvement? I mean, shouldn't Z-uno be able to read fast enough from UART Rx without getting dropped packages? It is more likely that I am doing something wrong :-) This is an ex...
by splitfile
22 Aug 2021 20:47
Forum: Z-Uno
Topic: Increase UART Rx buffer
Replies: 3
Views: 2962

Increase UART Rx buffer

Hi! I'm reading power meter data from my power meter (RJ12 P1 port). The meter sends data every 10 seconds. I however think that I lose packets (dropped packets). Data is received at baud rate 115200. I have a feeling that Z-Uno are unable to keep up reading data from the Rx-buffer before it is over...
by splitfile
22 May 2020 12:12
Forum: Z-Uno
Topic: millis() returns zero
Replies: 8
Views: 8209

Re: millis() returns zero

Any news about the 2.1.6 release?
by splitfile
04 Aug 2019 01:53
Forum: Z-Uno
Topic: Hardware interrupt and zunoSendReport()
Replies: 6
Views: 6350

Re: Hardware interrupt and zunoSendReport()

Hi and thank you. I'm not using "Serial" (only use it while debugging). However I have (after a lot of testing) come to the conclusion that the problem must be related to HW interrupts and zunoSendReport(). After I moved zunoSendReport() from the main loop to the HW interrupt function it i...
by splitfile
30 Jul 2019 01:46
Forum: Z-Uno
Topic: Hardware interrupt and zunoSendReport()
Replies: 6
Views: 6350

Re: Hardware interrupt and zunoSendReport()

Hi again! After some more testing, it feels like it might be a software/interrupt issue. I tried the following. I put some adhesive tape over the IR sensor so that the hardware interrupt wouldn't trigger. Then I put all of it back in place, covering my power meter. Powering the Z-uno via USB (Output...
by splitfile
24 Jul 2019 21:47
Forum: Z-Uno
Topic: Hardware interrupt and zunoSendReport()
Replies: 6
Views: 6350

Re: Hardware interrupt and zunoSendReport()

Hi and thanks for your reply. Would it be sufficient if I power the zuno via USB and use a 0.550 mA power supply? Keep in mind that it is the Zuno and one of these that I'm powering: https://www.mysensors.org/uploads/57c42093071cb0e34c90057e/image/light.jpg I'm also experimenting with the range betw...
by splitfile
23 Jul 2019 23:23
Forum: Z-Uno
Topic: Hardware interrupt and zunoSendReport()
Replies: 6
Views: 6350

Hardware interrupt and zunoSendReport()

Hi, I'm experiencing some intermittent problem with my Zuno. Sometimes Zuno stops reporting my sensor values. I'm powering the Zuno via USB (output 1A). I have started to wonder if the problem has something to do with interrupts... I have an IR-sensor that counts the LED-blinks on my power-meter. Th...
by splitfile
17 Jul 2019 18:09
Forum: Z-Uno
Topic: Only get values from one channel (have two channels)
Replies: 4
Views: 4000

Re: Only get values from one channel (have two channels)

Hi guys, Thanks for your response! I'm using Domoticz and a "Aeotec by Aeon Labs Z-Stick" -USB controller. I think I got it to work setting up the channels like this: ZUNO_SETUP_CHANNELS( ZUNO_SENSOR_MULTILEVEL(ZUNO_SENSOR_MULTILEVEL_TYPE_POWER, SENSOR_MULTILEVEL_SCALE_WATT, SENSOR_MULTILE...
by splitfile
11 Jul 2019 14:16
Forum: Z-Uno
Topic: Only get values from one channel (have two channels)
Replies: 4
Views: 4000

Only get values from one channel (have two channels)

Hi, I'm trying to get the Zuno to work as a sensor with two channels. The sensor reports back power values. Watts and KWh (Kilo watt hours). The problem is that I seem to only get values on one channel. Maybe I'm not setting the channels up correctly? I read something about some issue if you have tw...