Navegando por
Etiqueta: ethernet

Ethernet Configuration from EEPROM using the Commandline

Ethernet Configuration from EEPROM using the Commandline

Requirements CmdLine library https://github.com/IndustrialShields/arduino-CmdLine   Description Configure the Ethernet parameters saved in the EEPROM: MAC address and DHCP/IP address. It is used the EEPROM library to store configuration parameters. The ‘cont_t’ structure defines the parameters that will be saved into the EEPROM: type and name. In this case the parameters are used to save the Ethernet configuration, so it is used also the Ethernet library (Ethernet/Ethernet2). *Ethernet for v7 and Ethernet2 for PLUS version. It is possible to add more…

Leer más Leer más

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…

Leer más Leer más

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…

Leer más Leer más

UPLOAD AN SKETCH TO A PLC USING ETHERNET. STEP 3. TFTP CLIENT

UPLOAD AN 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…

Leer más Leer más

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…

Leer más Leer más

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…

Leer más Leer más

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 usa un chip ENC28J60 para conectar mediante Ethernet. Puedes escoger dos bibliotecas para poder conectar todos los productos de la família M-Duino: UIPEthernet: los puedes encontrar en Gitub, que usa las misma funciones que el Shield de Ethernet oficial de Arduino.  EtherCard: en este caso puedes encontrar la documentación y bibliotecas en Jeelabs. Necesitarás importar totas la…

Leer más Leer más