navitron
 
Renewable Energy and Sustainability Forum
UK's most popular Renewable Energy Forum May 25, 2012, 08:50:47 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Anyone wishing to register as a new member on the forum is strongly recommended to use a "proper" email address - following recent spam/hack attempts on the forum, all security is set to "high", and "disposable" email addresses like Gmail, Yahoo and Hotmail tend to be viewed with suspicion, and the application rejected if there is any doubt whatsoever
 
Recent Articles: UPDATE ON DECC APPLICATION FOR LEAVE TO APPEAL TO THE SUPREME COURT | Yingli Green Energy's PV Module Ranks No.2 in TUV Rheinland Energy Yield Test | Navitron Solar Showers at Glastonbury for Year 5!
   Home   Help Search Login Register  
Pages: 1 [2]   Go Down
  Print  
Author Topic: Toys for the Boys - for Christmas!  (Read 5552 times)
KenB
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2691


Energy Self Enlightenment


WWW
« Reply #15 on: December 17, 2008, 02:43:21 PM »

Nice to have yet another thread hijacked by mindless drivel.

Ken


EDIT: Off topic messages removed.



« Last Edit: December 17, 2008, 02:48:16 PM by Paulh_Boats » Logged
Paulh_Boats
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2768



« Reply #16 on: December 17, 2008, 02:45:11 PM »

Not sure I'd choose arduino for data logging, lack of proper storage could be a barrier.  Would prefer something higher powered like a gumstix pc: www.gumstix.com  ... but they are a bit pricey. How about an old netbook pc from ebay?  Think you can pickup the first gen Eee's for under a 100 quid. 

Can't find the link but I saw a plug-in SDCard pcb for the Arduino for about 15 squid. That will give oodles of non-volatile storage.
Logged
KenB
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2691


Energy Self Enlightenment


WWW
« Reply #17 on: December 17, 2008, 02:48:38 PM »

Paul,

The SD shield was featured on Stephend's  Libelium site here:

http://www.libelium.com/tienda/catalog/product_info.php?products_id=66&osCsid=ca4ea255ea83d3ed1352ff0f100818cb

18 Euros


Ken
Logged
cornishben
Sr. Member
****
Offline Offline

Posts: 260


« Reply #18 on: December 17, 2008, 04:21:43 PM »

... Think you can pickup the first gen Eee's for under a 100 quid. 

Guess I'm reinventing the wheel here. I have an eeePC which could be put to good use monitoring (its currently used as an expensive mp3 player!), as it has storage + ethernet already.  This is fine for the currentcost meter monitoring as this has a serial output to USB, but I guess the eeePC isn't so easy to interface to for monitoring temperature probes, etc.

Need to look up its power consumption as well. Doesn't strike me as being so hackable, although running linux i guess it is if you know what you're doing (not me!)
« Last Edit: December 17, 2008, 04:23:49 PM by cornishben » Logged
Paulh_Boats
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2768



« Reply #19 on: December 19, 2008, 01:36:33 PM »

Soon I'll add a poll for the popular Arduino projects, then maybe we can collaborate a bit?
Logged
KenB
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2691


Energy Self Enlightenment


WWW
« Reply #20 on: December 20, 2008, 11:59:40 AM »

Paul, Ben,

If you purchase the "official" Arduino ethernet Shield, it come with a SD card socket fitted.  It uses the Wiznet chip to provide IP access, and this chip holds the TCP/IP stack.  This frees up a lot of resources on the Arduino - which with only 1k of RAM is not the most powerful of platforms.

I however bought the nuelectronics ethernet shield based on the Microchip 28J60 ethernet controller, and the Arduino running a very much cut down TCP/IP stack, so I will have to be contented with a less capable design. 

I am however fascinated with minimalist internet hardware and if you only want to serve a few temperature or logger readings to the net, then it should be possible with a simple mcu and ethernet chip in a design that is not going to cost the earth.

