Browsed by
Categoría: Ethernet PLC (M-Duino)

Mduino blog information

Industrial shields Mockup contest on IoT solutions world congress Barcelona

Industrial shields Mockup contest on IoT solutions world congress Barcelona

On this post is showed our mockup on the IOT world congress in Barcelona. This mockup consists on contest game to get a free PLC. The application count the maximum speed that the user can make turn the encoder. Then through Ethernet UDP client can send a char to the panel PC Touchberry Pi 3 10” and showed on the touch screen. Also users enter their name and e-mail to receive future information and participate with free PLC contest. For…

Leer más Leer más

M-DUINO 19R/38R/57R PLUS VERSION MAPPING

M-DUINO 19R/38R/57R PLUS VERSION MAPPING

On this post it is showed the M-Duino mapping pin of the PLUS version. On the future, using our boards it won’t be necessary to know the mapping. But until the boards are not updated it is necessary to know it for programming the M-Duino PLUS version.  M-Duino PLUS 19R/38R/57R Communication Area: Base (common unit) A Zone M-DUINO Connector Arduino Pin Function SCL 21 I2C/SS SDA 20 I2C/SS RX0 1 RX0/SS TX0 0 TX0/SS RX1 19 RX1/SS TX1 18 TX1/SS RX…

Leer más Leer más

M-DUINO 38AR I/OS PINOUT

M-DUINO 38AR I/OS PINOUT

M-DUINO 38AR I/OS PLC has different types of Inputs and Outputs. It has 19 input/output signals: 19 Inputs, of which: 10 can be used as Analog Input 0-10Vdc, 10bits,(using Pins A0, A1, A2, A3, A4, A5, A6, A7, A8, A9). All of them can also be used as Digital Inputs. 4 are Digital Input which can work as a Interrupt Input also. (using Pins 2, 3, 18, 19). 5 are Digital Input (using Pins 22, 23, 24, 25, 26). 19 Outputs, of which: 5 are Digital Output (Using Pins…

Leer más Leer más

RTC test on M-DUINO PLUS version

RTC test on M-DUINO PLUS version

In this post is showed how to test RTC (Real Time Clock) on M-Duino PLUS version.  First it is required to install Timelib library and DS1307RTC library. Once these libraries are intalled you can proceed uploading this sketch on your M-Duino PLUS version:

RS-485 TEST ON M-DUINO PLUS

RS-485 TEST ON M-DUINO PLUS

In this post it is showed how to test the RS-485 on M-Duino PLUS version. The first thing that you need to know is that the  RS-485 PLUS version have full and half duplex communication. Controlling the dip switch you must select if you want to work on full or half duplex. There is internally installed a half duplex MAX485 and MAX485 transmitter. If you are working on full duplex you will use the MAX485 half duplex to receive data and MAX485…

Leer más Leer más

Ethernet test on M-Duinos PLUS version

Ethernet test on M-Duinos PLUS version

In this post it is showed how to test Ethernet communication on M-Duino PLUS version.  It’s necessary to install Arduino Ethernet2 library. See more infromation about Ethernet library functions on Arduino Reference. Connecting an M-Duino to a router through Ethernet and uploading the test sketch, the M-Duino is able to complete the test.   Next is showed the code:

RS-232 Test on M-Duino PLUS

RS-232 Test on M-Duino PLUS

In this post it is showed how to test the RS-232 M-Duino PLUS version. Connecting an M-Duino with other equipment through RS-232. On the code is showed that you must send a 0xA5 thought RS-232 to complete this test. Next is showed the code: ///////////////////////////////////////////////////////////////////////////// void setup() { Serial.begin(9600L); Serial.println(“mduino-plus test RS-232 started”); Serial2.begin(9600L); } ///////////////////////////////////////////////////////////////////////////// void loop() { while (Serial2.available()) { Serial2.read(); } Serial2.write(0xa5); delay(50); if (Serial2.read() == 0xa5) { Serial.println(“RS232 (Serial2) OK”); } else { Serial.println(“RS232 (Serial2) FAIL”);…

Leer más Leer más

M-Duino 21/42/58 PLUS version Mapping

M-Duino 21/42/58 PLUS version Mapping

On this post it is showed the M-Duino mapping pin of the PLUS version. On the future, using our boards it won’t be necessary to know the mapping. But until the boards are not updated it is necessary to know it for programming the M-Duino PLUS version. 

M-DUINO RELAY

M-DUINO RELAY

The M-DUINO RELAY is a PLC based on Open Source Hardware including Arduino Mega board. It has a 16MHz crystal oscillator and a micro USB connection.   Power This PLC can be powered at 12 – 24Vdc   Memory The M-DUINO RELAY has 256KB (8KB used for the bootloader). It also have 8KB of SRAM and 4KB of EEPROM (Wich can be read and written with the EEPROM library) all from the Arduino Mega.