All times are UTC + 8 hours




Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: My live sensors!
PostPosted: Jan 7th, '14, 15:43 
A posting God
A posting God
User avatar

Joined: Dec 12th, '13, 18:34
Posts: 3846
Gender: Male
Are you human?: Yes
Location: Adelaide
Hi all.

I've been fiddling with Arduino's for a bit now, and I have all the temps from the coolrooms/freezers/fridges at work going through the net. So I thought it'd be a good idea to do the same with the Aquaponics!

https://xively.com/feeds/352242277


It's using cheap waterproof one-wire temp sensors, one measuring the Air temp/Tank Temp/ Return Line Temp, and an ultrasonic sensor to track the water levels in the sump (it tells me how many Litres are in the tank), so I know when I need to refill the tank.

It's all going into an Arduino Uno.

When I get a rain water tank, I'll be hooking it into a solenoid, and when the water is at a certain level, it'll auto refill.

I'm waiting for a wifi repeater to arrive (little router, $25 worth, you plug the ethernet cable into it). So at the moment it's sitting on top of the fridge, but it's live, and I can see how it works for a period without being outside.

EDIT...

I should also mention, I can set triggers, so if the temps/sump levels are over or under a certain threshold, it'll email me with an alert. :)


Top
 Profile  
Reply with quote  
    Advertisement
 
 Post subject: Re: My live sensors!
PostPosted: Jan 7th, '14, 16:08 
A posting God
A posting God

Joined: Nov 10th, '12, 09:27
Posts: 2667
Gender: Male
Are you human?: maybe
Location: Vic
did you come here to tease me?


Top
 Profile  
Reply with quote  
 Post subject: Re: My live sensors!
PostPosted: Jan 7th, '14, 16:13 
A posting God
A posting God
User avatar

Joined: Dec 12th, '13, 18:34
Posts: 3846
Gender: Male
Are you human?: Yes
Location: Adelaide
Yes, yes I did.

Plus I like to be lazy :)


Top
 Profile  
Reply with quote  
 Post subject: Re: My live sensors!
PostPosted: Jan 7th, '14, 20:14 
Moderator
Moderator
User avatar

Joined: May 6th, '11, 12:06
Posts: 12206
Gender: Male
Location: Northern NSW
Mrs Charlie often asks me when I will come to my senses...


Top
 Profile  
Reply with quote  
 Post subject: Re: My live sensors!
PostPosted: Jan 22nd, '14, 17:31 
A posting God
A posting God
User avatar

Joined: Dec 12th, '13, 18:34
Posts: 3846
Gender: Male
Are you human?: Yes
Location: Adelaide
Well I sort of have my sensors all up and running. But the wifi repeater, or my router/modem is stuffing up. It'll work for a short period, and then just stops working. Half the time it takes out my modem at the same time, and won't start up until I restart the routers. I'll try support tomorrow.

But have a look at the link my my signature. The sump is quite interesting, you can see the volume going up and down (if you click on raw data points, you can see the exact readings.).

Image
Image
Image
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: My live sensors!
PostPosted: Jan 31st, '14, 06:47 
Newbie
Newbie

Joined: Sep 19th, '13, 02:49
Posts: 30
Gender: Male
Are you human?: YES
Location: Utrecht, Netherlands
Hi Columnmn,

Really cool stuff! I love your Xively feed. Here is mine to my green house: https://xively.com/feeds/1205695996

Can you tell me a bit more about the picture of the plastic-enclosed device with the black, blue and white cables? Is that the Arduino or perhaps a sensor? You said something about a one-wire device?

In the past, I have tried to get the Arduino working with MQTT using the Xively interface so that I can publish my sensor values while also subscribing to other feeds (for remote commands and other distant sensors). My experience was that programming the arduino to deal with both of these functions was painful. I ran into constant resets of the Arduino.

In the end, I moved everything to a Raspberry Pi and it was easy to get working. A $10 USB dongle was really easy to install on the RPI. No weird resets. The uptime of the PI is now approaching 130 days!

Here is a article on how the basic system was built:http://paago.org/xively/83/measuring-temperature-with-a-raspberry-pi

Regards,

Mark


Top
 Profile  
Reply with quote  
 Post subject: Re: My live sensors!
PostPosted: Jan 31st, '14, 07:19 
A posting God
A posting God
User avatar

Joined: Dec 12th, '13, 18:34
Posts: 3846
Gender: Male
Are you human?: Yes
Location: Adelaide
dutchmark wrote:
Hi Columnmn,

Really cool stuff! I love your Xively feed. Here is mine to my green house: https://xively.com/feeds/1205695996

Can you tell me a bit more about the picture of the plastic-enclosed device with the black, blue and white cables? Is that the Arduino or perhaps a sensor? You said something about a one-wire device?

In the past, I have tried to get the Arduino working with MQTT using the Xively interface so that I can publish my sensor values while also subscribing to other feeds (for remote commands and other distant sensors). My experience was that programming the arduino to deal with both of these functions was painful. I ran into constant resets of the Arduino.

In the end, I moved everything to a Raspberry Pi and it was easy to get working. A $10 USB dongle was really easy to install on the RPI. No weird resets. The uptime of the PI is now approaching 130 days!

Here is a article on how the basic system was built:http://paago.org/xively/83/measuring-temperature-with-a-raspberry-pi

Regards,

Mark


The plastic enclosed device is a big ticket item:

http://www.ebay.com.au/itm/Hot-Ultrason ... 53efa170b8

