Browsed by
Tag: ethernet

1st step to create a TCP client on a Touchberry Pi 3. Setting an static IP Address

1st step to create a TCP client on a Touchberry Pi 3. Setting an static IP Address

In this post it will be shown how it is set an static ip for the Raspberry. By default the Raspberry Pi is automatically set to obtain an IP address from a wired or wireless network. Then why do we want an static IP if the Raspberry automatically sets already one? The answer is because we need to have the same exact IP, not an automatic one. The reason of being automatic makes that the IP can be different each…

Read More Read More

HOW TO UPLOAD A SKETCH USING ETHERNET.

HOW TO UPLOAD A SKETCH USING ETHERNET.

In this post it will be shown how to proceed in order to upload a sketch using the Ethernet instead of using the tipical Serial (USB). This is really useful in order to upload a sketch being far from the Arduino board. This post is been prepared for upload a code using Linux and using Windows. This process is a bit long and for this reasons it has been divided in the 3 big parts. 1.How to install the Ariadne…

Read More Read More

UPLOADING A SKETCH TO A PLC USING ETHERNET. STEP 3. TFTP CLIENT

UPLOADING A SKETCH TO A PLC USING ETHERNET. STEP 3. TFTP CLIENT

In this post it will be seen how to send the binary file of an sketch into Arduino using Ethernet with tftp Client. Furthermore it is needed to use Telnet in order to do a remote reset. As in the step 2 of this process this post will be divided in two different parts. One for sending the binary file using Windows and the other using Linux.   Windows For sending an sketch using the tftp Client it is need…

Read More Read More

Real time electrical consumption monitoring with M-Duino

Real time electrical consumption monitoring with M-Duino

In this Project, we will show you how to read electrical consumption using Modbus communication. Modbus is an industry standard communications protocol for electronic device Hardware I: Equipment to be used The electrical consumption monitoring system consists of: An M-Duino PLC: This controller is the heart of the system. It controls the display, generates interrupts, and controls the communication. A Panel PC: Used to read on the status of a counter and display the graph of monthly consumption over the Panel…

Read More Read More

How to Modbus-Ethernet

How to Modbus-Ethernet

Modbus is a Serial communications protocol and it is used for communicating with several industrial devices. It may run over RS485, Ethernet, or whatever hardware interface. If we have an ethernet connection between a lot of devices, we can use this hardware connection (eth), and over it, we can use our own protocol (custom protocol,…), or for instance, Modbus protocol. The way is the same as using RS485, but hardware connections will become much easier, the speed will be higher, and…

Read More Read More

Ethernet Arduino PLC. How to connect M-duino PLC to Ethernet

Ethernet Arduino PLC. How to connect M-duino PLC to Ethernet

Importat!! This is an old post. ENC28J60 is not used anymore since 2015. You have to install our boards to use Ethernet communication.    M-duino PLC is using an ENC28J60 chip in order to connect to Ethernet. You can choose two libraries in order to connect all M-duino family products UIPEthernet: you can find in Gitub. It uses the same functions as the Official Arduino Ethernet Shield. EtherCard: You can find this documentation and libraries in the Jeelabs website. You need to import all libraries: Sketch /…

Read More Read More