watts-on
Member
- Joined
- May 27, 2017
- Messages
- 198
You may right, it is probably RS232,watts-on said:
watts-on said:Any USB to serial should work fine.
As I said before, I made a lead to go between the serial adapter and the GTIL because I was concerned about pin 9. It may be fine, or it may not, I just didn't want the chance it and fry something.
From memory, I think it was pins 2 to 2, 3 to 3 and 5 to 5. Although it was a while ago and I don't have it set up any more.
kmsj13 said:jkammler said:Hallo,
I also use this unit - and was looking into controlling the output. From what I learned so far :
- My box has a RS232 output, same board as shown in the last post from kmsj13 (the chip is a MAX3232).
- Could confirm the 4 pins being used (pins 2,3,5,9).
- On pin 9 some 12.x volts against pin 5 (ground).
- I can control the power output (Watts) by using a 5kohm poti when connected to the normally not used, open 2 pin socket, in the row of sockets where the externel sensor cable also goes to (see the 2nd picture from 12-31-2017, 12:10 AM, from rolands post, the black and red cable). Did not need to connect anything else to ground so.
- This control is possible only when the "Limit Mode" checkbox is NOT checked.
That is what I could confirm on my box.
Next step:
- Use a MCP4132 as Digi_Pot controlled by a Raspberry PI (I think I get this to work).
- For current meassuring I will use ACS758LCB-050B modules, where the analog (out2) signal is converted by a ADS1115 to I2C on the Raspberry.
Question: Did I overlook a translated version of the "Eybond Modbus RTU Protocol V100" document ? Since I did not yet get the RS232 interface to talk to me yet, so I assume I do something wrong. Does anyone know of a quick test (some confirmed string to send) for this interface?
Your help is greatly appreciated.
Hi,
does the pcb looks the same as yours v1.2?
I tried using usb-rs232 serial but cant get data, i tried usb-rs485 serial but i was getting some data corruption and cant decode strings...
Yes, pcb looks the same.
hi watts-onwatts-on said:OW1000 said:Is there any news on this topic? Would be very useful to be Able to control the GTIL2 externally.
I have put together my diy limiter design and am waiting for the boards to come in from China:
It has two comms ports that can be configured for TTL UART, RS232 or RS422/485 in either half or full duplex.
The idea is that one port will be for control (I'll probably use modbus protocol) and the other for monitoring only / software updating.
It also has a relay allowing the GTIL it to be disconnected from the mains when not in use to save power.
There is also a spare output that could theoretically be used to control an external contactor to disconnect the DC for the same reason.
It's a fully external unit, i.e. no modifications required to the GTIL inverter (in theory, if it works )
...and controling the inverter ? or is only for monitoring!watts-on said:
Patalhetas said:...and controling the inverter ? or is only for monitoring!
kmsj13 said:I opened my GTIL2 and saw this Wifi Plug Ver 1.2 which is different from PCB of Sir Watt.
The IC doesn't have any label so i wonder if its MAX3232 IC.
I tried to use lights to see the connection:
DB9:
PIN 5 -GND
PIN 2 - Might be TX
PIN 3 - Might be RX
PIN 12 - 12v
clean well with isopropyl and gently remove the coating that appears to be silicone and you will see the code of the chip
watts-on said:
> client.read_holding_registers address=0 count=8 unit=1
{
"registers": [
2,
256,
1,
12601,
12594,
12594,
12336,
14641
]
}
Doin it said:I am not grounding the CT or shielding at all and it always reads accurately...
also did u install the required resistor in your sensor cables wiring?
U are reading negative on both L1 and L2.. if u only read negative on one of the legs (once u correct the probelem) then this is normal.. the reason negative on one leg is normal (not backfeed) is due to the way your electric company meter reads your home usage..,, it reads both phases as a whole so negative on one leg gets subtracted from other leg to net zero..
MartinCZ said:Hi folks,
I have invertor SUN-2000G2. Can you help me with decoding of output data from modbus?
Currently, the inverter is not connected to panels. I expected zero values .
Code:> client.read_holding_registers address=0 count=8 unit=1 { "registers": [ 2, 256, 1, 12601, 12594, 12594, 12336, 14641 ] }