Jump to content
Ultimaker Community of 3D Printing Experts

Adding another camera


Recommended Posts

Posted (edited) · Adding another camera

I found posts by GR5 referencing that if another camera were plugged into the USB then it would be found on the next sequentially numbered port.

Also the api mentions camera numbers and the port numbers.

By default the camera built into the S5 is on port :8080 and if adding more cameras...  a second, third etc camera would be on pors :8081 and :8082 etc.

so...

I tested the api assuming that the index of the first camera, the built-in, would be 0.

 

http://10.0.0.5/api/v1/camera/0/stream
http://10.0.0.5/api/v1/camera/0/snapshot

and what do you know! it works.

 

I also found references in the forums to being able to change the camera resolutions.

 

Also found info that the camera stuff wasn't being developed anymore, but it was still left in the api (Good!)

 

So I want to put another camera that has a different viewing angle. I want to see the first layer being laid down more clearly.

 

Is there an empty usb port on one of the boards? I really don't want to take the s5 apart to find out, if someone can answer me. Or do I need to find where the current camera is plugged in... and put a usb hub in?

 

Or can I just change the camera out that is currently in the S5 for a different one? Are there certain specs like power, size, min/max resolution supported by the firmware etc that I need to be aware of? I do see the built in one takes a mini usb port on the camera.

 

fyi, I don't expect these other views to be accessible via digitalfactory... but directly via ip address on my network is what I want. 

 

I also can then display it on my readyboard in the main room of our offices (based on magicmirror 2) ... we all keep an eye on it that way.

 

Edited by kayakbabe
  • Link to post
    Share on other sites

    Posted · Adding another camera
    10 hours ago, kayakbabe said:

     

    Is there an empty usb port on one of the boards?

    There's the one on the front panel of the machine. I think you can even plug a USB hub in there.

  • Link to post
    Share on other sites

    Posted · Adding another camera

    The API supports up to 10 camera's. For the requirements: plug it in the front usb, and if it works then you are good.
    I don't think there are free USB ports inside, this also might differ on the S5 variant you have (v1 has the robot logo, v2 has the 'U' shape logo on the sides).

     

    The usb supports a hub, you might even move this inside the housing.

     

    Then, recently I learned about this brilliant low tech alternative: stick a mirror to the wall opposite the camera. An IKEA mirror seems to work great. 😎

    mirror.jpg

    • Like 1
    Link to post
    Share on other sites

    • 3 weeks later...
    Posted · Adding another camera
    On 8/20/2021 at 4:25 PM, kayakbabe said:

    I tested the api assuming that the index of the first camera, the built-in, would be 0.

     

    http://10.0.0.5/api/v1/camera/0/stream
    http://10.0.0.5/api/v1/camera/0/snapshot

    and what do you know! it works.

     

    I also found references in the forums to being able to change the camera resolutions.

     

    Also found info that the camera stuff wasn't being developed anymore, but it was still left in the api (Good!)

     

    So I want to put another camera that has a different viewing angle. I want to see the first layer being laid down more clearly.

     

    fyi, I don't expect these other views to be accessible via digitalfactory... but directly via ip address on my network is what I want.

     

     

    I tried this today on my current rev S5 and no bueno.    used a brand new USB camera and plugged into the port on the front of the machine.

     

    http://xxx.xxx.xxx.xxx/api/v1/camera/0/stream worked on internal camera.

    http://xxx.xxx.xxx.xxx/api/v1/camera/1/stream did not work on anything.

     

    http://xxx:xxx:xxx:xxx:8080/?action=stream worked on internal camera.

    http://xxx:xxx:xxx:xxx:8081/?action=stream did not work on anything.

     

    I too, would love to have a much better viewing angle as my machine is in a detached building 150ft away from my house and hiking down there at 1 am isn't my idea of fun 🙂

     

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
     Share

    • Our picks

      • The Ultimaker Showcase — October 14. What's new?
        Your dear friends at Ultimaker have some exciting news and insights for you!
         
        • 0 replies
      • New here? Get ahead with a free onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 8 replies
    ×
    ×
    • Create New...