Reduce LED brightness using PWM on 74HC OE

This commit is contained in:
Pascal Engélibert 2022-09-03 09:17:19 +02:00
parent fe99a96406
commit 25a0680a90
Signed by: tuxmain
GPG key ID: 3504BC6D362F7DCA
2 changed files with 689 additions and 34 deletions

View file

@ -10,13 +10,17 @@ Arduino alarm clock with binary matrix LED display and IR remote control.
* IR remote control for settings and stopping alarm
* big pushbutton for stopping alarm
* light sensor for dimming display
* better calibrate LED brightness
## Notes
A NE555 is used for generating a high-frequency PWM signal, feeding one 74HC's "Output Enable" port. This is because otherwise the LEDs are too bright, and playing with the serial signal to reduce brightness is not fast enough (it produces a perceptible blinking). Also, using the Arduino's internal PWM causes the serial transmission to behave erratically. And of course, as 74HC uses logical gates, it needs a binary (PWM) signal, not analog.
## TODO
* supercapacitor & low-voltage detection
* casing
* multiple alarms
* better LED dimming (maybe use PWM on 74HC's OE)
* date (at least weekday)
* connection with online timetable?
* progressive alarm ringing

View file

@ -100,7 +100,56 @@
)
)
)
(symbol "Device:Buzzer" (pin_names (offset 0.0254) hide) (in_bom yes) (on_board yes)
(symbol "DIODE_1" (pin_numbers hide) (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes)
(property "Reference" "D" (id 0) (at 0 3.81 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "DIODE_1" (id 1) (at 0 -4.445 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (id 2) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "simulation" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Diode symbol for simulation only. Pin order incompatible with official kicad footprints" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "DIODE_1_0_1"
(polyline
(pts
(xy 1.905 2.54)
(xy 1.905 -2.54)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy -1.905 2.54)
(xy -1.905 -2.54)
(xy 1.905 0)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type outline))
)
)
(symbol "DIODE_1_1_1"
(pin input line (at -5.08 0 0) (length 3.81)
(name "K" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin input line (at 5.08 0 180) (length 3.81)
(name "A" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "Device:Buzzer" (pin_numbers hide) (pin_names (offset 0.0254) hide) (in_bom yes) (on_board yes)
(property "Reference" "BZ" (id 0) (at 3.81 1.27 0)
(effects (font (size 1.27 1.27)) (justify left))
)
@ -163,6 +212,134 @@
)
)
)
(symbol "Device:C" (pin_numbers hide) (pin_names (offset 0.254)) (in_bom yes) (on_board yes)
(property "Reference" "C" (id 0) (at 0.635 2.54 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "C" (id 1) (at 0.635 -2.54 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "" (id 2) (at 0.9652 -3.81 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "cap capacitor" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Unpolarized capacitor" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "C_*" (id 6) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "C_0_1"
(polyline
(pts
(xy -2.032 -0.762)
(xy 2.032 -0.762)
)
(stroke (width 0.508) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy -2.032 0.762)
(xy 2.032 0.762)
)
(stroke (width 0.508) (type default) (color 0 0 0 0))
(fill (type none))
)
)
(symbol "C_1_1"
(pin passive line (at 0 3.81 270) (length 2.794)
(name "~" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 0 -3.81 90) (length 2.794)
(name "~" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "Device:Q_NPN_BCE" (pin_numbers hide) (pin_names (offset 0) hide) (in_bom yes) (on_board yes)
(property "Reference" "Q" (id 0) (at 5.08 1.27 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "Q_NPN_BCE" (id 1) (at 5.08 -1.27 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "" (id 2) (at 5.08 2.54 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "transistor NPN" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "NPN transistor, base/collector/emitter" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "Q_NPN_BCE_0_1"
(polyline
(pts
(xy 0.635 0.635)
(xy 2.54 2.54)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 0.635 -0.635)
(xy 2.54 -2.54)
(xy 2.54 -2.54)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 0.635 1.905)
(xy 0.635 -1.905)
(xy 0.635 -1.905)
)
(stroke (width 0.508) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 1.27 -1.778)
(xy 1.778 -1.27)
(xy 2.286 -2.286)
(xy 1.27 -1.778)
(xy 1.27 -1.778)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type outline))
)
(circle (center 1.27 0) (radius 2.8194)
(stroke (width 0.254) (type default) (color 0 0 0 0))
(fill (type none))
)
)
(symbol "Q_NPN_BCE_1_1"
(pin input line (at -5.08 0 0) (length 5.715)
(name "B" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 2.54 5.08 270) (length 2.54)
(name "C" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 2.54 -5.08 90) (length 2.54)
(name "E" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "Device:R" (pin_numbers hide) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "R" (id 0) (at 2.032 0 90)
(effects (font (size 1.27 1.27)))
@ -731,6 +908,75 @@
)
)
)
(symbol "Timer:NE555P" (in_bom yes) (on_board yes)
(property "Reference" "U" (id 0) (at -10.16 8.89 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "NE555P" (id 1) (at 2.54 8.89 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "Package_DIP:DIP-8_W7.62mm" (id 2) (at 16.51 -10.16 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "http://www.ti.com/lit/ds/symlink/ne555.pdf" (id 3) (at 21.59 -10.16 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "single timer 555" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Precision Timers, 555 compatible, PDIP-8" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "DIP*W7.62mm*" (id 6) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "NE555P_0_0"
(pin power_in line (at 0 -10.16 90) (length 2.54)
(name "GND" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin power_in line (at 0 10.16 270) (length 2.54)
(name "VCC" (effects (font (size 1.27 1.27))))
(number "8" (effects (font (size 1.27 1.27))))
)
)
(symbol "NE555P_0_1"
(rectangle (start -8.89 -7.62) (end 8.89 7.62)
(stroke (width 0.254) (type default) (color 0 0 0 0))
(fill (type background))
)
(rectangle (start -8.89 -7.62) (end 8.89 7.62)
(stroke (width 0.254) (type default) (color 0 0 0 0))
(fill (type background))
)
)
(symbol "NE555P_1_1"
(pin input line (at -12.7 5.08 0) (length 3.81)
(name "TR" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin output line (at 12.7 5.08 180) (length 3.81)
(name "Q" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
(pin input inverted (at -12.7 -5.08 0) (length 3.81)
(name "R" (effects (font (size 1.27 1.27))))
(number "4" (effects (font (size 1.27 1.27))))
)
(pin input line (at -12.7 0 0) (length 3.81)
(name "CV" (effects (font (size 1.27 1.27))))
(number "5" (effects (font (size 1.27 1.27))))
)
(pin input line (at 12.7 -5.08 180) (length 3.81)
(name "THR" (effects (font (size 1.27 1.27))))
(number "6" (effects (font (size 1.27 1.27))))
)
(pin input line (at 12.7 0 180) (length 3.81)
(name "DIS" (effects (font (size 1.27 1.27))))
(number "7" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "power:+5V" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "#PWR" (id 0) (at 0 -3.81 0)
(effects (font (size 1.27 1.27)) hide)
@ -823,8 +1069,60 @@
)
)
)
(symbol "pspice:DIODE" (pin_numbers hide) (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes)
(property "Reference" "D" (id 0) (at 0 3.81 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "DIODE" (id 1) (at 0 -4.445 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (id 2) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "simulation" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Diode symbol for simulation only. Pin order incompatible with official kicad footprints" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "DIODE_0_1"
(polyline
(pts
(xy 1.905 2.54)
(xy 1.905 -2.54)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy -1.905 2.54)
(xy -1.905 -2.54)
(xy 1.905 0)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type outline))
)
)
(symbol "DIODE_1_1"
(pin input line (at -5.08 0 0) (length 3.81)
(name "K" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin input line (at 5.08 0 180) (length 3.81)
(name "A" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
)
)
)
(junction (at 68.58 154.94) (diameter 0) (color 0 0 0 0)
(uuid 1075f801-c61b-4029-b4ba-92180eb9a11d)
)
(junction (at 81.28 57.15) (diameter 0) (color 0 0 0 0)
(uuid 1253b181-e6bf-46ef-9ce0-0ebd7b09afc3)
)
@ -834,27 +1132,68 @@
(junction (at 93.98 90.17) (diameter 0) (color 0 0 0 0)
(uuid 4ae13326-4ca7-415c-bcc2-1eac3539207a)
)
(junction (at 81.28 189.23) (diameter 0) (color 0 0 0 0)
(uuid 657da6b5-99bf-45e6-a025-a1a955090760)
)
(junction (at 91.44 165.1) (diameter 0) (color 0 0 0 0)
(uuid 7a12cce4-f741-41d8-b095-d4936c93db95)
)
(junction (at 82.55 154.94) (diameter 0) (color 0 0 0 0)
(uuid 7ce60345-169f-4ae7-8cec-3f8ca68b84bd)
)
(junction (at 81.28 96.52) (diameter 0) (color 0 0 0 0)
(uuid 82f9ca19-7f27-4546-8597-40a4871f604f)
)
(junction (at 91.44 189.23) (diameter 0) (color 0 0 0 0)
(uuid a1a23778-2c11-413b-8356-4012bd9da2b9)
)
(junction (at 110.49 99.06) (diameter 0) (color 0 0 0 0)
(uuid ae022e79-4672-4103-afe8-459a29f9949e)
)
(junction (at 81.28 181.61) (diameter 0) (color 0 0 0 0)
(uuid b6ec9ae1-01a6-40af-9342-606b48aa2be7)
)
(junction (at 176.53 96.52) (diameter 0) (color 0 0 0 0)
(uuid d532b373-8bef-483d-94ce-38f5ccfb39d7)
)
(junction (at 95.25 129.54) (diameter 0) (color 0 0 0 0)
(uuid f1acfaba-792a-475b-9066-8e0a72a3bb05)
(junction (at 68.58 181.61) (diameter 0) (color 0 0 0 0)
(uuid e5c9879b-8f0d-4695-86b5-5d6a528afdbf)
)
(junction (at 91.44 147.32) (diameter 0) (color 0 0 0 0)
(uuid eabd8feb-3586-4f77-8e68-3c6a1a00baca)
)
(junction (at 68.58 147.32) (diameter 0) (color 0 0 0 0)
(uuid fc0f8902-fef2-4b55-9370-d2436cfb42df)
)
(wire (pts (xy 139.7 140.97) (xy 139.7 106.68))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 01720954-ebd0-4fe4-8ab9-e09bb6c4a6fd)
)
(wire (pts (xy 91.44 147.32) (xy 87.63 147.32))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 029ee0a7-dc7c-491d-86b2-4e47ebf56ce3)
)
(wire (pts (xy 68.58 147.32) (xy 77.47 147.32))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 07d8fb4c-d77c-4bc9-902c-7d2b0d092433)
)
(wire (pts (xy 55.88 175.26) (xy 53.34 175.26))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 08281721-14a0-4149-865b-863b1bf2e43a)
)
(wire (pts (xy 93.98 69.85) (xy 93.98 57.15))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 0fe258fe-04e7-4d8c-98a7-53e1ac5d7856)
)
(wire (pts (xy 81.28 189.23) (xy 91.44 189.23))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 11c2c54a-906d-499b-8fa3-d0265977343b)
)
(wire (pts (xy 81.28 189.23) (xy 81.28 181.61))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 121101ac-cba1-4429-8e97-8964d913c211)
)
(wire (pts (xy 95.25 109.22) (xy 95.25 96.52))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 13572b19-5360-41e4-9895-1b2435a9aea4)
@ -867,18 +1206,26 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 27deaa24-d5e1-46f4-93d6-9b974e798f3f)
)
(wire (pts (xy 91.44 165.1) (xy 91.44 179.07))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 29e22f7d-a810-4575-8a7d-3d3562727bf0)
)
(wire (pts (xy 68.58 181.61) (xy 68.58 180.34))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 2adbe6a4-18c5-4e6f-8ccd-cb433cd14f29)
)
(wire (pts (xy 110.49 67.31) (xy 110.49 99.06))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 2e534c7e-a1e2-4014-879a-93cef3631b95)
)
(wire (pts (xy 81.28 170.18) (xy 82.55 170.18))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 30258dfb-a0cd-49b6-a74a-9b64b3131ad2)
)
(wire (pts (xy 91.44 114.3) (xy 107.95 114.3))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 315b9383-0d5e-4ae6-9344-bfeece476e6b)
)
(wire (pts (xy 91.44 116.84) (xy 95.25 116.84))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 31c0aa79-20af-4f92-a6e9-853980c15d29)
)
(wire (pts (xy 135.89 134.62) (xy 135.89 135.89))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 32efbf43-074b-4b68-8ba0-078b16b86f82)
@ -887,10 +1234,6 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 386f5dfe-1117-4feb-9d4e-7473c6e7231c)
)
(wire (pts (xy 81.28 129.54) (xy 95.25 129.54))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 38e91136-f0e3-4fbd-a048-8eb42b9ae94a)
)
(wire (pts (xy 110.49 99.06) (xy 142.24 99.06))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 3c1e82c9-fea0-48a6-845c-322736992719)
@ -903,6 +1246,10 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 4f96485b-79c9-4e23-ad0f-282e3d835b81)
)
(wire (pts (xy 78.74 181.61) (xy 81.28 181.61))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 57ffaaf0-e14e-442c-8cce-905d6abfe55e)
)
(wire (pts (xy 119.38 124.46) (xy 119.38 101.6))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 5a725437-1a79-4644-8f94-f36106378c55)
@ -915,6 +1262,14 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 5ed8222e-e54b-48f9-8b21-6489d05a2cae)
)
(wire (pts (xy 68.58 154.94) (xy 68.58 160.02))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 5f722d5d-d544-49c2-9089-731af724b30c)
)
(wire (pts (xy 100.33 171.45) (xy 100.33 165.1))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 6982f50f-4bd6-4e65-aa54-48b3a88f87c8)
)
(wire (pts (xy 91.44 77.47) (xy 93.98 77.47))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 6e36634f-cae9-4d73-afb1-0a3b14b7f072)
@ -931,13 +1286,17 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 75f9e204-ce7d-4b50-8827-c5d1cfbe834c)
)
(wire (pts (xy 49.53 165.1) (xy 49.53 189.23))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 7b0fd84d-affd-46e5-b49a-3ce0a28ec97b)
)
(wire (pts (xy 107.95 114.3) (xy 107.95 96.52))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 8344dbc9-9b1f-416c-bcbd-dec81bfc7d3a)
)
(wire (pts (xy 95.25 116.84) (xy 95.25 129.54))
(wire (pts (xy 68.58 181.61) (xy 71.12 181.61))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 8e7e07de-868e-45eb-a37e-38488a27d048)
(uuid 86bb9bd6-0fa4-4bae-ab0d-0775f0d2bec8)
)
(wire (pts (xy 95.25 96.52) (xy 81.28 96.52))
(stroke (width 0) (type default) (color 0 0 0 0))
@ -947,6 +1306,10 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 99907f80-05e8-4b74-bbeb-1789e8268128)
)
(wire (pts (xy 68.58 147.32) (xy 68.58 154.94))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 9a8cc1bd-8630-4402-9906-483571b565f8)
)
(wire (pts (xy 46.99 124.46) (xy 71.12 124.46))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 9beafc4a-5476-47fe-a59d-6031f47164bc)
@ -955,6 +1318,10 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 9ca6d8e6-cfe3-4283-81ab-ea4926217b55)
)
(wire (pts (xy 82.55 156.21) (xy 82.55 154.94))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 9cec63d3-be77-4e80-9129-8d30d3f0b5a5)
)
(wire (pts (xy 135.89 140.97) (xy 139.7 140.97))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 9da2ba3f-5ff0-4eb1-a1e7-abe97b23bd52)
@ -967,6 +1334,18 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid a65f300d-524a-47e6-a976-bfad5ee10fc9)
)
(wire (pts (xy 81.28 165.1) (xy 91.44 165.1))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid a8472144-e196-44e4-8cca-ab78ab19876d)
)
(wire (pts (xy 68.58 182.88) (xy 68.58 181.61))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid a84bab5c-4510-4ec6-8912-fc7228acf303)
)
(wire (pts (xy 53.34 154.94) (xy 68.58 154.94))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid aa4640fe-5de9-4d72-a528-070f0d2d1f74)
)
(wire (pts (xy 93.98 57.15) (xy 81.28 57.15))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid ac638f29-f19a-4987-9c89-220165746ffc)
@ -975,14 +1354,50 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid ad1a8737-d55f-44b5-bbb1-d1a51cda1388)
)
(wire (pts (xy 91.44 165.1) (xy 100.33 165.1))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid b096ef22-791a-480a-9d01-01ecb9b51892)
)
(wire (pts (xy 68.58 154.94) (xy 73.66 154.94))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid b6a3930e-d171-4bfa-bacf-e8326b33f217)
)
(wire (pts (xy 91.44 189.23) (xy 100.33 189.23))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid b8578491-bd7f-4173-9ec3-27808b7eb94a)
)
(wire (pts (xy 49.53 189.23) (xy 81.28 189.23))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid c17e5ec6-eea8-407b-8b1f-e0c06299135d)
)
(wire (pts (xy 91.44 116.84) (xy 91.44 147.32))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid c61d84b3-607d-4f0e-8208-25db8ea5ce6d)
)
(wire (pts (xy 81.28 154.94) (xy 82.55 154.94))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid c6ecf89a-ef69-4442-b262-e30d9e53f154)
)
(wire (pts (xy 46.99 49.53) (xy 46.99 124.46))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid ce21daba-68c6-4c5a-92a3-ce60fbe83bfa)
)
(wire (pts (xy 82.55 170.18) (xy 82.55 163.83))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid dd36533d-5b06-4da6-8fbe-9f106f2c10f4)
)
(wire (pts (xy 81.28 181.61) (xy 81.28 175.26))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid dd6cb63f-8e8c-4e6a-b8d3-aefe8610f94d)
)
(wire (pts (xy 91.44 69.85) (xy 93.98 69.85))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid eb4393ec-129b-4354-aac2-1a2a7201cfe1)
)
(wire (pts (xy 55.88 165.1) (xy 49.53 165.1))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid eca8a0b4-2d94-4584-af75-bc0bfd52d87e)
)
(wire (pts (xy 93.98 90.17) (xy 81.28 90.17))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid f0a8952a-9288-4a87-a1c3-464b34210fe9)
@ -1003,11 +1418,19 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid fa3da842-eeb6-48be-b940-52926619a1cd)
)
(wire (pts (xy 53.34 175.26) (xy 53.34 154.94))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid feefa9f5-0a5d-40ed-bb58-cae55114fc72)
)
(label "LED Matrix" (at 52.07 95.25 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 2677a2ad-104a-4435-8abc-94b475c06d36)
)
(label "PWM generator" (at 49.53 152.4 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 276e5dba-9dc6-4be8-a1af-c107b7040c6a)
)
(symbol (lib_id "Device:R") (at 113.03 124.46 270) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
@ -1024,6 +1447,22 @@
(pin "2" (uuid 71fcda25-4b0d-41ed-ac73-b065872a22d5))
)
(symbol (lib_id "power:GND") (at 91.44 154.94 0) (unit 1)
(in_bom yes) (on_board yes)
(uuid 10b43c5e-ec4b-4d13-a53d-a901fb067720)
(property "Reference" "#PWR?" (id 0) (at 91.44 161.29 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 91.44 158.75 0))
(property "Footprint" "" (id 2) (at 91.44 154.94 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 91.44 154.94 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 21da5f7d-a0c0-4984-8491-169d486f9457))
)
(symbol (lib_id "power:+5V") (at 160.02 71.12 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 141a79ea-d231-4dbf-9c06-a05c2ffa3c1d)
@ -1106,6 +1545,25 @@
(pin "1" (uuid 302551ac-c512-4dc5-be35-d3c29f4f30c6))
)
(symbol (lib_id "Device:R") (at 82.55 160.02 180) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 44629472-077b-4fd8-ab99-7bd1e7b23c99)
(property "Reference" "R4" (id 0) (at 85.09 158.7499 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Value" "1kΩ" (id 1) (at 85.09 161.2899 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Footprint" "" (id 2) (at 84.328 160.02 90)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 82.55 160.02 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 2821862e-f52c-4fac-bea0-8d7d2d5215f1))
(pin "2" (uuid 78c1b769-da5c-4a64-ba9b-03327dfbbaa2))
)
(symbol (lib_id "MCU_Module:Arduino_UNO_R3") (at 154.94 96.52 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 5cb8ee9f-73d1-4c0d-b255-8e874b857650)
@ -1155,6 +1613,25 @@
(pin "9" (uuid 0d02f8ab-e673-455f-9143-9564f40803a3))
)
(symbol (lib_id "Device:R") (at 100.33 175.26 180) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 5e0efdf5-5391-47b9-8121-86814fb3fe9e)
(property "Reference" "R6" (id 0) (at 102.87 173.9899 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Value" "22kΩ" (id 1) (at 102.87 176.5299 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Footprint" "" (id 2) (at 102.108 175.26 90)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 100.33 175.26 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 7e08806c-4169-4c2c-86c9-baded7d40b5d))
(pin "2" (uuid 5e35d793-1f80-4ca3-aac2-bf2d25469e2c))
)
(symbol (lib_id "power:GND") (at 135.89 146.05 0) (unit 1)
(in_bom yes) (on_board yes)
(uuid 7aefc256-28c5-4fca-b228-7eb3f739e209)
@ -1187,23 +1664,42 @@
(pin "3" (uuid 8dc663e1-02ab-43a5-99f1-08b76b4da361))
)
(symbol (lib_id "Device:R") (at 209.55 54.61 0) (unit 1)
(symbol (lib_id "pspice:DIODE") (at 100.33 184.15 270) (unit 1)
(in_bom yes) (on_board yes)
(uuid 8383015f-a57d-4f92-9d19-230a2159f139)
(property "Reference" "D2" (id 0) (at 104.14 184.1499 90)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "DIODE" (id 1) (at 105.41 184.15 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Footprint" "" (id 2) (at 100.33 184.15 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 100.33 184.15 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 149d9a86-f48b-462f-9e63-4a7c7f46d0ff))
(pin "2" (uuid fce4b95e-97f5-4c6c-b41d-928ef9969a93))
)
(symbol (lib_id "Device:R") (at 91.44 151.13 180) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 9954329c-d0c0-4703-9a96-4426d37f78df)
(property "Reference" "R?" (id 0) (at 212.09 53.3399 0)
(effects (font (size 1.27 1.27)) (justify left))
(uuid 9977633a-49d9-4dbb-8999-f08145d1842e)
(property "Reference" "R7" (id 0) (at 93.98 149.8599 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Value" "R" (id 1) (at 212.09 55.8799 0)
(effects (font (size 1.27 1.27)) (justify left))
(property "Value" "1MΩ" (id 1) (at 93.98 152.3999 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Footprint" "" (id 2) (at 207.772 54.61 90)
(property "Footprint" "" (id 2) (at 93.218 151.13 90)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 209.55 54.61 0)
(property "Datasheet" "~" (id 3) (at 91.44 151.13 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 2b71d0ae-5a56-4b71-b819-74c0849d6728))
(pin "2" (uuid 8a88adb2-82cc-49ab-8bdb-5c1a57be05b7))
(pin "1" (uuid 1e8b7ff8-8de3-401b-8060-9a6e7189fb0c))
(pin "2" (uuid 1a472c3e-2f4f-4d83-b001-81cae425cfa3))
)
(symbol (lib_id "power:+5V") (at 176.53 88.9 0) (unit 1)
@ -1222,17 +1718,17 @@
(pin "1" (uuid 856457e8-069c-4e02-92b4-fc0e82a35eb5))
)
(symbol (lib_id "power:GND") (at 95.25 129.54 0) (unit 1)
(symbol (lib_id "power:GND") (at 81.28 129.54 0) (unit 1)
(in_bom yes) (on_board yes)
(uuid a7ce1889-2073-4b99-8cf9-d7d05599b709)
(property "Reference" "#PWR?" (id 0) (at 95.25 135.89 0)
(property "Reference" "#PWR?" (id 0) (at 81.28 135.89 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 95.25 133.35 0))
(property "Footprint" "" (id 2) (at 95.25 129.54 0)
(property "Value" "GND" (id 1) (at 81.28 133.35 0))
(property "Footprint" "" (id 2) (at 81.28 129.54 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 95.25 129.54 0)
(property "Datasheet" "" (id 3) (at 81.28 129.54 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 39d0e4ed-44c8-46a8-bf5f-021e67df9cab))
@ -1303,11 +1799,69 @@
(pin "1" (uuid 56547516-be87-4c79-987f-2fc56540a1da))
)
(symbol (lib_id "power:+5V") (at 68.58 147.32 0) (unit 1)
(in_bom yes) (on_board yes)
(uuid b9e3f3d3-46a6-498b-b4a0-60539247e84f)
(property "Reference" "#PWR?" (id 0) (at 68.58 151.13 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "+5V" (id 1) (at 68.58 143.51 0))
(property "Footprint" "" (id 2) (at 68.58 147.32 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 68.58 147.32 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 41603d29-b9dc-47cb-8219-021af466da85))
)
(symbol (lib_id "Timer:NE555P") (at 68.58 170.18 0) (unit 1)
(in_bom yes) (on_board yes)
(uuid bf2fa98c-2435-4029-ae7c-6ff5c5e45569)
(property "Reference" "U4" (id 0) (at 67.31 168.91 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "NE555P" (id 1) (at 64.77 171.45 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "Package_DIP:DIP-8_W7.62mm" (id 2) (at 85.09 180.34 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "http://www.ti.com/lit/ds/symlink/ne555.pdf" (id 3) (at 90.17 180.34 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 786ea8eb-aab5-4c59-9fbe-4eeff2ecab10))
(pin "8" (uuid 9d1fd447-c117-4693-bcf0-0af42f4ca8fd))
(pin "2" (uuid 16b5fd70-e716-406c-9b90-b3aa8978f3f0))
(pin "3" (uuid 5be34b1f-e761-4175-be88-2332461a9b09))
(pin "4" (uuid e9204e12-740d-4aea-851f-00f13a55c31e))
(pin "5" (uuid 2226d801-53e7-4356-8993-ce7e3efc728e))
(pin "6" (uuid b9ff6627-a1aa-4d86-ac32-9fc57fdfe7e6))
(pin "7" (uuid 0c3a7d1c-0bfe-4152-9937-abd988111f96))
)
(symbol (lib_id "Device:R") (at 77.47 154.94 270) (unit 1)
(in_bom yes) (on_board yes)
(uuid c21152ff-a65a-45e3-bc5c-281b6de2561f)
(property "Reference" "R5" (id 0) (at 74.93 149.86 90))
(property "Value" "1kΩ" (id 1) (at 76.2 152.4 90))
(property "Footprint" "" (id 2) (at 77.47 153.162 90)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 77.47 154.94 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid aa5f9b11-8666-4a40-a8ca-a609a4d38fd9))
(pin "2" (uuid ca590cff-f51d-480e-9955-33d912733657))
)
(symbol (lib_id "Switch:SW_Push") (at 129.54 88.9 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(in_bom yes) (on_board yes)
(uuid c473d886-4ff1-480b-b845-981b3467af5b)
(property "Reference" "SW1" (id 0) (at 129.54 81.28 0))
(property "Value" "SW_Push" (id 1) (at 129.54 83.82 0))
(property "Reference" "SW1" (id 0) (at 129.54 83.82 0))
(property "Value" "SW_Push" (id 1) (at 129.54 83.82 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Footprint" "" (id 2) (at 129.54 83.82 0)
(effects (font (size 1.27 1.27)) hide)
)
@ -1318,6 +1872,37 @@
(pin "2" (uuid 2b791a90-19e5-4b05-aceb-2ccefb430ec2))
)
(symbol (lib_id "Device:C") (at 74.93 181.61 90) (unit 1)
(in_bom yes) (on_board yes)
(uuid cb5fb804-8f58-47f9-a20c-f2c76f3a6a3a)
(property "Reference" "C1" (id 0) (at 74.93 185.42 90))
(property "Value" "470pF" (id 1) (at 74.93 187.96 90))
(property "Footprint" "" (id 2) (at 78.74 180.6448 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 74.93 181.61 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 4065e815-ad94-431f-87f1-711f3d0cef4b))
(pin "2" (uuid 28af35c5-baec-428d-b26b-05a6a248cc69))
)
(symbol (lib_id "power:GND") (at 68.58 182.88 0) (unit 1)
(in_bom yes) (on_board yes)
(uuid cd625d50-f28c-453e-83ab-35824f3add46)
(property "Reference" "#PWR?" (id 0) (at 68.58 189.23 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 68.58 186.69 0))
(property "Footprint" "" (id 2) (at 68.58 182.88 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 68.58 182.88 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid cd6e6de7-1230-4a7d-8b8e-82b3ff51f9a4))
)
(symbol (lib_id "power:+5V") (at 81.28 57.15 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid d6511d1d-e358-4c56-aef2-4b297ada6d1c)
@ -1334,6 +1919,23 @@
(pin "1" (uuid 67819a43-8a0e-4937-a682-9ee221f3bbc4))
)
(symbol (lib_name "DIODE_1") (lib_id "pspice:DIODE") (at 91.44 184.15 90) (unit 1)
(in_bom yes) (on_board yes)
(uuid ef27c9a9-7e40-49f1-a379-f734de309e7e)
(property "Reference" "D1" (id 0) (at 86.36 184.15 90))
(property "Value" "DIODE" (id 1) (at 86.36 184.15 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Footprint" "" (id 2) (at 91.44 184.15 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 91.44 184.15 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 67ce5826-17f9-4a03-9255-e37f04bdce4c))
(pin "2" (uuid c1017d4e-32a4-4ab7-ada3-ff1627f2ff17))
)
(symbol (lib_id "power:GND") (at 93.98 90.17 0) (unit 1)
(in_bom yes) (on_board yes)
(uuid ef9c7fec-91ca-4276-9dc3-f182922c8ff6)
@ -1434,11 +2036,30 @@
(pin "1" (uuid c0a75a50-5d6f-4f04-b9a6-c75a58c98c99))
)
(symbol (lib_id "Device:Q_NPN_BCE") (at 82.55 149.86 90) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid ffeb9ebe-4380-4071-9467-9d7fac660fc5)
(property "Reference" "Q1" (id 0) (at 82.55 140.97 90))
(property "Value" "D2061" (id 1) (at 82.55 143.51 90))
(property "Footprint" "" (id 2) (at 80.01 144.78 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 82.55 149.86 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid c3313b58-d0b2-481e-a67c-67545356e31d))
(pin "2" (uuid 4a06c1df-9bbd-46e2-811e-5d5067bc3254))
(pin "3" (uuid 85238c38-df17-42ce-bc83-f332f292558b))
)
(sheet_instances
(path "/" (page "1"))
)
(symbol_instances
(path "/10b43c5e-ec4b-4d13-a53d-a901fb067720"
(reference "#PWR?") (unit 1) (value "GND") (footprint "")
)
(path "/141a79ea-d231-4dbf-9c06-a05c2ffa3c1d"
(reference "#PWR?") (unit 1) (value "+5V") (footprint "")
)
@ -1463,6 +2084,12 @@
(path "/b7ec45b7-309e-49b5-84d7-3c2491b225fa"
(reference "#PWR?") (unit 1) (value "GND") (footprint "")
)
(path "/b9e3f3d3-46a6-498b-b4a0-60539247e84f"
(reference "#PWR?") (unit 1) (value "+5V") (footprint "")
)
(path "/cd625d50-f28c-453e-83ab-35824f3add46"
(reference "#PWR?") (unit 1) (value "GND") (footprint "")
)
(path "/d6511d1d-e358-4c56-aef2-4b297ada6d1c"
(reference "#PWR?") (unit 1) (value "+5V") (footprint "")
)
@ -1481,6 +2108,18 @@
(path "/20e06040-d647-4f00-8cdf-985064ab739e"
(reference "BZ1") (unit 1) (value "Buzzer") (footprint "")
)
(path "/cb5fb804-8f58-47f9-a20c-f2c76f3a6a3a"
(reference "C1") (unit 1) (value "470pF") (footprint "")
)
(path "/ef27c9a9-7e40-49f1-a379-f734de309e7e"
(reference "D1") (unit 1) (value "DIODE") (footprint "")
)
(path "/8383015f-a57d-4f92-9d19-230a2159f139"
(reference "D2") (unit 1) (value "DIODE") (footprint "")
)
(path "/ffeb9ebe-4380-4071-9467-9d7fac660fc5"
(reference "Q1") (unit 1) (value "D2061") (footprint "")
)
(path "/0d696145-2ec2-4bef-994b-9f1c8758cd4d"
(reference "R1") (unit 1) (value "161Ω") (footprint "")
)
@ -1490,8 +2129,17 @@
(path "/1eb8f36d-7d0c-4e5e-9fe2-5070db5fd7e3"
(reference "R3") (unit 1) (value "10kΩ") (footprint "")
)
(path "/9954329c-d0c0-4703-9a96-4426d37f78df"
(reference "R?") (unit 1) (value "R") (footprint "")
(path "/44629472-077b-4fd8-ab99-7bd1e7b23c99"
(reference "R4") (unit 1) (value "1kΩ") (footprint "")
)
(path "/c21152ff-a65a-45e3-bc5c-281b6de2561f"
(reference "R5") (unit 1) (value "1kΩ") (footprint "")
)
(path "/5e0efdf5-5391-47b9-8121-86814fb3fe9e"
(reference "R6") (unit 1) (value "22kΩ") (footprint "")
)
(path "/9977633a-49d9-4dbb-8999-f08145d1842e"
(reference "R7") (unit 1) (value "1MΩ") (footprint "")
)
(path "/c473d886-4ff1-480b-b845-981b3467af5b"
(reference "SW1") (unit 1) (value "SW_Push") (footprint "")
@ -1505,5 +2153,8 @@
(path "/7b556d3a-1886-4d11-a4ea-75d7ccf91a58"
(reference "U3") (unit 1) (value "TSOP32S40F") (footprint "OptoDevice:Vishay_MOLD-3Pin")
)
(path "/bf2fa98c-2435-4029-ae7c-6ff5c5e45569"
(reference "U4") (unit 1) (value "NE555P") (footprint "Package_DIP:DIP-8_W7.62mm")
)
)
)