Posts Tagged ‘Serial comm ports’

Serial Comm Ports for ever and ever… (Part 5)

Part 1, 2, 3, 4, 5, 6, 7, 8 This posts contains a couple of illustrations of the assembled prototype. It uses a standard Diecimila (ATMEGA 168 based) board, an Adafruit Industries proto shield. There are few components around a MAXIM DALLAS Max232, capacitors, leds and a 9 pin sub-D connector. As you can see, I am using exhaustlively a set of preassembled […]

Serial Comm Ports for ever and ever… (Part 4)

Part 1, 2, 3, 4, 5, 6, 7, 8 You will find thereafter an improved version of the previously described read and write routines. Instead of using a fixed length buffer for storing the data to be sent and another one for recording the incoming data, the readBytes function shall return a vector containing the incoming data. In addition to the better look […]

Serial Comm Ports for ever and ever… (Part 3)

Part 1, 2, 3, 4, 5, 6, 7, 8 Some of you may want to interface their custom Arduino based serial comm port. It is not as trivial as you may think! In reallity, a “low” logical level (0 V) must generate a -3 to -15 Volts signal on the Tx (Transmit) pin of the communication line! And a “high” logical level (5 […]

Serial Comm Ports for ever and ever… (Part 2)

Part 1, 2, 3, 4, 5, 6, 7, 8 Now that we are more familiar with asynchronous serial communication, let’s complicate a little bit more the programming in order to achieve our ultimate goal: send and received bunches of bytes (at any rate, from 5 to 28800 baud). Instead of transfering unique bytes, we will transfer vectors of bytes. In addition, we will […]

Serial Comm Ports for ever and ever… (Part 1)

Part 1, 2, 3, 4, 5, 6, 7, 8 Serial Comm Ports have been a standard for years and years, before USB arrived from the Apple world and made the 9 pins subD connectors disappear from the back of our legacy computers. I wonder what could have been the future of the RS232 serial communication protocol if this subD connector had received a […]