Replies: 6 comments 30 replies
-
Hi And for the meritum you are using wrong GPIO: GPIO14 (5! label) |
Beta Was this translation helpful? Give feedback.
-
@awawa-dev Thanks for the quick answer! |
Beta Was this translation helpful? Give feedback.
-
In your current setup you already have a common ground. If you use a separate official power supply for the RPI5, you need to connect the ground from the Adafruit ItsyBitsy to the ground on the LED strip to have a common ground with the LED power supply.
I would stick with RPI5 because of USB3.0 if you have also a USB3.0 grabber. |
Beta Was this translation helpful? Give feedback.
-
BTW there is new |
Beta Was this translation helpful? Give feedback.
-
I'll try without changing any config, and I'll check that option if I'm running into some issues, thanks a lot for your insight! 🙏 |
Beta Was this translation helpful? Give feedback.
-
@awawa-dev I almost have everything working, but the LED strip, as I get these logs
16:50:42.472 V4L2:USB3.0 UHD: US : USB3.0 UHD: USB2.0 HD (video0) [/dev/video0] 800 x 600 @ 10 fps mjpeg input 0
16:50:42.472 V4L2:USB3.0 UHD: US : USB3.0 UHD: USB2.0 HD (video0) [/dev/video0] 720 x 576 @ 60 fps mjpeg input 0
16:50:42.472 V4L2:USB3.0 UHD: US : USB3.0 UHD: USB2.0 HD (video0) [/dev/video0] 720 x 576 @ 50 fps mjpeg input 0
16:50:42.472 V4L2:USB3.0 UHD: US : USB3.0 UHD: USB2.0 HD (video0) [/dev/video0] 720 x 576 @ 30 fps mjpeg input 0
16:50:42.472 V4L2:USB3.0 UHD: US : USB3.0 UHD: USB2.0 HD (video0) [/dev/video0] 720 x 576 @ 20 fps mjpeg input 0
16:50:42.472 V4L2:USB3.0 UHD: US : USB3.0 UHD: USB2.0 HD (video0) [/dev/video0] 720 x 576 @ 10 fps mjpeg input 0
16:50:42.472 V4L2:USB3.0 UHD: US : USB3.0 UHD: USB2.0 HD (video0) [/dev/video0] 720 x 480 @ 60 fps mjpeg input 0
16:50:42.472 V4L2:USB3.0 UHD: US : USB3.0 UHD: USB2.0 HD (video0) [/dev/video0] 720 x 480 @ 50 fps mjpeg input 0
16:50:42.472 V4L2:USB3.0 UHD: US : USB3.0 UHD: USB2.0 HD (video0) [/dev/video0] 720 x 480 @ 30 fps mjpeg input 0
16:50:42.472 V4L2:USB3.0 UHD: US : USB3.0 UHD: USB2.0 HD (video0) [/dev/video0] 720 x 480 @ 20 fps mjpeg input 0
16:50:42.472 V4L2:USB3.0 UHD: US : USB3.0 UHD: USB2.0 HD (video0) [/dev/video0] 720 x 480 @ 10 fps mjpeg input 0
16:50:42.472 V4L2:USB3.0 UHD: US : USB3.0 UHD: USB2.0 HD (video0) [/dev/video0] 640 x 480 @ 60 fps mjpeg input 0
16:50:42.472 V4L2:USB3.0 UHD: US : USB3.0 UHD: USB2.0 HD (video0) [/dev/video0] 640 x 480 @ 50 fps mjpeg input 0
16:50:42.472 V4L2:USB3.0 UHD: US : USB3.0 UHD: USB2.0 HD (video0) [/dev/video0] 640 x 480 @ 30 fps mjpeg input 0
16:50:42.472 V4L2:USB3.0 UHD: US : USB3.0 UHD: USB2.0 HD (video0) [/dev/video0] 640 x 480 @ 20 fps mjpeg input 0
16:50:42.472 V4L2:USB3.0 UHD: US : USB3.0 UHD: USB2.0 HD (video0) [/dev/video0] 640 x 480 @ 10 fps mjpeg input 0
16:50:42.472 V4L2:USB3.0 UHD: US : Throws error nr: Cannot open '/dev/video29' error code 2, No such file or directory
16:50:42.473 V4L2:USB3.0 UHD: US : Throws error nr: Cannot open '/dev/video19' error code 2, No such file or directory
16:50:42.473 V4L2:USB3.0 UHD: US : Restarting video grabber is now blocked due to reloading of the configuration
16:50:42.473 V4L2:USB3.0 UHD: US : Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0
16:50:42.473 V4L2:USB3.0 UHD: US : Delayed restart of the grabber due to change of the capturing resolution
16:50:42.473 V4L2:USB3.0 UHD: US : Delayed restart of the grabber due to change of the framerate
16:50:42.473 V4L2:USB3.0 UHD: US : Automatic signal detection is now enabled
16:50:42.473 V4L2:USB3.0 UHD: US : Delayed restart of the grabber due to change of selected device
16:50:42.473 V4L2:USB3.0 UHD: US : setQFrameDecimation is now: disabled
16:50:42.474 V4L2:USB3.0 UHD: US : Multithreading for V4L2 is enabled. Available thread's count 3
16:50:42.474 V4L2:USB3.0 UHD: US : Throws error nr: Cannot open '/dev/video37' error code 2, No such file or directory
16:50:42.474 V4L2:USB3.0 UHD: US : Throws error nr: Cannot open '/dev/video27' error code 2, No such file or directory
16:50:42.474 V4L2:USB3.0 UHD: US : Throws error nr: Cannot open '/dev/video35' error code 2, No such file or directory
16:50:42.474 V4L2:USB3.0 UHD: US : Throws error nr: Cannot open '/dev/video25' error code 2, No such file or directory
16:50:42.474 V4L2:USB3.0 UHD: US : Throws error nr: Cannot open '/dev/video33' error code 2, No such file or directory
16:50:42.474 FLATBUFSERVER : Started on port 19400
16:50:42.474 V4L2:USB3.0 UHD: US : Throws error nr: Cannot open '/dev/video23' error code 2, No such file or directory
16:50:42.474 V4L2:USB3.0 UHD: US : Throws error nr: Cannot open '/dev/video31' error code 2, No such file or directory
16:50:42.474 FLATBUFSERVER : Could not start local domain socket server 'hyperhdr-domain'
16:50:42.474 V4L2:USB3.0 UHD: US : Throws error nr: Cannot open '/dev/video21' error code 2, No such file or directory
16:50:42.474 V4L2:USB3.0 UHD: US : Throws error nr: Cannot open '/dev/video1' error code 2, No such file or directory
16:50:42.474 V4L2:USB3.0 UHD: US : Throws error nr: Cannot open '/dev/video28' error code 2, No such file or directory
16:50:42.474 WEBSERVER : Initialize Webserver
16:50:42.474 V4L2:USB3.0 UHD: US : Throws error nr: Cannot open '/dev/video36' error code 2, No such file or directory
16:50:42.474 V4L2:USB3.0 UHD: US : Throws error nr: Cannot open '/dev/video26' error code 2, No such file or directory
16:50:42.474 V4L2:USB3.0 UHD: US : Throws error nr: Cannot open '/dev/video34' error code 2, No such file or directory
16:50:42.474 V4L2:USB3.0 UHD: US : Throws error nr: Cannot open '/dev/video24' error code 2, No such file or directory
16:50:42.474 V4L2:USB3.0 UHD: US : Throws error nr: Cannot open '/dev/video32' error code 2, No such file or directory
16:50:42.474 V4L2:USB3.0 UHD: US : Throws error nr: Cannot open '/dev/video22' error code 2, No such file or directory
16:50:42.474 V4L2:USB3.0 UHD: US : Throws error nr: Cannot open '/dev/video30' error code 2, No such file or directory
16:50:42.474 V4L2:USB3.0 UHD: US : Throws error nr: Cannot open '/dev/video20' error code 2, No such file or directory
16:50:42.475 V4L2:USB3.0 UHD: US : Found capture device: /dev/video0
16:50:42.475 V4L2:USB3.0 UHD: US : Throws error nr: Cannot open '/dev/video29' error code 2, No such file or directory
16:50:42.475 V4L2:USB3.0 UHD: US : Throws error nr: Cannot open '/dev/video19' error code 2, No such file or directory
16:50:42.475 V4L2:USB3.0 UHD: US : *************************************************************************************************
16:50:42.475 V4L2:USB3.0 UHD: US : Starting V4L2 grabber. Selected: USB3.0 UHD: USB2.0 HD (video0) [/dev/video0] 640 x 480 @ 20 fps mjpeg input -1
16:50:42.475 V4L2:USB3.0 UHD: US : *************************************************************************************************
16:50:42.475 V4L2:USB3.0 UHD: US : Set device input to: Camera 1
16:50:42.475 NETFORWARDER : Forwarder has changed state to disabled
16:50:42.479 WEBSERVER : Apply Webserver settings
16:50:42.479 WEBSERVER : Set document root to: :/www
16:50:42.479 WEBSERVER : Started: 'HyperHDR WebServer (HTTP)' on port: 8090
16:50:42.479 WEBSERVER : Initialize Webserver
16:50:42.479 WEBSERVER : Apply Webserver settings
16:50:42.479 WEBSERVER : Set document root to: :/www
16:50:42.480 WEBSERVER : Setup SSL certificate
16:50:42.480 WEBSERVER : Setup private SSL key
16:50:42.481 WEBSERVER : Started: 'HyperHDR WebServer (HTTPS)' on port: 8092
16:50:42.481 SSDP : Starting the SSDP server
16:50:42.495 V4L2:USB3.0 UHD: US : Set resolution to: 640 x 480
16:50:42.516 V4L2:USB3.0 UHD: US : Set framerate to 20 FPS
16:50:42.520 V4L2:USB3.0 UHD: US : Brightness set to: 50 (default)
16:50:42.524 V4L2:USB3.0 UHD: US : Contrast set to: 50 (default)
16:50:42.528 V4L2:USB3.0 UHD: US : Saturation set to: 50 (default)
16:50:42.532 V4L2:USB3.0 UHD: US : Hue set to: 50 (default)
16:50:42.532 V4L2:USB3.0 UHD: US : LUT file is not found here: /root/.hyperhdr/lut_lin_tables.3d
16:50:42.566 V4L2:USB3.0 UHD: US : Found and loaded LUT: '/usr/share/hyperhdr/lut/lut_lin_tables.3d'
16:50:42.566 V4L2:USB3.0 UHD: US : Video pixel format is set to: MJPEG
16:50:42.570 V4L2:USB3.0 UHD: US : Started
16:50:42.653 MUXER0 : Set visible priority to 255
16:50:42.653 HYPERHDR0 : New priority[255], previous [255]
16:50:42.653 HYPERHDR0 : No source left -> switch LED-Device off
16:50:42.809 SIGNAL_AUTO : Calibration data signature is different from the current stream signature. Just a warning. Please run the calibration procedure in the panel grabber tab. (have: '640x480x60 MJPEG USB3.0 UHD: USB2.0 HD (video0)' <> current: '640x480x20 MJPEG USB3.0 UHD: USB2.0 HD (video0)')
16:50:42.809 SIGNAL_AUTO : No signal detected. The cognition model's probability: 100%
16:50:43.487 SMOOTHING0 : Clearing queued colors before: disabling
16:50:43.487 SMOOTHING0 : Smoothing queue is cleared
16:50:43.487 MUXER0 : Priority 240 is now active
16:50:43.487 MUXER0 : Set visible priority to 240
16:50:43.488 SMOOTHING0 : Using linear smoothing input (0)
16:50:43.488 HYPERHDR0 : New priority[240], previous [255]
16:50:43.488 HYPERHDR0 : New source available -> switch LED-Device on
16:50:43.488 SMOOTHING0 : Clearing queued colors before: enabling
16:50:43.488 SMOOTHING0 : Smoothing queue is cleared
16:50:43.488 IMAGETOLED_MNG0 : Total index number is: 79360 (memory: 79360). User sparse processing is: disabled, image size: 640 x 480, area number: 206
16:50:43.489 SMOOTHING0 : Using linear smoothing input (0)
16:50:43.980 SERVICE_mDNS : Starting the network discovery thread
16:51:16.756 COMPONENTCTRL0 : LED device: disabled
16:51:16.756 LEDDEVICE0_ADALIGHT : Opening UART: ttyACM0
16:51:16.783 COMPONENTCTRL0 : LED device: enabled
16:51:16.824 SMOOTHING0 : Using linear smoothing procedure (0)
16:51:53.620 LEDDEVICE0_ADALIGHT : Device 'adalight' is disabled due to an error: 'Timeout writing data to ttyACM0'
16:51:53.621 COMPONENTCTRL0 : LED device: disabled
16:52:42.329 V4L2:USB3.0 UHD: US : Video cache: size: 2, hits: 2391, needed: 1, cleanup: 0, limit: 8
16:52:42.332 PERFORMANCE : [USB: FPS = 20.02, decoding = 2ms, frames = 1201, invalid = 0, mode = direct], [INSTANCE0: FPS = 20.02, processed = 1201]
I took a look at everything related to "timeout writing data" you answered about, without any success 😞 |
Beta Was this translation helpful? Give feedback.
-
Hey y'all!
I have been running HyperHDR for some time now using the deprecated way of wiring the LED on the Raspberry Pi GPIO without any LED driver.
But I would like to change that to use the proper way to do it now, I opted for using a RP2040 ItsyBitsy for that as mentioned on HyperSerialPico
For now, I've not been able to turn my LED off with this setup, so I wonder if I wired things correctly.
Here is a simplified setup (without the splitter and the capture card) of how I did it
I feel like I did something wrong with the ground, and I'm afraid it could be dangerous to be honest 😅
Also, something that can be worth mentioning, I'm trying to run HyperHDR in docker, as I would like my Pi to act as a homelab rather than being dedicated to HyperHDR, which might cause issues with communicating with USB and stuff like that 🤷♂️
Thanks all for your help!
Beta Was this translation helpful? Give feedback.
All reactions