How to optimize the performance of data center with Arduino PLC, Raspberry PLC or ESP32 PLC
4890 Vistas •How to configurate the digital outputs of the 10IOs Digital module using the internal jumpers.
4446 Vistas •How to use the internal jumpers to configurate the digital inputs of a 10IOs digital module
4149 Vistas •How to close an industrial 10IOs module PLC based on Arduino NANO or ESP32
4209 Vistas •How to configurate the relay outputs of an industrial 10IOs Relay module with Arduino NANO or ESP32
4365 Vistas •How to configurate the Relay Inputs of the 10IOs Module PLC based on Arduino NANO or ESP32
4499 Vistas •How to open a 10IOs Digital Module Arduino or ESP32 PLC
4979 Vistas •▷ How to Use the SoftwareSerial library in Arduino for industrial uses (Examples included)
5555 Vistas •▷ Cómo utilizar la librería Softwareserial en Arduino para uso Industrial como un PLC (con ejemplo)
6091 Vistas •How to use an Arduino industrial PLC and Modbus TCP/IP
7051 Vistas •How to connect an HMI Screen using Arduino PLC
6658 Vistas •How to find your perfect Industrial PLC based on Arduino, Raspberry Pi or ESP32
5316 Vistas •Best Software available to program and work with Industrial Shields Panel PC
5301 Vistas •Implement a monitoring system of a solar installation with an Arduino based PLC
4523 Vistas •Unboxing of a TouchBerry, an Industrial Panel PC based on Raspberry Pi
4955 Vistas •Chapter 2: Inputs
5322 Vistas •Capítulo 3: Salidas
5023 Vistas •Capítulo 5: Variables I
4211 Vistas •Capítulo 7: Comunicaciones
4143 Vistas •March 1st of 2021. Product Launch by Industrial Shields®
5755 Vistas •Caso de estudio: invernadero automatizado con PLC Arduino y Panel PC Raspberry Pi
12215 Vistas •Case study: conveyor belt speed control with a frequency inverter and an M-Duino 42+
11371 Vistas •Case study: automatic car wash with an Arduino PLC
11232 Vistas •Datasheet Raspberry PLC Ethernet 21 IOs-OLD
10794 Vistas •Datasheet-M-Duino-21-DALI-OLD
10448 Vistas •Case study: HVAC control for oil immersion cooling with an Arduino PLC
9860 Vistas •Case study: bottle labelling conveyor with an Arduino PLC, an encoder and two stepper motors
9824 Vistas •Case study: automotive production line with an M-Duino PLC and a Panel PC
9792 Vistas •GPRS-GSM Controller User Guide 21+
9685 Vistas •Case study: animal feeding automation with load cells, an M-Duino PLC and a Raspberry Pi Panel PC
9525 Vistas •Datasheet M-Duino 21+ LoRa
9438 Vistas •Case study: greenhouse automation with Arduino PLCs and a Raspberry Pi Panel PC
9357 Vistas •202011 Raspberry PLC Family Datasheet-OLD
9264 Vistas •201910 CE Test Report Industrial Shields
9239 Vistas •Caso de estudio: cinta de etiquetado de botellas con un PLC Arduino, un encoder y dos motores paso a paso
9132 Vistas •202010-Raspberry-PLC-Family-Data-sheet-OLD
8999 Vistas •Caso de estudio: lavado automático de coches con un PLC Arduino
8725 Vistas •20180906 Ardbox Relay User Guide
8695 Vistas •Caso de estudio: vigilancia de intrusión, incendio y gas con un PLC Arduino, Panel PC y MQTT
8560 Vistas •M-Duino-PLUS-Family-User-Guide
8495 Vistas •▷ How to Use the SoftwareSerial library in Arduino for industrial uses (Examples included)
Industrial Shields is a worldwide leader in the use of Industrial Technology based on Open Source licenses using Arduino, Raspberry Pi or other Open Source platforms available in the market.
✅ This video shows a summary of the updated post made by our technical team. You will understand how the softwareserial library for Arduino can be used and what is the difference between softwareserial.h and hardwareserial.h.
You can see the post on the link below:
https://www.industrialshields.com/blog/arduino-industrial-1/post/usando-la-libreria-software-serial-en-plcs-de-industrial-shields-99
-------
Other interesting links:
Join the Channel:
https://www.youtube.com/channel/UCdQn1Fwb-yc6UvQD_V-KJkA
Free Arduino course::
https://www.industrialshields.com/programming-arduino-on-industrial-environments-course-10-chapters
Arduino Industrial Controller(Arduino based PLC):
ARDBOX Family:
https://www.industrialshields.com/industrial-plc-based-on-arduino-original-boards-automation-solutions-20ios
ETHERNET Family:
https://www.industrialshields.com/industrial-plc-based-on-arduino-original-boards-automation-solutions
SUMMARY of the post:
What is Arduino Serial Communication and How to use it.
There are different types of Serial Communications. When you use an Arduino board in a project, you can choose the standard Serial pins such as Rx, Tx, from the UART inside the Arduino board, so it is called Serial TTL. In that case, you will use the Hardwareserial.h library but there are some additional pins that can work as an Rx or Tx. For example, the SPI communication pins can work as a MISO, MOSI and Select (SC), but they are also pins that can work as a digital input or digital output, or if you need you can use those pins as Rx, Tx using the library softwareserial.h.
Serial communications allow you to connect two different devices sending and receiving data between them.
The Serial TTL port can be transformed as required in the Industry as a RS232 and as a RS485. When RS232 is used, the functionality is quite similar to working as Serial TTL but, if you work with RS485, you can configure a network using a Master device that is capable of connecting to Slave devices. So the number of devices has been increased from 2 to 32 devices (nodes). And the maximum distance between them can be up to 1220m if the wiring is well done and EMC compliant and electrical noise is avoided.
To sum up, if you are using the UART serial port from the Arduino or from the Arduino based PLC for Industrial projects, the use of other pins working as a Serial TTL can help you with the successful development of your project. So, that additional serial port must be programmed using softwareserial.h library.
If the hardwareserial library can not be used because you need to use a communication protocol that requires the use of a physical UART instead of a virtual serial port, then, you could convert the RS232 or RS485 standard from the device to a Serial TTL. (This example will be shown in another post).
In this post, we explain the advantage of the SoftwareSerial library to simulate a serial port through Software (virtual serial TTL) using the Arduino IDE.
-------------------------------------------------- -------------------------------------------------- --------------------------------------------
📌 Please see our official website for more information about our products: https://www.industrialshields.com/
-------------------------------------------------- -------------------------------------------------- --------------------------------------------
📚 Check out our blog for more information and examples: https://www.industrialshields.com/blog/arduino-industrial-1
☑️ Follow us on Twitter: https://twitter.com/indshields
☑️ Follow us on Facebook: https://www.facebook.com/industrialshields/
☑️ Follow us on Linkedin: https://es.linkedin.com/company/industrialshields
No se permite comentar en este curso.