From ad54b0cc0716eb700f8da8b6d95c636c3b543076 Mon Sep 17 00:00:00 2001 From: thomasabishop Date: Mon, 15 Dec 2025 19:32:39 +0000 Subject: [PATCH] micro-controllers --- zk/Expressif_IoT_Development_Framework.md | 2 +- zk/Serial_transmission.md | 32 +++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 zk/Serial_transmission.md diff --git a/zk/Expressif_IoT_Development_Framework.md b/zk/Expressif_IoT_Development_Framework.md index a82d294..185d57c 100644 --- a/zk/Expressif_IoT_Development_Framework.md +++ b/zk/Expressif_IoT_Development_Framework.md @@ -43,7 +43,7 @@ In any terminal where you want to compile to the device. ![](../img/esp-32-shell-confirmation.png) -## Compilation process +## Compilation/flashing process To demonstrate compilation, I have copied one of the demo projects provided: diff --git a/zk/Serial_transmission.md b/zk/Serial_transmission.md new file mode 100644 index 0000000..458413f --- /dev/null +++ b/zk/Serial_transmission.md @@ -0,0 +1,32 @@ +--- +tags: + - computer-architecture + - micro-controllers +--- + +A serial port/device transmits data sequentially, one bit at a time over a +single channel/data line. + +This is in contrast to parallel transmission, where there are multiple +channels/data lines, used simultaneously. + +With serial transmission, one bit is sent after another: + +![Serial transmission](../img/serial-transmission.jpg) + +With parallel transmission, each bit of a byte travels on its own channel in +parallel: + +![Parallel transmission](../img/parallel-transmission.jpg) + +Although we say a serial device transmits over a single channel, this is a +logical distinction. The actual electrical signals will be transmitted +physically via multiple wires. + +## Serial devices on Linux + +Most serial devices today connect via [USB](./USB_protocols_and_connectors.md). + +On Linux, `/dev/ttyUSB*` is a [device](./Devices.md) file representing the +physical USB connection to a serial device like, for example, an +[ESP32](./ESP_32.md) microcontroller.