I am a YouTube educated, complete newbie with three questions regarding my design (see the schematic). Because I'm self-taught, some of my terminology may be non standard.
This is a circuit powered by a 12 V battery (model 23A). Its only function is to compare the output of two voltage dividers and beep when the first divider's voltage exceeds that of the second. A 3-position switch allows me to change the value of the resistance on the + side of the second divider, allowing me to select a level at which the beep will sound.
A) the first divider is comprised of a force sensing resistor (FSR) from Interlink Electronics on the + side of the divider (hearder1), and a simple resistor (R1) on the - side. The FSR's resistance varies from infinite to about 1 kΩ, with the resistance decreasing as pressure is applied. For my purpose, I have measured 10 kΩ, 5 kΩ, and 2 kΩ as the three thresholds I am trying to sense and have trigger the beeper.
B) the second divider is comprised of a 3-position switch connected to 3 potentiometers (R4 5 kΩ, R5 10 kΩ, R6 20 kΩ) on the + side of the divider and a simple resistor (R2) on the - side. I'm using pots so that I can fine-tune the 3 levels.
I have bread-boarded the circuit as shown and it works. I have also ordered PCBs and soldered all of the components. This works also. In order for this device to be useful, the beep should sound within 10 milliseconds of the trigger, and it will only need to trigger once every few seconds or so. Again, all is working fine as shown. Note that the beeper gets louder as the voltage it gets increases and I'd like it to be as loud as possible.
Note that this is a sporting goods product I hope to sell (to a tiny niche market). I'm not asking for anyone to "fix" my design or anything like that, I just have a few finicky questions that I can't seem to resolve on my own.
My 3 questions are:
I am currently using a DIP8 op-amp (Texas Instruments LM358P), but I will be using the SMD op-amp as shown in the schematic from OnSemi. If it's working now, will there be any difference with between the two?
Would there be any difference/benefit if I used a comparator instead? Namely, the one shown floating in the schematic, also by OnSemi. The price is basically the same.
What effect (if any) would changing the value of R1 & R2 have on the voltage seen by the beeper? On my breadboard I see no difference but I am assuming that I'm doing something wrong.
Thanks in advance for any advice I get.
Update-
I got rid of the Op-Amp and wired the comparator instead. Also added a resistor where i think a pullup resistor would go as needed to resolve the open collector on the OUT pin of the 393.
thanks