Interviewed on NPR’s Science Friday


Another exciting day this week to be included in an interview on Science Friday with Ira Flatow. I’ll update this post and press page with a link to the interview when it becomes available.

For people who were listening live here are a few of the topics that were discussed for quick reference:

 

[link to radio interview] [mirror]

To invent, you need a good imagination and a pile of junk. – Thomas A. Edison

I saw this quote on a project at my daughter’s science fair tonight, this could totally be my tagline for this site…

Hydroponic Grow box update

015

Currently in the grow box I have some basil and more recently strawberries added as I was “weeding” my garden I found a bunch more starts.  Though I have seen basil do well in hydroponic systems mine is turning pretty leggy and quickly loosing lower leaves.  The strawberries on the other hand and thriving in the environment.  Probably will let them stay in there a little longer until the peppers get too big and make me move the hydroponic system outdoors. 

I also tried some peppers but unfortunately they got a little too much of a freeze from a previous machine failure and didn’t quite make it.

For those who can’t get enough of time lapse videos here is some interesting growth going on in the grow box.

Homemade waterproof digital thermometer

057

Now I am playing with hydroponics in my grow box I want to monitor the temperature of my nutrient tank.  This is important too hot it can bread disease too cold it can shock your plants.  I also want to use the data to identify how ebb/flow cycles affect ambient and solution temperature (for my own nerd curiosity)

I have been thoroughly impressed with the Dallas DS18S20 temperature sensor so decided this would be a great component to use for this project and this is how you can make your own.

Materials:

  • DS18S20 temperature sensor
  • 1/2 inch plastic tubing (could go smaller but had some lying around)
  • Aquarium/food grade silicone
  • 18 gauge solid core wire (long enough to get from arduino to what you want to measure)
  • Glue gun with glue
  • Soldering iron with solder

 

Construction

Step 1: Solder the two wires to pins 1 and 2 of the DS18S20 and apply a little dab of hot glue to all of the exposed metal.  This is not entirely necessary but a small safety precaution so you don’t discover you shorted the connection during assembly.

image

052

Step 2: Cut approximately 1 inch length of plastic tubing using a utility knife

Step 3: Apply liberal amount of silicone to one end of the tubing cut in step 2.

053

Step 4: Allow silicone to set for 15 minutes and do a visual inspection for leaks. You may also try blowing very gently into the tube to check for leaks, though not too hard to create a hole in the process.

055

Step 5: Attach the DS18S20 to the tube using a drop of hot glue.  This is not entirely necessary but when trying to get a perfect watertight seal the less moving parts the better.

056

Step 6: Again apply a liberal amount of silicone to seal the top paying special attention to the area around the wires

058

Step 7: Give the silicone at least 24 hours to completely set.

Step 8: Testing.  First off the sensor may be buoyant, if this is the case carefully attach a 1/2 hose clamp or something else to help tether it down.  Next suspend in a glass of water (preferably clear) and watch for a few minutes for leaks and or bubbles. If you see bubbles try to get an much water as you can out and apply a more silicone and let set for another 24 hours

Hooking it up

This part is pretty straightforward.  Pin 1 is your ground and pin 2 is your DQ which for most people doesn’t make much sense but it is a combination power source and bus output.  To get this to work you hook up your ground (black wire) to your ground on your arduino and the red wire to digital in and 5v with 4.7K resistor between.  Sure that is very confusing so hopefully the breadboard visual below is much more helpful.

image

Writing the Code

Since I am planning on using this with my grow box controller, I will show how to use this with arduino to get some numbers.  You could look at my arduino code in the grow box controller post to get the values but in my case I need to get values from two DS18S20 temperature sensors so I found a great OneWire library which helps make your arduino code very simply.  Simple extract the two folders in the zip archive to [ArduinoPath]\hardware\libraries and enter the following code into the arduino UI:

#include <OneWire.h> #include <DallasTemperature.h> 
OneWire oneWire(8); // on pin 8 DallasTemperature sensors(&oneWire);

void setup()
{  
  Serial.begin(9600);
  // Initialize sensors
  sensors.begin();
}

void loop()
{
    sensors.requestTemperatures();
    Serial.print(“Sensor #0: “);    
    Serial.println(sensors.getTempCByIndex(0));

    Serial.print(“Sensor #1: “);
    Serial.println(sensors.getTempCByIndex(1))

    delay(100);  // wait a little time
}
 

If all goes well you should see output similar to the following (values in Celsius):

 Sensor #0: 20.3
 Sensor #1: 30.4
 Sensor #0: 20.3
 Sensor #1: 30.4
 Sensor #0: 20.3
 Sensor #1: 30.4

 

For people like me who are used to Fahrenheit you can simply use the following equation to convert Celsius to Fahrenheit:
°F = °C  x  9/5 + 32

Though I am using this for my grow box controller there are many other uses you could use this for:

  • Aquarium temperature monitoring
  • Brewing temperature monitoring
  • Weather station
  • Soil thermometer

And the winner of the CVG seed stash is…

After a week of waiting over a week I haven’t heard back from Aly so I have picked an alternate winner, I reran the CVG Contest Winner Pickorama and the new winner is Angela, please send me an email using the contact link at the top of the page with your name/address and I will get the seeds sent out as soon as possible.

image

Small facelift to site

As you may be able to tell I have been doing a little work on the site. I finally got around to moving from Blogger to WordPress, I never had any real problems with Blogger, I just have a few things I want to do with the site that requires me to self-host and WordPress was the way to go.

I am still doing some clean up so please bear with the mess for a little while.

The Cheap Vegetable Gardener

IKE