Skip to content

class142/ne-rs485

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

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.

Victron Venus OS D-Bus service example implementation

See victron/README.md for more information.

Arduino example implementation for ESP8266

See arduino/README.md for more information.

Python example implementation

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

Hardware

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

Disclaimer

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.

About

RS485 for NordElettronica RV electronics control units

Resources

Stars

7 stars

Watchers

4 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors