Most BASIC Stamp carrier boards include a DB-9 connector for programming the microcontroller and for performing simple debugging. Unfortunately only three pins are actually connected to the DB-9: TX, RX, and ATN (for programming). This severely rules out any possibility for hardware flow control. Last year I needed to communicate with a device that was much faster than the little BS2 microcontroller, and implementing some kind of flow control was the only way to keep from losing bytes. After a decent amount of reading about flow control and RS-232, I came up with the following solution.
Read More...