--- title: "Bandpass Filter" type: "article" slug: "bandpass-filter" url: "http://localhost/article/bandpass-filter/" markdown_url: "http://localhost/article/bandpass-filter.md" published_at: "2026-12-01T10:02:13+00:00" modified_at: "2026-12-01T10:02:13+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "This program is the third of three which deal with the design of active filters. The three cases will help you design a high pass, a low pass, and a bandpass active filter. In each case there is an operational amplifier in the circuit. Just which one you use is not critical. It is also…" post_tag: - name: "Full Text" slug: "fulltext" taxonomy: "post_tag" url: "http://localhost/tag/fulltext/" indiv: - name: "Leslie Varnicle (WA3QLW)" slug: "leslie-varnicle-wa3qlw" taxonomy: "indiv" url: "http://localhost/indiv/leslie-varnicle-wa3qlw/" publication: "QZX" publication_r: id: 21219 title: "QZX" type: "periodical" url: "http://localhost/periodical/qzx/" authors: "Leslie Varnicle (WA3QLW)" volume: "9" issue: "3" issues_articles: - id: 70173 title: "QZX v9 n3" type: "issue" url: "http://localhost/issue/qzx-v9-n3/" pages: "6" pubdate: "February 1991" related_articles: - id: 83432 title: "Active Filter Combination" type: "article" url: "http://localhost/article/active-filter-combination/" archive_link: false volumeissue: "v9n3" --- # Bandpass Filter This program is the third of three which deal with the design of active filters. The three cases will help you design a high pass, a low pass, and a bandpass active filter. In each case there is an operational amplifier in the circuit. Just which one you use is not critical. It is also not critical at what voltage you run the amplifiers. However, if you do not want to change the circuits a bit, you should use a bipolar power supply. Anything between about 9 and 15 volts will do for the usual junk box op amp. The program will work, but perhaps not quite like you expect it to. There are some difficulties with the lines 200-250. See if you can get them into a form which gives you a result that you like. An article in the last issue gave some ideas on how to modify these last lines. ``` 10 PRINT "BANDPASS ACTIVE FILTER" 20 PRINT "THE STAGE GAIN SHOULD BE LESS THAN 10" 30 PRINT "ENTER STAGE GAIN" 40 INPUT H 45 PRINT H 50 PRINT "ENTER THE CENTER FREQ IN HZ" 60 INPUT F 65 PRINT F 67 LET W = 2*PI*F 70 PRINT "ENTER THE Q" 90 INPUT Q 95 PRINT Q 100 PRINT "ENTER THE INPUT CAP (C2) IN UF" 110 INPUT C2 115 PRINT C2 120 LET C2 = C2/1000000 130 PRINT "ENTER FEEDBACK CAP (C1) IN UF 140 INPUT C1 145 PRINT C1 150 LET C1 = C1/1000000 165 LET R1 = Q/(H*W*C1) 170 LET T = R1/(Q*(C1+C2)*W) 180 LET B = R1 - 1/(Q*(C1+C2)*W 190 LET R2 = T/B 200 LET R3 = Q*(C2 + C1)/(C1*C1*W) 210 PRINT "R1 = ";R1;" OHMS" 220 PRINT "R2 = ";R2;" OHMS" 230 PRINT "R3 = ";R3;" OHMS" 240 PRINT "PRESS 1 TO CONTINUE" 250 IF INKEY$ = "" THEN GOTO 250 260 LET A$ = INKEY$ 270 IF A$ = "1" THEN CLS 280 GOTO 10 290 IF A$ = "" THEN STOP 9998 SAVE "BANd" 9999 GOTO 10 ``` [![Bandpass active filter circuit](http://localhost/wp-content/uploads/2026/12/qzx-new-v9n3-bandpass-filter-1-1024x812.png)](http://localhost/wp-content/uploads/2026/12/qzx-new-v9n3-bandpass-filter-1.png)Bandpass active filter circuit