Project tutorial

Rainbow Mist Machine © CC BY-NC

Let's make some fog!

  • 35 views
  • 0 comments
  • 3 respects

Components and supplies

Necessary tools and machines

09507 01
Soldering iron (generic)
Hy gluegun
Hot glue gun (generic)

Apps and online services

About this project

Just glowing an RGB LED in vapor to make some rainbow mist, which looks nice in the dark.

Rainbow Mist Action

Mist generation is shown below :

Hardware Build

The build is basically a vaporizer coil producing vapor, PC casing fan blowing it, RGB LED is giving it rainbow glow. Arduino is controlling the RGB and mist cycle.

Coding

This code is written on Arduino IDE and uploaded to Uno. There are mainly two things going on here, power on the coil to create mist and then power off to cool down. While the RGB LED cycles through VIBGYOR color.

What Is Vaporizing?

The liquid that is vaporizing is a 80/20 mix (by volume) of Glycerol (aka Vegetable Glycerine) and Propylene Glycol. Both the coil and the cotton must be soaked well with this liquid before power it up or the vaporizer will get damaged.

These things are separately available as moisturizing product and food flavoring in grocery stores.

Alternatively, e-liquid/e-juice (without nic) can be used in this device directly to make fog.

Safety

  • Sufficient air flow must be maintained to avoid cotton burnout
  • Coil and copper wire contact must never be soldered
  • Coil and copper wires should be wrapped tightly
  • Cotton must be kept soaked with the liquid for continuous operation
  • To avoid overheating, coil should be powered off every few seconds
  • To avoid skin/eye damage from sudden spitting of hot liquid, safe distance should be maintained
  • This is a high current device, Battery/Power Supply of proper rating must be used

Conclusion

This is just a small demonstration but unfortunately the camera can't quite capture what it actually looks like in the dark to naked eye. Using coolMOS with more powerful LEDs and vaporizer, it is not impossible to make a much higher power consumer/industrial version of this for home party, music show and entertainment industries. The solution may be portable and battery powered from a 3s/4s LiPo pack.

Code

RMMC/C++
Ver final
const int redPin = 11;
const int greenPin = 10;
const int bluePin = 9;
const int coolmos_drive = 8;
unsigned long cooldown_timer =4;

void setup() 
{
  setColourRgb(0,0,0);
  pinMode(coolmos_drive,OUTPUT);
  
  
}

void loop() 
{
  while( (millis()/1000)<cooldown_timer)
  {
    coolMOS_On();
  unsigned int rgbColour[3];

  rgbColour[0] = 255;
  rgbColour[1] = 0;
  rgbColour[2] = 0;  

  for (int decColour = 0; decColour < 3; decColour += 1) {
    int incColour = decColour == 2 ? 0 : decColour + 1;

    for(int i = 0; i < 255; i += 1) {
      rgbColour[decColour] -= 1;
      rgbColour[incColour] += 1;
      
      setColourRgb(rgbColour[0], rgbColour[1], rgbColour[2]);
      delay(5);
    }
  }
  }
  
  cooldown_timer = (millis()/1000)+4;
  while( (millis()/1000)<cooldown_timer)
  {
    coolMOS_Off(); // let the coil cooldown
    // keep rgb glowing
  unsigned int rgbColour[3];

  rgbColour[0] = 255;
  rgbColour[1] = 0;
  rgbColour[2] = 0;  

  for (int decColour = 0; decColour < 3; decColour += 1) {
    int incColour = decColour == 2 ? 0 : decColour + 1;

    for(int i = 0; i < 255; i += 1) {
      rgbColour[decColour] -= 1;
      rgbColour[incColour] += 1;
      
      setColourRgb(rgbColour[0], rgbColour[1], rgbColour[2]);
      delay(5);
    }
  }
  }
  cooldown_timer = (millis()/1000)+4;

 
  
}

void setColourRgb(unsigned int red, unsigned int green, unsigned int blue) 
{
  analogWrite(redPin, red);
  analogWrite(greenPin, green);
  analogWrite(bluePin, blue);
}
void coolMOS_On (void)
{
  digitalWrite(coolmos_drive,HIGH);
}

void coolMOS_Off (void)
{
  digitalWrite(coolmos_drive,LOW);
}

Schematics

Comments

Similar projects you might like

ATmega Alien Themed Slot Machine

Project tutorial by Dan Murphy

  • 1,197 views
  • 6 comments
  • 14 respects

The Magnetic Field and RGB Tester

Project tutorial by Kutluhan Aktar

  • 3,750 views
  • 0 comments
  • 15 respects

The Hooray Machine

Project showcase by Dawn Dupriest and Brie Hen

  • 732 views
  • 1 comment
  • 5 respects

The Drawing Machine

Project showcase by Kramick Saha

  • 7,532 views
  • 5 comments
  • 18 respects

PIR Automated Intelligent Zebra Crossing

Project showcase by Adersh B

  • 2,673 views
  • 1 comment
  • 7 respects

Arduino Mini Shields Construction

Project tutorial by Patel Darshil

  • 1,811 views
  • 0 comments
  • 20 respects
Add projectSign up / Login