Show Posts
Pages: [1]
1  Community / Exhibition / Gallery / Remote weather station that reports back to web via satellite on: January 05, 2013, 10:56:48 am
This project uses an anemometer to meassure the wind. An arduino counts the pulses from the anemometer to compute a wind speed. It then uses a Spot Connect device to transmit this wind and temperature information to the web via the globalstar satalite system. This generates an email that drives a django based website. All the code is open source at https://github.com/fluffy/SprayWind and I look forward to hearing about what other people end up doing with this system.

This project was started as an little amusement to do over the holidays and provide information about the weather conditioins at Spray Lakes in Alberta Canada for the the folks that snowkite there. You can see the current data from this station at spraywind.com.

Some documentation of the design can be found at http://doc.spraywind.com/doc/design.html
2  Forum 2005-2010 (read only) / Bugs & Suggestions / Proposed Fix to Ethernet Shield Web Page on: June 14, 2010, 11:18:45 pm

I think the web page on the Ethernet Shield at

http://arduino.cc/en/Main/ArduinoEthernetShield

should explain that the cold power reset fails for man people and explain that possible fix to the hardware by putting a capacitor between the reset line and GND. There are several threads on this in the forum.
3  Forum 2005-2010 (read only) / Development / Re: DNS, DHCP and Bonjour/Zeroconf with Arduino on: June 14, 2010, 11:13:45 pm

It seems my problem was related to the reset on the ethernet shield basically being broken. (See thread http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1258355934) Would be sort of nice if the documentation for the EtherShield pointed this out.

I added a capacitor between reset and ground on shield which fixed the problem.
4  Forum 2005-2010 (read only) / Development / Re: DNS, DHCP and Bonjour/Zeroconf with Arduino on: June 14, 2010, 10:16:42 pm

This DNS and DHCP are great thank you. They mostly work but I am having a few problems.

When i power cycle the board,  EthernetDHCP.begin call hangs but when I hit the rest button, or use the USB cable that also does a reset, it does not. So for example, if I upload the following sketch


#include <Ethernet.h>
#include <EthernetDHCP.h>


byte macAddr[] = {
  0xDE, 0xAD, 0xBE, 0xEF, 0x66, 0xED };

byte ip[] = {
  192, 168,0,66 };

int rLed = 7;
int gLed = 6;

void setup()
{

  pinMode( rLed, OUTPUT );
  pinMode( gLed, OUTPUT );

  digitalWrite( rLed, HIGH );  
  digitalWrite( gLed, HIGH );  

  Ethernet.begin(macAddr, ip);

  digitalWrite( rLed, HIGH );  
  digitalWrite( gLed, LOW );  

  EthernetDHCP.begin(macAddr);

  digitalWrite( rLed, LOW );  
  digitalWrite( gLed, HIGH );  
}

void loop()
{
}


and then power cycle the board, the red led goes on but we green one never does. I see no ethernet traffic from the board on an ethernet sniffer. If I then hit the reset button, everything works as one would expect and I get a valid  DHCP transaction and end up with an address. It's 100% repeatable - never works when I power cycle the board.

The only other issue I had was with the DNS. It seems like it only does lookups of A records but lots of times you have a CNAME that points at A record. Would it be possible to extent it to do other record lookups. There is some nice DNS code over on the Contiki project that might be useful to look at.

Thanks for the nice libraries. I really think that some solution to DNS and DHCP need to be included in the Arduino Standard libraries.




Pages: [1]