RX = Receive
TX = Transmit
UART = Universal Asynchronous Receive & Transmit
When there is a byte [0,0,0,0,0,0,0,0], it is sending [LOW, LOW, LOW, LOW, LOW, LOW, LOW, LOW] in very fast manner.
1 byte = 8 bit, that's why computers favour 2^8 = 255
⁉️ MIDI's bytes are inverted!
TTL = Transistor -> Transistor Level
Communication between an Arduino to another Arduino can be mediated with TX-RX, no need computer.
USB can handle one to many, but TX-RX can only do one-to-one.
USB -> Hardware protocol
Sending is easy, receiving... you have to be there to receive it.
FIFO -> First in first out (serial communication)
LIFO -> Last in first out (python's push pop)
println -> send as ASCII, each number is split and each sent as a byte, so if you have 10, you're sending 2 bytes
serial.write(int) -> binary, 10 can be represented with just 1 byte (as long as ur number is 0-255)
serial.write(int + ',') -> ASCII due to the special character / punctuation
Elizabeth Kezia Widjaja © 2025 🙂