PC817 Adapter Module Optocoupler with Arduino - zonemaker.com

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ต.ค. 2024

ความคิดเห็น • 58

  • @배동일-h2b
    @배동일-h2b 3 ปีที่แล้ว +4

    I find new something... your pin layout is PNP sensor configration.... I tryed a lot of times, i cound not get signal data... because my sensor is NPN type.
    So, I tried reverse method... 12V (+) jumped plug in VIN and signal data line pluged Ground.... well done.
    and then if someone use ESP32 or ESP8266, it can not get digital data, you will get crazy data up and down..... so i tried analog pin assign. and connected 100k ohm ...
    finally i got a correct data... woop!!! almost 24hours i spend..... anyway!!! your video... helpful for me. thanks... but be careful. if you have NPN type sensor...
    this video i think just PNP type sensor correct...

    • @cody5192
      @cody5192 2 ปีที่แล้ว +2

      Hi. How did you do to connect an NPN sensor? I have days trying to do it and I can't do it

    • @015_diasdzakyk8
      @015_diasdzakyk8 2 ปีที่แล้ว +1

      thanksss u very helpfull, i have npn & use esp, but your explaination very beautiful

    • @blancatrujillohigueras9865
      @blancatrujillohigueras9865 ปีที่แล้ว +1

      @@cody5192 hve you found a solution plz

  • @배동일-h2b
    @배동일-h2b 2 ปีที่แล้ว +1

    finally i get digital data on ESP32 with wifi and mqtt.. becareful if someone use ESP32, i can not protect over electric power. so please consider register ( 100~10K) . this video great for me. thanks again...

  • @배동일-h2b
    @배동일-h2b 3 ปีที่แล้ว +3

    thanks your video. I had a problem to connect ESP32 with 12V raser sensor. You gave me a good idea. I was tried read sensor value without optocoupler, it was really hard and spend time too much. but depend on your video, i have a good idea for my project. thanks...

  • @djmaidjmai6120
    @djmaidjmai6120 ปีที่แล้ว +1

    شكرا جزيلا. انتي رئيعة وبارعة حقا. 👍👍👍🌻🌷🌷🌷

  • @kemal001
    @kemal001 5 หลายเดือนก่อน

    Why you did not use voltage divider? 12 volt black wire output of sensor can be reduced to 5 volt with a 2 resistor like 10K - and 5 K? instead of optocoupler

  • @brianzar1943
    @brianzar1943 2 ปีที่แล้ว +2

    Can you use a relay module for the same sensor instead of an optocoupler?

  • @sanjaybatra6593
    @sanjaybatra6593 ปีที่แล้ว

    I have connected 12V between blue and brown wire. And a 1K resistor and red LED connected between BLACK and BLUE wire.
    1. output voltage between BLACK and BLUE wire is 4.36 Volt ? how come ? is it correct voltage ?
    2. with NO LED and Resistor , voltage between BLACK and BLUE wire is 12 volt ??

  • @panamawebseller3784
    @panamawebseller3784 2 ปีที่แล้ว +1

    Hi, Do you know what can I use for connect 4 load CELLS OF 500 KG to NODEMCU?

  • @RixtronixLAB
    @RixtronixLAB 2 หลายเดือนก่อน

    Nice video, thanks :)

  • @joshgibb04
    @joshgibb04 4 ปีที่แล้ว +1

    Please kindy can you add a working link to the board for purchase or schematics to be able to build the board?
    Thank you

  • @mkelly5286
    @mkelly5286 4 ปีที่แล้ว +2

    Hi nice vid. Can I ask where you got the aluminium support and clamp? Loks like a convenient setup

    • @javipk7
      @javipk7 3 ปีที่แล้ว +2

      it's an SK10 (or 12 or similar) round rail support for CNC

  • @ramijali6964
    @ramijali6964 5 หลายเดือนก่อน

    Can I use this for aurduino grbl limit switch. Please tell me sister...

  • @farrellmalachi
    @farrellmalachi หลายเดือนก่อน

    hi it can not work if you do not take the jumper off for having 2 different ground's

  • @ramijali6964
    @ramijali6964 5 หลายเดือนก่อน

    Please help me can I use this for aurduino grbl cnc limit switch..

  • @JKeskinen
    @JKeskinen 2 ปีที่แล้ว +2

    Is this optocoupler for reduce 12 volt to 5 volt?

    • @dominiquehusson1615
      @dominiquehusson1615 2 ปีที่แล้ว +1

      no if you use 12 volts, the exit is 12volts , but use INPUT PULLUP

  • @mostafaahmed-bs4rv
    @mostafaahmed-bs4rv 3 ปีที่แล้ว +2

    can this work with analog signal sensor like ph or ec sensors

    • @italosoares69
      @italosoares69 2 ปีที่แล้ว +1

      No, optocouplers are for "digital only". For analog reads you will need a voltage divider. Be careful with high AC voltage as it will be exposed to the microcontroller..

  • @danedward546
    @danedward546 5 ปีที่แล้ว +1

    can i use capacitive proximity sensor with this code and set up? and esp8266 for micro?

  • @tjalledries164
    @tjalledries164 5 หลายเดือนก่อน

    Welke waarde van weerstand gebruik je ?

  • @afransm7162
    @afransm7162 9 หลายเดือนก่อน

    if sensor is AC what is the solution

  • @ketanmistry4285
    @ketanmistry4285 4 ปีที่แล้ว

    How can i start and stopr servo using proximity sensor and revers forward using proximity sensor...plz make the video on this...humble requst to you...

  • @agenthulk4288
    @agenthulk4288 3 ปีที่แล้ว +2

    Is this npn or pnp sensor

    • @viniciusjeanferreira7664
      @viniciusjeanferreira7664 3 ปีที่แล้ว +1

      Hi, if you still need the answer, I tested with both.
      Works better with PNP sensor and the Input port configured as INPUT_PULLUP, otherwise, you will have few mV of difference between logic levels

    • @agenthulk4288
      @agenthulk4288 2 ปีที่แล้ว +1

      I have npn sensor is there any other solution?

    • @blancatrujillohigueras9865
      @blancatrujillohigueras9865 ปีที่แล้ว +1

      @@agenthulk4288 have you find any solution plz

    • @agenthulk4288
      @agenthulk4288 ปีที่แล้ว +2

      @@blancatrujillohigueras9865 i have used optocoupler board

    • @blancatrujillohigueras9865
      @blancatrujillohigueras9865 ปีที่แล้ว +1

      @@agenthulk4288 plz send me a link... and if yo added some resistors , i search a lot

  • @uniqueautomationelectronic5696
    @uniqueautomationelectronic5696 3 ปีที่แล้ว +2

    Thx

  • @elcuriosopollo
    @elcuriosopollo 4 ปีที่แล้ว +1

    Es posible con esta placa general señal en la entrada para activa el optoacoplador y cerrar salida? Sería la inversa de su proyecto.

  • @livinmarcenariaartistica8212
    @livinmarcenariaartistica8212 5 ปีที่แล้ว +1

    hello ,I would like to know if you can connect this module in Arduino, please

  • @yogeshitaliya473
    @yogeshitaliya473 5 ปีที่แล้ว +1

    Nice one

  • @abhinavkumar5047
    @abhinavkumar5047 5 ปีที่แล้ว +1

    Well done

  • @fatharda7121
    @fatharda7121 5 ปีที่แล้ว +1

    Love thankyou

  • @esusinto8751
    @esusinto8751 4 ปีที่แล้ว +2

    ¿Sin el jumper sigue funcionando?, please

  • @khankhan-xx6wv
    @khankhan-xx6wv 5 ปีที่แล้ว +1

    Pls design the rope tieing machine

  • @tonyhill8300
    @tonyhill8300 3 ปีที่แล้ว +1

    OK so what are the jumpers for?

    • @viniciusjeanferreira7664
      @viniciusjeanferreira7664 3 ปีที่แล้ว +2

      Jumpers are for disconnect the grounds. It is always better to use with separated grounds, otherwise, it is not true optocoupled

    • @marcol5374
      @marcol5374 2 ปีที่แล้ว +1

      @@viniciusjeanferreira7664 so is better to use without jumpers right?

    • @viniciusjeanferreira7664
      @viniciusjeanferreira7664 2 ปีที่แล้ว +1

      @@marcol5374 yeah, exactly.

    • @andreyvieira9654
      @andreyvieira9654 ปีที่แล้ว

      That's the answer I was expecting. In Aliexpress they dont explain in details about it, I just draw the schematic through the images from PCB and I was wondering wtf this Jumper was doing in this optocoupler, it's for another application where you can share both GND but it is not for isolation. Can I use it with NodeMcu ? It's 3.3V and they inform to work just above 3.6v..

  • @rickmorty-yg9et
    @rickmorty-yg9et 2 หลายเดือนก่อน

    how can ı make pc817 card
    do you have cırcuıt dıagram

  • @prajapatijitesh5488
    @prajapatijitesh5488 3 ปีที่แล้ว +1

    Hi

  • @rohinheer6172
    @rohinheer6172 5 ปีที่แล้ว +2

    Hello mam

  • @franciscoalexandre6880
    @franciscoalexandre6880 ปีที่แล้ว +1

    show

  • @chamilarobert6009
    @chamilarobert6009 5 ปีที่แล้ว

    you should add voice. This doesn't understand

  • @sophonchanasin
    @sophonchanasin 5 ปีที่แล้ว +1

    พี่เป็นไทยใช่ไหมครับ

    • @MakerTutor101
      @MakerTutor101  5 ปีที่แล้ว +1

      ครับ

    • @PalmBotNaja
      @PalmBotNaja 5 ปีที่แล้ว +1

      แบบ8ช่องมีขายมั้ยครับ

  • @juansouto9594
    @juansouto9594 2 ปีที่แล้ว

    ARE YOU ALONE?

  • @arduinomaquinas
    @arduinomaquinas ปีที่แล้ว +1

    Very cool your work, ❤ subscribed @arduinomaquinas thank you bro !