because every little step is spelled out
Processing is the easiest program to get working with ArtBus, and anything that makes Processing work is relevant to other programs as well. So that's where we'll start. There are advanced choices for some of the setup items, but those aren't covered here.
If nothing happens in the ArtBus_term window, or if you get red error messages in Processing's terminal window, then the FTDI driver isn't talking properly to Processing. This could be because
When you start ArtBus_term.pde with everything connected, a list of serial ports appears at the bottom of the Processing editor. On Mac they should include one that looks like "/dev/tty.usbserial-FTQVBIO0". On Linux it should look like "/dev/ttyUSB0", on Windows like "COM9". Processing wants to know which one on the list to use and for that number to be put in the [ ] in the line below:
port = new Serial(this, Serial.list()[0], 115200); //Choose serial port from list
Serial.list()[0] means the first serial port in the list, and [0] works almost all the time. Other values could [1] or [2], etc.
When pressing the reset button gives you a greeting, the hardware and computer setup is finished. If you get a blinking red light that means you pushed the setup button by mistake. Just push the reset button and it will be ok. Don't close ArtBus_term.pde yet -- there's one more thing...
Since the ArtBus_term program is happy now, it's time to ask each of your boards what its name is, so that you can talk to it from Processing. If the ArtBus_term.pde sketch isn't still open, open it.
One at a time, press the reset button on each board and read the greeting message in the ArtBus_term window. The address of a board is given in the first few words of the message: "Hi from A..." The address of this board is A. It also tells you what kind of board it is, (analog or digital). The address is always an upper-case letter. Make note of the addresses. You'll use these in your program.
Close the ArtBus_term.pde sketch. Processing allows multiple sketch windows to be open at the same time, but only one program can own the serial port.
Basic connections for analog and digital input are shown on the Analog and Digital Input Diagrams page. The analog input section shows how pots and photocells connect. A word of CAUTION: the center lead on the pots in the diagrams are yellow -- be sure the center lead on the pot goes into the correct hole!
Basic connections for digital output are shown on the Digital Output Diagrams page. Please remember that hooking anything other than small electronic signals to the outputs will require extra components!