Good Morning
I am an beginer into the World of industrial PiCore usage, I have an system that is dedicated build for factory line work, I had been tried to use Node - Red to communicate with the Rev PI core and with the GSM module to try to send an text over from the node red directly to an outside user user the GSM module with an pre paid sim to send an message over, I had no idea where I went wrong besides the obvious output error message of the MQTT not connecting but in think there an issues overall with the system connection between all of the hardware. I had added the code bellow. My questions are : Are there an need of an specific driver for the system to communicate, can PNOZ software be used to allow the pilz module to communicate with the Rev PI and therefore the Rev Pi to communicate with the GSM module to send the message over.
RevPi Core 3 with Pilz module and GSM module
Re: RevPi Core 3 with Pilz module and GSM module
Dear rudr, I have attached the Node-RED code and made a picture out of it so that we have an overview.
I think your idea to use Node-RED is a great idea here because of the simplicity and ease of understanding. So I have understood that you want to sent SMS via this GSM module, right? The GSM module has a serial interface.
1) Start without Node-RED. Start with a serial terminal, i.e. Minicom
2) If the SMS sending works with the serial terminal then go over to Node-RED
3) If this works you can connect the MQTT.
4) Connect the PNOZ using a Modbus-TCP connection. See Tutorial 20 – Modbus TCP Master
I think your idea to use Node-RED is a great idea here because of the simplicity and ease of understanding. So I have understood that you want to sent SMS via this GSM module, right? The GSM module has a serial interface.
1) Start without Node-RED. Start with a serial terminal, i.e. Minicom
2) If the SMS sending works with the serial terminal then go over to Node-RED
3) If this works you can connect the MQTT.
4) Connect the PNOZ using a Modbus-TCP connection. See Tutorial 20 – Modbus TCP Master
- Attachments
-
- flows.zip
- Flow
- (2.78 KiB) Downloaded 713 times