Forum Tiny Control Solution
sdm72 with tinycontrol gsm - Wersja do druku

+- Forum Tiny Control Solution (https://forum.tinycontrol.pl)
+-- Dział: Kontrolery GSM (https://forum.tinycontrol.pl/forumdisplay.php?fid=29)
+--- Dział: GSM kontroler GSM (https://forum.tinycontrol.pl/forumdisplay.php?fid=5)
+--- Wątek: sdm72 with tinycontrol gsm (/showthread.php?tid=2583)



sdm72 with tinycontrol gsm - Peter Xing - 11-20-2022

Hi, 

I am trying to use Tinycontrol GSM 4.2     HW=1.0, SW=1.27

Using this modbus connected to SDM72

https://aws1.discourse-cdn.com/arduino/original/4X/8/0/f/80f64678793fad208b7a4f3a169aa6345937953a.jpeg
I used Serial port (tried swap)
Serial RX ---- to DI
Serial TX ---- to RO
Serial 3.3V ---- to VIN
Serial GND ---- to GND

and SDM72 A to A, B to B. 

Kod:
usartsensor=4
mqttselect from 35 to 44


it seems OK, even on SDM72 I can see "phone" icon that it communicates, but I always get 0 values
Kod:
Client (null) received PUBLISH (d0, q0, r0, m0, 'device1/se1', ... (5 bytes))
device1/se1 0.000
Client (null) received PUBLISH (d0, q0, r0, m0, 'device1/se2', ... (5 bytes))
device1/se2 0.000
Client (null) received PUBLISH (d0, q0, r0, m0, 'device1/se3', ... (5 bytes))
device1/se3 0.000
Client (null) received PUBLISH (d0, q0, r0, m0, 'device1/se4', ... (5 bytes))
device1/se4 0.000
Client (null) received PUBLISH (d0, q0, r0, m0, 'device1/se5', ... (5 bytes))
device1/se5 0.000
Client (null) received PUBLISH (d0, q0, r0, m0, 'device1/se6', ... (5 bytes))
device1/se6 0.000
Client (null) received PUBLISH (d0, q0, r0, m0, 'device1/se7', ... (5 bytes))
device1/se7 0.000
Client (null) received PUBLISH (d0, q0, r0, m0, 'device1/se8', ... (5 bytes))
device1/se8 0.000
Client (null) received PUBLISH (d0, q0, r0, m0, 'device1/se9', ... (5 bytes))
device1/se9 0.000
Client (null) received PUBLISH (d0, q0, r0, m0, 'device1/se10', ... (5 bytes))
device1/se10 0.000


when I try modbusread I get

Kod:
modbusread=0 0


I just need current power, not sure what exactly those 10 values are, but I hoped one of them is current power on all phases. 

I also have made test and with USB-modbus converter I was able to read data from SDM72 with Python


Any help appreciated. 
Thank you.


RE: sdm72 with tinycontrol gsm - notek - 11-25-2022

This converter will not work, it need additional pin for control transmission direction.
We use other converter like here:
https://tinycontrol.pl/pl/accessories/boards/modbus-rtu/
I will check GSM with SMD72 with latest firmware and let you know.


RE: sdm72 with tinycontrol gsm - Peter Xing - 11-29-2022

(11-25-2022, 04:06 PM)notek napisał(a): This converter will not work, it need additional pin for control transmission direction.
We use other converter like here:
https://tinycontrol.pl/pl/accessories/boards/modbus-rtu/
I will check GSM with SMD72 with latest firmware and let you know.

thank you, I will buy that module, but please let me know about wiring. As I understand tinycontrol GSM doesn't have such port as LAN controler


RE: sdm72 with tinycontrol gsm - Peter Xing - 12-11-2022

(11-25-2022, 04:06 PM)notek napisał(a): This converter will not work, it need additional pin for control transmission direction.
We use other converter like here:
https://tinycontrol.pl/pl/accessories/boards/modbus-rtu/
I will check GSM with SMD72 with latest firmware and let you know.

hi, please any update ? 
I have not module for LAN but no idea how to connect it
Thanks,