jump to navigation

ATOMIC RED — (daucus carota) – aquaponic carrots April 23, 2012

Posted by rik94566 in aquaponics, Atomic Red Carrots, Carrots, Kitazawa Seed Company.
Tags: , , , ,
add a comment

At the first of the new year I had open bed space and a packet of Atomic Red Carrots from Kitazawa Seeds.  So guess what — I thought I would give them a try.

ATOMIC RED CARROTS

When I looked at the expected growth characteristics I was a little early on the germination range and the height would be about 2 feet in total.  I use a whole package of seed and just mixed into my gravel – nothing special here.  The seeds are very – very – very tiny.  They did float at first and ended up on one end of the bed area.  Once germination was accomplished I just moved the seedlings around until I got the spacing I thought would work.  Having never worked with carrots before I had no idea what to expect.

Well as of this past weekend here is what I have:

Over 3 feet of growth now

Here are additional pictures to show how well these “ATOMIC REDS” are doing.

Full view of the grow bed

Additional view

HARNESS TESTING — very important — DS18B20 April 20, 2012

Posted by rik94566 in 1-wire, aquaponic automation, DS18B20, One-wire, sensor, Stainless Steel Temp Probe, Temperature Probe.
Tags: , , , , , , , ,
add a comment

use your multimeter

Now that I have constructed an addition harness I need to make sure it works.  Two (2) tests needs to be performed.  Conductivity and ohm confirmation of the resistor value through the connections.

CONDUCTIVITY:

This test will let me know that all my connections are correctly connected and signal is flowing through the wires and working the way I configured them.  If not,  I will need to correct the problem and retest until the connections are working correctly.

Here is a video of the testing I did:

http://youtu.be/0OZzv69DhF0

ohm Value Testing:

This is important with DS18B20 probes.  It is important because the DS18B20 IC’s  are sensitive when it comes to resistor values and there  tolerance levels.  I bought some very cheap 4.7K ohm resistors and did not know the tolerance level.  Hooked everything up and the probe did not work.  I had to trouble shoot all the connections and everything was working – then I swapped out a resistor that I knew worked and had specs on and bingo everything was working.  I have no problems using resistors with a 5% tolerance rating.  They will give you some swings in value readings, but the DS18B20′s will work very well it you stay in this tolerance range.

Here is a video of how I tested for ohm’s:

http://youtu.be/xhykQ61xfW0

Now on to building another harness and test it all

DS18B20 — external power supply — Next Step April 11, 2012

Posted by rik94566 in 1-wire, aquaponic automation, arduino, DIY aquaponics, DS18B20, One-wire, Temperature Probe.
Tags: , , , , , , , ,
add a comment

Now that I know that 5 probes work using a 4.7K ohm resistor and external power, I need to determine next steps in this process.  Looking at the fact that I have over 20 probes to work with and have come so far in understanding how DS18B20 work.  My choice is very simple I think.  Keep going and determine how many probes I can get working and/or determine the breaking point at which probes don’t work.  This would take some major effort on my part as I need to prep all the probes and build the harnesses to support this many probes.  The good news is that the direction I am going requires the use of 5 wire harnesses, so I can use the harnesses in my other projects, so this is not wasted effort.  Bad news is that if I find that 4.7K ohm resistor will not support the high number of probes then I will want to test and determine the breaking point on the next lower resistor level which is the 2.2K ohm resistor.  This would require a large amount of work on my part.   This keeps going for me because I have found no confirmed information about any of these levels or if they work in the real world.  Being that no real work has been found I have the opportunity to establish some new information on DS18B20′s that will help others and be lasting resource on the internet well into the future.  I really am ready to finish this subject off and move on to other automation projects that have importance in my aquaponic quest.  So now I need to double my efforts to finish this off and move on.

DS18B20 — external power – 5 Probes working April 6, 2012

Posted by rik94566 in 1-wire, aquaponic automation, arduino, DS18B20, One-wire, sensor, Stainless Steel Temp Probe.
Tags: , , , , , , , ,
2 comments

