bigtreetech / CB2

The official repo for the BTT Pi2 and CB2
https://bttwiki.com/Pi2.html
30 stars 4 forks source link

CSI/DSI attachments too dark #10

Open igl-x2 opened 1 month ago

igl-x2 commented 1 month ago

So following the manual pdf, I setup my Picam and Waveshare 4.3 DSI display correctly. They both work, but they are dark as the night.

The Picam picture is barely visible, even when I light the area externally, the image brigthness does not improve. Same with the TFT. Its working. Its just seems the background lighting is not working/powered properly. But when I tap the tft, I can see Mainsail throwing the errors out like too low temp for extrusion.

I already checked and replaced the cables, of course. both devices work as expected when connected to an original Pi 3B

So both devices CSI/DSI seem to have some kind of power issue, like missing a power line or not providing enough current on the existing lines.

Anyone got an idea?

TheFeralEngineer commented 1 month ago

I noticed this with a cam as well, but mine isn't horrible, just really dark. Thought maybe there was a setting control for it using uv4l, but I haven't figured it out yet.

moom-knight commented 1 month ago

스크린샷 2024-05-26 165231

Enter the above two commands, and you'll get a lot better

igl-x2 commented 1 month ago

ok webcam has improved, dsi tft still dark as the night

looxonline commented 1 month ago

I noticed this with a cam as well, but mine isn't horrible, just really dark. Thought maybe there was a setting control for it using uv4l, but I haven't figured it out yet.

I'll get this flagged for the engineers to look at this week. @BTTJUSTIN please take note that this is a documentation problem that needs the required commands to be added to the manual to adjust camera and display exposure/brightness for CSI and DSI.

zhangyumingsh commented 1 month ago

So following the manual pdf, I setup my Picam and Waveshare 4.3 DSI display correctly. They both work, but they are dark as the night.

The Picam picture is barely visible, even when I light the area externally, the image brigthness does not improve. Same with the TFT. Its working. Its just seems the background lighting is not working/powered properly. But when I tap the tft, I can see Mainsail throwing the errors out like too low temp for extrusion.

I already checked and replaced the cables, of course. both devices work as expected when connected to an original Pi 3B

So both devices CSI/DSI seem to have some kind of power issue, like missing a power line or not providing enough current on the existing lines.

Anyone got an idea?

At present, the camera image preprocessing (ISP) for CSI has not been implemented. Subsequent versions will implement ISP.

igl-x2 commented 1 month ago

And what about DSI brightness? Currently Waveshare DSI display is also dark with 0 brightness.

zhangyumingsh commented 1 month ago

And what about DSI brightness? Currently Waveshare DSI display is also dark with 0 brightness.

And what about DSI brightness? Currently Waveshare DSI display is also dark with 0 brightness.

The Raspberry Pi DSI screen backlight will be updated in future versions

Elwin232 commented 4 weeks ago

스크린샷 2024-05-26 165231

Enter the above two commands, and you'll get a lot better

HI, I enter the command you mentioned , but the output not good v4l2-ctl -c exposure=1964 v4l2-ctl -c gain_automatic=1 image

Could you please post before and after pictures?@moom-knight

igl-x2 commented 5 days ago

CSI still with bad images.

zhangyumingsh commented 5 days ago

CSI still with bad images.

At present, there is no work plan for the ISP, and future version updates will include ISP image processing.