SOLVED Octoprint Camera not working!!

Discussion in 'Build Help' started by biline, Jun 18, 2016.

  1. biline

    biline Active Member

    Joined:
    Apr 13, 2016
    Messages:
    25
    Likes Received:
    21
    Octoprint Camera not working!!
    I have read through the threads I could find regarding the issue and double-checked the cables are seated correctly and installed correctly (twice)

    I have a red light showing on the Camera module itself
    I have enabled the camera via the raspi-config tool (option 6 in the menu)

    Dr Jeep.
    suggested to try these commands

    sudo /etc/init.d/webcamd stop

    (camera light should go out at this point)
    My Camera light stayed lit after the command.

    Then
    raspistill -o cam.jpg

    I got these errors:
    mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM)
    mmal: mmal_component_create_core: could not create component 'vc.ril.camera' (1)
    mmal: Failed to create camera component
    mmal: main: Failed to create camera component
    mmal: Camera is not detected. Please check carefully the camera module is installed correctly

    I have the Newer Raspberry Pi 3 unit running Octoprint Version 1.2.13 (master branch)
    I have included pictures of the install.
    Camera is a P5V04A Sunny Raspberry Pi Camera Rev 1.3 it's hard to see in the picture and it's rotated to see the text on the camera properly but the Red light is on. camera_red_light.JPG


    bigbox_bend.JPG camera_connect.JPG raspberry3_connect.JPG
     
  2. Sarah Nicholson

    Sarah Nicholson Well-Known Member

    Joined:
    Dec 20, 2015
    Messages:
    319
    Likes Received:
    114
    It's plugged into the wrong socket on the raspberry pi, the camera port is the one between the HDMI connector and the Ethernet port.
     
    biline likes this.
  3. Alex9779

    Alex9779 Moderator
    Staff Member

    Joined:
    Sep 4, 2015
    Messages:
    2,405
    Likes Received:
    731
  4. biline

    biline Active Member

    Joined:
    Apr 13, 2016
    Messages:
    25
    Likes Received:
    21
    Son of a Gun never even noticed the other clip :confused:
    I'll switch it over ASAP (hopefully the Camera won't be affected).
    Here's a nice guide to the Raspberry Pi ports etc.. so nobody else does the same thing! :rolleyes: Pi3+Breakout+Feb+29+2016.png
     
    Alex Stevenson likes this.
  5. Alex9779

    Alex9779 Moderator
    Staff Member

    Joined:
    Sep 4, 2015
    Messages:
    2,405
    Likes Received:
    731
    I admit I made the same error and my camera was not affect though I tried and tried for about 3 hours until I realised the other port...
     
  6. biline

    biline Active Member

    Joined:
    Apr 13, 2016
    Messages:
    25
    Likes Received:
    21
    Just a warning to others the Raspberry Pi 3 (don't know about other versions) does not have a spring-loaded Micro SD slot.
    I could not remove the Micro SD card through the slot in the acrylic frame even with tweezers (hole is too small) I had to poke a knife against the Micro SD and slowly try and work it back out but I had no luck. You can't pop the bottom frame piece off without breaking the end of the Micro SD off, which I ended up doing! :eek:
    Lucky enough to have a spare 8GB Micro SD, re-installed Octoprint and camera works :D Yay!
     
  7. Sarah Nicholson

    Sarah Nicholson Well-Known Member

    Joined:
    Dec 20, 2015
    Messages:
    319
    Likes Received:
    114
    Glad to hear you've got it working. I stick a loop of label tape on the end of my SD cards to make it easier to remove them.
     
    Hans C. likes this.
  8. Chase.Wichert

    Chase.Wichert Well-Known Member

    Joined:
    Mar 1, 2016
    Messages:
    774
    Likes Received:
    207
    Your lucky you didn't fry your camera, I had a post on here about this exact thing, turns out I fried my camera and then broke the cable.
     
    wahatever likes this.
  9. corey

    corey Well-Known Member

    Joined:
    Sep 4, 2015
    Messages:
    106
    Likes Received:
    21
    I fried my camera in that port, had to buy another one... the fried camera even had the red light on but still would not work...
     
  10. Chase.Wichert

    Chase.Wichert Well-Known Member

    Joined:
    Mar 1, 2016
    Messages:
    774
    Likes Received:
    207
    Yup same. Be careful of the cable too I broke mine and took 2 weeks from China to get one
     
  11. Hans C.

    Hans C. Well-Known Member

    Joined:
    Dec 21, 2015
    Messages:
    129
    Likes Received:
    43
    Thanks, I'll be sure to remember that! (Nearly finished my build, might power it up tomorrow *gulp*.)
     
    Chase.Wichert likes this.
  12. jet

    jet Well-Known Member

    Joined:
    Mar 29, 2016
    Messages:
    199
    Likes Received:
    20
    I also used the wrong connector... Moved it just now and all is good, camera works as expected.
     

Share This Page