Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
add RS232 via USB style guide
  • Loading branch information
wimb0 authored Aug 28, 2023
1 parent f68609d commit ed28709
Showing 1 changed file with 42 additions and 3 deletions.
45 changes: 42 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,20 @@ Search for "SAJ Inverter Modus" and install it.

After reboot of Home-Assistant, this integration can be configured through the integration setup UI

## Connection via Modbus TCP to a SAJ Inverter
## Connection via Modbus TCP to a SAJ Inverter via the RS485 port
Connect a Modbus to Wifi device to the Modbus port of your SAJ Inverter.
I use a Hi-Flying Elfin-EW11 (www.hi-flying.com/elfin-ew10-elfin-ew11).

Guide below uses a Hi-Flying Elfin-EW11 (www.hi-flying.com/elfin-ew10-elfin-ew11).

**Cable Layout for EW11A to SAJ Inverter:**

Both connectors are RJ45.
![cable](https://github.com/wimb0/home-assistant-saj-modbus/blob/main/images/cable.png)
| SAJ RJ45 pin | Function | EW11 RJ45 pin |
|----------|----------|----------|
| 2 | GND_W | 8 |
| 3 | +7V_W | 7 |
| 7 | RS485_A+ | 5 |
| 8 | RS485_B+ | 6 |

**EW11A settings:**

Expand All @@ -40,5 +46,38 @@ Both connectors are RJ45.
* Cli Disable
* Protocol Modbus


## Connection via Serial TCP to a SAJ Inverter via the USB port
Connect a Modbus to Wifi device to the USB style port of your SAJ Inverter.

Tested using a Hi-Flying Elfin-EW10 (www.hi-flying.com/elfin-ew10-elfin-ew11).

**Cable Layout for EW10 to SAJ Inverter:**

Cut an old USB-A cable and connect as follows:

| USB pin | Function | EW10 pin |
|---------|------------|----------|
| 1 | +7V | 7 |
| 2 | RS-232 RXD | 6 |
| 3 | RS-232 TXD | 5 |
| 4 | GND | 8 |
**EW10 settings:**

**Communication settings:**
* Configure Tcp Server, choose a port number.
* Security: Disable
* Route as Uart

**Serial port settings:**
* Baudrate 115200
* Databit 0
* Stopbit 1
* Parity None
* Flow Control Settings Disable
* Cli Disable
* Protocol Modbus


[![saj_logo](https://github.com/wimb0/home-assistant-saj-modbus/blob/main/images/saj_modbus/logo.png)](https://www.saj-electric.com/)

0 comments on commit ed28709

Please sign in to comment.