DHT11 reading on SCADA through Arduino OPC server

More
1 year 2 months ago #1559 by arduino2908
arduino2908 created the topic: DHT11 reading on SCADA through Arduino OPC server
I use opc arduino for communication between scada and mega 2560. I have all DI and AI tags and everything is fine. I have an analog temperature sensor for reading the temperature (0.1 mV = 1 C). But now I want to use only a digital sensor such as DHT11 and need some code for the operation of the sensor. I'm not sure how it works now with opc. Do I need to add a DHT11 code in sketch before the OPC code? Do I have to change something to the OPC sketch?

Please Log in or Create an account to join the conversation.

More
11 months 1 week ago #1563 by i.martinez
i.martinez replied the topic: DHT11 reading on SCADA through Arduino OPC server
Just impor your desired library in your sketch and in the callback functions use it to change the values for/to the OPC Items

Hope is helps
All the best
ilde

This is a free product. At the moment, I am not receiving any income or backup for this work. I have invested many hours investigating and programming. If you want to support this work, please, do it at:

PAYPAL: paypal.me/supportmywork

Please Log in or Create an account to join the conversation.