Тёмный

How to Interface Industrial Sensors with Arduino Nano 

OnosTech
Подписаться 6 тыс.
Просмотров 51 тыс.
50% 1

A 4 to 20 mA current to voltage converter module was used to interface a temperature transmitter with Arduino Nano. The temperature reading is then displayed on a serial Liquid Crystal Display. A current source was used to calibrate the converter module. The module can also interface pressure, level, flow transmitters, etc.
CHAPTER
1. Introduction 00:00
2. 4-20mA Signal transmission 00:16
3. 4-20mA Current-Voltage Converter Module 01:31
4. Checking the 4-20mA Current Source Performance 02:21
5. Calibration of the Current-Voltage Converter Module 03:08
6. Display Current Source Reading on Serial LCD 04:00
7. Display 0 -100 Degree C Temperature Transmitter on Serial LCD 04:39
8. Conclusion 06:09
Link to LDmicro and Hex files:
drive.google.com/file/d/1kVk6...
See these Tutorials if you are new to LDmicro Programming
LDmicro 3: PIC16F628A & Arduino Nano
• LDmicro 3: PIC16F628A ...
LDmicro 6: Arduino nano Breadboard Circuit
• LDmicro 6: Arduino nan...
Link to LDmicro Tutorial 10 - Incubator Temperature Regulator:
• LDmicro 10: Incubator ...
Link to LDmicro Tutorial 11 - Serial LCD Temperature Controller:
• LDmicro 11: Serial LCD...
LDmicro Tutorial 12: Arduino Boards without
• LDmicro 12: Arduino Bo...
Buy Items for this video at low and no additional cost from Aliexpress with these links.
1. 4-20mA Current to Voltage Converter Module:
s.click.aliexpress.com/e/_AUoOgH
2. 4-20mA Current Signal Source
s.click.aliexpress.com/e/_AqqxZc
3. Arduino Nano V3.0
s.click.aliexpress.com/e/_9jqWWa
4. Terminal Adapter Board For Arduino Nano
s.click.aliexpress.com/e/_9Rz1kE
5. 0-100 Degree Celsius PT100 4-20mA Temperature sensor
s.click.aliexpress.com/e/_ApTb3g
6. LCD Digital Multimeter
s.click.aliexpress.com/e/_AURrkS
7. Jumper Wire
s.click.aliexpress.com/e/_A7zCFy
8. Mini Breadboard
s.click.aliexpress.com/e/_AXo5me
9. Power Supply
s.click.aliexpress.com/e/_ACIMRk

Опубликовано:

 

