summaryrefslogtreecommitdiff
path: root/electronics/cw2
diff options
context:
space:
mode:
Diffstat (limited to 'electronics/cw2')
-rwxr-xr-xelectronics/cw2/clean.sh4
-rw-r--r--electronics/cw2/diagrams/diagrams-backups/diagrams-2025-03-11_131713.zipbin0 -> 7453 bytes
-rw-r--r--electronics/cw2/diagrams/diagrams.kicad_pcb2
-rw-r--r--electronics/cw2/diagrams/diagrams.kicad_prl97
-rw-r--r--electronics/cw2/diagrams/diagrams.kicad_pro429
-rw-r--r--electronics/cw2/diagrams/diagrams.kicad_sch1784
-rw-r--r--electronics/cw2/diagrams/untitled.kicad_sch8
-rw-r--r--electronics/cw2/final.asm3
-rw-r--r--electronics/cw2/timetable.org11
-rw-r--r--electronics/cw2/writeup.tex80
10 files changed, 2389 insertions, 29 deletions
diff --git a/electronics/cw2/clean.sh b/electronics/cw2/clean.sh
deleted file mode 100755
index cf008c8..0000000
--- a/electronics/cw2/clean.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-shopt -s extglob
-
-rm -rf !(*.tex|*.sh|ref.bib|*.asm|images)
diff --git a/electronics/cw2/diagrams/diagrams-backups/diagrams-2025-03-11_131713.zip b/electronics/cw2/diagrams/diagrams-backups/diagrams-2025-03-11_131713.zip
new file mode 100644
index 0000000..446da6b
--- /dev/null
+++ b/electronics/cw2/diagrams/diagrams-backups/diagrams-2025-03-11_131713.zip
Binary files differ
diff --git a/electronics/cw2/diagrams/diagrams.kicad_pcb b/electronics/cw2/diagrams/diagrams.kicad_pcb
new file mode 100644
index 0000000..c547853
--- /dev/null
+++ b/electronics/cw2/diagrams/diagrams.kicad_pcb
@@ -0,0 +1,2 @@
+(kicad_pcb (version 20241229) (generator "pcbnew") (generator_version "9.0")
+) \ No newline at end of file
diff --git a/electronics/cw2/diagrams/diagrams.kicad_prl b/electronics/cw2/diagrams/diagrams.kicad_prl
new file mode 100644
index 0000000..9152bff
--- /dev/null
+++ b/electronics/cw2/diagrams/diagrams.kicad_prl
@@ -0,0 +1,97 @@
+{
+ "board": {
+ "active_layer": 0,
+ "active_layer_preset": "",
+ "auto_track_width": true,
+ "hidden_netclasses": [],
+ "hidden_nets": [],
+ "high_contrast_mode": 0,
+ "net_color_mode": 1,
+ "opacity": {
+ "images": 0.6,
+ "pads": 1.0,
+ "shapes": 1.0,
+ "tracks": 1.0,
+ "vias": 1.0,
+ "zones": 0.6
+ },
+ "selection_filter": {
+ "dimensions": true,
+ "footprints": true,
+ "graphics": true,
+ "keepouts": true,
+ "lockedItems": false,
+ "otherItems": true,
+ "pads": true,
+ "text": true,
+ "tracks": true,
+ "vias": true,
+ "zones": true
+ },
+ "visible_items": [
+ "vias",
+ "footprint_text",
+ "footprint_anchors",
+ "ratsnest",
+ "grid",
+ "footprints_front",
+ "footprints_back",
+ "footprint_values",
+ "footprint_references",
+ "tracks",
+ "drc_errors",
+ "drawing_sheet",
+ "bitmaps",
+ "pads",
+ "zones",
+ "drc_warnings",
+ "locked_item_shadows",
+ "conflict_shadows",
+ "shapes"
+ ],
+ "visible_layers": "ffffffff_ffffffff_ffffffff_ffffffff",
+ "zone_display_mode": 0
+ },
+ "git": {
+ "repo_type": "",
+ "repo_username": "",
+ "ssh_key": ""
+ },
+ "meta": {
+ "filename": "diagrams.kicad_prl",
+ "version": 5
+ },
+ "net_inspector_panel": {
+ "col_hidden": [],
+ "col_order": [],
+ "col_widths": [],
+ "custom_group_rules": [],
+ "expanded_rows": [],
+ "filter_by_net_name": true,
+ "filter_by_netclass": true,
+ "filter_text": "",
+ "group_by_constraint": false,
+ "group_by_netclass": false,
+ "show_unconnected_nets": false,
+ "show_zero_pad_nets": false,
+ "sort_ascending": true,
+ "sorting_column": -1
+ },
+ "open_jobsets": [],
+ "project": {
+ "files": []
+ },
+ "schematic": {
+ "selection_filter": {
+ "graphics": true,
+ "images": true,
+ "labels": true,
+ "lockedItems": false,
+ "otherItems": true,
+ "pins": true,
+ "symbols": true,
+ "text": true,
+ "wires": true
+ }
+ }
+}
diff --git a/electronics/cw2/diagrams/diagrams.kicad_pro b/electronics/cw2/diagrams/diagrams.kicad_pro
new file mode 100644
index 0000000..a69a0e2
--- /dev/null
+++ b/electronics/cw2/diagrams/diagrams.kicad_pro
@@ -0,0 +1,429 @@
+{
+ "board": {
+ "3dviewports": [],
+ "design_settings": {
+ "defaults": {},
+ "diff_pair_dimensions": [],
+ "drc_exclusions": [],
+ "rules": {},
+ "track_widths": [],
+ "via_dimensions": []
+ },
+ "ipc2581": {
+ "dist": "",
+ "distpn": "",
+ "internal_id": "",
+ "mfg": "",
+ "mpn": ""
+ },
+ "layer_pairs": [],
+ "layer_presets": [],
+ "viewports": []
+ },
+ "boards": [],
+ "cvpcb": {
+ "equivalence_files": []
+ },
+ "erc": {
+ "erc_exclusions": [],
+ "meta": {
+ "version": 0
+ },
+ "pin_map": [
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 2,
+ 2,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 1,
+ 0,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 1,
+ 2,
+ 1,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 1,
+ 2,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 2,
+ 2,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 1,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2
+ ]
+ ],
+ "rule_severities": {
+ "bus_definition_conflict": "error",
+ "bus_entry_needed": "error",
+ "bus_to_bus_conflict": "error",
+ "bus_to_net_conflict": "error",
+ "different_unit_footprint": "error",
+ "different_unit_net": "error",
+ "duplicate_reference": "error",
+ "duplicate_sheet_names": "error",
+ "endpoint_off_grid": "warning",
+ "extra_units": "error",
+ "footprint_filter": "ignore",
+ "footprint_link_issues": "warning",
+ "four_way_junction": "ignore",
+ "global_label_dangling": "warning",
+ "hier_label_mismatch": "error",
+ "label_dangling": "error",
+ "label_multiple_wires": "warning",
+ "lib_symbol_issues": "warning",
+ "lib_symbol_mismatch": "warning",
+ "missing_bidi_pin": "warning",
+ "missing_input_pin": "warning",
+ "missing_power_pin": "error",
+ "missing_unit": "warning",
+ "multiple_net_names": "warning",
+ "net_not_bus_member": "warning",
+ "no_connect_connected": "warning",
+ "no_connect_dangling": "warning",
+ "pin_not_connected": "error",
+ "pin_not_driven": "error",
+ "pin_to_pin": "warning",
+ "power_pin_not_driven": "error",
+ "same_local_global_label": "warning",
+ "similar_label_and_power": "warning",
+ "similar_labels": "warning",
+ "similar_power": "warning",
+ "simulation_model_issue": "ignore",
+ "single_global_label": "ignore",
+ "unannotated": "error",
+ "unconnected_wire_endpoint": "warning",
+ "unit_value_mismatch": "error",
+ "unresolved_variable": "error",
+ "wire_dangling": "error"
+ }
+ },
+ "libraries": {
+ "pinned_footprint_libs": [],
+ "pinned_symbol_libs": []
+ },
+ "meta": {
+ "filename": "diagrams.kicad_pro",
+ "version": 3
+ },
+ "net_settings": {
+ "classes": [
+ {
+ "bus_width": 12,
+ "clearance": 0.2,
+ "diff_pair_gap": 0.25,
+ "diff_pair_via_gap": 0.25,
+ "diff_pair_width": 0.2,
+ "line_style": 0,
+ "microvia_diameter": 0.3,
+ "microvia_drill": 0.1,
+ "name": "Default",
+ "pcb_color": "rgba(0, 0, 0, 0.000)",
+ "priority": 2147483647,
+ "schematic_color": "rgba(0, 0, 0, 0.000)",
+ "track_width": 0.2,
+ "via_diameter": 0.6,
+ "via_drill": 0.3,
+ "wire_width": 6
+ }
+ ],
+ "meta": {
+ "version": 4
+ },
+ "net_colors": null,
+ "netclass_assignments": null,
+ "netclass_patterns": []
+ },
+ "pcbnew": {
+ "last_paths": {
+ "gencad": "",
+ "idf": "",
+ "netlist": "",
+ "plot": "",
+ "pos_files": "",
+ "specctra_dsn": "",
+ "step": "",
+ "svg": "",
+ "vrml": ""
+ },
+ "page_layout_descr_file": ""
+ },
+ "schematic": {
+ "annotate_start_num": 0,
+ "bom_export_filename": "${PROJECTNAME}.csv",
+ "bom_fmt_presets": [],
+ "bom_fmt_settings": {
+ "field_delimiter": ",",
+ "keep_line_breaks": false,
+ "keep_tabs": false,
+ "name": "CSV",
+ "ref_delimiter": ",",
+ "ref_range_delimiter": "",
+ "string_delimiter": "\""
+ },
+ "bom_presets": [],
+ "bom_settings": {
+ "exclude_dnp": false,
+ "fields_ordered": [
+ {
+ "group_by": false,
+ "label": "Reference",
+ "name": "Reference",
+ "show": true
+ },
+ {
+ "group_by": false,
+ "label": "Qty",
+ "name": "${QUANTITY}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Value",
+ "name": "Value",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "DNP",
+ "name": "${DNP}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Exclude from BOM",
+ "name": "${EXCLUDE_FROM_BOM}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Exclude from Board",
+ "name": "${EXCLUDE_FROM_BOARD}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Footprint",
+ "name": "Footprint",
+ "show": true
+ },
+ {
+ "group_by": false,
+ "label": "Datasheet",
+ "name": "Datasheet",
+ "show": true
+ }
+ ],
+ "filter_string": "",
+ "group_symbols": true,
+ "include_excluded_from_bom": true,
+ "name": "Default Editing",
+ "sort_asc": true,
+ "sort_field": "Reference"
+ },
+ "connection_grid_size": 50.0,
+ "drawing": {
+ "dashed_lines_dash_length_ratio": 12.0,
+ "dashed_lines_gap_length_ratio": 3.0,
+ "default_line_thickness": 6.0,
+ "default_text_size": 50.0,
+ "field_names": [],
+ "intersheets_ref_own_page": false,
+ "intersheets_ref_prefix": "",
+ "intersheets_ref_short": false,
+ "intersheets_ref_show": false,
+ "intersheets_ref_suffix": "",
+ "junction_size_choice": 3,
+ "label_size_ratio": 0.375,
+ "operating_point_overlay_i_precision": 3,
+ "operating_point_overlay_i_range": "~A",
+ "operating_point_overlay_v_precision": 3,
+ "operating_point_overlay_v_range": "~V",
+ "overbar_offset_ratio": 1.23,
+ "pin_symbol_size": 25.0,
+ "text_offset_ratio": 0.15
+ },
+ "legacy_lib_dir": "",
+ "legacy_lib_list": [],
+ "meta": {
+ "version": 1
+ },
+ "net_format_name": "",
+ "page_layout_descr_file": "",
+ "plot_directory": "",
+ "space_save_all_events": true,
+ "spice_current_sheet_as_root": false,
+ "spice_external_command": "spice \"%I\"",
+ "spice_model_current_sheet_as_root": true,
+ "spice_save_all_currents": false,
+ "spice_save_all_dissipations": false,
+ "spice_save_all_voltages": false,
+ "subpart_first_id": 65,
+ "subpart_id_separator": 0
+ },
+ "sheets": [
+ [
+ "444d784f-b30b-415c-a72d-ac316250f21a",
+ "Root"
+ ],
+ [
+ "cf368e6f-8479-49cd-b56a-a52b0eb64421",
+ "receiver"
+ ],
+ [
+ "44326d9b-399c-4717-a45f-a887c05f270b",
+ "initial amplifier"
+ ],
+ [
+ "899f73e5-3bc6-4e9f-aad3-d17b715a7fed",
+ "AM demodulation"
+ ]
+ ],
+ "text_variables": {}
+}
diff --git a/electronics/cw2/diagrams/diagrams.kicad_sch b/electronics/cw2/diagrams/diagrams.kicad_sch
new file mode 100644
index 0000000..6bca20b
--- /dev/null
+++ b/electronics/cw2/diagrams/diagrams.kicad_sch
@@ -0,0 +1,1784 @@
+(kicad_sch
+ (version 20250114)
+ (generator "eeschema")
+ (generator_version "9.0")
+ (uuid "444d784f-b30b-415c-a72d-ac316250f21a")
+ (paper "A4")
+ (lib_symbols
+ (symbol "Amplifier_Operational:TL081"
+ (pin_names
+ (offset 0.127)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "U"
+ (at 0 6.35 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "TL081"
+ (at 0 3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 1.27 1.27 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "http://www.ti.com/lit/ds/symlink/tl081.pdf"
+ (at 3.81 3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Single JFET-Input Operational Amplifiers, DIP-8/SOIC-8"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "single opamp"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "SOIC*3.9x4.9mm*P1.27mm* DIP*W7.62mm* TSSOP*3x3mm*P0.65mm*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "TL081_0_1"
+ (polyline
+ (pts
+ (xy -5.08 5.08) (xy 5.08 0) (xy -5.08 -5.08) (xy -5.08 5.08)
+ )
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type background)
+ )
+ )
+ )
+ (symbol "TL081_1_1"
+ (pin input line
+ (at -7.62 2.54 0)
+ (length 2.54)
+ (name "+"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "3"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin input line
+ (at -7.62 -2.54 0)
+ (length 2.54)
+ (name "-"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin power_in line
+ (at -2.54 7.62 270)
+ (length 3.81)
+ (name "V+"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "7"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin power_in line
+ (at -2.54 -7.62 90)
+ (length 3.81)
+ (name "V-"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "4"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin no_connect line
+ (at 0 2.54 270)
+ (length 2.54)
+ (hide yes)
+ (name "NC"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "8"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin input line
+ (at 0 -7.62 90)
+ (length 5.08)
+ (name "NULL"
+ (effects
+ (font
+ (size 0.508 0.508)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin input line
+ (at 2.54 -7.62 90)
+ (length 6.35)
+ (name "NULL"
+ (effects
+ (font
+ (size 0.508 0.508)
+ )
+ )
+ )
+ (number "5"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin output line
+ (at 7.62 0 180)
+ (length 2.54)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "6"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Device:C"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0.254)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "C"
+ (at 0.635 2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "C"
+ (at 0.635 -2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 0.9652 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Unpolarized capacitor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "cap capacitor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "C_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "C_0_1"
+ (polyline
+ (pts
+ (xy -2.032 0.762) (xy 2.032 0.762)
+ )
+ (stroke
+ (width 0.508)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy -2.032 -0.762) (xy 2.032 -0.762)
+ )
+ (stroke
+ (width 0.508)
+ (type default)
+ )
+ (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)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Device:D"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 1.016)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "D"
+ (at 0 2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "D"
+ (at 0 -2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Diode"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Device" "D"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Pins" "1=K 2=A"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "diode"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "TO-???* *_Diode_* *SingleDiode* D_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "D_0_1"
+ (polyline
+ (pts
+ (xy -1.27 1.27) (xy -1.27 -1.27)
+ )
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 1.27 1.27) (xy 1.27 -1.27) (xy -1.27 0) (xy 1.27 1.27)
+ )
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 1.27 0) (xy -1.27 0)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "D_1_1"
+ (pin passive line
+ (at -3.81 0 0)
+ (length 2.54)
+ (name "K"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 3.81 0 180)
+ (length 2.54)
+ (name "A"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Device:L"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 1.016)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "L"
+ (at -1.27 0 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "L"
+ (at 1.905 0 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Inductor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "inductor choke coil reactor magnetic"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "Choke_* *Coil* Inductor_* L_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "L_0_1"
+ (arc
+ (start 0 2.54)
+ (mid 0.6323 1.905)
+ (end 0 1.27)
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (arc
+ (start 0 1.27)
+ (mid 0.6323 0.635)
+ (end 0 0)
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (arc
+ (start 0 0)
+ (mid 0.6323 -0.635)
+ (end 0 -1.27)
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (arc
+ (start 0 -1.27)
+ (mid 0.6323 -1.905)
+ (end 0 -2.54)
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "L_1_1"
+ (pin passive line
+ (at 0 3.81 270)
+ (length 1.27)
+ (name "1"
+ (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 1.27)
+ (name "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Device:R"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "R"
+ (at 2.032 0 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "R"
+ (at 0 0 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at -1.778 0 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "R res resistor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "R_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "R_0_1"
+ (rectangle
+ (start -1.016 -2.54)
+ (end 1.016 2.54)
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "R_1_1"
+ (pin passive line
+ (at 0 3.81 270)
+ (length 1.27)
+ (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 1.27)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ )
+ (symbol
+ (lib_id "Device:D")
+ (at 99.06 25.4 0)
+ (mirror y)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (uuid "40db8f10-73aa-4838-9714-479bfe0c07bd")
+ (property "Reference" "D1"
+ (at 99.06 19.05 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "D"
+ (at 99.06 21.59 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 99.06 25.4 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 99.06 25.4 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Diode"
+ (at 99.06 25.4 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Device" "D"
+ (at 99.06 25.4 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Pins" "1=K 2=A"
+ (at 99.06 25.4 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "3614a4e5-1204-41e0-96db-2014f4f8ecda")
+ )
+ (pin "2"
+ (uuid "59219d66-3253-4a91-badc-2c1c772f2714")
+ )
+ (instances
+ (project ""
+ (path "/444d784f-b30b-415c-a72d-ac316250f21a"
+ (reference "D1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R")
+ (at 73.66 22.86 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "6a1ad7d9-9bb8-4a34-98c8-90cac2f59244")
+ (property "Reference" "R2"
+ (at 76.2 21.5899 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "R"
+ (at 76.2 24.1299 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 71.882 22.86 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 73.66 22.86 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor"
+ (at 73.66 22.86 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "3471d4d7-5972-4eda-87dc-99bc0999ef66")
+ )
+ (pin "1"
+ (uuid "080ccca8-9169-43b6-bd0f-79dbbb5be812")
+ )
+ (instances
+ (project ""
+ (path "/444d784f-b30b-415c-a72d-ac316250f21a"
+ (reference "R2")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R")
+ (at 158.75 50.8 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "6b6b8922-f4ff-4ba9-8f1c-89838a7dc15d")
+ (property "Reference" "R4"
+ (at 161.29 49.5299 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "R"
+ (at 161.29 52.0699 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 156.972 50.8 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 158.75 50.8 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor"
+ (at 158.75 50.8 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "fae18e34-f8c8-408f-ac8d-7c97a0ead2ab")
+ )
+ (pin "1"
+ (uuid "ee45a767-331b-4bf5-adb6-d93fe4eda17c")
+ )
+ (instances
+ (project ""
+ (path "/444d784f-b30b-415c-a72d-ac316250f21a"
+ (reference "R4")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:L")
+ (at 25.4 29.21 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (uuid "86ea4d49-6818-49f4-8fa2-8d12d2415a5c")
+ (property "Reference" "L1"
+ (at 26.67 27.9399 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "L"
+ (at 26.67 30.4799 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 25.4 29.21 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 25.4 29.21 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Inductor"
+ (at 25.4 29.21 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "81a55cbc-6ffb-4304-ac5c-f94cebfaab8d")
+ )
+ (pin "1"
+ (uuid "b2d88d0a-6e6f-4535-ab6d-ecdbdbbfedee")
+ )
+ (instances
+ (project ""
+ (path "/444d784f-b30b-415c-a72d-ac316250f21a"
+ (reference "L1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Amplifier_Operational:TL081")
+ (at 176.53 50.8 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "a9d2dd61-9221-419e-9629-29c00434a430")
+ (property "Reference" "U2"
+ (at 185.42 44.3798 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "TL081"
+ (at 185.42 46.9198 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 177.8 49.53 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "http://www.ti.com/lit/ds/symlink/tl081.pdf"
+ (at 180.34 46.99 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Single JFET-Input Operational Amplifiers, DIP-8/SOIC-8"
+ (at 176.53 50.8 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "1eb9ada6-a5ee-4515-8123-c80e0aaafeaa")
+ )
+ (pin "1"
+ (uuid "71fd96dd-5976-44bb-8167-f3ddf157b00e")
+ )
+ (pin "8"
+ (uuid "02ecdc34-17b9-4713-bbcf-372d91f406a1")
+ )
+ (pin "3"
+ (uuid "6a185017-030a-4fc3-8698-5e7db8b888c5")
+ )
+ (pin "7"
+ (uuid "6b5e6495-66ea-413e-82fa-e29a06f41cda")
+ )
+ (pin "6"
+ (uuid "6aee29a8-dfed-49e5-9e9a-759bc5b87d8a")
+ )
+ (pin "5"
+ (uuid "c41c7f4f-5126-4f37-8257-505a0c1f0cdb")
+ )
+ (pin "4"
+ (uuid "c0db37ac-0a99-4a26-9f0c-00c0e97fe7ff")
+ )
+ (instances
+ (project ""
+ (path "/444d784f-b30b-415c-a72d-ac316250f21a"
+ (reference "U2")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:C")
+ (at 38.1 29.21 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "c9296903-dc09-4214-be88-497ec8f4cfd1")
+ (property "Reference" "C1"
+ (at 41.91 27.9399 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "C"
+ (at 41.91 30.4799 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 39.0652 33.02 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 38.1 29.21 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Unpolarized capacitor"
+ (at 38.1 29.21 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "17084269-c806-48f5-89ed-bb1c5aa143bc")
+ )
+ (pin "1"
+ (uuid "0919c116-1ab2-41f6-b6ad-f28154daa778")
+ )
+ (instances
+ (project ""
+ (path "/444d784f-b30b-415c-a72d-ac316250f21a"
+ (reference "C1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R")
+ (at 62.23 22.86 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "cb803c9b-a0bb-472a-af71-d97fc2e69c0d")
+ (property "Reference" "R1"
+ (at 64.77 21.5899 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "R"
+ (at 64.77 24.1299 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 60.452 22.86 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 62.23 22.86 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor"
+ (at 62.23 22.86 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "a352569a-52ee-49c9-afef-3c1824607a2d")
+ )
+ (pin "1"
+ (uuid "633ef2b4-d057-46d0-bc6a-8cee7fe86afc")
+ )
+ (instances
+ (project ""
+ (path "/444d784f-b30b-415c-a72d-ac316250f21a"
+ (reference "R1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R")
+ (at 99.06 36.83 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "cf969ff6-8503-4be8-a38a-e2141913eb13")
+ (property "Reference" "R3"
+ (at 101.6 35.5599 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "R"
+ (at 101.6 38.0999 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 97.282 36.83 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 99.06 36.83 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor"
+ (at 99.06 36.83 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "8fa7fb63-f971-4a23-85d8-9e95094bdc6c")
+ )
+ (pin "1"
+ (uuid "3e4d44a3-4d2b-4bcf-b182-ea6189b4be91")
+ )
+ (instances
+ (project ""
+ (path "/444d784f-b30b-415c-a72d-ac316250f21a"
+ (reference "R3")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Amplifier_Operational:TL081")
+ (at 74.93 41.91 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "da1c1081-9468-4919-90b0-be1089a18d4b")
+ (property "Reference" "U1"
+ (at 83.82 35.4898 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "TL081"
+ (at 83.82 38.0298 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 76.2 40.64 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "http://www.ti.com/lit/ds/symlink/tl081.pdf"
+ (at 78.74 38.1 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Single JFET-Input Operational Amplifiers, DIP-8/SOIC-8"
+ (at 74.93 41.91 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "6"
+ (uuid "de263a45-15c8-42d0-b68a-14bf23bcee74")
+ )
+ (pin "4"
+ (uuid "989ede3d-9404-483f-b6e6-fb0e5dbe90e2")
+ )
+ (pin "2"
+ (uuid "e5352345-8d5e-42fa-a3e1-b3518319ffc6")
+ )
+ (pin "1"
+ (uuid "25054e7b-3546-4cfa-b047-8cc522d8f2c3")
+ )
+ (pin "7"
+ (uuid "f169c0f2-dc4d-4efd-9a6f-1fb84e278224")
+ )
+ (pin "5"
+ (uuid "575e9ab3-531b-4034-a5f1-818da078daed")
+ )
+ (pin "8"
+ (uuid "c6212233-80a7-4d7f-bf2d-16fb9b942a6a")
+ )
+ (pin "3"
+ (uuid "b1a4383e-d00f-42d6-980a-2be50201d41e")
+ )
+ (instances
+ (project ""
+ (path "/444d784f-b30b-415c-a72d-ac316250f21a"
+ (reference "U1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R")
+ (at 175.26 30.48 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "dc95d74a-7aab-4144-9c84-280c723a1ccd")
+ (property "Reference" "R5"
+ (at 177.8 29.2099 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "R"
+ (at 177.8 31.7499 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 173.482 30.48 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 175.26 30.48 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor"
+ (at 175.26 30.48 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "4a80063a-3894-4486-b7c3-44bf5cfd0ff5")
+ )
+ (pin "1"
+ (uuid "57b7abd8-c0cf-41ac-a95b-7f0cf1223b95")
+ )
+ (instances
+ (project ""
+ (path "/444d784f-b30b-415c-a72d-ac316250f21a"
+ (reference "R5")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:C")
+ (at 115.57 30.48 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "f50a300d-f9bd-45b8-badc-bcc958b34a76")
+ (property "Reference" "C2"
+ (at 119.38 29.2099 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "C"
+ (at 119.38 31.7499 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 116.5352 34.29 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 115.57 30.48 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Unpolarized capacitor"
+ (at 115.57 30.48 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "00700d8c-bb4d-4f2d-81fe-672e9f40761a")
+ )
+ (pin "2"
+ (uuid "d75ad1a3-b048-457b-8259-517be332c3b1")
+ )
+ (instances
+ (project ""
+ (path "/444d784f-b30b-415c-a72d-ac316250f21a"
+ (reference "C2")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (sheet
+ (at 50.8 16.51)
+ (size 38.1 36.83)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (stroke
+ (width 0.1524)
+ (type solid)
+ )
+ (fill
+ (color 0 0 0 0.0000)
+ )
+ (uuid "44326d9b-399c-4717-a45f-a887c05f270b")
+ (property "Sheetname" "initial amplifier"
+ (at 50.8 15.7984 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left bottom)
+ )
+ )
+ (property "Sheetfile" "untitled.kicad_sch"
+ (at 50.8 53.9246 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left top)
+ )
+ )
+ (instances
+ (project "diagrams"
+ (path "/444d784f-b30b-415c-a72d-ac316250f21a"
+ (page "3")
+ )
+ )
+ )
+ )
+ (sheet
+ (at 92.71 16.51)
+ (size 33.02 31.75)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (stroke
+ (width 0.1524)
+ (type solid)
+ )
+ (fill
+ (color 0 0 0 0.0000)
+ )
+ (uuid "899f73e5-3bc6-4e9f-aad3-d17b715a7fed")
+ (property "Sheetname" "AM demodulation"
+ (at 92.71 15.7984 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left bottom)
+ )
+ )
+ (property "Sheetfile" "untitled.kicad_sch"
+ (at 92.71 48.8446 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left top)
+ )
+ )
+ (instances
+ (project "diagrams"
+ (path "/444d784f-b30b-415c-a72d-ac316250f21a"
+ (page "4")
+ )
+ )
+ )
+ )
+ (sheet
+ (at 17.78 20.32)
+ (size 29.21 19.05)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (stroke
+ (width 0.1524)
+ (type solid)
+ )
+ (fill
+ (color 0 0 0 0.0000)
+ )
+ (uuid "cf368e6f-8479-49cd-b56a-a52b0eb64421")
+ (property "Sheetname" "receiver"
+ (at 17.78 19.6084 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left bottom)
+ )
+ )
+ (property "Sheetfile" "untitled.kicad_sch"
+ (at 17.78 39.9546 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left top)
+ )
+ )
+ (instances
+ (project "diagrams"
+ (path "/444d784f-b30b-415c-a72d-ac316250f21a"
+ (page "2")
+ )
+ )
+ )
+ )
+ (sheet_instances
+ (path "/"
+ (page "1")
+ )
+ )
+ (embedded_fonts no)
+)
diff --git a/electronics/cw2/diagrams/untitled.kicad_sch b/electronics/cw2/diagrams/untitled.kicad_sch
new file mode 100644
index 0000000..9493559
--- /dev/null
+++ b/electronics/cw2/diagrams/untitled.kicad_sch
@@ -0,0 +1,8 @@
+(kicad_sch
+ (version 20250114)
+ (generator "eeschema")
+ (generator_version "9.0")
+ (uuid "89b1c38f-52ae-420c-a9a5-32d3c2637427")
+ (paper "A4")
+ (lib_symbols)
+)
diff --git a/electronics/cw2/final.asm b/electronics/cw2/final.asm
index fd4ad7d..badb5a7 100644
--- a/electronics/cw2/final.asm
+++ b/electronics/cw2/final.asm
@@ -56,9 +56,8 @@ convert:
movf BACK, W
goto main
-main:
- ;goto vovhigh
+main:
call readadc0
movf B0, W
diff --git a/electronics/cw2/timetable.org b/electronics/cw2/timetable.org
new file mode 100644
index 0000000..9230121
--- /dev/null
+++ b/electronics/cw2/timetable.org
@@ -0,0 +1,11 @@
+* system
+ have the finished system build by (14/3/25 friday)
+
+* system design
+ try to finish the diagrams, descriptions etc by the (16/3/25 sunday)
+ alternative designs and complete diagram done by (19/3/25 wednesday)
+
+* system testing
+ get testing done by (30/3/25 sunday) take lots of photos
+
+
diff --git a/electronics/cw2/writeup.tex b/electronics/cw2/writeup.tex
index 1432b3f..39ea1e2 100644
--- a/electronics/cw2/writeup.tex
+++ b/electronics/cw2/writeup.tex
@@ -72,47 +72,81 @@ The design should focus on simplicity, as less points of failure should result i
To build my project, I will split it into manageable subsections, that can each be tested and evaluated. The subsystems I intend to build are:
\begin {description}
\item[The receiver:] \hfill \\
- This will be the part of my system that detects the weak incoming radio signals from the outside world weak incoming radio signals from the outside world.
+ This will be the part of my system that detects the weak incoming radio signals from the outside world weak incoming radio signals from the outside world. It can be made with a large inductor (coil of wire) and a capacitor for smoothing the output signal.
\item[The initial amplifier:] \hfill \\
- This will boost the small incoming signal to a more reasonable size, to make it easier to process, working with small values may result in signal degradation.
+ This will boost the small incoming signal to a more reasonable size, to make it easier to process, working with small values may result in signal degradation. This can be made with a op amp and 2 resistors, to create a greater than 1 gain.
\item[The demodulation system:] \hfill \\
- This will take the incoming wave, that will be encoded as an AM signal (not FM), and convert it to the audio wave I wish to detect.
+ This will take the incoming wave, that will be encoded as an AM signal (not FM), and convert it to the audio wave I wish to detect. This can be made with a low pass filter with a diode, the low pass filter can act as a peek finder (envelope filter) when paired with the diode.
\item[The volume control amplifier:] \hfill \\
- This will be another amplifier that controls the volume of the signal, before it reaches the audio system.
+ This will be another amplifier that controls the volume of the signal, before it reaches the audio system. This can be made with an op amp a resistor and a potentiometer, it will have a variable gain, allowing it to decrease (less than 1 gain) or increase (greater than 1 gain) the volume of the output.
+
+
+ \item[The audio normalisation filter and dividing amplifier:] \hfill \\
+ This subsystem will consist of a low pass filter, and a amplifier, this will do two things for the next subsystem. It will divide the amplitude of the audio by 3, making the peak value 5V, this is because the micro controller can't process values above 5V. The low pass filter will find the peaks of the incoming signal, this is because the audio input is at too high a frequency for the micro controller to properly poll, this will lower the input to something it can process.
\item[The audio intensity meter:] \hfill \\
- This will consist of a micro controller (Picaxe 18M2 using the WJEC assembler), and a bar graph, and will show me the current volume of my system.
+ This will consist of a micro controller (Picaxe 18M2 using the WJEC assembler), and a bar graph, and will show me the current volume of my system. The Picaxe 18M2 (and the Pic 16F88 that it emulates) contain three analogue to digital converters, using one of these, I will program the chip to act as a bar graph display controller, with outputs dependant on the analogue input signal; the code will need to convert from the binary used internally, to an output where the highest bit and bellow are enabled.
\item[The push pull power amplifier:] \hfill \\
- This will boost the power output of my system, allowing it to drive a small speaker (or perhaps headphones), and output the desired audio.
+ This will boost the power output of my system, allowing it to drive a small speaker (or perhaps headphones), and output the desired audio. This is made using 2 transistors (a PNP and a NPN), paired with an op amp (to remove the cross over distortion).
\item[The speaker:] \hfill \\
- This is the audio output of my system.
+ This is the audio output of my system, it could also be replaced with a headphone jack.
\end{description}
-\subsubsection{The receiver}
-\subsubsection{etc}
-\subsubsection{etc}
-
-\subsection{Subsystem testing}
-\subsubsection{The receiver}
-\subsubsection{etc}
-\subsubsection{etc}
+% put diagrams and detailed explanations here
+% 3 of these need to show alternatives
+\subsubsection{The receiver}
+\subsubsection{The initial amplifier}
+\subsubsection{The demodulation system} % can probably show an alternative to this
+\subsubsection{The volume control amplifier} % perhaps show an alternative for here
+\subsubsection{The audio normalisation filter and dividing amplifier}
+\subsubsection{The audio intensity meter}
+This system will consist of a micro controller and a bar graph, it will use the output of the volume control amplifier as an input and will display the amplitude of the output on 4 bits of a bar graph
+
+The code can be seen here:
+\lstinputlisting[language=C, caption=\textit{using C syntax highlighting to add some colour to the world}]{./final.asm}
+
+The way this code works is in the main loop, the ADC is used to read in an analogue input, then it is processed using the convert label. The convert label will move the execution to the \textit{volow, vomid, vohigh, vovhigh} labels, that each move a corresponding value into PORTB to act as an output. The convert label works by anding the input with specific bits, and then subtracting, to see if the input is high enough to trigger a raise in the volume.
+\subsubsection{The push pull power amplifier} % can definitely show an alternative for this
+\subsubsection{The speaker}
+
+\subsection{Full block diagram}
+% put a full block diagram here
+
+\subsection{Full circuit diagram}
+% put a full design here (glue all the previous designs together)
+
+\subsection{Subsystem testing} % tables, tables and more tables, no need to show the actual testing, the next section is for that
+\subsubsection{The receiver}
+\subsubsection{The initial amplifier}
+\subsubsection{The demodulation system}
+\subsubsection{The volume control amplifier}
+\subsubsection{The audio normalisation filter and dividing amplifier}
+\subsubsection{The audio intensity meter}
+\subsubsection{The push pull power amplifier}
+\subsubsection{The speaker}
\subsection{Subsystem results}
-\subsubsection{The receiver}
-\subsubsection{etc}
-\subsubsection{etc}
+\subsubsection{The receiver} % might be able to cut this, or make it very short
+\subsubsection{The initial amplifier}
+\subsubsection{The demodulation system}
+\subsubsection{The volume control amplifier}
+\subsubsection{The audio normalisation filter and dividing amplifier}
+\subsubsection{The audio intensity meter}
+\subsubsection{The push pull power amplifier}
+\subsubsection{The speaker} % probably can cut this section
\section{System realisation}
-\subsection{Circuit diagram}
-\subsection{Circuit realisation}
-\subsection{Circuit testing}
-\subsection{Circuit results}
+\subsection{Circuit diagram} % repeat of what was shown before
+\subsection{Circuit realisation} % show the actual thing, describe colour coding, etc. etc.
+\subsection{Circuit testing} % show evidence of the results shown in the results section (lots of photos)
+\subsection{Circuit results} % prove the whole thing works from start to finish
-\section{Evaluation}
+% did it work, how well, compare to original goal
+\section{Evaluation}
}
\end{document}