This circuit implements five shift registers with 21 bits: seven idle bits, one start bit, eight data bits, one stop bit, and four more idle bits. The circuit supports transmitting a string of ASCII characters
Connect an Arduino serial RX pin to the eight output pin (Output[7]). In the Arduino code, set the serial baud rate Serial.begin(<baud rate>); in the *.ino file to 300. Set the PCB clock frequency to 300 Hz as well. Set the slide switch to the clock. Set SW7 to OFF ('Load'). Set SW8 to ON ('Output Enable'). Set SW7 to ON ('TX').
Arduino, computer with serial monitor connected to the Arduino
# | Input | Output |
---|---|---|
0 | clock | segment a (Output Enable) |
1 | N/A | segment b (Load/TX) |
2 | N/A | segment c |
3 | N/A | segment d |
4 | N/A | segment e |
5 | N/A | segment f |
6 | Load/TX | segment g |
7 | Output Enable | UART Serial Out |