1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

C2, Camera addition

Discussion in 'Show and Tell' started by STEM_Steve, Dec 24, 2016.

  1. STEM_Steve

    STEM_Steve Member

    Joined:
    Mar 18, 2015
    Messages:
    31
    Likes Received:
    13
    The first thing I did after testing out the C2 is add a RaspberryPi Camera.. It worked well out the gate and now I can "see" what I'm doing while I'm not in the room. It doesn't show up in the App, but I'm sure that will come with time. IMG_7865.JPG
     
    Stera8, ROBOLabs, Ed Ferguson and 2 others like this.
  2. PROTOFACTOR INC

    PROTOFACTOR INC New Member

    Joined:
    Oct 17, 2016
    Messages:
    16
    Likes Received:
    9
    wow! that's crazy how upgradable that thing is. Looks like you 3D printed the thing. that's great, you might even be ble to make to timelaps prints.
     
  3. STEM_Steve

    STEM_Steve Member

    Joined:
    Mar 18, 2015
    Messages:
    31
    Likes Received:
    13
    Here is a view from the webcam. The lights on the right side (looking in) are pretty bright, but I quickly made a cover for those and now the video comes out looking good. This is utilizing the 5MP camera and is a screen grab of the webcam view in OctoPrint.
    Screen Shot 2016-12-25 at 10.24.49 PM.png
     
  4. STEM_Steve

    STEM_Steve Member

    Joined:
    Mar 18, 2015
    Messages:
    31
    Likes Received:
    13
    If anyone is interested here is the file I used to make the light cover. I dropped the STL directly into OctoPrint and it took about 45 minutes on a "Medium" setting.
     

    Attached Files:

    supernovae likes this.
  5. Ed Ferguson

    Ed Ferguson Active Member

    Joined:
    Sep 21, 2016
    Messages:
    272
    Likes Received:
    220
    Let the mods begin!
     
  6. Keith70

    Keith70 New Member

    Joined:
    Jan 1, 2017
    Messages:
    4
    Likes Received:
    3
    So you just tied it right in with OEM Rapsberry Pi?

    Do you know what the default username and password is to log into the Pi?
     
  7. danzca6

    danzca6 Well-Known Member

    Joined:
    Jul 27, 2015
    Messages:
    2,161
    Likes Received:
    1,077
    I don't have an iOS device to try the app. Does it ask you to select the R2,C2, or custom profile? Just wondering if selecting the C2 disabled the camera features since one isn't included. I know an R1+ user that added an RPI and camera and it works well with the app with camera function.
     
  8. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    In the old image that used to be on GITHUB I don't think they changed anything from the OctoPi defaults
    • rPi
      • Username: pi
      • Password: raspberry
     
  9. STEM_Steve

    STEM_Steve Member

    Joined:
    Mar 18, 2015
    Messages:
    31
    Likes Received:
    13
    It's working from the application now. IMG_7904.PNG
     
    JohnShuba, danzca6 and WheresWaldo like this.
  10. danzca6

    danzca6 Well-Known Member

    Joined:
    Jul 27, 2015
    Messages:
    2,161
    Likes Received:
    1,077
    What did you do to get it fully working? Just reference for other C2 owners.
     
  11. STEM_Steve

    STEM_Steve Member

    Joined:
    Mar 18, 2015
    Messages:
    31
    Likes Received:
    13
    It was actually pretty straight forward.
    • Setup a static IP for the Pi
    • Enable the Webcam on the pi via SSH'ing into the Pi and then run sudo rasp-config
    • Enable the Webcam in the settings on OctoPi (under the ROBO3D Plugin)
    • Start the web stream on OctoPi
    • Make sure that when connecting it to the IOS Application you specify the IP address and NOT the host name because If you utilize the host name it puts an extra "period" in the address.
     
    mark tomlinson likes this.
  12. STEM_Steve

    STEM_Steve Member

    Joined:
    Mar 18, 2015
    Messages:
    31
    Likes Received:
    13
    The login is the default:... from a mac terminal it would be ssh@[ipaddressofprinter], password is 'raspberry'
     
  13. ROBOLabs

    ROBOLabs Moderator

    Joined:
    Sep 21, 2016
    Messages:
    31
    Likes Received:
    52
    Awesome print and modification, @STEM_Steve! It's great to see people already customizing their C2s.
     
    usafitz likes this.
  14. Jeff Uberstine

    Joined:
    Jan 21, 2017
    Messages:
    37
    Likes Received:
    12
    Your STL file looks like it's only one piece. Where are the other pieces you used?


    Sent from my iPhone using Tapatalk
     
  15. Ryan Erath

    Ryan Erath New Member

    Joined:
    Feb 2, 2017
    Messages:
    1
    Likes Received:
    0
    Did you use the stock camera cable, did you have to get a longer one, what path did you route the cable, did you notch out anywhere to gain access the the pi

    Thanks
     
  16. Jeff Uberstine

    Joined:
    Jan 21, 2017
    Messages:
    37
    Likes Received:
    12
    That STL file is just a long rectangle looking thing. @STEM_Steve Can you check out if another file is needed and provide it?
     
  17. STEM_Steve

    STEM_Steve Member

    Joined:
    Mar 18, 2015
    Messages:
    31
    Likes Received:
    13
    k, sorry... the .stl is a light cover (as specified)... Let me get the camera pieces and add it on here.
     
  18. STEM_Steve

    STEM_Steve Member

    Joined:
    Mar 18, 2015
    Messages:
    31
    Likes Received:
    13
    Here you go...
     

    Attached Files:

  19. Jeff Uberstine

    Joined:
    Jan 21, 2017
    Messages:
    37
    Likes Received:
    12
    Thanks much


    Sent from my iPhone using Tapatalk
     
  20. OutsourcedGuru

    OutsourcedGuru Active Member

    Joined:
    Jun 3, 2017
    Messages:
    752
    Likes Received:
    141
    You want to append ".local" to the hostname and then it won't do that.

    Example: If my Robo's name is cute-r2d2 then use cute-r2d2.local as the hostname. The Raspberry Pi 3 will advertise its name via broadcast on the wi-fi network and you can get to it that way, like "ssh pi@cute-r2d2.local" or whatever. Broadcasts come every 60 seconds so it may take that long to see it after a boot.

    The add-a-dot-at-the-end is DNS's way of preventing the addition of domain name suffixes. I can do an "nslookup google.com." (with a period) and the DNS client won't try things like "google.com.mydefaultdomain.com" in its lookups.
     

Share This Page