Arduino with advancedHMI

Thanks GWM for your excellent document

Before I place an order would you know if there would be any problem with a WizNet W5100 chip
e.g. Recommendations For You - DealeXtreme

Cheers

I am using the Arduino branded Ethernet shield and it uses the same Wiznet w5100, I will guess that the other shield will work the same.

Nice posting and research, guys. This might be the excuse I was waiting for to get an Ethernet shield :). As for now, I'm sucking on good ol' processing and serial communication for my HMI. I'll give that excellet guide a try as soon as I get a shield. Thanks for contributing this. I'm sure it will benefit many people.

I know you're going to hate me for asking, but what about going the other direction - click a button in advancedHMI and have it do something on a digital pin on the Arduino?

kanurys I've just ordered following from Hong Kong for less than US$10 I will expect take 3 weeks to get to me in Western Australia
http://www.ebay.com.au/itm/170892514760?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1438.l2649

We (and others watching) are both on the same learning curve but in response to your question above re HMI graphically comanding the Arduino outputs I feel once you get the first stage of Arduino working to say your local home router and presenting data on a basic web page by addressing an IP address a lot of the next stage using HMI will become evident.

I'm expecting my first Arduino in the post any day so of course connecting to an external serial port through a level converter chip (say MAX232) is the first task to master. To that end I've downloaded the "brey terminal" from another topic on this forum from retrolefty and this is the best terminal program I've seen which allows me to serially connect 2 PCs with one PC using the terminal program to respond to predefined strings with another string
e.g. PC1 sends "Are you there PC2" to which PC2 responds "Yes I am" Great tool to diagnoise serial connections. Program even has a graphing capability on incoming serial data. Go to following post.

Enjoy

I have not been able to get reliable results controlling the digital pins as of yet. I have managed to turn on a led via the HMI, but cannot turn it back off. I'm sure its a simple setting somewhere but I am not having any luck so far. Mb.C[8] in the sketch is at PLC address 00009. If I create a button to toggle bit and tell it that PLC address it will turn it on but will not toggle back off.

!!!FACE PALM!!

Figured it out. Mb.C[8] is either true or false. So the button for ON needs to be "set to true" and the button for OFF needs to be "set to false"

then in code it will look like this:

if(Mb.C[8]) digitalWrite(8,HIGH) ;
else digitalWrite(8,LOW) ;

That did the trick!

There seems to be a communication problem I need to sort out. I can either read an analog value or control pushbuttons. If I try both the analog display takes up the bandwidth and the pushbutton signals get lost.

I'm guessing maybe a timer on the analog so that it only pulls a reading once every few seconds may work.

!!!FACE PALM!!

So that is what it means - don't you love Google ....

thanx a lot for your all replies
also i need have one of HMI and want to connect it to my project of medical machine. (instead of keyboard and display)
so i think it is very difficult to do that with arduino unless i use a special protocol please any help ?