Project tutorial
Water Softener

Water Softener

Sweeping frequency magnetic hard water conditioner

  • 11,294 views
  • 30 comments
  • 25 respects

Components and supplies

About this project

The electronic water descaler is more effective device than powerful magnets placed around the incoming mains water pipe. This device operates by wrapping coil of wire around the incoming water mains to pass a magnetic field through the water. The theory is that it causes the calcium in the water to stay in solution and so inhibit it from adhering to pipes, taps, baths and kettles.

Reading many sources about the way it works I decided to try and make one. A few days after installing it I noticed a difference in the behaviour of the deposit of lime scale in the kettle and around the sink, it was much easier to remove the deposit, also the scale deposit was reduced to about half the amount.

Since it's unknown the true benefits of lime to our health and we also don't know the effect of the residual magnetic in the lime, it is recommended to use the descaler for washing water only.

The coil on the water pipe is made of 5 meter long insulated wire of 24 to 20 gage. The wire is turned around the copper or plastic water pipe (it can not be steel pipe) in a single layer. On a pipe of 20mm diameter it will form 55 turns. Since the wire is 5 meter long the number of turns will be different for different pipe diameter.

Power supply to the Arduino is 7V up to 10V.

10 ohm resistor is limiting the coil current to max 400mA.

The 8 pins PDIP buffers is a mosfet driver. IC's that can be used are: TC4423,TC4424,TC4426,TC4427,MC33152,MC34152. These are very similar and pins are identical.

Softener4 is a circuit for option of high power on the coil.

Code

SoftenerC/C++
Timer2 in the Atmega is setup to output 50% duty cycle. The delay can be increased to slow the sweep. OCR2A sets the frequency, 10=25KHz and 255=1KHz. Frequencies can be changed.
/*
 *  Sweeping frequency water softener
 * Created: 15/01/2017 23:34:47
 *  Author: moty22.co.uk
 */ 


void setup() {
  // put your setup code here, to run once:

    //timer2
  OCR2A = 127;  //50% duty cycle 
  TCCR2A = _BV(COM2A0) | _BV(WGM21) | _BV(WGM20);  //toggle output, fast PWM mode 
  TCCR2B = _BV(WGM22) | _BV(CS21) | _BV(CS20); //   fast PWM mode, prescale 1:64
  pinMode(11, OUTPUT);

}

void loop()
{

  delay(200);   //duration of each frequency
  OCR2A += 10;    //step size of frequency change
  if(OCR2A >= 245){OCR2A = 10; }  //range of sweep, 245 is max. 
 
}

Schematics

Softener
Softener lqnusjuphe
softener4
Softener4 ctjkfou90e

Comments

Author

Moty
moty
  • 10 projects
  • 47 followers

Published on

August 15, 2017

Members who respect this project

Avatar usborne aerial 500x500 vu4mp3sqpd307966PhotoJohnnydoeScreenshot 2017 08 18 02 44 54 sg0ff6liww20245561 1409428225761255 4341483341027892393 n31330957Jasper2001

and 17 others

Project replicated by

Default
See similar projects
you might like

Similar projects you might like

Water Leakage Detector and Valve Control

Project tutorial by Philippe Libioulle

  • 14,221 views
  • 7 comments
  • 31 respects

Water Quality Monitoring Using MKR1000 and ARTIK Cloud

Project tutorial by Team Animo!

  • 7,075 views
  • 12 comments
  • 30 respects

Arduino-Based Automatic Water Tap Using IR Sensor

Project tutorial by Team Creatjet3D R&D Team

  • 5,652 views
  • 6 comments
  • 19 respects

Water Quality Monitoring and Notification System

Project showcase by emmanuel ani

  • 50,587 views
  • 38 comments
  • 112 respects

Fire From Water

Project tutorial by Ben Eagan

  • 22,023 views
  • 4 comments
  • 58 respects

Water Level Alerting System

Project tutorial by Pranav Kundaikar and Vinayak Shantaram Joshi

  • 1,946 views
  • 0 comments
  • 5 respects
Add projectSign up / Login