i'm new in arduino world. I would like to start my first project using arduino, but before I buy arduino boards I would like to find out some things, I hope some one will help me.
So the questions about arduino:
What kind of arduiono bords should I buy to create Ethernet controlled relay projet ? The thing I found out already that I should buy Arduino Ethernet Shield, but what kind of main board is compatible with Arduino Ethernet Shield?
Is there any VB samples for arduino control over ethernet ?
What kind of relay boards is comatible with arduino ? I would like to use some factory boards.
indoor
Welcome to arduino
to answer your questions:
What kind of arduiono bords should I buy to create Ethernet controlled relay projet ? The thing I found out already that I should buy Arduino Ethernet Shield, but what kind of main board is compatible with Arduino Ethernet Shield?
You can add the ethernet shield to all boards that have the headers. That is the uno, mega 256, mega ADK, but not the lilpad, or fio.
Next to having a ethernet shield you can also buy the Aduino ethernet. And there are plenty of clones. See this page on the avilable official hardware http://arduino.cc/en/Main/Hardware
Is there any VB samples for arduino control over ethernet ?
There is no VB with arduino. Code is written in a C C++ like language.
What kind of relay boards is comatible with arduino ? I would like to use some factory boards.
did you install the arduino IDE on your computer? This is necessary to write code and to transport it to your arduino. And it is also necessary to learn how the whole thing works. With the IDE come some ethernet examples. Additionally google for webduino.
jdmaag:
works great! But I can not access through my phones data network. Any suggestions?
Get a static IP, forward port 80 to your Arduino and hope that your ISP is not blocking said port.
For furture reference, you're better off posting full descriptions of your project in the "Project Guidance" section, if you want more help; this sub-forum isn't nearly as active as that one.
Hey guys... This is a very nice piece of code. I run it locally on my machine and while the LED works properly, the client side of the code isn't working and always says "connection failed". That means that I can't read the state of the LED, right? What am I possibly doing wrong? Can I expand the code for 8 on-off buttons? Any help would be greatly appreciated. Have a nice day
FaTaL:
Hey guys... This is a very nice piece of code. I run it locally on my machine and while the LED works properly, the client side of the code isn't working and always says "connection failed". That means that I can't read the state of the LED, right? What am I possibly doing wrong? Can I expand the code for 8 on-off buttons? Any help would be greatly appreciated. Have a nice day
You need to set the port in your code i.e.:
EthernetServer server(54321);
After doing this you need to forward port 54321 to your arduino device on your router/modem. After doing this you can connect remotely by going to http://yourexternalIP:54321
No... My problem is when I have 2 leds on for example, and then I try to hit the 192.168.1.30 again in the URL bar. All the leds turn off again. I see that there is a void setValuesFromParams() function but doesn't seem to work properly... That means that if I have 5 lights on for two hours for example, and then try to open the browser and hit the ip, the lights will turn off, regardless of their state at the time Any help would be appreciated. Thanks
hallo @Si:
is it possible to implement your skatch to FHEM? i want to switch 4 relays but everyone for it own...
i tried with http://arduinoip/?cmd=set 3=0 but all of the relays will change also with /?3=0 or /?cmd=set_3_0...
is there a way for an webadress-based change for only one of the pins???