29 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 104   
@arturnowakowski6843
@arturnowakowski6843 3 года назад
As always, a mine of knowledge. 👍👌
@OnosTech
@OnosTech 3 года назад
Thanks
@rishaalramdeen2112
@rishaalramdeen2112 Год назад
Wonderfull presentation, Clear and consise. Thank you
@OnosTech
@OnosTech Год назад
Thanks
@foskolo
@foskolo 2 года назад
Great description! Thanks!
@OnosTech
@OnosTech 2 года назад
Glad it was helpful!
@scientifiko4246
@scientifiko4246 2 года назад
Your videos are really good. Well explained.
@OnosTech
@OnosTech 2 года назад
Glad you like them!
@wallstreet497
@wallstreet497 7 месяцев назад
Very good and concise presentation straight to the point.
@OnosTech
@OnosTech 7 месяцев назад
Thanks!
@NGTLounge
@NGTLounge Год назад
Thanks a ton you have saved me a lot of time
@OnosTech
@OnosTech Год назад
That is great!
@nwaudonaquilaokonta9307
@nwaudonaquilaokonta9307 3 года назад
Great tutorial
@OnosTech
@OnosTech 3 года назад
Thank you!
@rushikeshkumawat1361
@rushikeshkumawat1361 Год назад
Thank you very much 👍 You save my time a lot. 👍👌👌
@OnosTech
@OnosTech Год назад
I am glad it is helpful.
@abundance1146
@abundance1146 3 года назад
great knowledge
@OnosTech
@OnosTech 3 года назад
😊😊😊
@roelgritter
@roelgritter 3 года назад
Very good tutorial
@OnosTech
@OnosTech 3 года назад
Thanks
@hashimzafar6105
@hashimzafar6105 3 года назад
Amazing information
@OnosTech
@OnosTech 3 года назад
Thanks 😊😊😊
@listriklistrikpurwokerto3332
@listriklistrikpurwokerto3332 3 года назад
Good content about industri aplication 👍👍👍👍👍💪💪💪💪
@OnosTech
@OnosTech 3 года назад
I am glad to you like it
@isaacbalogun256
@isaacbalogun256 3 года назад
love this
@OnosTech
@OnosTech 3 года назад
I am glad you do!
@lucianodipaolo2428
@lucianodipaolo2428 3 года назад
ciao questo tutorial e' veramente interessante , complimenti
@OnosTech
@OnosTech 3 года назад
Thanks
@sheleyrobpn7892
@sheleyrobpn7892 3 года назад
prefect video for me
@OnosTech
@OnosTech 3 года назад
Thanks
@Drxxx
@Drxxx 3 года назад
Great video
@OnosTech
@OnosTech 3 года назад
Thanks!
@maryjones5883
@maryjones5883 3 года назад
well done
@OnosTech
@OnosTech 3 года назад
Thanks
@ozankavci
@ozankavci 10 месяцев назад
Thankyou
@OnosTech
@OnosTech 10 месяцев назад
You’re welcome 😊
@albertosacco9380
@albertosacco9380 2 года назад
Thanks
@OnosTech
@OnosTech 2 года назад
You are welcome!
@user-nh4pq2rs2h
@user-nh4pq2rs2h Год назад
Very good
@OnosTech
@OnosTech Год назад
Thanks
@karte2626
@karte2626 3 года назад
Cool!!!
@OnosTech
@OnosTech 3 года назад
😀😊😎
@chirots
@chirots 2 года назад
Best out of all
@OnosTech
@OnosTech 2 года назад
Thanks
@chirots
@chirots 2 года назад
@@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
@AMbrosWorkshopTips
@AMbrosWorkshopTips 2 года назад
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.
@karte2626
@karte2626 3 года назад
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 года назад
@@OnosTech Great!!! Thank you!!!
@babunandha7955
@babunandha7955 10 месяцев назад
very nice demo, any one know which company in china makes this module, i need schematic circuit to understand well
@lucassegoviaolan5370
@lucassegoviaolan5370 2 года назад
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.
@simonl7784
@simonl7784 2 года назад
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.
@heppyarifrahman6502
@heppyarifrahman6502 Год назад
If i just want to display with dmd, can you show Me the connection to Arduino uno? Tanks
@johanwithag2432
@johanwithag2432 Год назад
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 Год назад
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 Год назад
@@OnosTech Thanks for the reply.
@user-db6hh9ui3o
@user-db6hh9ui3o 5 месяцев назад
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
@TS-gi8zm
@TS-gi8zm Год назад
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 Год назад
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
@user-db6hh9ui3o
@user-db6hh9ui3o 5 месяцев назад
Thanks for your video, so we can "show" decimal numbers by doing some math calculation?
@OnosTech
@OnosTech 5 месяцев назад
Yes we can.
@bartolototaro1057
@bartolototaro1057 Год назад
What do you things about a project with arduino generate 4-20mA to open and close a valve. grazie
@OnosTech
@OnosTech Год назад
It is a great idea!
@Alvin-Sy
@Alvin-Sy Год назад
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 Год назад
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: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-qxcVWX-BqUo.html No. 2 works better. Which of the modules do you have?
@Alvin-Sy
@Alvin-Sy Год назад
@@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.
@mbinacedric3566
@mbinacedric3566 2 года назад
won't the 12v enter into the nano and damage it ?
@OnosTech
@OnosTech 2 года назад
The Nano Vin pin can operate with voltage range of DC 7~12V
@mbinacedric3566
@mbinacedric3566 2 года назад
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.
@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
@cornsoup169
@cornsoup169 2 года назад
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 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-7qYqJCZumCQ.html ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-BBvsul-KwZ8.html
@akshayshetty8592
@akshayshetty8592 Год назад
How to make 4/20 mA opreating with out sensor Plc using Arduino nano
@OnosTech
@OnosTech Год назад
I don't currently have the 4/20mA output module
@hanifpnt6248
@hanifpnt6248 2 года назад
Can i look at the Arduino coding?
@OnosTech
@OnosTech Год назад
The LDmicro code for the video is in the description. Follow the link below to convert it to Arduino code. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Wcaa8mUf51U.html
@michaelgraff6978
@michaelgraff6978 Год назад
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 Год назад
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.
@mbinacedric3566
@mbinacedric3566 2 года назад
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 года назад
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 года назад
Connect just the Vout and the GND to the ESP32
@mbinacedric3566
@mbinacedric3566 2 года назад
@@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 ?
@kwasiben4163
@kwasiben4163 Год назад
Nice project please can we have the Arduino code to try it at home
@OnosTech
@OnosTech Год назад
The LDmicro code for the video is in the description. Follow the link below to convert it to Arduino code. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Wcaa8mUf51U.html
@mbinacedric3566
@mbinacedric3566 2 года назад
can you share the arduino code for this please?
@OnosTech
@OnosTech 2 года назад
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 года назад
:)
@OnosTech
@OnosTech 3 года назад
😊😊😊
@KHIRD
@KHIRD 3 года назад
@@OnosTech 😊😊😊😊😊😊
@shakitalohan4282
@shakitalohan4282 3 года назад
hola
@OnosTech
@OnosTech 3 года назад
Hi
@heppyarifrahman6502
@heppyarifrahman6502 Год назад
If i just want to display with dmd, can you show Me the connection to Arduino uno? Tanks
Далее
How to Build LDmicro Arduino PLC (Part 1)
5:29
Просмотров 21 тыс.
Документы для озокомления😂
00:24
4-20mA Industrial Pressure Sensor, Arduino IoT
29:34
Просмотров 38 тыс.
Different Ways for Measuring Current With Arduino
13:32
Introduction to 4-20-mA current loop transmitters
15:57
#419 ESP32 Audio Tutorial with lots of examples
13:48
Просмотров 237 тыс.
Industrial Pressure Sensor - Arduino
26:35
Просмотров 64 тыс.
LOW COST ARDUINO NANO PLC
10:44
Просмотров 4,6 тыс.
Документы для озокомления😂
00:24