Reverse engineering of the RS485 protocol used in the NordElettronica NE334 control panel for controlling the electronics main unit of the camper van.
More information about the data packet format can be found in the spec.md file.
See victron/README.md for more information.
See arduino/README.md for more information.
For a reference implementation see the flask_server.py file. NOTE: This is a work in progress, not yet fully functional and a complete mess.
If you want to try it out anyway, change TCP_PORT and TCP_IP according to your Serial-to-TCP converter and run the flask_server.py file. It will start a webserver on port 5000 and you can access the web interface at http://localhost:5000.
Available endpoints are:
| Endpoint | Description |
|---|---|
| / | data in JSON format |
| /pump | switch pump on/off |
| /in | switch indoor light on/off |
| /out | switch outdoor light on/off |
The RS485 bus is connected to the main electronics unit via a 4-pin connector.
Pinout (colors might differ):
| Pin | Color | Usage |
|---|---|---|
| 1 | brown | +12V |
| 2 | green | B |
| 3 | yellow | A |
| 4 | white | GND |
Note: Original plug is not marked/numbered necessarily, but you can count the pins from left to right looking from behind where the cable goes in, with the two little "latching noses" pointing up and the "locking hook" pointing down.
When in doubt, use a multimeter to check for polarity on pin 1 and 4. If you don't receive any data, try swapping A and B.
Plug:
- Lumberg 3114 04 VP15 (housing)
- Lumberg 3111 03 L (contacts)
Pin header:
- Lumberg 2,5 MSF 04 (straight)
- Lumberg 2,5 MSFW 04 (angled)
Wire used for prototyping (different coloring):
- Lapp Kabel ÖLFLEX CLASSIC 110 4x0,5mm² 1119004
All names, trademarks, and copyrights belong to the respective manufacturers.
This project has been created for demonstration purposes only, to show how the RS485 bus can be interfaced. The authors of this project do not claim any ownership over the names, trademarks, or copyrights of the respective manufacturers.