FlytrapCare Carnivorous Plant Forums

Sponsored by

Moderator: Matt

Posts:  15
Joined:  Mon Feb 22, 2021 10:57 pm
I guess it depends on how stuffed the tent is and what kind of circulation you're after, but I've been using a mini tower fan: "Lasko's Platinum Desktop Wind Tower." I have it stuck in the corner of a 4x4, and probably should have gotten another, but now that my tomatoes and peppers are out that purchase is on hold. Downside is that I have to turn it back on every time power is cut.

I also have a Lasko 6 inch clip fan running 24/7 full blast in the basement since December for my sphagnum. Only only negative so far is that it does not oscillate.
Supercazzola liked this
User avatar
By Supercazzola
Posts:  756
Joined:  Sun Nov 22, 2020 1:57 am
I decided to take an arduino and a 4 relay board and program it so that it would randomly turn on and off up to four 12 v computer fans. Hooked the first two up. I’ll eventually design and 3d print an enclosed case, but for now it works good enough. If anyone is interested, I can post the code I wrote for the arduino uno.
F8C024CE-3D48-4E88-A7A3-948D86410DE3.jpeg (3.92 MiB) Viewed 1920 times
E83729CC-E065-41F4-8135-DEEA728F3DB5.jpeg (4.39 MiB) Viewed 1920 times
62E94C31-5408-448F-9B65-9BF6D65BF3F3.jpeg (3.56 MiB) Viewed 1920 times
User avatar
By Supercazzola
Posts:  756
Joined:  Sun Nov 22, 2020 1:57 am
This post is more of a sticky for how I did it, including the code, so that if others want to duplicate, contribute to it, you can feel free to.

First off, here is the sketch for the arduino. I used an Arduino Uno R3.
Code: Select all
//                                      //
//     Randomly turn on and off         //
//     four relays to control fans      //
//     to simulate wind in grow tent    //
//                                      //
//               05/22/21               //
//               rev 001                //
//               supercazzola           //
//                                      //

// global scope variables

const long DELAY_MAX = 300000;                                                      // manimum delay in ms (5 mins)
const long DELAY_MIN = 10000;                                                       // minimum delay in ms (10 secs)
const int NUMBER_OF_FANS = 4;                                                       // number of fans (relays)
const int FAN_PINS[NUMBER_OF_FANS] = {8, 9, 10, 11};                                // arduino pin numbers used for relays

unsigned long timer[NUMBER_OF_FANS] = {20000, 20000, 20000, 20000};                 // array to hold timers for each fan
unsigned long lastFanStateChange[NUMBER_OF_FANS] = {0, 0, 0, 0};                    // array to hold when in millis the fan last changed state

int fan_state[NUMBER_OF_FANS] = {LOW, LOW, LOW, LOW};                               // LOW or HIGH state of the relays


void setup()
  randomSeed(analogRead(0));                          // seed the random number generator
  Serial.begin(9600);                                 // serial port 9600 baud

  for (int i = 0; i < NUMBER_OF_FANS; i++)
    pinMode(FAN_PINS[i], OUTPUT);                     // set each pin to OUTPUT type
    digitalWrite(FAN_PINS[i], fan_state[i]);          // read desired state for each fan servo from global array


void loop()
  unsigned long now = millis();                                       // time now at start of loop since start of program in ms

  for (int i = 0; i < NUMBER_OF_FANS; i++)
    if ((now - lastFanStateChange[i]) >= timer[i])
      unsigned long randomValue = random(DELAY_MIN, DELAY_MAX + 1);   // variable to store the random number
      fan_state[i] = !fan_state[i];                                   // toggle the state of the fan relay
      digitalWrite(FAN_PINS[i], fan_state[i]);                        // set pin to correct state
      timer[i] =  randomValue;                                        // set fan relay's timer to new random number
      lastFanStateChange[i] = now;                                    // update when the fan relay's state was last changed to now

The components you will need include:
In my case, I hooked up to pins 8,9,10,and 11. Let me know if it doesn't make sense or if you need help with the hookup.

As an aside, I decided to 3d print some cases. I didn't design these. They were on thingiverse. They are:
IMG_1499.jpg (8.82 MiB) Viewed 1811 times

I seem to remember that I did, and sent it back ou[…]

My current grow list as of today (9/23/2021) Ve[…]

My Chest Freezer highland setup

Definitely following this and excited to see how i[…]

Beginning of dormancy!

We just had our first night that it dropped into t[…]

Z_Y is completely correct, I would only add that a[…]


Tell me what kind and I'll send you a recipe. […]

Sarracenia 2021

I've noticed that the pitchers will brown when ex[…]

Carnivorous Plants for Sale!

Nice! I would love to see how my plants are doing […]

Support the community - Shop at!