I have been having an issue with a Raspberry Pi 3B+ I am hoping someone can assist me with. I have tried searching on Google to resolve it but not had any luck finding a solution.
I’m using the RPi to run Octopi on a 3D printer. It’s mounted on the top crossbar with a GPIO screen and the camera pointed down for an overview of the bed. I want to run a camera via the internal CSI connector but haven’t been able to get it to recognise the camera, much less get an image in OctoPrint.
I have been able to successfully attach and configure an external USB camera (PS3 Eye) as a side view for time-lapse recordings, and also an otoscope camera (short-focus endoscope) for extreme close-up of the hot-end nozzle extruding filament as it is printing. Running
lsusb in a terminal via ssh shows both cameras:
Bus 001 Device 007: ID 1415:2000 Nam Tai E&E Products Ltd. or OmniVision Technologies, Inc. Sony Playstation Eye
Bus 001 Device 007: ID 1903:8328
lsusb does not show the CSI camera, which is a generic camera module v1.3 attached via a short ribbon cable. I used the camera previously with a Pi Zero as a MEYE surveillance camera project and confirm it works. I have tried swapping out the cable and camera just in case, but no luck. I have the ribbon connector contacts facing the camera PCB and away from the ethernet port, so the connections should be OK.
I enabled the camera with
raspi-config, configuring everything under
"(3) Interface Options" to active just for good measure. The red LED on the camera board does come on.
I have removed the working USB cameras for troubleshooting.
Is there a way to ask the OS whether the interface is activated/camera is mounted, similar to
Is there anything extra necessary to configure to activate the camera? The closest I can find is in
/boot/octopi.txt where I have tried:
I assume the
"camera_usb_options=...", with or without the
-y, is not necessary as it isn’t found as a USB camera.
The only RasPi Cam option I have uncommented is:
This is as far as I have been able to take things. Is anyone able to help me further in getting the camera to work? I’m completely stumped.