Once I got the ground problem worked out and was reading one probe adding 4 more was no sweat…….

5 probe configuration

Here is the sketch I used:  ( you will need to change out the HEX code parts for your specific DS18B20)

// This Arduino sketch reads DS18B20 “1-Wire” digital
// temperature sensors.
// Tutorial:
// http://www.hacktronics.com/Tutorials/arduino-1-wire-tutorial.html
//Changed sketch to handle individual temperature probes for testing out software and hub
//each probe is plugged into a wiring harness using either a 4.7K or 2.2K resistor configuration.
//will use this to test power soruce and resistor needed to read 5 temp probes.
//ver-1.01-R
// Rik Kretzinger
//    08/17/2011

#include <OneWire.h>
#include <DallasTemperature.h>

// Data wire is plugged into pin 3 on the Arduino
#define ONE_WIRE_BUS 8

// Setup a oneWire instance to communicate with any OneWire devices
OneWire oneWire(ONE_WIRE_BUS);

// Pass our oneWire reference to Dallas Temperature.
DallasTemperature sensors(&oneWire);

// Assign the addresses of your 1-Wire temp sensors.
// See the tutorial on how to obtain these addresses:
// http://www.hacktronics.com/Tutorials/arduino-1-wire-address-finder.html

DeviceAddress Probe012 = { 0×28, 0xD8, 0×79, 0×31, 0×03, 0×00, 0×00, 0xC6 };
DeviceAddress Probe013 = { 0×28, 0×43, 0×77, 0×22, 0×03, 0×00, 0×00, 0x9D };
DeviceAddress Probe014 = { 0×28, 0×30, 0×65, 0×31, 0×03, 0×00, 0×00, 0×13 };
DeviceAddress Probe015 = { 0×28, 0xDE, 0x9D, 0×31, 0×03, 0×00, 0×00, 0xB1 };
DeviceAddress Probe016 = { 0×28, 0x7E, 0x8A, 0×31, 0×03, 0×00, 0×00, 0xC0 };

void setup(void)
{
// start serial port
Serial.begin(9600);
// Start up the library
sensors.begin();
// set the resolution to 10 bit (good enough?)
sensors.setResolution(Probe012, 10);
sensors.setResolution(Probe013, 10);
sensors.setResolution(Probe014, 10);
sensors.setResolution(Probe015, 10);
sensors.setResolution(Probe016, 10);
}

void printTemperature(DeviceAddress deviceAddress)
{
float tempC = sensors.getTempC(deviceAddress);
if (tempC == -127.00) {
Serial.print(“Error getting temperature”);
} else {
Serial.print(“C: “);
Serial.print(tempC);
Serial.print(” F: “);
Serial.print(DallasTemperature::toFahrenheit(tempC));
}
}

void loop(void)
{
delay(2000);
Serial.println();
Serial.println();
Serial.print(“Getting temperatures…\n\r”);
sensors.requestTemperatures();

Serial.print(“Probe 012 temperature is: “);
printTemperature(Probe012);
Serial.print(“\n\r”);
Serial.print(“Probe 013 temperature is: “);
printTemperature(Probe013);
Serial.print(“\n\r”);
Serial.print(“Probe 014 temperature is: “);
printTemperature(Probe014);
Serial.print(“\n\r”);
Serial.print(“Probe 015 temperature is: “);
printTemperature(Probe015);
Serial.print(“\n\r”);
Serial.print(“Probe 016 temperature is: “);
printTemperature(Probe016);
Serial.print(“\n\r”);

}

DS18B20 – external power — SOLUTION FOUND April 1, 2012

Posted by rik94566 in 1-wire, aquaponic automation, DIY aquaponics, DS18B20, One-wire, sensor, Stainless Steel Temp Probe, Temperature Probe.
Tags: , , , , , , , ,
add a comment

