I2C Sensors System for PLC Using Microcontroller

Alexander Rahma Angga Dewanta, Djoko Untoro Suwarno


In general, PLCs has digital inputs and outputs system. The PLC additional system for analog input on the PLC is limited to sensor output in the form of a voltage of 1-5V (or 4mA to 20mA current). The development of I2C-based sensor technology is not suitable for PLCs. In this research, an I2C-based sensors system was designed and made that can be connected to the PLC. Data from the I2C sensor is sent to the DM memory in the PLC via RS232 serial communication. The sensor used was an LDR as a light sensor and a BMP180 sensor to measure atmospheric pressure and room temperature. From the experiment, the results of the LDR sensor were 100% successful and the data transmission from the BMP180 sensor was well recognized in the PLC


ADC, Mikrokontroler, Sensor I2C, PLC

Full Text:



Omron, (2008), Data Sheet CJ1W-AD/DA/MAD, OMRON.

Atmel, (2016) , Data Sheet Microcontroler ATmega382/P, Atmel, San Jose

Irazabal, Jean-Marc., Blozis, Steve., (2003), AN10216-01 I2C MANUAL, NXP Semiconductors

Omron. (2008), Sysmac CPM1/CPM1A/CPM2A/CPM2C/SRM1(-V2) Programmable Controller: Programming Manual. Japan: Omron Corporation

Bosch, (2012), Data Sheet BMP180 Digital Pressure Sensor, Bosch Sensortec

Article Metrics

Abstract view : 110 times
PDF - 28 times


  • There are currently no refbacks.