How to Interface Industrial Sensors with Arduino Nano

Поделиться
HTML-код
  • Опубликовано: 16 окт 2024

Комментарии • 104

  • @arturnowakowski6843
    @arturnowakowski6843 3 года назад +2

    As always, a mine of knowledge. 👍👌

  • @wallstreet497
    @wallstreet497 9 месяцев назад +1

    Very good and concise presentation straight to the point.

  • @johanwithag2432
    @johanwithag2432 Год назад +3

    Hi, the 4-20mA to 5 V converter does not use any optical isolation (as far as I can see). Typical industrial PLC I/O's are mostly opto isolated for analog signals. Would that be a concern? Excellent channel btw!

    • @OnosTech
      @OnosTech  Год назад +2

      You are correct. It also depend on the area and scale of application. I won't recommend it for use in safety critical equipment. For hazardous area application, an IS barrier can be an added protection.

    • @johanwithag2432
      @johanwithag2432 Год назад +1

      @@OnosTech Thanks for the reply.

  • @NGTLounge
    @NGTLounge Год назад +1

    Thanks a ton you have saved me a lot of time

  • @rishaalramdeen2112
    @rishaalramdeen2112 Год назад +1

    Wonderfull presentation, Clear and consise. Thank you

  • @scientifiko4246
    @scientifiko4246 2 года назад +2

    Your videos are really good. Well explained.

    • @OnosTech
      @OnosTech  2 года назад +1

      Glad you like them!

  • @listriklistrikpurwokerto3332
    @listriklistrikpurwokerto3332 3 года назад +1

    Good content about industri aplication 👍👍👍👍👍💪💪💪💪

    • @OnosTech
      @OnosTech  3 года назад

      I am glad to you like it

  • @AMbrosWorkshopTips
    @AMbrosWorkshopTips 2 года назад +1

    can i build multi 4-20ma sensors with single setup. pls reply. if yes, then how. i want to make similar setup but to measure pressure, temperature and angle and stroke in a single setup. what changes i have to do in program and how.

  • @lucianodipaolo2428
    @lucianodipaolo2428 3 года назад +1

    ciao questo tutorial e' veramente interessante , complimenti

  • @Alvin-Sy
    @Alvin-Sy Год назад +2

    Can this module take an input voltage of 24V? My experience is that when I use 24V, the power indicator starts to flick very fast and slows down gradually. and the voltage output would become jumpy at the same time. is there any problem with this module using 24V?

    • @OnosTech
      @OnosTech  Год назад +1

      There are actually two types of these modules;
      1. s.click.aliexpress.com/e/_DEjqtG1
      2. s.click.aliexpress.com/e/_AfeXw5
      I actually used No, 1 in the tutorial video. I found out that at 24v, the transistor becomes hot. So I got No. 2 and used it in this other video with 24v: ruclips.net/video/qxcVWX-BqUo/видео.html No. 2 works better.
      Which of the modules do you have?

    • @Alvin-Sy
      @Alvin-Sy Год назад +2

      @@OnosTech I'm using the number 1 module which is cheaper, I will buy the number 2 module and give it a try. Thank you for your reply, really appreciate it.

  • @foskolo
    @foskolo 3 года назад +1

    Great description! Thanks!

    • @OnosTech
      @OnosTech  3 года назад

      Glad it was helpful!

  • @rushikeshkumawat1361
    @rushikeshkumawat1361 2 года назад +1

    Thank you very much 👍 You save my time a lot. 👍👌👌

    • @OnosTech
      @OnosTech  2 года назад

      I am glad it is helpful.

  • @sheleyrobpn7892
    @sheleyrobpn7892 3 года назад +1

    prefect video for me

  • @TS-gi8zm
    @TS-gi8zm Год назад +1

    I really like these videos! Is it possible to connect the 12 volt power supply together with the USB to my computer? I wrote software to read out the analog values on my computer but I don't know if it is safe to connect both USB and Vin pin. Thanks and keep up the good work!

    • @OnosTech
      @OnosTech  Год назад +1

      The 12 volt supply should go to the module alone. It is only the output and GND of the module that should be connected to the USB port of your computer. Just ensure that the output of the module is calibrated to 5 volts as demonstrated in the video.

    • @TS-gi8zm
      @TS-gi8zm Год назад

      @@OnosTech Thanks

  • @chirots
    @chirots 2 года назад +1

    Best out of all

    • @OnosTech
      @OnosTech  2 года назад

      Thanks

    • @chirots
      @chirots 2 года назад +1

      @@OnosTech quick question. Can you supply nano with 12v supply???

    • @OnosTech
      @OnosTech  2 года назад

      @@chirots Yes you can. Connect the 12V to Vin pin of the nano

  • @simonl7784
    @simonl7784 2 года назад +1

    I'm trying to make sense of the "Current to Voltage Module" and I thought the whole point of it was to serve as the power supply to the sensor; which would explain the wide input 7-36v . Does it work if you just plug the temp sensor in without the 24v power supply?

    • @OnosTech
      @OnosTech  2 года назад

      Sure, the module provides the loop power to the sensor and at the same time receives the measured values within the range of 4-20mA current. This current is then converted to 5 V which is the required input voltage of the Arduino analog input. The 24V power supply is required for the module and the sensor to work.

  • @nwaudonaquilaokonta9307
    @nwaudonaquilaokonta9307 3 года назад +1

    Great tutorial

  • @roelgritter
    @roelgritter 3 года назад +1

    Very good tutorial

  • @Drxxx
    @Drxxx 3 года назад +1

    Great video

  • @abundance1146
    @abundance1146 3 года назад +1

    great knowledge

  • @Alextremoc
    @Alextremoc 8 месяцев назад +1

    Thanks for your video, so we can "show" decimal numbers by doing some math calculation?

    • @OnosTech
      @OnosTech  8 месяцев назад

      Yes we can.

  • @lucassegoviaolan5370
    @lucassegoviaolan5370 2 года назад +1

    Thank you for sharing this is very helpful, I'm testing this module with 4-20mA sensor and arduino uno, The reading are ok, voltage increases as the pressure in the sensor also increases, but in the readings with arduino a kind of noise is getting to the board, for example from when reading voltage 202 - 203, or when it raises to 205 - goes back to 202, and it is ramdom, What can I do, de arduino is powered with same 12vdc power supply as the module, and the sensor is with a 24vdc power supply. Thanks in advance!!

    • @OnosTech
      @OnosTech  2 года назад

      I am very sorry for replying late. The module power range is between 7 to 36V. Try any voltage within this range. If possible try to bring down the Arduino power supply voltage to a minimum of 6V and see how it goes.

  • @bartolototaro1057
    @bartolototaro1057 2 года назад +1

    What do you things about a project with arduino generate 4-20mA to open and close a valve. grazie

    • @OnosTech
      @OnosTech  2 года назад

      It is a great idea!

  • @isaacbalogun256
    @isaacbalogun256 3 года назад +1

    love this

    • @OnosTech
      @OnosTech  3 года назад

      I am glad you do!

  • @karte2626
    @karte2626 3 года назад +1

    Hi Onos:
    It would be great you make a video about "PIC Configuration Bits". Regarding to PIC16F887 and PIC18F4520.
    Great Videos btw

    • @OnosTech
      @OnosTech  3 года назад

      Okay

    • @karte2626
      @karte2626 3 года назад +1

      @@OnosTech Great!!! Thank you!!!

  • @heppyarifrahman6502
    @heppyarifrahman6502 Год назад

    If i just want to display with dmd, can you show Me the connection to Arduino uno? Tanks

  • @Alextremoc
    @Alextremoc 8 месяцев назад

    I downloaded the ladder and I when I compile it it says "Variable 'press_dot' not assigned to, e.g. with MOV statement, an ADD statement, etc. This is probably a programming error; it Will always be Zero"
    I think press_dot is not assigned to any math calculation

  • @michaelgraff6978
    @michaelgraff6978 Год назад +1

    Why not use a resistor and if you are worried a zener to clamp maximum? You don’t need a module to convert current to voltage.

    • @OnosTech
      @OnosTech  Год назад

      That can also be done. But the purpose of the video is to minimize or eliminate soldering for those that cannot solder and to provide perspective on field instrumentation zero and span calibration.

    • @9wattd
      @9wattd Год назад +1

      I think, if resistor 250 ohm burnt out or connection loose at this point, microcontroller will get 24 VDC from sensor and make microcontroller burnt out too. SO this module may protect this issue.

  • @maryjones5883
    @maryjones5883 3 года назад +1

    well done

  • @babunandha7955
    @babunandha7955 Год назад

    very nice demo, any one know which company in china makes this module, i need schematic circuit to understand well

  • @mbinacedric3566
    @mbinacedric3566 2 года назад +1

    what's the name of the your current source please ? I need to find one.

    • @OnosTech
      @OnosTech  2 года назад

      Follow this link. s.click.aliexpress.com/e/_AqqxZc
      Links to other items are in the description.

  • @AndreRamos-k6n
    @AndreRamos-k6n Год назад

    Very good

  • @mbinacedric3566
    @mbinacedric3566 2 года назад +1

    i want to use esp32 instead of nano, but 12v is too much for the esp32(3,3v max) . What can i do?

    • @OnosTech
      @OnosTech  2 года назад +1

      Connect DC 7~35V to the 4-20mA module, then calibrate its VOUT to 3.3V. Use a DC-DC converter to step down the DC 7~35V to 3.3V for the ESP32

    • @mbinacedric3566
      @mbinacedric3566 2 года назад

      @@OnosTech do the vcc absolutely need to be connected to the esp32 or just the vout and gnd ?

    • @OnosTech
      @OnosTech  2 года назад +1

      Connect just the Vout and the GND to the ESP32

    • @mbinacedric3566
      @mbinacedric3566 2 года назад +1

      @@OnosTech ok thank you

    • @mbinacedric3566
      @mbinacedric3566 2 года назад

      @@OnosTech ok thank you! i'm powering the module and the sensor with the same 24V, is it ok ?

  • @karte2626
    @karte2626 3 года назад +1

    Cool!!!

  • @albertosacco9380
    @albertosacco9380 2 года назад +1

    Thanks

    • @OnosTech
      @OnosTech  2 года назад

      You are welcome!

  • @ozankavci
    @ozankavci Год назад +1

    Thankyou

    • @OnosTech
      @OnosTech  Год назад

      You’re welcome 😊

  • @mbinacedric3566
    @mbinacedric3566 2 года назад +1

    won't the 12v enter into the nano and damage it ?

    • @OnosTech
      @OnosTech  2 года назад +1

      The Nano Vin pin can operate with voltage range of DC 7~12V

  • @cornsoup169
    @cornsoup169 2 года назад +1

    Do we have to use the arduino?

    • @OnosTech
      @OnosTech  2 года назад

      You can use a PIC microcontroller as well. If using LDmicro, you can select it from the setting menu. See these links
      ruclips.net/video/7qYqJCZumCQ/видео.html
      ruclips.net/video/BBvsul-KwZ8/видео.html

  • @hanifpnt6248
    @hanifpnt6248 2 года назад +1

    Can i look at the Arduino coding?

    • @OnosTech
      @OnosTech  2 года назад

      The LDmicro code for the video is in the description. Follow the link below to convert it to Arduino code.
      ruclips.net/video/Wcaa8mUf51U/видео.html

  • @mbinacedric3566
    @mbinacedric3566 2 года назад

    the 12v supply is for the module?

    • @OnosTech
      @OnosTech  2 года назад

      Yes please. The module power supply range is DC 7 V ~ 35 V

  • @kwasiben4163
    @kwasiben4163 2 года назад +1

    Nice project please can we have the Arduino code to try it at home

    • @OnosTech
      @OnosTech  2 года назад

      The LDmicro code for the video is in the description. Follow the link below to convert it to Arduino code.
      ruclips.net/video/Wcaa8mUf51U/видео.html

  • @akshayshetty8592
    @akshayshetty8592 2 года назад

    How to make 4/20 mA opreating with out sensor Plc using Arduino nano

    • @OnosTech
      @OnosTech  2 года назад

      I don't currently have the 4/20mA output module

  • @mbinacedric3566
    @mbinacedric3566 2 года назад

    can you share the arduino code for this please?

    • @OnosTech
      @OnosTech  2 года назад +1

      This was done with LDmicro and not with Arduino IDE. I will include it in the discription in you want

    • @mbinacedric3566
      @mbinacedric3566 2 года назад

      @@OnosTech ok , can you share in in LDmicro ?

    • @OnosTech
      @OnosTech  2 года назад

      @@mbinacedric3566 Link to LDmicro and Hex files:
      drive.google.com/file/d/1kVk6F1KUyipGDzGkNV4GKncnL0uMS-f5/view?usp=sharing

  • @KHIRD
    @KHIRD 3 года назад +1

    :)

    • @OnosTech
      @OnosTech  3 года назад

      😊😊😊

    • @KHIRD
      @KHIRD 3 года назад

      @@OnosTech 😊😊😊😊😊😊

  • @shakitalohan4282
    @shakitalohan4282 3 года назад

    hola

  • @hashimzafar6105
    @hashimzafar6105 3 года назад +1

    Amazing information

    • @OnosTech
      @OnosTech  3 года назад

      Thanks 😊😊😊

  • @heppyarifrahman6502
    @heppyarifrahman6502 Год назад

    If i just want to display with dmd, can you show Me the connection to Arduino uno? Tanks