⚠️ This forum has been restored as a read-only archive so the knowledge shared by the community over many years remains available. New registrations and posting are disabled.

All times are UTC + 8 hours




Post new topic Reply to topic  [ 433 posts ]  Go to page Previous  1 ... 13, 14, 15, 16, 17, 18, 19 ... 29  Next
Author Message
PostPosted: Sep 24th, '15, 21:37 
Legend Member
Legend Member

Joined: Jan 13th, '14, 01:53
Posts: 726
Gender: Male
Are you human?: Yes
Location: Treasure Coast Florida
I'd like to start putting one of these arduinos for logging. What do I need to get started? I'd like to start with monitoring temps in 4 spots, pH, and sump water level with possibly more in the future.

This is sweet! Thanks for sharing.


Top
 Profile  
Reply with quote  
    Advertisement
 
PostPosted: Sep 25th, '15, 00:50 
Xtreme Contributor
Xtreme Contributor
User avatar

Joined: May 17th, '14, 07:21
Posts: 180
Gender: Male
Are you human?: YES
Location: Vancouver BC Canada
Colum Black-Byron wrote:
How are you measuring the water moving through? Can groove stream add up all the values?
I use the hardware timer on Arduino pin 47 as a counter. Super accurate and precise but it requires a little bit-banging to get it to work properly as it's not native to the Ardiuno IDE. The flow meter outputs pulses based on the amount of water flow. I count the pulses and send the number to Grovestreams. You have to do a little math to get a real LPH number but that is easy in the arduino.
Frequency: F=4.5 * units of flow (L / min) * time (seconds). 270 output pulses/liter.
I didn't bother to do the math because all I wanted is an indication that the pump is working and a notification when flow starts to slow down so know when I need to service the pump and clean out the impeller.

boss wrote:
This is so inspirational I have been touting this to our network engineer as a better than industry standard to monitor our remote PV powered WiFi towers.
Thanks Boss. I'm in the same industry so I know the lengths that we go to to remotely monitor tower sites.

Lmannyr wrote:
I'd like to start putting one of these arduinos for logging. What do I need to get started? I'd like to start with monitoring temps in 4 spots, pH, and sump water level with possibly more in the future.

You need...
http://www.ebay.ca/itm/SainSmart-Mega25 ... 3f2403d1b0
http://www.ebay.ca/itm/Ethernet-Shield- ... 43e1ab174d
http://www.ebay.ca/itm/DHT22-AM2302-Dig ... 3395302eea
http://www.ebay.ca/itm/1pcs-Waterproof- ... 58cbb1c634
http://www.ebay.ca/itm/Ultrasonic-Modul ... 43e1ac91f9
http://www.ebay.ca/itm/Adhesive-Special ... 2ed31d7b21
http://www.ebay.ca/itm/Wide-Angle-40x4- ... 4626b6770a
http://www.ebay.ca/itm/IIC-Precision-RT ... 3a88b746f4
http://www.ebay.ca/itm/5V-Eight-8-Chann ... 2a38f218f3
http://www.amazon.com/pH-DEVELOPMENT-AR ... 00798612C/

You'll also need a project box, mounting bits, interconnect wires and power. Relay module is only needed if you intend on controlling your pumps, fans, heater, etc. You can use a cheaper smaller LCD module if your going to keep the number of sensors down. Any hd44780 compatible LCD will work. I can help you modify the code.


Top
 Profile  
Reply with quote  
PostPosted: Sep 25th, '15, 08:00 
A posting God
A posting God
User avatar

Joined: Dec 12th, '13, 18:34
Posts: 3846
Gender: Male
Are you human?: Yes
Location: Adelaide
Thanks for the information, I'll have to bug you for more information when I get it all up and running.

And the head banging begins.


Top
 Profile  
Reply with quote  
PostPosted: Sep 25th, '15, 20:44 
Legend Member
Legend Member

Joined: Jan 13th, '14, 01:53
Posts: 726
Gender: Male
Are you human?: Yes
Location: Treasure Coast Florida
Can this be done over wifi? I would have to run 100-125 feet of Ethernet from AP to router.


Top
 Profile  
Reply with quote  
PostPosted: Sep 26th, '15, 00:42 
Xtreme Contributor
Xtreme Contributor
User avatar

Joined: May 17th, '14, 07:21
Posts: 180
Gender: Male
Are you human?: YES
Location: Vancouver BC Canada
Lmannyr wrote:
Can this be done over wifi? I would have to run 100-125 feet of Ethernet from AP to router.

WIFI is dodgy with the Arduino. I've tried the original Arduino WIFI shield and the CC3000 shield. Neither was stable enough to depend on. If you must have WIFI, I suggest using a different platform such as Arduino Yun, RaspberryPi or Particle Photon.

I use powerline ethernet AV200 link which sends ethernet traffic through the power lines. They have been 100% reliable and I'm very happy with the solution.
http://www.amazon.com/gp/product/B00EOSMT8U


Top
 Profile  
Reply with quote  
PostPosted: Sep 26th, '15, 09:55 
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 bought the cc3000 shield for arduino, i was hoping that'd work :(

Hooking up to the Raspberry Pi, is it just a matter of putting Raspbian on the pi, and then plugging the arduino into the ethernet slot? (with a wifi shield)


Top
 Profile  
Reply with quote  
PostPosted: Sep 26th, '15, 10:56 

Joined: Jan 13th, '15, 05:23
Posts: 3
Gender: Male
Are you human?: YES
Location: PA, US
This has been an awesome thread... thanks Chiumanfu for all your effort!

