Arduino does not only support RS-232 serial communication, but also supports two more communication protocols:
Serial Peripheral Interface (SPI): A special master/slave serial communication protocol used in short distance communications and very popular among different types of sensors. Its main disadvantage is the need for four pins to establish the communication channel.
Inter-Integrated Circuit (I2C): A bus-based master/slave communication protocol allowing for multimasters and multislaves. It is mainly aimed at connecting low speed devices.
They are out of the scope of this book and I will simply give you some links in case you want to investigate a little more by yourself:
To know how to deal with SPI from Arduino, there is a special dedicated page to this protocol at the Arduino Reference section of the Arduino site at http://arduino.cc/en/Reference/SPI
If you are interested in connecting your Arduino to an I2C bus, you should first read the I2C page of the Wikipedia website at http://en.wikipedia.org/wiki/I²C
And to learn how to program I2C, you could visit the Arduino Reference section and read about the Wire library at http://arduino.cc/en/reference/wire
Arduino easily supports both of these protocols by using dedicated libraries that come included in the Arduino programming environment. The use of external libraries is a topic that we will see in a later section of this chapter.