Thanks to help from Make:SF and Chris that follows this blog, I solved my problem with my external power when reading a DE18B20 temp probe.  As with so many projects learning how to connect things up is the important part of making them work.  But when it comes to DS18B20′s this information is hard to find.  So maybe after this post people will have a new place to find out how to power their DS18B20′s in external power mode.

SOLUTION OF THE PROBLEM:

Add a ground connection to the arduino.

I only had a ground connection between my DS18B20 probe and my power supply.  I also need to ground the arduino to the DS18B20 probe.

Here is what it looks like in drawing form:

GROUND WIRE ADDED TO ARDUINO

SCHEMATIC VIEW OF THE FIX:

SCHEMATIC VIEW

ACTUAL WORKING VIEW:

REAL WORLD VIEW

Learning new things – to solve my DS18B20 problem March 29, 2012

Posted by rik94566 in 1-wire, aquaponic automation, DIY aquaponics, DS18B20, Fritzing, One-wire, sensor, Stainless Steel Temp Probe, Temperature Probe.
add a comment

In an effort to understand electronics better and how it all works I have been working at using better tools.  Understanding circuit design and schematic’s is all part of this world.  The only way to learn how to read schematic’s and think on a different level is to have a project to learn how to use the software.  In this effort I decided to see if I could make use of Fritzing  (www.fritzing.org ).  It is a software package that help you design circuits in different formats.  Once done in one format it converts the work into another format of the same work.  In my case breadboard or visual layout into schematic view.  I have been looking at this software for quite a while and played around with it briefly.   Well now is time go learn it and use it in stead of doing all the hard wire stuff and taking pictures.  Taking pictures works fine in most cases, but this stuff helps to see the connections before going live…  Here is what I came up with for my current problem of getting my DA18B20 to work with external power.  Hope this helps you in some way on your projects and you learn something new also.

Drawing of the layout DS18B20 -- external power supply

Schematic of the the layout

DS18B20 — finding help with problems — external power supply March 28, 2012

Posted by rik94566 in 1-wire, aquaponic automation, DIY aquaponics, DS18B20, One-wire, sensor.
Tags: , , , , ,
add a comment

Finding  help on problems with the DS18B20 protocol can be a bit frustrating at times.  Basically I have determined there are really only 6 options when you need help solving problems when it comes to the DS18B20.

1.  Research on the internet –  not very good, but for simple solutions it works

2. Tech support from where you purchased the DS18B20 — most cases they don’t know how to use the stuff they sell

3.  Data Sheet from maxium –  totally useless working on problems like external power supply issues

4.  Ask friends that know about electronics -  on design and basic electronic trouble shooting this is a good option, but not many will know anything about DS18B20

5.  Write a blog and tell about your problem and have your tribe tell you how to fix it.  ( it worked here –  thanks chris)

6.  Join a local Maker Group and take your problem there and have other makers look it over and determine the fix..  I did this and it proved to be a great strategy and met some really smart people and made some new friends.  They solved my problem just like Chris did.

Important news here is ask enough people to help you and before long someone will have the answer.

Akasanjaku – Yard Long Bean February 19, 2012

Posted by rik94566 in Akasanjaku, aquaponics, Kitazawa Seed Company, Yard Long Bean.
Tags: , , , , ,
add a comment
This past Saturday I planted my first seeds for the growing season.  I selected Akasanjaku – Yard Long Bean for aquaponics.  Do not know if it will grow, but it is worth a try.  I purchased my seed from Kitazwa Seed Company.  Being that some night time temps are still in the mid 40″s F I am trying a new method to give my seeds a early start.  I will blog about this and put up some pictures to give you an idea of what it looks like.
Here is the link if you are interested:
http://www.kitazawaseed.com/seed_174-11.html

Akasanjaku

Vigna unguiculata subsp sesquipedalis


