summaryrefslogtreecommitdiffstats
path: root/firmware/notes
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2024-11-05 01:15:13 +0100
committerLouis Burda <quent.burda@gmail.com>2024-11-05 01:15:13 +0100
commit1e1c0cf8dfd2ad7bd5d9ee620160b7363280284c (patch)
tree3e0bd06f47ed9f98741a0df3892fa4c3e7e0477b /firmware/notes
parent94585f20aacfc4e6e1f6164e55c2983f05442f9f (diff)
downloaddesk-andon-1e1c0cf8dfd2ad7bd5d9ee620160b7363280284c.tar.gz
desk-andon-1e1c0cf8dfd2ad7bd5d9ee620160b7363280284c.zip
Implement wifi connection
Diffstat (limited to 'firmware/notes')
-rw-r--r--firmware/notes9
1 files changed, 9 insertions, 0 deletions
diff --git a/firmware/notes b/firmware/notes
new file mode 100644
index 0000000..3795e63
--- /dev/null
+++ b/firmware/notes
@@ -0,0 +1,9 @@
+V_GS,LOW = V_DD - (V_DD - V_CC - V_TVS) * (R2 / (R1 + R2))
+V_GS,HIGH = V_DD - V_DD * (R2 / (R1 + R2))
+
+V_DD = 0.6 * (1 + R1 / R2) = 0.6 * (1 + 100 / 5.1) = 12.4
+V_GS,LOW = 12.4 - (12.4 - 5 - 0.7) * (100 / (100 + 10)) = 0.6 V
+V_GS,HIGH = 12.4 - 12.4 * (100 / (100 + 10)) = 1.13 V
+
+Default stdio driver flushes after newline. May sleep for 50ms
+when the tx fifo is full, but generally unbuffered.