Use 5v from diffrent source for optical endstops? on duetwifi



  • So im on the edge of being done with my Hypercube evo and just the wiring and config left.
    started to read about endstops and what i understand it´s not possible to run the optical endstops direct on the 3.3v line and u needed to resolder the resistors on the endstops to get the to work. is it possible to just grab a 5v line from somewere on the duetwifi to dont have te resolder 6 endstops.?


  • administrators

    Yes, you can get +5V from either pin 1 of the expansion connector or from the PanelDue connector. However, only the endstop connection that provides power to the LED side of the slotted options switch should be powered from 5V. If the same wire also powers the output side, then do not use 5V.

    Some types of opto endstop do work correctly with a 3.3V supply.



  • ahh okey. then i´ll try without mods and if it does not work i replace the resistors.
    thanks for quick replay 🙂



  • I have the common variety running on 3.3v.just make sure your flags are black and fill the slots in the endstop as much as you can without risking a collision.

    The endstop lights on the duet board are a good guide. If they don't go out completely when the endstop is triggered you are not sending a strong enough signal. They are anogue in that sense.



  • @dc42
    Unfortunately, I have the same issue, but both PanelDue and expansion connector are already in use (Duet 2 Wifi V1.03) . And apparently, my sensors are not 3.3V compatible ☹

    However, only the endstop connection that provides power to the LED side of the slotted options switch should be powered from 5V. If the same wire also powers the output side, then do not use 5V.

    I cannot quite follow your instructions and don't want to destroy my Duet Wifi....Can you elaborate what options I have - except switching to 3.3V sensors? Can I use a resistor, if so can you point me to the right setup?

    Thank you in advance dc42. I just love the flexibility of your firmware, there's no way going back to Marlin / Repetier now - even tho I liked to use them too.

    PS: I hope in V3 of Duet, there will be a jumper to select endstop logic level....


  • administrators

    @googliola said in Use 5v from diffrent source for optical endstops? on duetwifi:

    However, only the endstop connection that provides power to the LED side of the slotted options switch should be powered from 5V. If the same wire also powers the output side, then do not use 5V.

    What that means is that if your endstop has a 3-wire connection, then you shouldn't power it from 5V because we can't guarantee that the endstop inputs will tolerate 5V. However, that doesn't apply to the Duet Maestro or the revision 1.04 Duet WiFi/Ethernet, because they have endstop inputs that can definitely tolerate 5V.

    The simplest option may be to change the resistor on the endstops. Can you provide some close-up photos of them?

    Regarding Duet 3, we are looking at providing both 5V and 3.3V power on at least some of the endstop connectors. We won't be using 3-pin connectors with switchable 5V/3.3V power because that make sit tooi likely that users will blow up 3.3v devices (e.g. filament monitors) by giving them 5V power.

    Electronics has mostly switched to 3.3v operation now, but unfortunately a lot of 3D printing is stuck in the stone age with 8-bit 5V electronics.



  • What that means is that if your endstop has a 3-wire connection, then you shouldn't power it from 5V because we can't guarantee that the endstop inputs will tolerate 5V.
    Understood, thanks for the clarification.

    The simplest option may be to change the resistor on the endstops. Can you provide some close-up photos of them?

    I turned out that I wired the simple microswitch endstops the wrong way 🙄
    But not all issues solved. I don't know if its related to logic level or not. Maybe you can help. This is the touch plate I am trying to setup:
    alt text
    The LED on the Duet Z-Axis endstop is fully lit, and when I close the circuit the blue LED on the sensor lights up, but the Duet LED status does not change. All 3 connections are wired. Unfortunately, there are no specs available (was sent to me by routakit) and I have no idea how to proceed.....in config.g I have setup the probe with M574 Z0 S2

    Unrelated question: is there a gcode to test for the status of filament runout sensors (configured with M591)?

    One more for the Duet V3 wishlist: As stated here C5 thru C9 (the endstop inputs on the DueX) cannot be used for filament monitors, but C10 and C11
    Is that correct? Even if a simple microswitch were to be installed for sensing? Renders 3 drivers of the DueX5 pretty much useless to my setup...

    By the way: your response time is just mind-blowing. Have you been waiting for my post?? ☺


  • administrators

    @googliola said in Use 5v from diffrent source for optical endstops? on duetwifi:

    The LED on the Duet Z-Axis endstop is fully lit, and when I close the circuit the blue LED on the sensor lights up, but the Duet LED status does not change. All 3 connections are wired. Unfortunately, there are no specs available (was sent to me by routakit) and I have no idea how to proceed.....in config.g I have setup the probe with M574 Z0 S2

    It's difficult if you have no data for the probe. It might work if you use it as a Z probe instead, connected to the Z probe input, with P5 or P8 in the M558 command. Check the Z probe reading in DWC to see whether the firmware is reading the output.

    Unrelated question: is there a gcode to test for the status of filament runout sensors (configured with M591)?

    Yes, M591 D# where # is the extruder drive number.

    One more for the Duet V3 wishlist: As stated here C5 thru C9 (the endstop inputs on the DueX) cannot be used for filament monitors, but C10 and C11
    Is that correct? Even if a simple microswitch were to be installed for sensing? Renders 3 drivers of the DueX5 pretty much useless to my setup...

    They should be OK for simple microswitch sensing.


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.