the remote repeat codes are often the same regardless of which key was pressed
This is the key problem. No mater what I do, with interrupts or in loop, in order to give priority to screen redraw, nano can easily miss button code change, and it keeps spamming with repeat code like nothing happened. It's a stupid limitation of Apple remote I cannot work around. With slower displays, problem gets worse. I can reproduce this every time with OLED.
This is the key problem. No mater what I do, with interrupts or in loop, in order to give priority to screen redraw, nano can easily miss button code change, and it keeps spamming with repeat code like nothing happened. It's a stupid limitation of Apple remote I cannot work around. With slower displays, problem gets worse. I can reproduce this every time with OLED.
If the screen redraw is causing slowdowns with remote code detection then what effect will it be having on LDR control, which is really the primary purpose of the Arduino?
I can't say how slow it is compared to other displays, I only have OLED working. Here's the video of the performance. You will notice that encoder changes volume faster, so it's probably not the OLED that is a bottleneck here.
https://youtu.be/_HphOZMJIgA
https://youtu.be/_HphOZMJIgA
I can't say how slow it is compared to other displays, I only have OLED working. Here's the video of the performance. You will notice that encoder changes volume faster, so it's probably not the OLED that is a bottleneck here.
https://youtu.be/_HphOZMJIgA
Looks about the same speed as the increments on mine when using the remote (1602 LCD).
4x2 pcbs arrived but with stupid mistake - I had two traces crossed. Easy to correct though.
I can let them go for 2eur each plus shipping. Ping me if interested.
Sent from my SM-G935F using Tapatalk


I can let them go for 2eur each plus shipping. Ping me if interested.
Sent from my SM-G935F using Tapatalk
I can't say how slow it is compared to other displays, I only have OLED working. Here's the video of the performance. You will notice that encoder changes volume faster, so it's probably not the OLED that is a bottleneck here.
https://youtu.be/_HphOZMJIgA
Maybe the delay between increments is set by this constant:
Code:
#define TIME_IGNOREREMOTE_CMD 400 // Time in millisec after IR command before repeating
There is also a constant declared as TIME_IGNOREREMOTE_VOL, but this doesn't appear to be being used.
I think I will set TIME_IGNOREREMOTE_CMD to 200 on mine as I'm not happy with the time taken to change the volume level when relying on the repeat code.
Ultra cost-effective all-in-one, single-ended, 5x2 IO integrated, non-latching relays 10X10cm pcb 😉
Since we are paying anyway for 10x10cm board with chinese PCB manufacturers, why not use the extra space😉
Takes also 4.5V NAIS AGN200A4H sub-miniature relays I happen to have bunch of😉
Since we are paying anyway for 10x10cm board with chinese PCB manufacturers, why not use the extra space😉
Takes also 4.5V NAIS AGN200A4H sub-miniature relays I happen to have bunch of😉
Attachments
Last edited:
Ultra cost-effective all-in-one, single-ended, 5x2 IO integrated, non-latching relays 10X10cm pcb 😉
Since we are paying anyway for 10x10cm board with chinese PCB manufacturers, why not use the extra space😉
Takes also 4.5V NAIS AGN200A4H sub-miniature relays I happen to have bunch of😉
Brilliant!
Bug, and possibly a nasty one. When VxD is powered down with volume at 00, and then it turns on, at fist step of volume increase, there is max volume burst that lasts split second.
Can someone check if this is something I introduced with many changes, or is it with original code as well?
Anyone?
Anyone?
Just checked and mine does this as well.
I normally leave the unit powered on anyway so hadn't noticed this.
Chris
Sounds like a full power blast which can be pretty bad. In general, power down sounds dirty too, nothing is muted. I am thinking about separate, always on power supply for arduino which will also allow power control via remote and solve all the transient power issues as well.
Sent from my SM-G935F using Tapatalk
Sent from my SM-G935F using Tapatalk
Power consumption is not negligible, there are heatsinks on regulators...
Sent from my SM-G935F using Tapatalk
Sent from my SM-G935F using Tapatalk
Power consumption is not negligible, there are heatsinks on regulators...
Sent from my SM-G935F using Tapatalk
Fair enough. I suppose I'm looking at it from a slightly different angle then as my power amp takes 100W at idle, so the few watts consumed by the LDR unit is not significant.
Last edited:
It seems all kinds of crap is fed into outputs during power up, as mute relay is not doing anything during this phase. Outputs should be muted during power transitions.
Sent from my SM-G935F using Tapatalk
Sent from my SM-G935F using Tapatalk
- Home
- Source & Line
- Analog Line Level
- Arduino based LDR volume and source selection controller