My philosopy is to start with something simple that I can understand, and then work from there - rather than diving in at the deep-end, and failing to grasp the fundamentals because they are obscured in thousands of lines of someone else's clever code.  (This was the problem I had with the PIC based internet dev board).

My approach will be to interface the Arduino to my 2 channel digital thermometer, which spits out a pair of indoors and outdoors temperature readings every second on a serial interface. The Arduino will grab these, average them over say a minute and then serve them to the net.  I can then use the Pachube service to log and graph them.  Once I've achieved the basics of serving a changing physical parameter to the net, I can then look at pulse counters for electricity meters and the like.

The Arduino is a fairly minimal platform, and there are moves afoot withing the community to make a more "resource - full" design based on one of the bigger ATmega chips - providing more codespace, more RAM and more I/O pins. However, it will be interesting to see what can be achieved first with the basic board - and see whether it suits the application of renewables monitor and logger.

It still hasn't arrived - god I hate the Christmas Post!!



Ken







Logged
Paulh_Boats
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2768



« Reply #21 on: December 20, 2008, 03:06:09 PM »

Ken,

Thanks for the info. I like the Wiznet solution has it wraps up the complex and messy TCP and IP protocols in the hardware and works with the official Arduino ethernet library.

Anyways, I have started a poll in the Home Automation forum to guage the popular topics. As I said before you have found the ideal platform for small scale renewable automation..... should we call it micro-automation?

cheers
Paul
« Last Edit: December 20, 2008, 03:21:27 PM by Paulh_Boats » Logged
renewablejohn
Hero Member
*****
Online Online

Posts: 1847



« Reply #22 on: December 20, 2008, 06:30:29 PM »

See my avatar for my christmas present. A proper toy for the boys
Logged
cornishben
Sr. Member
****
Offline Offline

Posts: 260


« Reply #23 on: December 20, 2008, 07:12:51 PM »

Ken - I guess judging but your other post that your delivery arrived!

I've also ordered the nuelectronics freeduino/ethernet shield, note here yet..  but i'm hoping it'll be sufficient to average a couple of temperature readings + flow values and serve them to the net (as you say), I can then expand software around this to calculate heat output and work from there. Defiantely best to start with some LED flashing and the like with jsut a few lines of code. I take it the uk 'freeduino' doesn't have an SD card interface then?
Logged
KenB
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2691


Energy Self Enlightenment


WWW
« Reply #24 on: December 21, 2008, 12:07:30 AM »

Hi Ben,

The Freeduino turned up shortly after I moaned about the Christmas post delays!

I managed to get all of the nuelectronics example code to work

Downloaded from here

http://www.nuelectronics.com/estore/?p=14

I then ran into problems because one of my laptops kept crashing when I tried to upload the compiled code to the Freeduino board. After this happened twice I resorted to using my Toshiba notebook - which worked fine.

I made some changes to the webserver example so that it would read a thermistor rather than the Dallas temp sensor.

This worked OK as a local server, but I have yet to remember how to make my router look transparent to incoming requests.

I then tried the example code on the Pachube site, and found that this refused to compile unless I commented out the <#include stdio.h>   line in the ethershield module.

Hopefully tomorrow I will have a transparent hole through my router so others can see the Arduino server.

The Nuelectronics ethernet shield is completely different form the Arduino version - its basically just a Microchip 28J60 ethernet controller and it relies on a cut-down TCP/IP stack running on the Arduino.

There is no SD card socket - but I have downloaded the SD library and this should be relatively simple to bodge on.


ColdPlay: "Nobody said it was easy..."


regards,



Ken





Logged
Paulh_Boats
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2768



« Reply #25 on: December 21, 2008, 11:45:21 PM »

I've ordered an Arduino but not the Ethernet shield... I don't think a rainwater pump controller needs to be on the Internet.  ...or does it?  Grin
Logged
wyleu
Guest
« Reply #26 on: December 22, 2008, 08:22:20 AM »

If I had my way every light bulb would have a V6 ip address.
Logged
Pages: 1 [2]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!