• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

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

Scheduled Pinned Locked Moved
Duet Hardware and wiring
8
28
3.2k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    dc42 administrators @Googliola
    last edited by dc42 28 Aug 2018, 14:33

    @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.

    Duet WiFi hardware designer and firmware engineer
    Please do not ask me for Duet support via PM or email, use the forum
    http://www.escher3d.com, https://miscsolutions.wordpress.com

    undefined 1 Reply Last reply 30 Aug 2018, 06:30 Reply Quote 0
    • undefined
      Googliola @dc42
      last edited by Googliola 30 Aug 2018, 06:30

      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?? ☺

      undefined 1 Reply Last reply 30 Aug 2018, 08:36 Reply Quote 0
      • undefined
        dc42 administrators @Googliola
        last edited by dc42 30 Aug 2018, 08:36

        @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.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • undefined
          StAnZ-007
          last edited by 3 Jan 2020, 20:47

          Hello,

          I know it's a old post, but I didn't want to create a new one just for 1 question.

          I have adapted a Duet2Wifi v1.04 on ATOM 2.5EX Delta printer, and I have a question about optical limit sensor.
          The sensors are OMRON trade parts and were connected on +5v on the old board.
          The sensor didn't work with +3.3v on the duet, then I need to go to +5v external power

          My question is simple, can I just connect the signal pin on the Duet and no connection for the +3.3v and ground pin or need I connect signal pin + ground pin on the duet board.
          I would like to connect +5v and ground on the adapter below and just the sensor signal pin to the duet board.
          Is it possible ?

          alt text

          Thanks for your support.

          ? undefined 2 Replies Last reply 3 Jan 2020, 20:52 Reply Quote 0
          • ?
            A Former User @StAnZ-007
            last edited by 3 Jan 2020, 20:52

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

            I would like to connect +5v and ground on the adapter below and just the sensor signal pin to the duet board.
            Is it possible ?

            you'd need to ensure the output- is connected to ground on the duet. usually input- and output- are the same, so if you feed it Vin from the duet that should be okay. then verify the duet inputs are okay with the signal level, no idea of they active high or low, or if the duet can take 5v on all inputs.

            1 Reply Last reply Reply Quote 0
            • undefined
              StAnZ-007
              last edited by 3 Jan 2020, 20:59

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

              you'd need to ensure the output- is connected to ground on the duet. usually input- and output- are the same, so if you feed it Vin from the duet that should be okay. then verify the duet inputs are okay with the signal level, no idea of they active high or low, or if the duet can take 5v on all inputs.

              The sensor are active high.
              If I found good information here, duet board v1.04 can accept +5v on sensor inputs

              1 Reply Last reply Reply Quote 0
              • ?
                A Former User
                last edited by 3 Jan 2020, 21:00

                then make sure you have a common ground and you'll be golden with your plan

                1 Reply Last reply Reply Quote 0
                • undefined
                  dc42 administrators @StAnZ-007
                  last edited by dc42 1 Mar 2020, 21:15 3 Jan 2020, 21:14

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

                  Hello,

                  I know it's a old post, but I didn't want to create a new one just for 1 question.

                  I have adapted a Duet2Wifi v1.04 on ATOM 2.5EX Delta printer, and I have a question about optical limit sensor.
                  The sensors are OMRON trade parts and were connected on +5v on the old board.
                  The sensor didn't work with +3.3v on the duet, then I need to go to +5v external power

                  My question is simple, can I just connect the signal pin on the Duet and no connection for the +3.3v and ground pin or need I connect signal pin + ground pin on the duet board.
                  I would like to connect +5v and ground on the adapter below and just the sensor signal pin to the duet board.
                  Is it possible ?

                  alt text

                  Thanks for your support.

                  Thar adaptor is overkill. You can get +5V from either the PanelDue connector or from the expansion connector. And yes, the Duet WiFi/Ethernet rev 1.04 tolerates 5V on the endstop inputs.

                  Duet WiFi hardware designer and firmware engineer
                  Please do not ask me for Duet support via PM or email, use the forum
                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    StAnZ-007
                    last edited by 3 Jan 2020, 21:16

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

                    e connector or from the expansion connector.

                    OK, if I use the +5v from pin 1, can I give the power to 5 sensors at the same time on the Pin 1 alone ?

                    undefined 1 Reply Last reply 3 Jan 2020, 21:40 Reply Quote 0
                    • undefined
                      dc42 administrators @StAnZ-007
                      last edited by 3 Jan 2020, 21:40

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

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

                      e connector or from the expansion connector.

                      OK, if I use the +5v from pin 1, can I give the power to 5 sensors at the same time on the Pin 1 alone ?

                      Yes.

                      Duet WiFi hardware designer and firmware engineer
                      Please do not ask me for Duet support via PM or email, use the forum
                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        StAnZ-007
                        last edited by 3 Jan 2020, 21:44

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

                        Yes.

                        Thanks for your fast answer.

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          StAnZ-007
                          last edited by 3 Jan 2020, 21:51

                          So last question,

                          • Can I connect all my 5v sensor pin to the expansion pin 1 ? => OK, it's clear for me
                          • Then can I connect all my ground sensor pin to the expansion pin 2 ?
                          • Then can I connect only signal to X Stop / Y stop / Z stop / E1 ans E2 stop ?

                          Possible or not ?

                          Thanks

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            dc42 administrators
                            last edited by 3 Jan 2020, 21:53

                            Yes, that's workable.

                            Duet WiFi hardware designer and firmware engineer
                            Please do not ask me for Duet support via PM or email, use the forum
                            http://www.escher3d.com, https://miscsolutions.wordpress.com

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              StAnZ-007
                              last edited by 3 Jan 2020, 21:56

                              Nice, thanks

                              1 Reply Last reply Reply Quote 0
                              • KroVexundefined
                                KroVex
                                last edited by 4 Jan 2020, 15:11

                                Hi all,

                                I also have problems with the optical endstops. The board I have is the Duet2Wifi v1.04 and the endstops are TCST2103 5v optical sensors (https://www.vishay.com/docs/81147/tcst2103.pdf).

                                VCC is connected to 5v Powersupply
                                GND to GND on the endstop-pin on the Board
                                SIG to STP/IN on the endstop-pin on the Board

                                The endstops are in the config.g File set to Active-High (M574 X2 Y2 Z2 S1).

                                If the sensors are triggered, the endstop LEDs on the board go out. But nothing happens in web control -> it shows all sensors are triggered.
                                No i have measured the sensor signals:
                                If the sensor is triggered, the output is 4.3v
                                If the sensor is not triggered, the output is 1.5v, and not 0v or GND...

                                Have I missed something or are my sensors just crap?

                                Thanks for Help.

                                undefined 1 Reply Last reply 4 Jan 2020, 19:00 Reply Quote 0
                                • undefined
                                  dc42 administrators @KroVex
                                  last edited by 4 Jan 2020, 19:00

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

                                  Hi all,

                                  I also have problems with the optical endstops. The board I have is the Duet2Wifi v1.04 and the endstops are TCST2103 5v optical sensors (https://www.vishay.com/docs/81147/tcst2103.pdf).

                                  VCC is connected to 5v Powersupply
                                  GND to GND on the endstop-pin on the Board
                                  SIG to STP/IN on the endstop-pin on the Board

                                  The endstops are in the config.g File set to Active-High (M574 X2 Y2 Z2 S1).

                                  If the sensors are triggered, the endstop LEDs on the board go out. But nothing happens in web control -> it shows all sensors are triggered.
                                  No i have measured the sensor signals:
                                  If the sensor is triggered, the output is 4.3v
                                  If the sensor is not triggered, the output is 1.5v, and not 0v or GND...

                                  Have I missed something or are my sensors just crap?

                                  Thanks for Help.

                                  The datasheet you linked to is for a bare slotted opto sensor, and as such it does not require 5V. But it does need sufficient forward current in the IR diode to turn the phototransistor fully on. Please provide the schematic of the complete endstop device that uses that sensor, including the values of the resistors on it (there are probably 2 of them).

                                  Duet WiFi hardware designer and firmware engineer
                                  Please do not ask me for Duet support via PM or email, use the forum
                                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                                  1 Reply Last reply Reply Quote 0
                                  • KroVexundefined
                                    KroVex
                                    last edited by 4 Jan 2020, 19:42

                                    I could not find the original data sheet because the manufacturer (germanreprap.com) has closed its forum.
                                    But maybe the pictures will help:
                                    77d5d998-de82-47d6-92e7-a77858c2b438.jpg 2c44500b-51e9-43f3-9abb-370abb0747c1.jpg

                                    Three resistors are installed on the back of the sensors: 1002, 1800, 2200

                                    1 Reply Last reply Reply Quote 0
                                    • KroVexundefined
                                      KroVex
                                      last edited by 4 Jan 2020, 20:59

                                      Problem solved!

                                      A good tip was that the sensor does not need 5v.
                                      However, the homex / y / z.g files from e.g. G1 H2 Z5 F6000 must be changed to G1 S2 Z5 F6000 (H to S). Now the motors stop when the sensor is triggered.

                                      Thx for Help.

                                      undefined 1 Reply Last reply 4 Jan 2020, 22:17 Reply Quote 0
                                      • undefined
                                        dc42 administrators @KroVex
                                        last edited by dc42 1 Apr 2020, 22:18 4 Jan 2020, 22:17

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

                                        However, the homex / y / z.g files from e.g. G1 H2 Z5 F6000 must be changed to G1 S2 Z5 F6000 (H to S). Now the motors stop when the sensor is triggered.

                                        Then you must be using quite old firmware.

                                        Duet WiFi hardware designer and firmware engineer
                                        Please do not ask me for Duet support via PM or email, use the forum
                                        http://www.escher3d.com, https://miscsolutions.wordpress.com

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          Googliola
                                          last edited by 6 Mar 2020, 09:49

                                          The board I have is the Duet2Wifi v1.02 and the endstops are most likely 5v (see pic), so no luck with that combo. I read somewhere in this forum that it is possible to convert them to 3.3v by adding a resistor. My know-how for these things is close to zero, so could anyone point me to right resistor and what Ohm I need to add (on top of SMD resistor)?
                                          IMG_20200306_103533[1].jpg

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA