jump to navigation

IT’S OFFICIAL – Maker Faire 2014 – we will be there with a booth to show case Tower unit March 24, 2014

Posted by rik94566 in adafruit, agponic MD, agponicMD, agponics.com, aquaponic automation, aquaponics, aquaponics electronics, arduino, DIY aquaponics, DS18B20, indoor aquaponics, Internet-of-Farming, IoT aquaponics, One-wire, PRODUCTS, sensor, Stainless Steel Temp Probe, Tower Pocket Block, Tower Tubes, Yourduino.
Tags: , , , , ,
4 comments

IT’S OFFICIAL NOW:

I’ve been accepted to exhibit at @MakerFaire Bay Area on May 17 & 18, 2014 http://makerfaire.com/

#20475 – internet of farming arduino-based aquaponics

Will be able to show case a number of new leading edge things that I have been developing.

Here are just a few of them:

Design of a “Radial Flow Filter” for the tower unit system ( will be blogging and doing a Youtube video about it shortly”

Venturi DIY design that will replace air pumps on my systems.

Aquaponic Fog Unit that I have just completed and in testing mode now.

Have fully working Tower unit with totally enabled  IoT features that show case the latest developments in this technology as related to aquaponics.

makerfaire

Advertisements

agponic-MD — features defined February 4, 2014

Posted by rik94566 in 1-wire, agponic MD, agponicMD, agponics.com, aquaponic automation, aquaponics, aquaponics electronics, DIY aquaponics, DS18B20, indoor aquaponics, indoor growing, Internet-of-Farming, IoT aquaponics, One-wire, PRODUCTS, Stainless Steel Temp Probe, Temperature Probe.
Tags: , , , , , , , , ,
2 comments

Now that the basic agponic-MD unit is completed – I am working through all the different features that can be found on the unit and define there functions.

Here is one side of the connection box at the back of the unit.

pH - power side

Connector Box on agponic-MD February 2, 2014

Posted by rik94566 in 1-wire, agponic MD, agponicMD, agponics.com, aquaponic automation, aquaponics, aquaponics electronics, arduino, DIY aquaponics, DS18B20, Float Sensor, Float Switch, indoor aquaponics, Internet-of-Farming, IoT aquaponics, One-wire, Rj45 connector, Slide Switch, Stainless Steel Temp Probe, SUGRU.
Tags: , , , , , , , ,
add a comment

A big part of the aquaponic simulator is the fact that it uses standard RJ-45 jacks to interface with Arduino’s or a Raspberry PI.  Having this type setup helps keep all the wires and connectors that are required for the unit to operate in a consistent manor safe and out of possible interaction with water elements.

Here is what is needed to construct this sub-assembly:

box MD

When all the above parts come together the finished product looks like this:

Plate - RJ45

DS18B20 – Terry King — Thank you July 12, 2013

Posted by rik94566 in 1-wire, aquaponics electronics, DIY aquaponics, DS18B20, One-wire, Stainless Steel Temp Probe.
Tags: , , , ,
7 comments

Well thanks to Terry King and his comment – that he has DS18B20’s working fine with arduino IDE 1.0X.  I double downed my efforts to get 1.0.2 arduino IDE working.  I un-installed all versions – dumped all the libraries and started from a clean system again.  Loaded everything up and got all the new  libraries.  EVERYTHING WORKED FINE!  Thank you Terry!

Image

DS18B20 – always a new twist June 10, 2013

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

I have resisted moving to Arduino IDE 1.0.x as I have read that people have had problems moving to it.

In my case I have been using ver 21 IDE because it was stable and all the libraries worked with it.  Now that I am moving to the IoT platform I am required to use Arduino IDE 1.0.x.

First step was to download and install.  Then needed to re-establish all the libraries required to work with DS18B20.  Once all done it was time to determine if it all would work correctly.

To start off I ran the one-wire finder sketch.  Much to my delight it worked.  Now I was very confident that this transition was going to go smoothly.   I now connected up 3 sensors and loaded my 3 sensor sketch.

Here was my result:

DS18B20 - 1.0.x

I got reading that were incorrect or really no readings at all

Next I had to make sure the hardware was connected right.  So I went back to my ver. 21 IDE and re-tested everything.  Sure enough everything worked great.

The results now is that using the Hacktronics sketch that was stated to be workable with Arduino IDE 1.0.x does not work with my set-up.  Now I will have to determine just what the problem is and how to correct it.

This will have to be my next task in learning about the DS18B20 and Arduino.

DS18B20 – ground connectors now complete August 15, 2012

Posted by rik94566 in 1-wire, DS18B20, One-wire, Sensor Hub, Stainless Steel Temp Probe.
Tags: , , , , , , ,
2 comments

Ground connectors completed and tested

I am getting closer to getting 20 probes ready to test.  Everything is just about in place to make a run at it.  So stay tuned we are getting close now…….

DS18B20 — 4.7K connectors completed August 9, 2012

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

4 – completed connectors and fully tested

The next step to achieving running 20 probes was to complete the 4.7K resistor harness set-up.  I now have this done and can move on to the finishing off the ground connector that will allow pull all this together.

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 – 5 Probes working April 6, 2012

Posted by rik94566 in 1-wire, aquaponic automation, arduino, DS18B20, One-wire, sensor, Stainless Steel Temp Probe.
Tags: , , , , , , , ,
4 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 = { 0x28, 0xD8, 0x79, 0x31, 0x03, 0x00, 0x00, 0xC6 };
DeviceAddress Probe013 = { 0x28, 0x43, 0x77, 0x22, 0x03, 0x00, 0x00, 0x9D };
DeviceAddress Probe014 = { 0x28, 0x30, 0x65, 0x31, 0x03, 0x00, 0x00, 0x13 };
DeviceAddress Probe015 = { 0x28, 0xDE, 0x9D, 0x31, 0x03, 0x00, 0x00, 0xB1 };
DeviceAddress Probe016 = { 0x28, 0x7E, 0x8A, 0x31, 0x03, 0x00, 0x00, 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