summaryrefslogtreecommitdiff
path: root/circuit.txt
diff options
context:
space:
mode:
authorAstrid Smith2011-09-18 20:40:48 -0700
committerAstrid Smith2011-09-18 20:40:48 -0700
commitad9adb3614e5cc0765bf75c43343e0d4a422c520 (patch)
tree21ff78e18b50141fb893f3da8291a777df38c860 /circuit.txt
parent4c9eb37337fc5658288de737c64860906c3a4e3e (diff)
Circuit diagram cleanup
Diffstat (limited to 'circuit.txt')
-rw-r--r--circuit.txt16
1 files changed, 12 insertions, 4 deletions
diff --git a/circuit.txt b/circuit.txt
index 408f8ee..216ae5a 100644
--- a/circuit.txt
+++ b/circuit.txt
@@ -10,12 +10,20 @@
| | +--------------------------+ |
| | | | +--|(+)\ | | \
Voltage | | | | | >---+ / / Pull-up resistor
- Divider | | | +--------|(-)/ | \ ~10K
+ Divider | | | +--------|(-)/ | \ ~100K
| | | \ /
- | | | Comparator (NS M8830) | \
+ | | | Dual Comparator (LM 393) | \
| | +--------------------------+ |
| | |__| |__| |__| |__| |
-24V ac o-+-\/\/\/\/--+ | | |
- | 1K | +---------+----o Digital +5V
+ | 1K | +---------+----o Vcc
| |
- +---------------+----------------------------------------o Digital ground
+ +---------------+----------------------------------------o Ground
+
+The 120Vac <-> 24Vac transformer could be replaced by a larger voltage
+divider, but that would couple the USB ground line to one pole of the
+AC line.
+
+Comparator is LM 393 or equivalent, used as a zero-crossing detector.
+
+Digital output is connected to pin B0 of the Teensy.