Lmannyr wrote:
Can this be done over wifi? I would have to run 100-125 feet of Ethernet from AP to router.


In addition to some of the other options mentioned above (alternate mcu, powerline ethernet, etc.) you could also run your ethernet from your arduino into a wifi bridge (e.g. http://www.ebay.com/itm/New-MP01-150Mbp ... 463d0397a3) especially if you already have the arduino and ethernet module.


Top
 Profile  
Reply with quote  
PostPosted: Sep 26th, '15, 12:00 
Xtreme Contributor
Xtreme Contributor
User avatar

Joined: May 17th, '14, 07:21
Posts: 180
Gender: Male
Are you human?: YES
Location: Vancouver BC Canada
I got the CC3000 to work for a bit but soon discovered that it locks up quite a bit if there is other traffic on the wifi network. It is a know problem in the chip firmware and Texas Instruments has stopped supporting it. I would return the one you bought. It is garbage and not worth struggling with.

If I was to use a raspberry pi, I would send serial strings to the RPi and have it transmit via wifi.

Take a serious look at power-line ethernet. They are dead simple to use and it will work better than wifi considering the ap system is out in the backyard and typically at the edge of wifi router range.


Top
 Profile  
Reply with quote  
PostPosted: Sep 27th, '15, 05:32 
Bordering on Legend
Bordering on Legend
User avatar

Joined: Feb 9th, '13, 15:36
Posts: 431
Images: 0
Gender: Male
Are you human?: Yes
Location: Gawler South, South Australia
Colum I am in Brisbane for the next week and a bit but on my return I can help you with the Arduino as they are quite easy to setup with the 5100 ethernet board.


Top
 Profile  
Reply with quote  
PostPosted: Sep 27th, '15, 05:53 
A posting God
A posting God
User avatar

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

I might take you up on that (although, I'll be in Thailand from tomorrow), I've got a few of the ethernet shields lying around.

I'm just contemplating on if I should just run an ethernet cable through the roof and into the router. For $20 worth of cables, it's probably be the easiest option.

I spent 5 hours yesterday trying to get an automatic feeder to work. I wired in potentiometers to the aduino, and used the pot value * 35 as the delay for the amount of time the relay was on, making each feeder click on in turn. But it just wouldn't work. The relay would click, but the motors wouldn't turn. I bypassed the arduino, and the motor worked. So I think I have a buggy relays.

So new relays are on their way from china.


Top
 Profile  
Reply with quote  
PostPosted: Sep 27th, '15, 06:00 
Bordering on Legend
Bordering on Legend
User avatar

Joined: Feb 9th, '13, 15:36
Posts: 431
Images: 0
Gender: Male
Are you human?: Yes
Location: Gawler South, South Australia
When you get back let me know and I can have a look for you. As I am sure Chiumanfu would agree it could be the smallest insignificant line of code or a wire in the wrong place that can stop things working.


Top
 Profile  
Reply with quote  
PostPosted: Sep 27th, '15, 06:40 
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 an old relay that's been knocking around in the shed for quite some time. I think it's a physical problem with the relay itself.

I'll see if the new one fixes it.


Top
 Profile  
Reply with quote  
PostPosted: Sep 30th, '15, 15:02 
Newbie
Newbie

Joined: Jun 8th, '14, 09:47
Posts: 18
Gender: Male
Are you human?: yes
Location: Vancouver, BC
Chiumanfu wrote:
Take a serious look at power-line ethernet. They are dead simple to use and it will work better than wifi considering the ap system is out in the backyard and typically at the edge of wifi router range.


This is correct. I've built a similar (fewer bells & whistles) monitoring/controlling thing based around the raspberry pi. Even with a good wifi card it craps out too much, and is just a general pain in the ass. Go with ethernet, even if you have to get creative with stringing a big ugly cable. 8)


Top
 Profile  
Reply with quote  
PostPosted: Sep 30th, '15, 18:53 
Bordering on Legend
Bordering on Legend

Joined: Jan 4th, '15, 21:32
Posts: 359
Gender: Male
Are you human?: 00011100110011001110
Location: Blue Mountains, NSW, Australia
Lmannyr wrote:
Can this be done over wifi? I would have to run 100-125 feet of Ethernet from AP to router.

I bought a tp-link tl wr841n(cost me $29 new), put dd - wrt on it and turned it into a wireless bridge. Been pretty stable for the last couple of months and no long network cable out to the garage.

Sent from my SM-N9005 using Tapatalk


Top
 Profile  
Reply with quote  
PostPosted: Oct 5th, '15, 23:26 

Joined: Feb 12th, '14, 02:50
Posts: 4
Gender: Male
Are you human?: YES
Location: Montreal, Quebec, Canada
As I'm slowly building up a list of questions (then removing the dumber ones as I educate myself), I figured it would be good manners to introduce myself before jumping in.

I volunteered to take over replicating Chiumanfu's system from a friend who is in the process of launching a commercial AP operation, and thus has zero hours to allocate to peripherals. He mailed over the parts (as per Chiumanfu's list), and I've been chipping away at the project as time allows.

My day job/background is in public health/social science research. I'm handy with data, statistics and programming (R), but until a couple of months ago knew nothing about C, Arduino or electronics. Suffice it so say, the learning curve has been a kick in the pants and about the most exciting intellectual adventure I've been on in years.

I'm hoping to be at a point soon where I can contribute to the discussion, if only by asking useful questions.

Best regards,

Luc


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 433 posts ]  Go to page Previous  1 ... 13, 14, 15, 16, 17, 18, 19 ... 29  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:  
cron

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