If you write a programm and you want, that this programm interacts with the arduino-board, can you manage it, without having to install the arduino-IDE
Example: Lets say you have a board which some LED attached to it. And I want, that when I press a Key on my Keyboard a button lights up.
How do I do this? Can I include a command (a function) in my programm, that communicates with the arduino? I have no Idea how it works!
If you write a programm and you want, that this programm interacts with the arduino-board, can you manage it, without having to install the arduino-IDE
Yes. You may still need to install drivers for the USB/Serial port on the Arduino, but after that it just shows up at a serial port when connected to your PC, and any programming language that can talk to a serial port can talk to the arduino.
There is an Interfacing with Software on the Computer sub-forum all about the general topic, and a sketch/protocol/library called "Firmata" that permits PC-side applications to access arduino resources (pins, etc) in a standard way.
westfw:
Yes. You may still need to install drivers for the USB/Serial port on the Arduino,
So: If I do it right, I can go to basically any Computer which has the Programm and I can controll my board without installing anything further on the Computer than just my Program
Okaghana:
So: If I do it right, I can go to basically any Computer which has the Programm and I can controll my board without installing anything further on the Computer than just my Program
It would help if you were more specific.
In general, any PC program that can communicate over a serial connection will be able to talk to the Arduino without needing the Arduino IDE on that computer.
This assumes that there is already a program on the Arduino and that the PC program and the Arduino program have been written with each other in mind.
This Python - Arduino demo may help to illustrate the concept. After the Arduino program has been uploaded to the Uno it could be used with any PC that has that Python program. (Note that the Python program was written for Linux and the references to the serial port would need to be changed for Windows)
can I program a arduino with added hardware to make leds flash then sent it to someone with no arduino experience or software could they use it as plug and play or would they require the ide program to select the usb port etc.
If that's the question then I don't know the answer as I have never tried it but im sure someone on here does.
You also have other options like Bluetooth, wireless network, etc. It depending on how much data you wish to transfer
can I program a arduino with added hardware to make leds flash then sent it to someone with no arduino experience or software could they use it as plug and play or would they require the ide program to select the usb port etc.
That's pretty much what I thought the OP was asking with one important addition - the existence of a PC program that could send messages to the Arduino to control it.
Robin2:
the existence of a PC program that could send messages to the Arduino to control it.
These two Quotes basically summarize exactly my Question.
I have a sketch on my board and a programm on my Pc, and I want to controll the board with the Pc without to install any other software on the computer. If this is possible!
And... As the anseweres Suggest: Yes it is!
gpop1:
You also have other options like Bluetooth, wireless network, etc. It depending on how much data you wish to transfer
Not huge amounts of Data, so I think ill use just USB. Also not every Computer has Bluetooth. And wireless would be more complicated (also would i need another shield for each of those which is unnessesary much hardware)
Okaghana:
These two Quotes basically summarize exactly my Question.
I have a sketch on my board and a programm on my Pc, and I want to controll the board with the Pc without to install any other software on the computer. If this is possible!
That is a bit ambiguous.
You would have to install the control program onto the PC to which you are proposing to connect the Arduino. And the PC would need to have the driver necessary to interact with the Arduino over the USB connection.