Jump to content

Pause when external sensor sends signal


mkcommedj

Recommended Posts

Posted · Pause when external sensor sends signal

Hello guys!

I am creating a Security tool to avoid crapy print. Indeed, if your material spool is not rolled correctly, that can be stock behing your UM2. In this case, the print carries on but nothing comes out from extruuder because the filament is stuck somewhere behind.

So I decided to invent something cool, very cool. This is nothing more than a switch: when filament is running around spool, switch is pushed on. If stuck somewhere, filament is stoppep, then the switch goes off.

I just need the code and the port on the UM2 to say "if switch = off state, then PAUSE" something like this :)

Can someone help me please?

(switch is green on the following screenshot)

ScreenShot001.thumb.jpg.4fed99df868dbdd27a59083d7bb52847.jpg[/media]

ScreenShot001.thumb.jpg.4fed99df868dbdd27a59083d7bb52847.jpg

  • 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
    • Our picks

      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Like
        • 3 replies
      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 26 replies
    ×
    ×
    • Create New...