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…

Read More Read More

Command Line Arduino library

Command Line Arduino library

Requirements Arduino IDE: http://www.arduino.cc  (v 1.8.0 or above) CmdLine library: https://github.com/IndustrialShields/arduino-CmdLine   Installation https://www.arduino.cc/en/Guide/Libraries#toc4   Description Add a command line utility to the Arduino. You can type customizable commands to the Arduino board through a Serial port to execute functions. For example, you can add a command “set-ip 192.168.1.10” to set the PLC IP address. Of course, you MUST implement the function which sets the IP address.   Example You MUST define a set of commands with the associated functions…

Read More Read More

HOW TO UPLOAD A SKETCH TO A MDUINO/ARDBOX USING THE COMMAND LINE. LINUX

HOW TO UPLOAD A SKETCH TO A MDUINO/ARDBOX USING THE COMMAND LINE. LINUX

In this post it will be seen how to upload a sketch using the command line instead of using Arduino IDE. This is an introduction for a newer post in which we will show how to upload remotely a sketch using the command line. Without further delay we will see how this process can be achieved. First of all we need to know that for uploading a sketch using the command line it is necessary to use the program avrdude….

Read More Read More

How to upload a sketch to a MDuino/Ardbox using the command line. Windows

How to upload a sketch to a MDuino/Ardbox using the command line. Windows

In this post it will be seen how to upload a sketch using the command line instead of using the Arduino IDE. This is an introduction for a newer post in which we will show how to upload remotely a sketch using the command line. Without further delay we will see how this process can be achieved.  First of all we need to know that for uploading a sketch using the command line it is necessary to use the program…

Read More Read More

2ND STEP TO CREATE A TCP CLIENT ON A TOUCHBERRY PI 3. CREATING A TCP CLIENT USING NODE.JS

2ND STEP TO CREATE A TCP CLIENT ON A TOUCHBERRY PI 3. CREATING A TCP CLIENT USING NODE.JS

On this post it showed how to implement a TCP server on Touchberry Pi 3 The requirements of this post is just a Touchberry Pi with internet connection. To get the Node.js JavaScript interpreter we need to install the command cURL on our Linux. cURL command is  very useful for HTTP/S requests. To get the cURL we just need to type on the Linux Terminal: sudo apt-get install curl   Once there is the cURL installed we can download the node source typing…

Read More Read More

Serial Communication between Raspberry and MDuino/Ardbox

Serial Communication between Raspberry and MDuino/Ardbox

In this post it will be shown how to communicate using the serial between a MDuino/Ardbox and a Raspberry Pi. It actually exists many ways on communicating between this two devices, but today we will focus on see how to do it using the Serial. Serial communication is actually one of the easiest way to communicate. It only uses two wires to achieve that, Rx & Tx. One wire is to send(Tx) and the other is for receiving(Rx). To stablish…

Read More Read More

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 avoid the debouncing when reading a digital input. Library Tools40 Digital Filter

How to avoid the debouncing when reading a digital input. Library Tools40 Digital Filter

In this post it will be shown how to ensure the reading of a digital input using our library Tools40. This library has been developed by Industrial Shields. For more information, check the information of this library in the following post: Tools40 library, useful tool using our equipments First of all it is important to know the purpose of our digital filter. Basically it filters the debounces when a digital input changes from HIGH to LOW or vice versa. When…

Read More Read More

Review + new documentation of the Ardbox Analog HF

Review + new documentation of the Ardbox Analog HF

In this post it will be seen a review of the PLC Arduino ARDBOX 20 I/Os Analog HF Modbus. The guide of the PLC Arduino ARDBOX 20 I/Os Analog HF Modbus on our website is already uploaded into the 7.1 version. The User Guide now is for the HF version, so it exists now the possibility of taking all the information of the PLC Arduino ARDBOX 20 I/Os Analog HF Modbus from there.   It will be shown a little introduction…

Read More Read More

How to use RS232 on Industrial Arduino Based PLC

How to use RS232 on Industrial Arduino Based PLC

On this post it’s showed how to use RS232 on an Arduino based PLC of Industrial Shields. To use RS232 is required the next points: Industrial Shields equipment (not any Ardbox HF version) Industrial Shields boards installed, follow this older post to install it. Hardware Configuration The first step is configure the hardware. The right connections between the desired devices are showed below: Industrial Shields PCL RS232 Device RX TX TX RX GND GND   Also it’s important to have…

Read More Read More