From e4fd1284273b4477ba46ed6f8ae190d395056bac Mon Sep 17 00:00:00 2001 From: thing1 Date: Fri, 28 Mar 2025 08:58:00 +0000 Subject: added alot of photos --- comp/work/52/Makefile | 3 + comp/work/52/hashing.ms | 54 + comp/work/52/tcpip.ms | 26 + electronics/cw2/diagrams/blockdiagram.png | Bin 0 -> 85624 bytes .../cw2/diagrams/diagrams-AM demodulation.svg | 2 +- .../diagrams/diagrams-audio intensitity meter.svg | 2 +- .../cw2/diagrams/diagrams-audio peak finder.svg | 2 +- .../diagrams-2025-03-26_151309.zip | Bin 0 -> 23303 bytes .../diagrams-2025-03-26_152832.zip | Bin 0 -> 23307 bytes .../diagrams-2025-03-27_121755.zip | Bin 0 -> 23305 bytes .../diagrams-2025-03-27_161405.zip | Bin 0 -> 23146 bytes .../cw2/diagrams/diagrams-initial amplifier.svg | 2 +- .../diagrams-push pull power amplifier.svg | 2 +- electronics/cw2/diagrams/diagrams-receiver.svg | 2 +- .../diagrams/diagrams-volume boost amplifier.svg | 2 +- electronics/cw2/diagrams/diagrams.kicad_pro | 2 +- electronics/cw2/diagrams/diagrams.kicad_sch | 326 +- electronics/cw2/diagrams/diagrams.svg | 46595 ++++++++++--------- electronics/cw2/diagrams/fulldiagram.png | Bin 0 -> 300274 bytes electronics/cw2/diagrams/initial-amplifier.png | Bin 330263 -> 23473 bytes .../cw2/diagrams/pics/IMG_20250312_134733.jpg | Bin 0 -> 3486229 bytes .../cw2/diagrams/pics/IMG_20250312_135346.jpg | Bin 0 -> 3182365 bytes .../cw2/diagrams/pics/IMG_20250312_140036.jpg | Bin 0 -> 2914420 bytes .../cw2/diagrams/pics/IMG_20250312_140039.jpg | Bin 0 -> 2966462 bytes .../cw2/diagrams/pics/IMG_20250312_140041.jpg | Bin 0 -> 3932680 bytes .../cw2/diagrams/pics/IMG_20250312_140141.jpg | Bin 0 -> 2830629 bytes .../cw2/diagrams/pics/IMG_20250312_140912.jpg | Bin 0 -> 3107003 bytes .../cw2/diagrams/pics/IMG_20250312_142351.jpg | Bin 0 -> 2449095 bytes .../cw2/diagrams/pics/IMG_20250312_142422.jpg | Bin 0 -> 2627394 bytes .../cw2/diagrams/pics/IMG_20250312_142608.jpg | Bin 0 -> 2466966 bytes .../cw2/diagrams/pics/IMG_20250312_142737.jpg | Bin 0 -> 2267746 bytes .../cw2/diagrams/pics/IMG_20250312_142936.jpg | Bin 0 -> 3310752 bytes .../cw2/diagrams/pics/IMG_20250312_144503.jpg | Bin 0 -> 2958330 bytes .../cw2/diagrams/pics/IMG_20250312_153123.jpg | Bin 0 -> 2425343 bytes .../cw2/diagrams/pics/IMG_20250313_073405.jpg | Bin 0 -> 3103364 bytes .../cw2/diagrams/pics/IMG_20250313_080549.jpg | Bin 0 -> 3673132 bytes .../cw2/diagrams/pics/IMG_20250313_141453.jpg | Bin 0 -> 3111032 bytes .../cw2/diagrams/pics/IMG_20250313_154631.jpg | Bin 0 -> 2977190 bytes .../cw2/diagrams/pics/IMG_20250318_123351.jpg | Bin 0 -> 2245650 bytes .../cw2/diagrams/pics/IMG_20250318_123353.jpg | Bin 0 -> 2085281 bytes .../cw2/diagrams/pics/IMG_20250318_123356.jpg | Bin 0 -> 2044935 bytes .../cw2/diagrams/pics/IMG_20250318_123358.jpg | Bin 0 -> 2171522 bytes .../cw2/diagrams/pics/IMG_20250318_123418.jpg | Bin 0 -> 1932027 bytes .../cw2/diagrams/pics/IMG_20250319_141954.jpg | Bin 0 -> 3364234 bytes .../cw2/diagrams/pics/VID_20250312_143741.mp4 | Bin 0 -> 14910081 bytes electronics/cw2/diagrams/pics/mpv-shot0001.jpg | Bin 0 -> 331818 bytes electronics/cw2/diagrams/pics/mpv-shot0002.jpg | Bin 0 -> 318171 bytes electronics/cw2/diagrams/pics/mpv-shot0003.jpg | Bin 0 -> 310260 bytes electronics/cw2/diagrams/pics/mpv-shot0004.jpg | Bin 0 -> 332359 bytes electronics/cw2/timetable.org | 20 +- electronics/cw2/writeup.tex | 194 +- 51 files changed, 23854 insertions(+), 23380 deletions(-) create mode 100644 comp/work/52/Makefile create mode 100644 comp/work/52/hashing.ms create mode 100644 comp/work/52/tcpip.ms create mode 100644 electronics/cw2/diagrams/blockdiagram.png create mode 100644 electronics/cw2/diagrams/diagrams-backups/diagrams-2025-03-26_151309.zip create mode 100644 electronics/cw2/diagrams/diagrams-backups/diagrams-2025-03-26_152832.zip create mode 100644 electronics/cw2/diagrams/diagrams-backups/diagrams-2025-03-27_121755.zip create mode 100644 electronics/cw2/diagrams/diagrams-backups/diagrams-2025-03-27_161405.zip create mode 100644 electronics/cw2/diagrams/fulldiagram.png create mode 100644 electronics/cw2/diagrams/pics/IMG_20250312_134733.jpg create mode 100644 electronics/cw2/diagrams/pics/IMG_20250312_135346.jpg create mode 100644 electronics/cw2/diagrams/pics/IMG_20250312_140036.jpg create mode 100644 electronics/cw2/diagrams/pics/IMG_20250312_140039.jpg create mode 100644 electronics/cw2/diagrams/pics/IMG_20250312_140041.jpg create mode 100644 electronics/cw2/diagrams/pics/IMG_20250312_140141.jpg create mode 100644 electronics/cw2/diagrams/pics/IMG_20250312_140912.jpg create mode 100644 electronics/cw2/diagrams/pics/IMG_20250312_142351.jpg create mode 100644 electronics/cw2/diagrams/pics/IMG_20250312_142422.jpg create mode 100644 electronics/cw2/diagrams/pics/IMG_20250312_142608.jpg create mode 100644 electronics/cw2/diagrams/pics/IMG_20250312_142737.jpg create mode 100644 electronics/cw2/diagrams/pics/IMG_20250312_142936.jpg create mode 100644 electronics/cw2/diagrams/pics/IMG_20250312_144503.jpg create mode 100644 electronics/cw2/diagrams/pics/IMG_20250312_153123.jpg create mode 100644 electronics/cw2/diagrams/pics/IMG_20250313_073405.jpg create mode 100644 electronics/cw2/diagrams/pics/IMG_20250313_080549.jpg create mode 100644 electronics/cw2/diagrams/pics/IMG_20250313_141453.jpg create mode 100644 electronics/cw2/diagrams/pics/IMG_20250313_154631.jpg create mode 100644 electronics/cw2/diagrams/pics/IMG_20250318_123351.jpg create mode 100644 electronics/cw2/diagrams/pics/IMG_20250318_123353.jpg create mode 100644 electronics/cw2/diagrams/pics/IMG_20250318_123356.jpg create mode 100644 electronics/cw2/diagrams/pics/IMG_20250318_123358.jpg create mode 100644 electronics/cw2/diagrams/pics/IMG_20250318_123418.jpg create mode 100644 electronics/cw2/diagrams/pics/IMG_20250319_141954.jpg create mode 100644 electronics/cw2/diagrams/pics/VID_20250312_143741.mp4 create mode 100644 electronics/cw2/diagrams/pics/mpv-shot0001.jpg create mode 100644 electronics/cw2/diagrams/pics/mpv-shot0002.jpg create mode 100644 electronics/cw2/diagrams/pics/mpv-shot0003.jpg create mode 100644 electronics/cw2/diagrams/pics/mpv-shot0004.jpg diff --git a/comp/work/52/Makefile b/comp/work/52/Makefile new file mode 100644 index 0000000..2aeb265 --- /dev/null +++ b/comp/work/52/Makefile @@ -0,0 +1,3 @@ +all: hashing.ms tcpip.ms + eqn hashing.ms | groff -Tps -ms | ps2pdf - > hashing.pdf + eqn tcpip.ms | groff -Tps -ms | ps2pdf - > tcpip.pdf diff --git a/comp/work/52/hashing.ms b/comp/work/52/hashing.ms new file mode 100644 index 0000000..89d6b45 --- /dev/null +++ b/comp/work/52/hashing.ms @@ -0,0 +1,54 @@ +.TL +Hashing +.AU +Lucas Standen +.AI +QMC + +.2C + +.EQ +delim @@ +.EN +.EQ +delim @# +.EN + +.NH 1 +Starter (FDE Cycle) +.LP +1) The program counter, Memory address register, Memory data register, Current instruction register, Status register + +2) Control bus, Data bus, Address bus + +3) Arithmetic logic unit + +4) Control unit + +.NH 1 +Hashing +.LP +This is the process of converting data to a internal representation of some data. We can use this to do many things, for example, when using a password, storing the hash can be better for security, as it is keeps the actual password safe while allowing for password checking. + +A hash table is a store of many hashes in a dictionary style data structure. The requirements for a has table are as follows +.EQ +"you should have about a third more spaces avalible than needed" +.EN +This is to avoid crashes/collusions. +.EQ +"you need to automatically resize the dictionary whenever is needed" +.EN +This is to avoid running out of space to store values. +.NH 2 +Hash table collusions +.LP +This is what happens when you have 2 bits of data that produce the same hash, and thus would go in the same slot in the dictionary. To fix this you can store a list in each slot of the dictionary, and put the new element on the end of the list of elements with the same hash. You could also achieve this by putting the data in the next available hash table slot. + +.NH 1 +Exam question on hashing +.LP +1)a)i) This can be faster to retrieve data, as all you need to know is its name, and you can quickly find the hash, and then the full value. + +1)a)ii) This can be easier to manage, as you don't need to worry about hash collusions. + +1)b) 751, 751 diff --git a/comp/work/52/tcpip.ms b/comp/work/52/tcpip.ms new file mode 100644 index 0000000..2f7199b --- /dev/null +++ b/comp/work/52/tcpip.ms @@ -0,0 +1,26 @@ +.TL +TCP/IP stack +.AU +Lucas Standen +.AI +QMC + +.EQ +delim @@ +.EN +.EQ +delim @# +.EN + +.NH 1 +Question +.LP +A hard drive works using spinning platters, read heads, and magnetic tracks and sectors, which has the data laid out in an organised pattern. The hard drives spin the platters and move the read write heads to read and write data to and from the disk. + +The Application layer of the TCP/IP stack is the web server itself, this will take the incoming files and move them onto the drives. + +The Transport layer of the stack, will handle the data being broken up into packets, that can be sent over the network. This will also apply the checksum and other such security and verification steps. + +The Network layer will apply the sender and return IP address onto the packet. + +The Link layer is the physical cables, and other connectivity methods between the 2 machines. diff --git a/electronics/cw2/diagrams/blockdiagram.png b/electronics/cw2/diagrams/blockdiagram.png new file mode 100644 index 0000000..6bcef5b Binary files /dev/null and b/electronics/cw2/diagrams/blockdiagram.png differ diff --git a/electronics/cw2/diagrams/diagrams-AM demodulation.svg b/electronics/cw2/diagrams/diagrams-AM demodulation.svg index 0593383..e9f862d 100644 --- a/electronics/cw2/diagrams/diagrams-AM demodulation.svg +++ b/electronics/cw2/diagrams/diagrams-AM demodulation.svg @@ -7,7 +7,7 @@ xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="297.0022mm" height="210.0072mm" viewBox="0.0000 0.0000 297.0022 210.0072"> -SVG Image created as diagrams-AM demodulation.svg date 2025/03/19 13:30:46 +SVG Image created as diagrams-AM demodulation.svg date 2025/03/27 11:47:08 Image generated by Eeschema-SVG -SVG Image created as diagrams-audio intensitity meter.svg date 2025/03/19 13:30:46 +SVG Image created as diagrams-audio intensitity meter.svg date 2025/03/27 11:47:08 Image generated by Eeschema-SVG -SVG Image created as diagrams-audio peak finder.svg date 2025/03/19 13:30:46 +SVG Image created as diagrams-audio peak finder.svg date 2025/03/27 11:47:08 Image generated by Eeschema-SVG -SVG Image created as diagrams-initial amplifier.svg date 2025/03/19 13:30:46 +SVG Image created as diagrams-initial amplifier.svg date 2025/03/27 11:47:08 Image generated by Eeschema-SVG -SVG Image created as diagrams-push pull power amplifier.svg date 2025/03/19 13:30:46 +SVG Image created as diagrams-push pull power amplifier.svg date 2025/03/27 11:47:08 Image generated by Eeschema-SVG -SVG Image created as diagrams-receiver.svg date 2025/03/19 13:30:46 +SVG Image created as diagrams-receiver.svg date 2025/03/27 11:47:08 Image generated by Eeschema-SVG -SVG Image created as diagrams-volume boost amplifier.svg date 2025/03/19 13:30:46 +SVG Image created as diagrams-volume boost amplifier.svg date 2025/03/27 11:47:08 Image generated by Eeschema-SVG -SVG Image created as diagrams.svg date 2025/03/19 13:30:46 +SVG Image created as diagrams.svg date 2025/03/27 11:47:08 Image generated by Eeschema-SVG - - - - - + + + + + - + -receiver -receiver -volume boost amplifier +volume boost amplifier + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -File: untitled.kicad_sch -File: untitled.kicad_sch - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -File: untitled.kicad_sch +File: untitled.kicad_sch + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -AM demodulation -AM demodulation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -File: untitled.kicad_sch -File: untitled.kicad_sch - - - - - - + + + +initial amplifier +initial amplifier + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -File: untitled.kicad_sch +File: untitled.kicad_sch + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -audio intensitity meter -audio intensitity meter - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + +push pull power amplifier +push pull power amplifier + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -File: untitled.kicad_sch -File: untitled.kicad_sch - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -File: untitled.kicad_sch +File: untitled.kicad_sch + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -audio peak finder -audio peak finder - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +audio peak finder +audio peak finder + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + -initial amplifier -initial amplifier -audio intensitity meter +audio intensitity meter + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -File: untitled.kicad_sch -File: untitled.kicad_sch - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -File: untitled.kicad_sch +File: untitled.kicad_sch + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -volume boost amplifier -volume boost amplifier - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + +receiver +receiver + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -File: untitled.kicad_sch +File: untitled.kicad_sch + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -File: untitled.kicad_sch -File: untitled.kicad_sch - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + +AM demodulation +AM demodulation + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -push pull power amplifier -push pull power amplifier - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -File: untitled.kicad_sch +File: untitled.kicad_sch + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -File: untitled.kicad_sch -File: untitled.kicad_sch - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - +R3 +R3 + - - - - - - - - - - - - - - - - - - - - - - - -750K +750K + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + - +VCC +VCC + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - +C4 +C4 + - - - - - - - - - - - - - - - - - -390n +390n + - - - - - - - - - - - - -R7 -R7 - - - - - - - - - - - - - -1K -1K - - - - - - - - - - - - - - -GND -GND - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + - -VSS -VSS - -B +B + - - - - - - - - - - - - - - - - - - - - - - - + - + +C + +C + - - - - - - - - - - - - - - - - - - - -1 -1 - +E + +E + - - - -Q2 +Q2 + - - - - - -2 -2 - - - - - - - - - - - - -LS1 -LS1 - - - - - - - - - - - - - - - - - - - -NPN +NPN + - - - - - - -Speaker -Speaker - - - - - - - - - - + + + - +GND +GND + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + - ++15V ++15V + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -B -B -VSS +VSS + - - - - - - - - - - - - - - - - - - - - - - - -C - -C - - - - - - - - - - - - - - - - + + + + + + + + + - - -E - -E -VSS +VSS + - - - -Q2 -Q2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -NPN -NPN - - - - - - - - - - - - - - - - - - - - - - --15V --15V - - - - - - - - - - - - - - - - - - - - - - - - -+15V -+15V -VCC +VCC + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + - -+ + - - -3 3 - - - - - - - - - - - - - - -- - - -2 2 - - - - - - - - - - - - - +V+ V+ - - - - - - +7 7 - - - - - +V- V- - - - - - +4 4 - - - - - - +NULL NULL - - - - - - - - - - - - - - - - - - +1 1 - - - - - - - - +NULL NULL - - - - - - - - - - - - - - - - - - +5 5 - - - - - - - - - - - - - - - - -6 6 - - - - - - - - - - - - - - - - - - - - - -U4 -U4 -U2 +U2 + - - - - - - - - - - - -TL081 -TL081 - - - - - - - -TL081 +TL081 + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + - -GND -GND - - - - - - - - --15V +-15V + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +d="M 92.7100,25.4000 +92.7100,27.9400 +95.2500,26.6700 +Z" /> - - + + + + +D1 +D1 + + + + + + + + + + + + + + + + + +D +D + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 -1 - - - - - - - - -2 -2 -+15V ++15V + - - - - - - - - - - - - - - -3 -3 - - - - - - - - - - - - - - + -4 -4 - - - - - - + -5 -5 -R5 +R5 + - - - - - - - - - - - - - - - - - - - -6 -6 - - - - - - - - - - -4.7M +4.7M + - - - - - - - - - - - + + + + + + - -7 -7 - -+ ++ + - - - - + -8 -8 -3 +3 + - - - - - - - - - - - - - + - +- +- + - +2 +2 + - - - - - - - - - - + - + +V+ + +V+ + - - - - + +7 + +7 + + - + +V- + +V- + + + + + - +9 -9 -4 + +4 + - - - + - + +NULL + +NULL + - - - - - - - - - - - - - - - - + +1 + +1 + + + + + - -10 -10 - +NULL + +NULL + - - - - - - - - - - - - - - - - + +5 + +5 + - - - - - - - - + + + + + + - -20 -20 -6 +6 + - - - - - - - - - - - - - - - - - - - - - +U1 +U1 + - - - - - - - - - - - - - -19 -19 - - - - -TL081 +TL081 + - - - - - - - - - - - - - - - - - - - - - - - - - - -18 -18 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + -17 -17 - - - - - - - - - - + -16 -16 -R1 +R1 + - - - - - - - - - - - - - - - - -1M +1M + - - - - - - - - - + + - -15 -15 -GND +GND + - - - - - - - - - - - - - - - - - - - - - - - - -14 -14 - - - - - - - - - + + + + - -13 -13 - - - -GND +GND + - - - - - - - - - - - - - - - - - - - -12 -12 - - - - - - - - - - - - - - - - + + + + - -11 -11 -+15V ++15V + - - - - - - - - - - - -BAR1 -BAR1 - - - - - - - - - - - - - - - + + + + - +VSS +VSS + - - - - - - - - - - - - - - - - - - - - - -HDSP-4830_2 -HDSP-4830_2 - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + - +B +B + - - - - - - - - - - - - - - - - - - + - + +C + +C + - - - - - - - - - - - - - - - + - + +E + +E + - - - -Q1 +Q1 + - - - - - - - - - - - - - - - - - - - - - - - - - -PNP +PNP + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - +d="M 175.2600,80.0100 +185.4200,85.0900 +175.2600,90.1700 +Z" /> - - - - - - - - - - + -+ ++ + - + + -1 -1 -3 +3 + - - - - + + + + + + + + - +- +- + + + -2 2 - - - - - - - - - - - -3 -3 - - - - - - - - +V+ + +V+ + - - - - + +7 + +7 + - - + +V- + +V- + + + + + - +4 + 4 - - - - -5 -5 - +NULL + +NULL + - - - - - - - - - - - - - - - - -RN1 -RN1 - - - - - - - - - - - - - - - - - - - -470 -470 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -+ -+ - - - - -3 -3 - - - - - - - - - - - - - - - - - - -- -- - - - -2 -2 - - - - - - - - - - - - - - - - -V+ - -V+ - - - - - - - -7 - -7 - - - - - - - - -V- - -V- - - - - - - -4 - -4 - - - - - - - - - -NULL - -NULL - - - - - - - - - - - - - - - - + - - -GND -GND --15V +-15V + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -R5 -R5 -VSS +VSS + - - - - - - - - - - - - - - - - - - - - - - - - - -4.7M -4.7M - - - - - - - - - - - - - - - - - + + + - - -R4 -R4 -VCC +VCC + - - - - - - - - - - - - - -2M -2M - - - - - - - - - - - - - - - + + + + + + + - + -GND -GND -R2 +R2 + - - - - - - - - - - - - - - - - - - - - -4.7M +4.7M + - - - - - - - - - + + + + - -+15V +15V - - - - - - - - - - - - - - - - - - - - - - - - - - +d="M 177.8000,92.7100 +177.8000,93.9800 +177.0380,93.9800 +177.8000,95.2500 +178.5620,93.9800 +177.8000,93.9800 +" /> - -VSS -VSS - - - - - - - - - - - - - - - - - --15V +-15V + - - - - - - - - - - - - - - - - - - - - - - - - - -D2 -D2 - -C1 +C1 + - - - - - - - - - - - - - - - - - - - -470p +470p + -D -D - - - - - - - - - - - - - - - - - - - - -VCC -VCC - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -R6 -R6 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -10M -10M - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + + + + + -VSS -VSS - -L1 +L1 + - - - - - - -1.1m +1.1m + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + - - +D2 +D2 + - + + + + + + + + + + + + + + + + + + + + +D +D + + + + + + + + + + + + @@ -24084,19475 +23801,19009 @@ L102.7054 71.0948 - -GND GND - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + --15V --15V - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - + - - - -B -B - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - +1 +1 + - - - - - - -C - -C - - - - - -2 +2 + - - - - - - - - - - - -E - -E - - - - -Q1 -Q1 - - - - - - - - - - - - - - - - - - - - - - - - - - -PNP -PNP - - - - - - - - - - -3 +3 + - - - - - - - - - - - - - - - + - -VSS -VSS - - - - - - - - - - - - - - - - - - - - - -4 +4 + - - - + - +5 +5 + - - - - - - - - - - - - - - - - - - + - -VCC -VCC - - - - - - - - - - - -6 +6 + - - - - - - - - - - - - - - - - - - - - - - - - - - -L1 -L1 - -7 +7 + - - + - +8 +8 + - - -1.1m -1.1m - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -R3 -R3 -9 +9 + - - - - - - - - - - - - - - - - - - - - - + - +10 +10 + - -750K -750K - - - - - - - - - - - - - - - - - - - - - + + + + + + + +20 +20 + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - + - -VSS -VSS -19 +19 + - - - - - - - - - - - - - - - - - - - - - - - - - - + - +18 +18 + - - - - - - - - - - - - - - - - - - - - - -R1 -R1 - - - - - - - - - - - - - - - - -1M -1M - - - - - - + - +17 +17 + - - - - - - + + + + + - -+15V -+15V -16 +16 + - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - -R2 -R2 - - - - - - -15 +15 + - - - - - - - - - - - - - - -4.7M -4.7M - - - - - - + - +14 +14 + - - - - - - - - - - + - -+ -+ -13 +13 + - - - -3 -3 - - - - - - - - - - - - - + + + - -- -- - - - -2 -2 -12 +12 + - - - - - - - - - + + + + + - - -V+ - -V+ -11 +11 + - - - - - - -7 - -7 - - - - - - + + + + - -V- - -V- -BAR1 +BAR1 + - - + + + + - - - -4 - -4 - - - - - - - - - -NULL - -NULL - - - - - - - - - - - - - - - - - - - -1 - -1 - - - - - - - - - - - -NULL - -NULL - - - - -HDSP-4830_2 +HDSP-4830_2 + - - - - - - - - - - - - - - -5 - -5 - - - - - - - - - - - - - - - - - - - - -6 -6 - - - - - - - - - - - - - - - - - - - - - - - -U1 -U1 - - - - - - - - - - - - - - -TL081 -TL081 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + +d="M 152.6540,77.4700 +153.4160,77.4700 +153.4160,80.0100 +152.6540,80.0100 +" /> + + + - - + + + + + + + + + -D1 -D1 -1 +1 + - - - - - + - +2 +2 + - - - - - - - - - - + -D -D - +3 +3 + - - - - - - - - - - - + + + + - - +4 +4 + + + + + - + + +5 +5 + + + + + + + + + - - - -C4 -C4 - - - - - - +RN1 +RN1 + - - - - - - - - - - - - -390n -390n - - - - - - -470 +470 + - - - - - - - - - - - - - - - - - - - - - - - - - + + + - +GND +GND + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - -GND -GND - - - - - - - - - - - - -VSS +VSS + - - - - - - - - - - - - - - - - - - - - - - - - - - -+5V -+5V - - - - - - - - - - - - - - - - - - - + - - - -C2 -C2 - - - - - - - - - - -GND +GND + - - - - - - - - - - - - - - -100p -100p - - - - - - - - - - - - - - - - - + + + + - +VSS +VSS + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - + -VCC -VCC - - - - -R4 +R4 + - - - - - - - - - - - - - -2M +2M + - - - - - - - - - - - - - - -+15V -+15V - - - - - -+5V ++5V + - - - - - - - - - - - - - - - - - - - - - -C1 -C1 - - - -GND +GND + - - - - - - - - - - - - - - - - -470p -470p - - - - - - - - - - - - - - - + + + + + - +1 +1 + - - - - - + - +2 +2 + - - - - - - - - - - +LS1 +LS1 + - - - - - - - - - - - -GND -GND - - - - - - - - - - - - - - - - - - - -Speaker +Speaker + - - - - - - - - - - - - - - - - - --15V --15V - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -VSS -VSS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -+ + - - -3 3 - - - - - - - - - - - - - - -- - - -2 2 - - - - - - - - - - - - - +V+ V+ - - - - - - +7 7 - - - - - +V- V- - - - - - +4 4 - - - - - - +NULL NULL - - - - - - - - - - - - - - - - - - +1 1 - - - - - - - - +NULL NULL - - - - - - - - - - - - - - - - - - - -5 - -5 - - - - - - - - - - - - - - - - - - - - -6 -6 - - - - - - - - - - - - - - - - - - - - - - - -U2 -U2 - - - - - - - - - - - - - - - - - - - -TL081 -TL081 - - - - - - - - - - - - - - - - - + +5 + +5 + - - - - - - - - - - - - - - - + - +6 +6 + - - - - - - - - - - - - - - - - - - - - - +U4 +U4 + - - - - - - - - - - - - -GND -GND - - - - -TL081 +TL081 + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -VCC -VCC - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -VCC VCC - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - + --15V --15V - - - - - - - - - - - - - - - - - - - -R6 +R6 + - - - - - - - - - - - -+15V -+15V - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -VSS -VSS - - -10M +10M + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - +C2 +C2 + - - - - - - - - - - - - - - - - - - - - - - - - - - - - -100p +100p + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + -VCC -VCC -VSS +VSS + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + - -L1 -L1 -+15V ++15V + - - - - - - -1.1m -1.1m - - - - - - - - - - - - - - - - - - + + + + + - +VCC +VCC + - - - - - - - - - - - - - - - -+5V -+5V - - - - - - - - - - - - - - - - - - - - + + + - -+15V -+15V -GND +GND + - - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - + + - -C1 -C1 - - - -GND +GND + - - - - - - - - - - - - - - - - -470p -470p - - - - - - - - - - - - - - - + + + + - - +R7 +R7 + - - - - - - - - - - - - -1K +1K + - - - - - - - - - - - -GND -GND - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - -VSS -VSS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -U2 -U2 - - - - - - - - - - - - - - - - - - - +GND +GND + -TL081 -TL081 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - +U3 +U3 + - - - - - - - - - - - - - - - - - - - - - -PIC16F88-IP +PIC16F88-IP + - - - - - - - - - - - -+ -+ - + - - - -3 -3 - - - - - - - - - - - - - - - - - - -- -- - - - -2 -2 - - - - - - - - - - - - - - - - -V+ - -V+ - - - - - - - -7 - -7 - - - - - - - - -V- - -V- - - - - - - -4 - -4 - - - - - - - - - -NULL - -NULL - - - - - - - - - - - - - - - - - - - -1 - -1 - - - - - - - - - - - -NULL - -NULL - - - - - - - - - - - - - - - - - - - -5 - -5 - - - - - - - - - - - - - - - - - - + + - - -6 -6 - - - - - - - - - - - - - - - - - - - - - + -RN1 -RN1 - - - - - +RB0/INT/CCP1 +RB0/INT/CCP1 + - - - - - - - - - - - - - - -470 -470 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 -1 - - - - - - - - - - -2 -2 - - - - - - - - - - - - - - - -3 -3 - - - - - - - - - - - - - - - - - - -4 -4 - - - - - - - - -5 -5 - - - - - - - - - - - - - - - - - -GND -GND - - - - - - - - - - - - +6 +6 + - - - - - - - - - - - - - - - - - - - + - -R4 -R4 -RB1/SDI/SDA +RB1/SDI/SDA + - - - - - - - - - - - - - -2M -2M - - - - - - - - - - - - - - - - - - - - -+15V -+15V - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -VSS -VSS - - - - - - - - - - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - +7 +7 + - - -D2 -D2 - - - - - - - - - - - - - - -RB2/SDO/RX/DT +RB2/SDO/RX/DT + - - - - - - - -D -D - - - - - - - - - - - - - - - - - - -VCC -VCC - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -R6 -R6 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -10M -10M - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -8 +8 + - - - -C3 -C3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - -360p -360p - - + - +RB3/PGM/CCP1 +RB3/PGM/CCP1 + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - -VSS -VSS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -GND -GND - - - - - - - - - - - +9 +9 + - - - - - - - - - - - - - - - - - - - - - --15V --15V -RB4/SCK/SCL +RB4/SCK/SCL + - - - - - - - - - - - - - - - - - - - - - + + + + - - - - - - -U3 -U3 - - - - - - - - - - - - - - - - - - - - - - -PIC16F88-IP -PIC16F88-IP - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +10 +10 + - - - - - - - - - - - - - - - - - - - - - - - - - + - +RB5/~{SS}/TX/CK +RB5/~{SS}/TX/CK + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -RB0/INT/CCP1 -RB0/INT/CCP1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +11 +11 + - - - - - - - - - - + - +RB6/AN5/PGC/T1CKI +RB6/AN5/PGC/T1CKI + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -6 -6 - - - - - - - - - - - - - - - - - - - - - - - - - - -RB1/SDI/SDA -RB1/SDI/SDA - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +12 +12 + - - - - - - - - - - - - - - -7 -7 - - - -RB2/SDO/RX/DT -RB2/SDO/RX/DT -RB7/AN6/PGD/T1OSI +RB7/AN6/PGD/T1OSI + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - -8 -8 - - - - - - - - - - - - - - - +13 +13 + - - - - - - - - - - - - - - - - + - -RB3/PGM/CCP1 -RB3/PGM/CCP1 - - - - - - - - +VDD + +VDD + - - - - - - - - - - - - - - - - - - - - - - - - - - + +14 + +14 + - - - - - - - - + - + +VSS + +VSS + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +5 + +5 + - - - - - - - - - - - - - - - + - +AN0/RA0 +AN0/RA0 + - - - - - - - - - - - - - - - - - - - - - - -9 -9 - - - - - - - - - - - - - - - - - - - - - - - - - - -RB4/SCK/SCL -RB4/SCK/SCL - - - - - - - - - - - - - - - - - - - +17 +17 + - - - - - - - + - +AN1/RA1 +AN1/RA1 + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +18 +18 + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - +Vref-/CVref/AN2/RA2 +Vref-/CVref/AN2/RA2 + - - - - - - - - - - - - - - -10 -10 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -RB5/~{SS}/TX/CK -RB5/~{SS}/TX/CK - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +1 +1 + - - - - - + - +C1OUT/Vref+/AN3/RA3 +C1OUT/Vref+/AN3/RA3 + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -11 -11 - - - - - - - - - - - - - - - -RB6/AN5/PGC/T1CKI -RB6/AN5/PGC/T1CKI - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +2 +2 + - - - - - - - - - - + - +C2OUT/T0CKI/AN4/RA4 +C2OUT/T0CKI/AN4/RA4 + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -12 -12 - - - - - - - - - - - - - - - - - - - - -RB7/AN6/PGD/T1OSI -RB7/AN6/PGD/T1OSI - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +3 +3 + - - - - - - - - - - - - - + - +~{MCLR}/Vpp/RA5 +~{MCLR}/Vpp/RA5 + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -13 -13 - - - - - - - - - - - - - - - - +4 +4 + - - - - -VDD - -VDD -CLKOUT/OSC2/RA6 +CLKOUT/OSC2/RA6 + - - - - - - - - - - - - - - - - - - - - - - - - - - - - -14 - -14 - - - - - - - - - - - - - - -VSS - -VSS - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - -5 - -5 - - - - - - - - - - - - - - - - - - - - -AN0/RA0 -AN0/RA0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +15 +15 + - - - - - - - - - - - - - - -17 -17 - - - - - - - - -AN1/RA1 -AN1/RA1 - - -CLKIN/OSC1/RA7 +CLKIN/OSC1/RA7 + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -18 -18 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Vref-/CVref/AN2/RA2 -Vref-/CVref/AN2/RA2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +16 +16 + - - - - - - - - - - - - - - - - - - - - - - - - - - +GND +GND + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - +RN1 +RN1 + - - - - - - - - - - - - - - - - - - - -1 -1 - -470 +470 + - - - - - - - - -C1OUT/Vref+/AN3/RA3 -C1OUT/Vref+/AN3/RA3 - - - - - - - - - - - - - - - - - - - - - + - +1 +1 + - - - - - + - +2 +2 + - - - - - - - - - - + - +3 +3 + - - - - - - - - - - - - - + - +4 +4 + - - - + - +5 +5 + - - - - - - - - - - - - - - - ++5V ++5V + - - - - - - - - - - - - - - - - - - - + - +GND +GND + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -2 -2 - - - +U4 +U4 + - - - - - - - - - - - - -C2OUT/T0CKI/AN4/RA4 -C2OUT/T0CKI/AN4/RA4 - - - -TL081 +TL081 + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - ++ ++ + - - +3 +3 + - - - - - - - - - - - - - + - +- +- + - +2 +2 + - - - - - - - - - - + - + +V+ + +V+ + - - - - + +7 + +7 + - - + - + +V- + +V- + - - - + +4 + +4 + - - - + - + +NULL + +NULL + - - - - - - - - - - - - - - - - +3 -3 - - - - - - - - -1 + +1 + - - - - - -~{MCLR}/Vpp/RA5 -~{MCLR}/Vpp/RA5 - +NULL + +NULL + - - - - - - - - - - - - - - - - + +5 + +5 + - - - - - - - - - - - - - - - + - +6 +6 + - - - - - - - - - - - - - - - - - - - - - +VSS +VSS + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -4 -4 - - - - -CLKOUT/OSC2/RA6 -CLKOUT/OSC2/RA6 -R6 +R6 + - - - - - - - - - - - - - - - + + + + - - - - - - - - - - - - -10M +10M + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - +VCC +VCC + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - +C3 +C3 + - - - - - - - - - - - - - - - - - - - - - - - - - - - -360p +360p + - - - - - - - - - - - - - - - - - - - - - - - - - -15 -15 - - - - - - - - - - - - - - - - - - - - - - - - - -CLKIN/OSC1/RA7 -CLKIN/OSC1/RA7 - - - - - - - - - - - - - - - - - - - - - - + - - +D2 +D2 + - - - - - - - - - - - - - - - - - - - - - -D +D + - - - - - - - - - - - - + - - ++15V ++15V + - - - - - - - - - - - - - - - - - - - - - - - - + + + +-15V +-15V + - - - - - - - - - - - - - - - -16 -16 - - - - - - - - - - + - +U2 +U2 + - - - - - - - - - - - - - - - - - -GND -GND - - - -TL081 +TL081 + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -GND -GND - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -U4 -U4 - - - - - - - - - -+ ++ + - - +3 +3 + -TL081 -TL081 - - - - - - - - - - - - - + - +- +- + - +2 +2 + - - - - - - - - - - + - + +V+ + +V+ + - - - - + +7 + +7 + - - + - + +V- + +V- + - - - + +4 + +4 + - - - + - + +NULL + +NULL + - - - - - - - - - - - - - - - - + +1 + +1 + - - - - - -+ -+ - +NULL + +NULL + - + + + + + + + + + + + + + + - +3 -3 -5 + +5 + - - - - - - - - - - - - + + - -- -- - - - -2 -2 -6 +6 + - + + + + + - - - - - - - - - - - - - - -V+ - -V+ - - - - + - -7 - -7 -GND +GND + - - - - - - - -V- - -V- - - - - - - -4 - -4 - - - - - - - - - -NULL - -NULL - - - - - - - - - - - - - - - - - - - -1 - -1 - - - - - - - -NULL - -NULL - - - - - - - -+15V ++15V + - - - - - - - - - - - -5 - -5 - - - - - - - - - - - - - - - - -6 -6 -VCC +VCC + - - - - - - - - - - - - - - - - - + + + + + + + + + + + - - - + + + -Q2 -Q2 - - - - - - - - -U1 +U1 + - - - - - - - - - - - - - -TL081 +TL081 + - - - - - - - - -NPN -NPN - - - - - - - - - - - - - - - - - - - - - -B -B - - - - - - - - - - - - - - - - - - - - - - - - -C - -C - - - - - - - - - - - - - - - - - -E - -E -+ ++ + - - +3 +3 + - --15V --15V - - - - - - - - - - - - + - +- +- + - +2 +2 + - - - - - - - - - - -U5 -U5 - - - - - - - - - - - - - - - - - - +V+ + +V+ + - - - - + +7 + +7 + - - + -TL081 -TL081 - + +V- + +V- + - - - + +4 + +4 + - - - + - + +NULL + +NULL + - - - - - - - - - - - - - - - - + +1 + +1 + - - - - - + - + +NULL + +NULL + - - - - - - - - - - - - - - - - + +5 + +5 + - - - - - - - - - - - - - - - -+ -+ - - - - -3 -3 -6 +6 + - - - - - + + + + + + + + - - - - - - - - - - -- -- -+15V ++15V + - - -2 -2 - - - - - - - - - - - - - - - - -V+ - -V+ - - - - - - - -7 - -7 - - + + + + + + - - -V- - -V- -GND +GND + - - - - - -4 - -4 - - - - - - - - - -NULL - -NULL - - - - - - - - - - - - - - - - - - - -1 - -1 - - - - - + + + - - -NULL - -NULL -GND +GND + - - - - - - - - - - - - - - - - - - -5 - -5 - - - - - - - - - - - - - - - - -6 -6 -R1 +R1 + - - - - - - - - - - - - - - - +1M +1M + + + + - - - - - + + + + -VSS VSS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Q1 -Q1 -C1 +C1 + - - - - - - - - - - - - - - - - - - - -470p +470p + - - - - - -PNP -PNP - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + - + -B -B - - - -VCC +VCC + - - - - - - - - - - - - - - - - - - - - -C - -C - - - - - - - - - - - - - - - + - - -E - -E -L1 +L1 + - - - -+15V -+15V - - - -1.1m +1.1m + - - - - - - - - - - - - - - - - - - - - - - - - - -+15V -+15V - - - - - - - + - - +VSS +VSS + - - - - - - - - - - - - - - - - - - - - --15V --15V - - - - - - - - - - - - - - - - - - - - - - - - -VCC -VCC - -GND +GND + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -GND -GND - - - -R4 +R4 + - - - - - - - - - - - - - -2M +2M + - - - - - - - - - - - - - - + --15V --15V -GND +GND + + + + - + + + + + - - - - - - - - - - - - - - - - - - - - - - -GND -GND -D1 +D1 + - - - - - - - - - - - - - - - - +D +D + + + + + + + + + + + + + + + + + + +VSS +VSS + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + +R3 +R3 + + + + + + + + + + + + + + + + + + + + + + + + +750K +750K + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Q1 +Q1 + + + + + + + + + + + + + + + + + + + + + + + + + + +PNP +PNP + + + + + + + + + + + + + + + + + + + + + + + + + + + + +B +B + + + + + + + + + + + + + + + + + + + + + -D1 -D1 - - +C + +C + - - - - - - - - - - - - - - - + -D -D - + +E + +E + - - - -U5 +U5 + - - - - - - - - - - - - - -U1 -U1 - - - - - - - - - - - - - - -TL081 TL081 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -+ + - - -3 3 - - - - - - - - - - - - - + - -- - - -2 2 - - - - - - - - - - - - - +V+ V+ - - - - - - +7 7 - - - - - +V- V- - - - - - +4 4 - - - - - - +NULL NULL - - - - - - - - - - - - - - - - + + + +1 + +1 + + + + + + + + + + + +NULL + +NULL + + + + + + + + + + + + + + + + + + + +5 + +5 + + + + + + + + + + + + + + + + + + + + +6 +6 + + + + + + + + + + + + + + + + + + + + + + + +-15V +-15V + + + + + + + + + + + + + + + + + + - - - -1 - -1 - - - - - - - -NULL - -NULL - - - - - - - - --15V +-15V + - - - - - - - - - - -5 - -5 - - - - - - - - - - - - - - - - -6 -6 -Q2 +Q2 + - - - - - - - - - - - - - - - - - - - - - - -+15V -+15V - - - - - - - - - - -NPN +NPN + - - - - - - - - - - - - - + + - -R1 -R1 -B +B + - - - - - - - - - - - - - - - -1M -1M - - - + + + + +C + +C + + + + + + + + - - - - - - + - - -VSS -VSS - - - - - - - - - - - - - +E + +E + - - - -+15V ++15V + - - - - - - - - - - - - - - - - - - - - - - - - -R3 -R3 -VSS +VSS + - - - - - - - - - - - - - - - - - - - - - - - -750K -750K - - - - - - - - - - - - - - - - - + - ++15V ++15V + - - - - - - - - - - - - - - - - - - - - - - + - - + - - + + + + + + + - + + + - - - - - + + + + + + + + - - - + diff --git a/electronics/cw2/diagrams/fulldiagram.png b/electronics/cw2/diagrams/fulldiagram.png new file mode 100644 index 0000000..46a6d6e Binary files /dev/null and b/electronics/cw2/diagrams/fulldiagram.png differ diff --git a/electronics/cw2/diagrams/initial-amplifier.png b/electronics/cw2/diagrams/initial-amplifier.png index ba42248..fedff26 100644 Binary files a/electronics/cw2/diagrams/initial-amplifier.png and b/electronics/cw2/diagrams/initial-amplifier.png differ diff --git a/electronics/cw2/diagrams/pics/IMG_20250312_134733.jpg b/electronics/cw2/diagrams/pics/IMG_20250312_134733.jpg new file mode 100644 index 0000000..01fb8b3 Binary files /dev/null and b/electronics/cw2/diagrams/pics/IMG_20250312_134733.jpg differ diff --git a/electronics/cw2/diagrams/pics/IMG_20250312_135346.jpg b/electronics/cw2/diagrams/pics/IMG_20250312_135346.jpg new file mode 100644 index 0000000..0d3a579 Binary files /dev/null and b/electronics/cw2/diagrams/pics/IMG_20250312_135346.jpg differ diff --git a/electronics/cw2/diagrams/pics/IMG_20250312_140036.jpg b/electronics/cw2/diagrams/pics/IMG_20250312_140036.jpg new file mode 100644 index 0000000..8d0cda2 Binary files /dev/null and b/electronics/cw2/diagrams/pics/IMG_20250312_140036.jpg differ diff --git a/electronics/cw2/diagrams/pics/IMG_20250312_140039.jpg b/electronics/cw2/diagrams/pics/IMG_20250312_140039.jpg new file mode 100644 index 0000000..a3794c7 Binary files /dev/null and b/electronics/cw2/diagrams/pics/IMG_20250312_140039.jpg differ diff --git a/electronics/cw2/diagrams/pics/IMG_20250312_140041.jpg b/electronics/cw2/diagrams/pics/IMG_20250312_140041.jpg new file mode 100644 index 0000000..aa79dc5 Binary files /dev/null and b/electronics/cw2/diagrams/pics/IMG_20250312_140041.jpg differ diff --git a/electronics/cw2/diagrams/pics/IMG_20250312_140141.jpg b/electronics/cw2/diagrams/pics/IMG_20250312_140141.jpg new file mode 100644 index 0000000..2abdb5a Binary files /dev/null and b/electronics/cw2/diagrams/pics/IMG_20250312_140141.jpg differ diff --git a/electronics/cw2/diagrams/pics/IMG_20250312_140912.jpg b/electronics/cw2/diagrams/pics/IMG_20250312_140912.jpg new file mode 100644 index 0000000..7e1af11 Binary files /dev/null and b/electronics/cw2/diagrams/pics/IMG_20250312_140912.jpg differ diff --git a/electronics/cw2/diagrams/pics/IMG_20250312_142351.jpg b/electronics/cw2/diagrams/pics/IMG_20250312_142351.jpg new file mode 100644 index 0000000..cd1561f Binary files /dev/null and b/electronics/cw2/diagrams/pics/IMG_20250312_142351.jpg differ diff --git a/electronics/cw2/diagrams/pics/IMG_20250312_142422.jpg b/electronics/cw2/diagrams/pics/IMG_20250312_142422.jpg new file mode 100644 index 0000000..a584141 Binary files /dev/null and b/electronics/cw2/diagrams/pics/IMG_20250312_142422.jpg differ diff --git a/electronics/cw2/diagrams/pics/IMG_20250312_142608.jpg b/electronics/cw2/diagrams/pics/IMG_20250312_142608.jpg new file mode 100644 index 0000000..27b6184 Binary files /dev/null and b/electronics/cw2/diagrams/pics/IMG_20250312_142608.jpg differ diff --git a/electronics/cw2/diagrams/pics/IMG_20250312_142737.jpg b/electronics/cw2/diagrams/pics/IMG_20250312_142737.jpg new file mode 100644 index 0000000..689de8d Binary files /dev/null and b/electronics/cw2/diagrams/pics/IMG_20250312_142737.jpg differ diff --git a/electronics/cw2/diagrams/pics/IMG_20250312_142936.jpg b/electronics/cw2/diagrams/pics/IMG_20250312_142936.jpg new file mode 100644 index 0000000..b19ce93 Binary files /dev/null and b/electronics/cw2/diagrams/pics/IMG_20250312_142936.jpg differ diff --git a/electronics/cw2/diagrams/pics/IMG_20250312_144503.jpg b/electronics/cw2/diagrams/pics/IMG_20250312_144503.jpg new file mode 100644 index 0000000..979578b Binary files /dev/null and b/electronics/cw2/diagrams/pics/IMG_20250312_144503.jpg differ diff --git a/electronics/cw2/diagrams/pics/IMG_20250312_153123.jpg b/electronics/cw2/diagrams/pics/IMG_20250312_153123.jpg new file mode 100644 index 0000000..70d593a Binary files /dev/null and b/electronics/cw2/diagrams/pics/IMG_20250312_153123.jpg differ diff --git a/electronics/cw2/diagrams/pics/IMG_20250313_073405.jpg b/electronics/cw2/diagrams/pics/IMG_20250313_073405.jpg new file mode 100644 index 0000000..2e17070 Binary files /dev/null and b/electronics/cw2/diagrams/pics/IMG_20250313_073405.jpg differ diff --git a/electronics/cw2/diagrams/pics/IMG_20250313_080549.jpg b/electronics/cw2/diagrams/pics/IMG_20250313_080549.jpg new file mode 100644 index 0000000..36c4e33 Binary files /dev/null and b/electronics/cw2/diagrams/pics/IMG_20250313_080549.jpg differ diff --git a/electronics/cw2/diagrams/pics/IMG_20250313_141453.jpg b/electronics/cw2/diagrams/pics/IMG_20250313_141453.jpg new file mode 100644 index 0000000..b1c7464 Binary files /dev/null and b/electronics/cw2/diagrams/pics/IMG_20250313_141453.jpg differ diff --git a/electronics/cw2/diagrams/pics/IMG_20250313_154631.jpg b/electronics/cw2/diagrams/pics/IMG_20250313_154631.jpg new file mode 100644 index 0000000..826ec6a Binary files /dev/null and b/electronics/cw2/diagrams/pics/IMG_20250313_154631.jpg differ diff --git a/electronics/cw2/diagrams/pics/IMG_20250318_123351.jpg b/electronics/cw2/diagrams/pics/IMG_20250318_123351.jpg new file mode 100644 index 0000000..2ef5ab7 Binary files /dev/null and b/electronics/cw2/diagrams/pics/IMG_20250318_123351.jpg differ diff --git a/electronics/cw2/diagrams/pics/IMG_20250318_123353.jpg b/electronics/cw2/diagrams/pics/IMG_20250318_123353.jpg new file mode 100644 index 0000000..cd3cf70 Binary files /dev/null and b/electronics/cw2/diagrams/pics/IMG_20250318_123353.jpg differ diff --git a/electronics/cw2/diagrams/pics/IMG_20250318_123356.jpg b/electronics/cw2/diagrams/pics/IMG_20250318_123356.jpg new file mode 100644 index 0000000..950a144 Binary files /dev/null and b/electronics/cw2/diagrams/pics/IMG_20250318_123356.jpg differ diff --git a/electronics/cw2/diagrams/pics/IMG_20250318_123358.jpg b/electronics/cw2/diagrams/pics/IMG_20250318_123358.jpg new file mode 100644 index 0000000..3af1ae6 Binary files /dev/null and b/electronics/cw2/diagrams/pics/IMG_20250318_123358.jpg differ diff --git a/electronics/cw2/diagrams/pics/IMG_20250318_123418.jpg b/electronics/cw2/diagrams/pics/IMG_20250318_123418.jpg new file mode 100644 index 0000000..07e1f82 Binary files /dev/null and b/electronics/cw2/diagrams/pics/IMG_20250318_123418.jpg differ diff --git a/electronics/cw2/diagrams/pics/IMG_20250319_141954.jpg b/electronics/cw2/diagrams/pics/IMG_20250319_141954.jpg new file mode 100644 index 0000000..14853c8 Binary files /dev/null and b/electronics/cw2/diagrams/pics/IMG_20250319_141954.jpg differ diff --git a/electronics/cw2/diagrams/pics/VID_20250312_143741.mp4 b/electronics/cw2/diagrams/pics/VID_20250312_143741.mp4 new file mode 100644 index 0000000..1a9e1d6 Binary files /dev/null and b/electronics/cw2/diagrams/pics/VID_20250312_143741.mp4 differ diff --git a/electronics/cw2/diagrams/pics/mpv-shot0001.jpg b/electronics/cw2/diagrams/pics/mpv-shot0001.jpg new file mode 100644 index 0000000..c43959a Binary files /dev/null and b/electronics/cw2/diagrams/pics/mpv-shot0001.jpg differ diff --git a/electronics/cw2/diagrams/pics/mpv-shot0002.jpg b/electronics/cw2/diagrams/pics/mpv-shot0002.jpg new file mode 100644 index 0000000..874c643 Binary files /dev/null and b/electronics/cw2/diagrams/pics/mpv-shot0002.jpg differ diff --git a/electronics/cw2/diagrams/pics/mpv-shot0003.jpg b/electronics/cw2/diagrams/pics/mpv-shot0003.jpg new file mode 100644 index 0000000..5837ec9 Binary files /dev/null and b/electronics/cw2/diagrams/pics/mpv-shot0003.jpg differ diff --git a/electronics/cw2/diagrams/pics/mpv-shot0004.jpg b/electronics/cw2/diagrams/pics/mpv-shot0004.jpg new file mode 100644 index 0000000..07cc4d6 Binary files /dev/null and b/electronics/cw2/diagrams/pics/mpv-shot0004.jpg differ diff --git a/electronics/cw2/timetable.org b/electronics/cw2/timetable.org index 9c6a6a7..af50fae 100644 --- a/electronics/cw2/timetable.org +++ b/electronics/cw2/timetable.org @@ -1,14 +1,8 @@ -* system - have the finished system build by (14/3/25 friday) done on the (12/3/25) - -* system design - try to finish the diagrams, descriptions etc by the (16/3/25 sunday) done on 19/3/25 - 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. testing done on (12/3/25) however still need to write up all of it. - -* evaluation and final touches - finish by the start of easter (3/4/25?) - +* things left to do: +- alternative sub systems (complete on friday) +- realisation (start on friday) +- evaluation (weekend) +- more words on the testing section (next week) +- better system anaylis (next week) +- hand in (next friday) diff --git a/electronics/cw2/writeup.tex b/electronics/cw2/writeup.tex index 1ca6e17..76ad34e 100644 --- a/electronics/cw2/writeup.tex +++ b/electronics/cw2/writeup.tex @@ -102,14 +102,18 @@ To build my project, I will split it into manageable subsections, that can each \subsubsection{The receiver} This system will receive data from from the radio waves from an antenna, here is its circuit diagram: -\includegraphics[width=\textwidth]{diagrams/receiver.png} +\begin{center} + \includegraphics[width=0.5\textwidth]{diagrams/receiver.png} +\end{center} To test this system, I can use a signal generator to create an AM wave, then put the output into a large wire, and finally I can compare the outputs of the signal generator, and the output from the inductor and capacitor, and check if they are the same. \subsubsection{The initial amplifier} This amplifier's job is to increase the voltage of the input, as the revive will only output at ~1V-3V, which is not enough to trigger my other components, it should have a gain of around 5. Here is its circuit diagram: -\includegraphics[width=\textwidth]{diagrams/initial-amplifier.png} +\begin{center} + \includegraphics[width=0.5\textwidth]{diagrams/initial-amplifier.png} +\end{center} I have used inverting amplifiers throughout this build as they are generally less noisy than non-inverting amplifiers and I can control the input impedance. @@ -118,27 +122,35 @@ To test this system I will put a voltage of around ~1-3V and test if it multipli \subsubsection{The demodulation system} % can probably show an alternative to this This system will convert the AM wave to a unmodulated regular wave, it will also use a decoupling capacitor to remove any DC offset that is caused by the previous components. Here is its circuit diagram: -\includegraphics[width=\textwidth]{diagrams/AM demodulation.png} +\begin{center} + \includegraphics[width=0.5\textwidth]{diagrams/AM demodulation.png} +\end{center} To test this I will put in a modulated sine wave into it and confirm that I receive the original wave as an output. \subsubsection{The volume boost amplifier} % perhaps show an alternative for here This is just another op amp, but with different resistor values. Here is its circuit diagram: -\includegraphics[width=\textwidth]{diagrams/volume boost amplifier.png} +\begin{center} + \includegraphics[width=0.5\textwidth]{diagrams/volume boost amplifier.png} +\end{center} Like the previous amplifier it can be tested by putting into a wave into it and checking it was multiplied by the correct gain. \subsubsection{The audio normalisation filter} This is a filter that will only show the peaks of the output from the previous systems, this will allow the micro controller to properly poll the input for the next subsystem. Here is its circuit diagram: -\includegraphics[width=\textwidth]{diagrams/audio peak finder.png} +\begin{center} + \includegraphics[width=0.5\textwidth]{diagrams/audio peak finder.png} +\end{center} To test this, I can put a sine wave in as input, and then I will check if I see a sine-like wave with smaller troths. \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 boost amplifier as an input and will display the amplitude of the output on 4 bits of a bar graph. Here is its circuit diagram: -\includegraphics[width=\textwidth]{diagrams/audio intensitity meter.png} +\begin{center} + \includegraphics[width=0.5\textwidth]{diagrams/audio intensitity meter.png} +\end{center} The code can be seen here: \lstinputlisting[language=C, caption=\textit{using C syntax highlighting to add some colour to the world}]{./final.asm} @@ -150,22 +162,28 @@ To test this system, I can check which amplitude of signals makes the graph outp \subsubsection{The push pull power amplifier} % can definitely show an alternative for this This system will massively boost the current of the input, which will make it audible on a speaker. To make the audio sound better, I will use an op amp to remove crossover distortion. Here is its circuit diagram: -\includegraphics[width=\textwidth]{diagrams/push pull power amplifier.png} +\begin{center} + \includegraphics[width=0.5\textwidth]{diagrams/push pull power amplifier.png} +\end{center} To test this system, I can measure the current in and the current out, and see how the compare. \subsection{Full block diagram} % put a full block diagram here +\begin{center} + \includegraphics[width=\textwidth]{diagrams/blockdiagram.png} +\end{center} \subsection{Full circuit diagram} -Here is the full set of diagrams all put together, when used like this, my system should function as a radio receiver. -% put a full design here (glue all the previous designs together) +Here is the full set of diagrams all put together, when used like this, my system should function as a radio receiver with audio output. -<<<<<<< HEAD +\begin{center} + \includegraphics[angle=270, scale=0.8]{diagrams/fulldiagram.png} +\end{center} -\subsection{Subsystem testing} % tables, tables and more tables, no need to show the actual testing, the next section is for that +\section{Subsystem results} % tables, tables and more tables, no need to show the actual testing, the next section is for that To test my system, I will put values into each subsystem individually, then put it all together, at the end to create my full project. -\subsubsection{The receiver} +\subsection{The receiver} The receiver was tested by putting a signal through a signal generator, that AM modulates the input, and putting that through a large antenna in the room, then using the large inductor as a receiving antenna. I can then use an oscilloscope to compare the inputs, to the outputs. Here is a table of the inputs Vs the outputs I received. I read these values of an oscilloscope. @@ -185,7 +203,7 @@ Here is a table of the inputs Vs the outputs I received. I read these values of The result show that, there is a little bit of noise, however there is a clear resemblance on the input, so I would say this works. There is also, on average, a drop in voltage, which is most likely signal drop off, this is a very small drop so it is of no significance -\subsubsection{The initial amplifier} +\subsection{The initial amplifier} Like the receiver, this system can be tested by putting in an input signal, that is around -1.5v - 1.5v, as this is my desired input signal. The amplifier should have a gain of -4.7. \begin{center} @@ -204,18 +222,21 @@ Like the receiver, this system can be tested by putting in an input signal, that The table, like before, there is a small amount of noise, however it shouldn't have to much effect. The amplifier is an inverting amplifier, so that is why the values flip. The observed gain is -4.8, which means that is a very close to the desired value. -\subsubsection{The demodulation system} +\subsection{The demodulation system} To test this system, I can input signals in the range -3v - 3v and see if the output is the demodulated output. This system, should have a response curve that looks something akin to this, note the dips in the signal that match the carrier wave: -\includegraphics[width=\textwidth]{diagrams/AM-demod.png} +\begin{center} + \includegraphics[width=\textwidth]{diagrams/AM-demod.png} + \includegraphics[angle=270, width=0.5\textwidth]{diagrams/pics/IMG_20250312_140141.jpg} +\end{center} + -PUT PHOTO HERE Mine had slightly larger distorted dips in the signal, however it achieved the same thing. -\subsubsection{The volume boost amplifier} +\subsection{The volume boost amplifier} This amplifier should have a gain of -2.35, however while testing, I realized I had made a mistake, I had used a 1M\si{\ohm} instead of the indented 2M\si{\ohm}. This caused it to have a gain of -4.7. After fixing this mistake, I took these results. \begin{center} @@ -236,16 +257,20 @@ This amplifier should have a gain of -2.35, however while testing, I realized I This shows the expected gain, this subsystem works. -\subsubsection{The audio normalisation filter and dividing amplifier} +\subsection{The audio normalisation filter and dividing amplifier} This system needs to lower the input frequency and only output the high points. This system will behave similarly to my AM demodulation system. The desired output, should be close to the following: -\includegraphics[width=\textwidth]{diagrams/peakfinder.png} +\begin{center} + \includegraphics[width=\textwidth]{diagrams/peakfinder.png} + \includegraphics[angle=270, width=0.5\textwidth]{diagrams/pics/IMG_20250312_142936.jpg} -PUT YOUR PHOTO HERE + \textit{The scope was rather confused with this one, and was flickering a lot, this is the best photo I was able to get.} +\end{center} -As you can see mine is not a close to the desired output, however it is still close enough that the micro controller will be able to poll the input. A more accurate design can be made using an op amp. -\subsubsection{The audio intensity meter} +As you can see mine is not as close to the desired output, however it is still close enough that the micro controller will be able to poll the input. A more accurate design could have been made using an op amp. + +\subsection{The audio intensity meter} Testing this system can be achieved by imputing voltages into it, and depending on their amplitude, the different modes of the bar graph should trigger. When tested it acted like so: @@ -264,54 +289,133 @@ When tested it acted like so: \end{tabular} \end{center} -This is my desired output. The input signals will be between 0v-5v. A low voltage input, results in only 1 of the LEDs being on and higher voltages result in more LEDs come on. +This is my desired output. The input signals will be between 0v-5v. A low voltage input, results in only 1 of the LEDs being on and higher voltages result in more LEDs come on. + +There were slight fluctuations in this signal, causing the LED's to flash on and of quickly at points, this is most likely caused by the micro controller not being able to poll the inputs quickly enough due to its slow clock speed. It was still consistent enough to get photos and other readings. -\subsubsection{The push pull power amplifier} +\subsection{The push pull power amplifier} This subsystem should be tested for the current it outputs and, unlike the rest, not the voltage. Using the formula \begin{center} \[ P = \frac{V^2}{8R_L} \] I can calculate the maximum output power. I can then use the known value of Vin, to solve for current. - \[ P = \frac{30^2}{8 \times 8} \] + \[ P = \frac{30^2}{8 \times 12} \] \[ P = \frac{900}{96} \] - \[ P = 9.375W \] - The maximum input however is not 30v, while in theory the power supply outputs that, the actual value will be closer to 10v at peak + \[ P = 9.38W \] + The maximum input however is not 30v, while in theory the power supply outputs that, the actual value will be closer to 10v at peak, as the volume is almost never at the maximum possible. \[ P = \frac{10^2}{8 \times 12} \] \[ P = \frac{100}{96} \] \[ P = 1.04W \] - This is still far higher than the average voltage as for the most part as the peak is rarely hit, - + This is still far higher than the average voltage as for the most part as the peak is rarely hit, due to lower than maximum volume signals. \end{center} -\subsubsection{The speaker} -======= -\section{Subsystem testing} % tables, tables and more tables, no need to show the actual testing, the next section is for that +\section{Subsystem testing process} % just show the method of testing \subsection{The receiver} -\subsection{The initial amplifier} -\subsection{The demodulation system} -\subsection{The volume boost amplifier} -\subsection{The audio normalisation filter and dividing amplifier} -\subsection{The audio intensity meter} -\subsection{The push pull power amplifier} -\subsection{The speaker} ->>>>>>> 51febddd0d6da1ac3e19a27b0761672dda1a1f55 +When testing the receiver, I used two power supply's, one which generated a signal, an another which AM modulated the wave. After tweaking the carrier wave I found that around 5.5Khz was the best point for the receiver I built. I tested my receiver with many input voltages, and I found that it worked well between 50hz - 15Khz. +\begin{center} + \includegraphics[width=0.5\textwidth]{diagrams/pics/IMG_20250319_141954.jpg} +\end{center} +Using a scope, I measured the input coming directly off the signal generator, and the output, coming from the receiver, and I found it to be functional, although lower amplitude frequencies became a little noisier than the input signal, but this is not something to worry about. + +\begin{center} + \includegraphics[angle=270, width=0.5\textwidth]{diagrams/pics/IMG_20250312_134733.jpg} +\end{center} -\section{Subsystem results} -\subsection{The receiver} % might be able to cut this, or make it very short \subsection{The initial amplifier} +This system could be tested very simply by comparing the input to the output. Note the fact that the yellow trace is at 1V and the blue trace is at 5v. + +\begin{center} + \includegraphics[width=0.5\textwidth]{diagrams/pics/IMG_20250312_135346.jpg} +\end{center} \subsection{The demodulation system} +To test this system, I put in an input signal, and looked at the output signal. The desired output is a signal that fluctuates up an down, with the same amplitude as the input. As one can see, the this is what my system achieved. + +\begin{center} + \includegraphics[angle=270, width=0.5\textwidth]{diagrams/pics/IMG_20250312_140141.jpg} +\end{center} + +One should note though, the small fluctuations on the output. The don't effect the signal too much, however on a better demodulation system, this would be a smoother signal. + \subsection{The volume boost amplifier} -\subsection{The audio normalisation filter and dividing amplifier} +This subsystem, like the others in my project, can be tested by comparing input and output signals. I would expect it to have an output around 5 times larger than the input and invert them. This sub system did that perfectly.. + +\begin{center} + \includegraphics[angle=270, width=0.5\textwidth]{diagrams/pics/IMG_20250312_142351.jpg} +\end{center} +This subsystem needed to make the input signal larger, and stay at the peaks for more time. It is similar to the audio demodulation system. It also needs to stop the signal from ever being negative. As the micro controller doesn't know how to read negative values in its ADC. + +\subsection{The audio normalisation filter} +This photo compares the modulated signal to the output signal, as I believe it shows better the effect of making all systems positive. + +\begin{center} + \includegraphics[angle=270, width=0.5\textwidth]{diagrams/pics/IMG_20250312_142422.jpg} +\end{center} + \subsection{The audio intensity meter} +To test this system, I put a variety of voltages into it to test if it turns on when desired. I took a photo for each stage. + + +\begin{center} + Low voltage input + + \includegraphics[height=0.25\textheight]{diagrams/pics/mpv-shot0003.jpg} +\end{center} + + +\begin{center} + Mid voltage input + + \includegraphics[height=0.25\textheight]{diagrams/pics/mpv-shot0001.jpg} +\end{center} + + +\begin{center} + High voltage input + + \includegraphics[height=0.25\textheight]{diagrams/pics/mpv-shot0002.jpg} +\end{center} + + +\begin{center} + Very high voltage input + + \includegraphics[height=0.25\textheight]{diagrams/pics/mpv-shot0004.jpg} +\end{center} + \subsection{The push pull power amplifier} -\subsection{The speaker} % probably can cut this section +To test this subsystem, I put a multi meter on the input signal, and then one on the output. I then confirmed that the amplitude was boosted. The input was at ~10V AC. + +\begin{center} + \includegraphics[width=0.5\textwidth]{diagrams/pics/IMG_20250312_144503.jpg} +\end{center} + +Here is 0.09mA being boosted to 15mA. When I was testing this I was using a 100\si{\ohm} resistor in place of the 12\si{\ohm} speaker, this was to avoid the irritation of my peers. This reduced the current boosted by the amplifier. + +When accounting for this the adjusted power output calculations look like this +\begin{center} + \[ P = \frac{V^2}{8R_L} \] + \[ P = \frac{10^2}{8 \times 100} \] + \[ P = \frac{100}{800} \] + \[ P = 0.125W \] + \[ P = 125mW \] + + Since we measured a current draw of 15mA, we can times this by 10 to get the power draw. + + \[ P = (15 \times 10 ^ {-3}) \times 10 \] + \[ P = 150mW\] + + This value is within the margin of error for the system to work, and is most likely caused by the resistor I used not being exactly 100\si{\ohm}. +\end{center} + \section{System realisation} \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 +\subsection{Circuit testing} % show evidence of the results shown in the results section (lots of photos) % did it work, how well, compare to original goal \section{Evaluation} +\subsection{What went well?} +\subsection{What didn't go well?} } \end{document} -- cgit v1.2.3