Shameless copy of TT02 "Customizable UART String" by J. Rosenthal, since getting started the day of the submission deadline is NOT a good idea.
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 the string "EDM!"
Connect an Arduino serial RX pin to the eight output pin (Output[7]). In the Arduino code, set the serial baud rate Serial.begin(); in the *.ino file to 300.
Set the PCB clock frequency to 300Hz. Set the slide switch to the clock. Set SW7 to OFF (‘Load’). Set SW8 to ON (‘Output Enable’). Set SW7 to ON (‘TX’).
MCU with UART receiver, UART-to-USB adapter
# | Input | Output | Bidirectional |
---|---|---|---|
0 | |||
1 | |||
2 | |||
3 | |||
4 | |||
5 | |||
6 | |||
7 |