Skip to content

hoeken/brineomatic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brine-o-Matic 9000

An open hardware project to automate marine watermakers aka reverse osmosis systems. It consists of:

  • electronics design based on esp32 to read sensors and control the machine
  • watermaker plumbing + electronics reference design with part numbers
  • example 3d printable control panel for automating a Rainman watermaker
  • firmware with intuitive UI for controlling the watermaker from your phone, computer, MFD, etc.

Electronics

Brineomatic is based around an ESP32-S3 chip with loads of features including WiFi. The board itself has the following features:

  • Based on ESP32-S3 with USB C
  • 12-24v DC power in (max 30v)
  • 4 x solenoid / relay drivers
  • 2 x 5v servo headers
  • DC motor driver - 2A
  • DS18B20 temperature sensor connector
  • Connector for DF Robot TDS sensor board
  • Low Pressure sensor (4-20ma style)
  • High Pressure sensor (4-20ma style)
  • Flowmeter connector (pulse style)

Image of Brine-o-matic 9000 Rev A Electronics

User Interface / Firmware

Brine-o-matic is part of my Yarrboard project and uses a common firmware and UI. It runs a local webserver that you can interact with in many different ways. I find it easiest to use either a phone, laptop, or an MFD on my boat. Currently only B&G chart plotters are supported, but I will gladly add support for any other devices that can handle loading an HTML5 app.

The app handles all aspects of setting up, configuring, running, and controlling your watermaker. It supports 3 different run modes (fill, time, volume), automatic flushing, pickling / depickling, a manual mode, etc. It has configurable settings for limits on pressures, salinity, flowrate, temperature, etc. It also has a completely open API to allow you to control the watermaker. The API is also useful for bringing in data from SignalK such as tank levels and water temperature (used in salinity calculations).

Idle / Autoflush Wait Mode

Image of Brine-o-matic 9000 Rev A Electronics

Running Mode

~todo

Flush Mode

Image of Brine-o-matic 9000 Rev A Electronics

Reference Design

This project was started in order to automate my Rainman watermaker on my own personal boat. The goals were to have minimal modifications to the original equipment, and to allow for graceful failure where the watermaker can be switched to manual mode very easily. All of the critical digital sensors (flowrate, pressure, salinity) have an analog backup, and all of the critical actuated outputs (high pressure valve, diverter valve, flush/pickle) can be disabled and swapped to manual mode by removing a few easy to access screws.

Image of Brine-o-matic 9000 Rev A Electronics

You can find information on the reference implementation in the files in this repository. They contain example schematics for plumbing, sensors, wiring, AC contactor wiring, etc.

There is also a 3D model with a control panel layout and parts for automating a Rainman watermaker. This is available as a STEP file that should be editable with FreeCAD. The actual design was done in Fusion360 which is available through the link below.

Downloads:

Electronics Todo (REV-B)

  • add TMC5160T / TMC2209 stepstick compatible header
  • add 2nd flowmeter input (brine)
  • remove thermistor input
  • add extra 4-20ma sensor input
  • change tds input to match dfrobot tds sensor
  • add power LEDs
  • add motor leds
  • add switch status leds
  • drill holes on plug in terminal blocks are too big
  • extend board fingers under connectors to support
    • usb connector too
  • switch to 0603 components
  • switch to onboard esp32-s3
  • add ptc fuses on all outputs (solenoid, motor, 5v, 12/24v, etc)
  • consolidate to single 5v power supply?

About

Open Source Watermaker Controller.

Resources

License

Stars

Watchers

Forks

Packages

No packages published