Show Posts
Pages: [1]
1  Using Arduino / Networking, Protocols, and Devices / Re: Non-Blocking Ethernet Library on: April 03, 2013, 10:59:17 am

Quote
This will keep trying to get an ip forever until it gets one. Is that what you want?

Well that could definitely help- Thank you- However my issue is that the rest of the sketch - the remainder of set up and loop- will not run.

I have functionality in this code that can run locally and notify the user - when they look- via lcd that there is no connection. The problem is that without the ethernet connection established nothing works.

If on start up the Ethernet connection is established it runs fine, even if afterwards the cable gets disconnected for a few turns of the loop it happily reconnects once a network is available again. I live in an area where the power goes of regular and the restarting of the modems takes infinitely longer than the Arduino.

I have yet to find out what happens when the DHCP server decides the lease is up and someone else takes the address in the mean time. reboot solves all but I am putting in sensors on a remote locationand hope to have reliable connection for 30 days at a time...

Thanks again,

Erick
Quote
2  Using Arduino / Project Guidance / Re: LCD menu problems and condensing sketch on: March 28, 2013, 10:01:33 am
Hi there I am working on a similar project where I need LCD control I have tried the coagula.org sample but it did not exactly work for me.

However trying the code you posted, seems to work, with one issue: I noticed once I set a Brightness of a LEd connected to D6, how does one get back out of the menu, to home....

have you found a way yet to get this in your compete sketch such that the menu can be invoked while the rest of the sketch continues or is on hold for that matter.....?

Many thanks look forward to any ideas

erick
3  Using Arduino / Networking, Protocols, and Devices / Re: Non-Blocking Ethernet Library on: March 28, 2013, 09:23:49 am
Hello Surfer Tim,

Just wondering if there is a way to "overcome" a failed DHCP request. I have a program running that happily connects to the intended surfer and when the ethernet cable gets unplugged in it just spins connect-disconnect etc, AND the rest of the sketch keeps running LCD sensors LED's etc.. So happy days there..
The issue that I have is when the Arduino -(Mega with Ethernet shield- w5100)- gets restarted and there is no Ethernet connection available like after a power failure, The sketch stalls completely.

Only after a restart WITH the router booted up will the unit resume its intended function, I hope that you would have some ideas how to tweak

( I read a post by http://gkaindl.com/software/arduino-ethernet/dhcp  that eluded to a mod of the dhcp.h file?

I am trying to achieve that the sketch runs -except the web connection- but when one becomes available it then eventually connects...

I'd be very grateful if you would be able to share your insights..

Erick
4  Using Arduino / Installation & Troubleshooting / Re: Mac OS mountain lion Not detect Arduino Serial Port on: February 15, 2013, 11:42:56 am
Know this is an old thread but the title is popular with people with a similar issue and there are lots of them it seems.

What worked for me is to look in the /Library/Extensions/Java/Extensions I found a file RXTXcomm.jar in there (from 2006) I trashed it and re-started Arduino... success! took me many hours to find it. You may have to show hidden files in the finder which requires Terminal and the following command (defaults write com.apple.finder AppleShowAllFiles TRUE) when done replace TRUE with FALSE and you're back to normal.

Since your original post come up to the top of Google search I hope this works for others too.
5  Topics / Home Automation and Networked Objects / Re: Automated Reptile Control System(webserver, Data Logging, RTC and much more) on: February 15, 2013, 07:56:53 am
Zip worked fine, very nice.

System schematic would be grand, looks well thought out in the pictures.
6  Using Arduino / Installation & Troubleshooting / Re: Mac OSX 10.8 and 10.7 Serial Port in Tools menu greyed out on: February 15, 2013, 05:23:49 am
I have exactly the same issue on my Mac Pro Early 2008 10.8.2. However on my MacBook Air it works fine.....

Erick
7  Topics / Home Automation and Networked Objects / Re: Automated Reptile Control System(webserver, Data Logging, RTC and much more) on: February 14, 2013, 11:20:11 am
Very Nice Work indeed do you have a set up diagram as well  smiley
Pages: [1]