Raspberry Pi's value to Rapid Scada

Forum Home Forums Rapid SCADA on Linux Controllers and Raspberry Pi Raspberry Pi's value to Rapid Scada

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #3006
    tyzchild
    Participant

    Hi, my project need me to send Raspberry Pi’s sensor value to SCADA software, which I can’t find a way to do it because the values is from ADS1115 Analogue to Digital converter and not PLC.

    #3010
    Mikhail
    Moderator

    Hi,
    Do you mean that you measure value by GPIO of RPi? In this case, you can use Raspberry Pi 3 Driver available at http://demo.rapidscada.net/plugins/Store/Store.aspx

    #3012
    tyzchild
    Participant

    Hi, The project only required to monitor the values taken from Raspberry Pi, it is not going to control the GPIO pin. I am confused of using Rapid Scada to get the value from Raspberry Pi.

    I am using Raspberry Pi model 3b, and I get the temperature of a room using a temperature sensor, the sensor connecting with a analogue to digital converter then connect to Raspberry Pi.

    I am able to have the values every 10 second, is there a way to send those data to Rapid Scada? Thank you in advance.

    #3016
    Mikhail
    Moderator

    Hi,
    Please provide more information:
    How the sensor is connected to RPi?
    What communication protocol is supported by the sensor?
    Do you use your own software deployed on RPi to get data from the sensor?

    #3017
    tyzchild
    Participant

    Hi,
    1. I have the analogue sensor input to RPi, but RPi needed ADC to convert the sensor input into digital signal, hence the sensor is connected with ADC, and then the ADC connected with RPi. The ADC is connected as shown:
    ADS1x15 VDD to Raspberry Pi 3.3V
    ADS1x15 GND to Raspberry Pi GND
    ADS1x15 SCL to Raspberry Pi SCL
    ADS1x15 SDA to Raspberry Pi SDA

    2. So the sensor values is stored in specified address in RPi, so I can send those values to anywhere freely, hence I am wondering is there any way to direct sending these value to Rapid Scada using python code or is there alternative way? Thank you

    #3018
    Mikhail
    Moderator

    Hi,

    There are different ways to solve you task:

    1. Develop a small driver for Communicator using C# that will read the values.

    2. Create an application that provides the measurements by Modbus, SNMP or MQTT protocols. Then read the data by existing Rapid SCADA drivers.

    3. Send data directly to SCADA-Server by internal protocol of Rapid SCADA based on TCP. I can provide the protocol description.

    #3021
    tyzchild
    Participant

    Hi, I think the 3rd way is more easy for me, can you provide more information or briefly describe what should I do?

    Also I will need to have Rapid SCADA to run on my RASPi, but I only tried it on laptop, so based on Rapid SCADA website, I need to install it on RASPi first, then configure it on laptop and copy certain file to RASPi ? Thank you

    #3022
    Mikhail
    Moderator

    Hi,
    See the implementation and the protocol description. Please use Google Translate for the description.

    I need to install it on RASPi first, then configure it on laptop and copy certain file to RASPi ?

    I think, it’s easier to test the software on desktop first then copy to RPi.

    #3038
    tyzchild
    Participant

    Hi, acutally, I am just going to use the Raspi alone to read values and host Rapid Scada server, so in this case,is it using the first way to do it will be better?

    #3039
    Mikhail
    Moderator

    Hi,
    Choose the way that is more easy for you according to your experience and skills.

    #3980
    brandy65
    Participant

    Hi, I have been doing something same by using ADS1115 https://store.ncd.io/product/ads1115-16-bit-4-channel-precision-analog-to-digital-converter-i2c-mini-module/ sensor which is connected with I2C shield If you need any help with basic code then check out this link (for a single channel)
    https://github.com/ControlEverythingCommunity/ADS1115/blob/master/Python/ADS1115.py

    Hope this might help you.

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.