It's a ultrasonic ping sensor. So it sends a ping to the water level, calculates how long it takes to return the ping and figures out the distance, then I just did a little math to convert it into volume. Then I just coated everything apart from the speaker & receiver underneath with hot glue to waterproof it.

The one wire device is the temp sensors.

My problems aren't with the arduino resetting, it's with the router bridge (although a usb dongle would make that easier I'd imagine). I tried using webserver on the arduino, but it was dodgy. I plan on doing more with the arduino though, automating refilling from a rain water tank/ fill and empty digester tank. I think that sort of stuff is easier with the arduino. I want to set it up and ignore it. Plus I've already learnt the language, I don't like the idea of learning another.

However, I am very curious about your other sensors on there. The PH, NH1, NO2 and NO3. I saw a few very expensive PH sensors, but I couldn't find anything for the others.

What are you using for them?

And are they staying accurate over a longer period of time?


Top
 Profile  
Reply with quote  
 Post subject: Re: My live sensors!
PostPosted: Feb 18th, '14, 05:55 
Xtreme Contributor
Xtreme Contributor
User avatar

Joined: Jul 26th, '13, 09:31
Posts: 226
Location: Amarillo TX
Gender: Male
Are you human?: yes
Location: Amarillo TX, USA
Wow - that'd be great. Unfortunately I'm not smart enough to do it. However I did use a wireless pool thermometer all winter that told me the air and water temp in the greenhouse. But then it sank and started giving me weird readings. I pulled it and used a hair dryer to dry it out good but it is still telling me the water temp is 102 degrees. We keep our hot tub at 102 degrees, I'm not fooled. That water is cold to the touch. I just ordered me another one. The air temp portion is still working fine.


Top
 Profile  
Reply with quote  
 Post subject: Re: My live sensors!
PostPosted: Feb 18th, '14, 12:46 
A posting God
A posting God
User avatar

Joined: Dec 12th, '13, 18:34
Posts: 3846
Gender: Male
Are you human?: Yes
Location: Adelaide
It's not all that tricky to set up.

Just the code is the hardest part, but once you figure it out, there will be plenty more things you could do with it.


Top
 Profile  
Reply with quote  
 Post subject: Re: My live sensors!
PostPosted: Feb 18th, '14, 18:46 
In need of a life
In need of a life

Joined: Oct 26th, '11, 10:29
Posts: 1708
Gender: Male
Are you human?: super
Location: Australia, NSW, Sydney
Columnmn. Arduino is a subset of the C language. If you can program arduino you can program simple c programs. Also, Rpi runs a linux operating system, from what I saw on mark's description site, he could do almost everything through provided Linux scripts and programs, you would mostly get by with understanding Linux command line.


Top
 Profile  
Reply with quote  
 Post subject: Re: My live sensors!
PostPosted: Feb 18th, '14, 19:14 
A posting God
A posting God
User avatar

Joined: Dec 12th, '13, 18:34
Posts: 3846
Gender: Male
Are you human?: Yes
Location: Adelaide
I still like the arduino. Have a play with one, they are really quite simple to use.

I just started with zero programming experience of any kind. So it made it tricker to begin with.

But now, I just have to plug in the sensor, download the library, upload to the device, and it's good to go.


Top
 Profile  
Reply with quote  
 Post subject: Re: My live sensors!
PostPosted: Jul 27th, '14, 16:50 
Xtreme Contributor
Xtreme Contributor
User avatar

Joined: Jun 2nd, '12, 09:29
Posts: 198
Gender: Male
Are you human?: Yes
Location: Perth, Western Australia
Nice work CBB, that's exactly what I want to set up on my systems. My arduino starter kit is in transit.

Do you get any false readings with the transducer water level sensor? Was about to plonk down $50 for an eTape, but if the sensor is accurate enough I'll go with that.


Top
 Profile  
Reply with quote  
 Post subject: Re: My live sensors!
PostPosted: Jul 27th, '14, 16:58 
A posting God
A posting God
User avatar

Joined: Dec 12th, '13, 18:34
Posts: 3846
Gender: Male
Are you human?: Yes
Location: Adelaide
I get the odd false reading, but I think it's from water splashing around it. 99.999% of the time, it's perfect.

For $3 a sensor delivered, it's worth trying.

Just make sure you keep it waterproofed. I surrounded it all in hot glue, but if the water runs into the speakers below, it stops it from working in a while. Seems to start back up once dry.


Top
 Profile  
Reply with quote  
 Post subject: Re: My live sensors!
PostPosted: Jul 27th, '14, 17:01 
A posting God
A posting God
User avatar

Joined: Dec 12th, '13, 18:34
Posts: 3846
Gender: Male
Are you human?: Yes
Location: Adelaide
One other thing I should include. It'd be so much easier to put a float valve connected to a rain water tank. It'll keep the water level that much more steady. And you don't need to worry about the water level.


Top
 Profile  
Reply with quote  
 Post subject: Re: My live sensors!
PostPosted: Jul 27th, '14, 17:41 
Seriously, this cant be healthy.
Seriously, this cant be healthy.
User avatar

Joined: Feb 23rd, '07, 03:48
Posts: 6715
Location: Lyonville Victoria
Gender: Male
Are you human?: yes
Location: Lyonville
FuzzyMonkey wrote:
Nice work CBB, that's exactly what I want to set up on my systems. My arduino starter kit is in transit.

Do you get any false readings with the transducer water level sensor? Was about to plonk down $50 for an eTape, but if the sensor is accurate enough I'll go with that.


Which arduino kit did you get?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next

All times are UTC + 8 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group
Portal by phpBB3 Portal © phpBB Türkiye
[ Time : 0.047s | 15 Queries | GZIP : Off ]