Project in progress
Fix Ice Making Machine

Fix Ice Making Machine © LGPL

My ice maker blew its controller board and I needed to make a plan to replace it. So I used an Arduino to control it!

  • 3,048 views
  • 3 comments
  • 10 respects

Components and supplies

Ph a000066 iso (1) ztbmubhmho
Arduino UNO
×1
Relay (generic)
×1

Necessary tools and machines

Old Ice Maker

Apps and online services

About this project

void setup()
{
	pinMode( 4 , INPUT);
	pinMode( 5 , INPUT);
	pinMode( 6 , INPUT);
	pinMode( 4 , OUTPUT);
	pinMode( 5 , OUTPUT);
	pinMode( 6 , OUTPUT);
	pinMode( 8 , OUTPUT);
	pinMode( 9 , OUTPUT);
	pinMode( 10 , OUTPUT);
	pinMode( 11 , OUTPUT);
	digitalWrite( 4 , LOW );
	digitalWrite( 5 , LOW );
	digitalWrite( 6 , LOW );
	digitalWrite( 8 , HIGH );
	digitalWrite( 9 , HIGH );
	digitalWrite( 10 , HIGH );
	digitalWrite( 11 , HIGH );
}
void loop()
{
	if (	digitalRead( 4))
	{
		digitalWrite( 8 , LOW );
	}
	if (	digitalRead( 5))
	{
		digitalWrite( 8 , HIGH );
		digitalWrite( 9 , LOW );
		delay( 40000 );
		digitalWrite( 9 , HIGH );
		digitalWrite( 10 , LOW );
		delay( 700000 );
		digitalWrite( 8 , LOW );
		delay( 5000 );
	}
	if (	digitalRead( 6))
	{
		digitalWrite( 8 , HIGH );
		delay( 5000 );
		digitalWrite( 11 , LOW );
		delay( 30000 );
		digitalWrite( 11 , HIGH );
		digitalWrite( 8 , LOW );
		delay( 10000 );
	}
}

Code

Ice MakerArduino
Fixed My Ice Maker
void setup()
{
	pinMode( 4 , INPUT);
	pinMode( 5 , INPUT);
	pinMode( 6 , INPUT);
	pinMode( 4 , OUTPUT);
	pinMode( 5 , OUTPUT);
	pinMode( 6 , OUTPUT);
	pinMode( 8 , OUTPUT);
	pinMode( 9 , OUTPUT);
	pinMode( 10 , OUTPUT);
	pinMode( 11 , OUTPUT);
	digitalWrite( 4 , LOW );

	digitalWrite( 5 , LOW );

	digitalWrite( 6 , LOW );

	digitalWrite( 8 , HIGH );

	digitalWrite( 9 , HIGH );

	digitalWrite( 10 , HIGH );

	digitalWrite( 11 , HIGH );

}

void loop()
{
	if (	digitalRead( 4))
	{
		digitalWrite( 8 , LOW );
	}
	if (	digitalRead( 5))
	{
		digitalWrite( 8 , HIGH );
		digitalWrite( 9 , LOW );
		delay( 40000 );
		digitalWrite( 9 , HIGH );
		digitalWrite( 10 , LOW );
		delay( 700000 );
		digitalWrite( 8 , LOW );
		delay( 5000 );
	}
	if (	digitalRead( 6))
	{
		digitalWrite( 8 , HIGH );
		delay( 5000 );
		digitalWrite( 11 , LOW );
		delay( 30000 );
		digitalWrite( 11 , HIGH );
		digitalWrite( 8 , LOW );
		delay( 10000 );
	}
}

Schematics

Ice Maker
Fixed my Ice Maker
Ice maker 1 5lboillllt

Comments

Similar projects you might like

Snacks Vending Machine Powered By Arduino

Project tutorial by Sevenmojoe

  • 24,958 views
  • 14 comments
  • 103 respects

Making Capacitance Alarm with Arduino

Project tutorial by muhammed shameel k.v

  • 1,400 views
  • 0 comments
  • 3 respects

Automatic Coffee Machine

Project tutorial by Thomas sxt

  • 24,588 views
  • 7 comments
  • 21 respects

Arduino Morse Code Machine

Project showcase by Vlada Krsmanovic

  • 14,084 views
  • 3 comments
  • 37 respects

The Making of a Conscious Robot

Project in progress by ihacklab

  • 10,120 views
  • 6 comments
  • 23 respects

Breadboard to PCB Part 1 - Making the Simon Says Game

Project tutorial by Katie Kristoff and Monica Houston

  • 8,787 views
  • 11 comments
  • 31 respects
Add projectSign up / Login