182 Customizable UART string tx

182 : Customizable UART string tx

  • Author: Tiny Tapeout 02 (J. Rosenthal)
  • Description: Customizable UART Transmitter Supports sending multiple ASCII characters over UART. Each column of flip flops stores a single ASCII character. To modify a character, change bits 6-0 by modifying whether the respective multiplex is set to VCC or GND.

To add characters, copy and paste a column. Connect the output of the new column (Q port of the upper-most D-flip flop) to the input of the stage to the left (bottom-left most multiplexer port). Remember to connect the multiplexer select signal and the clock to the new column as well.

Lastly, delete the the output of the first column (Q port of the upper-most D-flip flop) and create a new connection to the to the input of the new stage you’ve added (bottom-left most multiplexer port).

How it works

TODO:FIXME

How to test

To begin transmission

  1. Set the Arduino serial baud rate Serial.begin(<baud rate>); in the *.ino file to 300
  2. Set the Wokwi clock frequency "attrs": { "frequency": "300" } in the diagram.json to 300 as well
  3. Set the slide switch to the clock
  4. Set SW7 to OFF (“Load”)
  5. Set SW8 to ON (“Output Enable”)
  6. Set SW7 to ON (“TX”)

If there’s no output from the Wokwi Arduino serial monitor, try toggling SW7 OFF and ON again.

Congratulations! You should now see your customized letters being output!

Note that garbage characters may be printed upon initialization.

IO

# Input Output Bidirectional
0 N/A segment a none
1 N/A segment b none
2 N/A segment c none
3 N/A segment d none
4 N/A segment e none
5 N/A segment f none
6 load/tx segment g none
7 output enable N/A none