Akasanjaku
Seed #174
Yard long beans are sometimes called Asparagus beans or Chinese Long beans. This highly prized sweet variety produces long, slender, round stringless pods that grow 12-16″ long. The dry beans of this variety are a red color. This strong plant thrives on heat and is easy to grow.
  • Warm season annual
  • Approx. 50-60 seeds in packet. (A seed will vary in weight and size within a given seed lot. The number of seeds stated is only an estimate.)
  • Maturity: Approx. 75 days
  • Planting season: Late spring to early summer

DS18B20 — External Power Connection — NOT WORKING February 18, 2012

Posted by rik94566 in 1-wire, aquaponic automation, aquaponics, arduino, DIY aquaponics, DS18B20, HEX code, sensor, Stainless Steel Temp Probe, Temperature Probe.
Tags: , , , , , , , ,
4 comments

Well here we go.  My first attempt to read one DS18B20 using external power.  The only place I found as a source on how to connect this up is the circuit schematic that I talked about in a earlier post.

Here is again:

Starting point for connections for external power

So, working from the circuit schematic this was my best guess at how to go real world with connecting up my hardware. At this point all I want to do is to pull off a simple HEX code read from one DS18B20 probe. I also needed to add the 4.7K resistor between Power (red wire  + ) and the Signal (yellow wire) connection.  This is what is called a “PULL-UP” resister configuration.

Here is what I came up with for my first attempt at using external power to read a probe:

First attempt to power DS18B20 with external power

Next step was to determine what sketch I was going to work with to read the probe.  I wanted to keep it very simple and easy to determine results so I went with my HEX read sketch.

Here it is for your review:

// This sketch looks for 1-wire devices and
// prints their addresses (serial number) to
// the UART, in a format that is useful in Arduino sketches
// Tutorial:
// http://www.hacktronics.com/Tutorials/arduino-1-wire-address-finder.html

#include <OneWire.h>

OneWire  ds(8);  // Connect your 1-wire device to pin 8

void setup(void) {
Serial.begin(9600);
discoverOneWireDevices();
}

void discoverOneWireDevices(void) {
byte i;
byte present = 0;
byte data[12];
byte addr[8];

Serial.print(“Looking for 1-Wire devices…\n\r”);
while(ds.search(addr)) {
Serial.print(“\n\rFound \’1-Wire\’ device with address:\n\r”);
for( i = 0; i < 8; i++) {
Serial.print(“0x”);
if (addr[i] < 16) {
Serial.print(’0′);
}
Serial.print(addr[i], HEX);
if (i < 7) {
Serial.print(“, “);
}
}
if ( OneWire::crc8( addr, 7) != addr[7]) {
Serial.print(“CRC is not valid!\n”);
return;
}
}
Serial.print(“\n\r\n\rThat’s it.\r\n”);
ds.reset_search();
return;
}

void loop(void) {
// nothing to see here
}

Now I had everything in place to determine my results.

Here is what returned:

Results when Sketch was run

The result was a blank, so no HEX code was found.  Clearly I had a problem with some aspect of how this configuration was connected.  I re-tested the HEX code sketch on a working configuration and it worked fine, so I knew the Sketch was OK.

Now the problem became why is this not working?

I needed help on how to figure this out.

Building a power supply brick — DS18B20 External Power February 9, 2012

Posted by rik94566 in 1-wire, arduino, DIY aquaponics, DS18B20, One-wire, sensor, Stainless Steel Temp Probe, Temperature Probe.
Tags: , , , , , , , , ,
2 comments

In order to learn how to get external power to work with my DS18B20′s I needed some way to be able to do quick connections between all the parts and different configurations.  So I determined the best thing to do is was to  build a power supply brick.  This way I will have it built and can use it in my other sensor work and on future projects.  This will allow me to quickly hook things up with out having to re-invent a way to get power to the projects, just pull out my brick connect up and  I am ready to go.

Here are the parts and tools I used:

Brick pad - drill bit - N size jack - plastic - terminal

Putting it together:

Need to connect up the wires:

Of course ” TEST EVERYTHING” —-

Follow

Get every new post delivered to your Inbox.