Digital Loggers

Using Arduino with the PLC


This page explains loading the Arduino environment.  Click here for hardware information.


1. Download the correct Arduino compiler.  Install.  If you already have an existing Arduino installation, delete or move any library files to avoid conflicts.

NOTE:  1.8+ is recommended.


2.  After installation, start Arduino and select Board: "...Mega 2560":



Connect power to the PLC.  Accidentally reversing the polarity won't harm  the PLC.  Connect a USB cable to the PLC.  After automatic driver installation completes, select the  the COM port assigned to the device name "Mega 2560" in the Tools menu. 


3. Load the simple "blink" example:


Click on the .ino sketch file. Allow Arduino to move the file if it asks.   Click the circular right arrow button.  You're good to go.  You can now replace blink with your own code.


4. Like to revert back to the demo?  Load  the version 2 factory demo code from GitHub...   Don't allow Arduino to auto-update drivers.  Use the fully tested driver package from GitHub.

Arduino board definition file instructions are here.


Click pldunio_firmware.ino to open the factory demo. 

Click the right-arrow under "Edit" to compile, load, and run on the PLC.

Have a look at the sample code from Github.



The Arduino support forum is here.

Have fun with it!


Easy to program. Rugged and reliable. Now in volume production.
Quantity discounts available.
Ships now. Be up and running tomorrow.
Program it to do exactly what you need. Simple Arduino compatible USB programming
Do it with no shields and no mess. All the I/O you'll need. And it's all protected.
Reliable. US design and quality.
Now used to improve HVAC efficiency. What can it do for you?
Cost effective. Priced right.
New! Pre-wired IoT Power Relay Connects directly to any PLC or micro.
Need web control without programming? Remotely control, reboot, or sequence power. Simple web interface.
Eight circuits. AutoPing. Programmable. Dependable.






(c) 2017 Digital Loggers, Inc.