verynsa.blogg.se

Arduino delphi serial communications
Arduino delphi serial communications







arduino delphi serial communications

Either switch would control the LED on the OTHER Arduino. but wouldn't actually be symmetrical 'inside'. Would the whole thing be 'symmetrical', apart from one Arduino being master, the other slave? I think I'll leave worrying about that for another day when my brain is fresher!) I think it would LOOK symmetrical. (If you can work up such a device without repeatedly getting confused as to which LED is controlled, and which is reporting, etc, ,my hat is off to you. The switch would take the place of the 'Turn LED On' / 'Turn LED Off' buttons, and the LED would take the place of the 'Input due to (other!) switch was high/ low.' text. That 'master Arduino' would only need a switch and an LED to be 'powerful' enough to take the place of the Windows XP machine. Ardulink is a complete, open source, java solution for the control and coordination of Arduino boards. 0 Comments Arduino Playground - Interfacing. This has good information, and a search button at the bottom of the page. I challenge my Arduino friends to do the fairly simple exercise of writing Arduino code to have another Arduino in place of the Windows XP computer in the diagram above. Using the COM port Bi-directional Communications Hyperterminal derivative. If you know how to connect something else to a serial stream, and can send things to the Arduino over a 'Tx to other device' line, and read bytes received over a 'Rx from other device' line, you can use the Arduino code I've presented here with the software and serial device of your choosing. You don't, by the way, have to do this with Delphi or with a Windows computer as the master. There are a lot of rems in that Delphi code to help you understand what is going on.









Arduino delphi serial communications