Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
sdm72 with tinycontrol gsm
#1
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/o...7953a.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.


Załączone pliki Miniatury
   
Odpowiedz
#2
This converter will not work, it need additional pin for control transmission direction.
We use other converter like here:
https://tinycontrol.pl/pl/accessories/bo...odbus-rtu/
I will check GSM with SMD72 with latest firmware and let you know.
<t></t>
Odpowiedz
#3
(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/bo...odbus-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
Odpowiedz


Skocz do:


Użytkownicy przeglądający ten wątek: 1 gości