Hi everyone, I'm designing an electronic pet door and am thinking of adding an ultrasonic transmitter to the pet's collar and an ultrasonic receiver to the door. Such that when the pet approaches the door the door will respond by automatically opening.
Regarding the ultrasonic transmitter circuit:
View attachment ultrasonic_transmitter.pdf
(Obtained from: http://www.pages.drexel.edu/~pyc23/ultrasonic_transmitter.html)
The ultrasonic transducer I have will vibrate optimally at about 40kHz. From this, I've worked out how the designer obtained the values for R1, R2 and C1 but am confused about the other components and how their values were calculated.
1. How are C2, R3 and R4 are calculated?
2. Instead of 2N2222 ('quad two' transistor, NPN BJT transistor used for general purpose low-power amplifying), can I substitute using a BD139 which is also a NPN transistor? View attachment BD139.pdf
3. Would the values of R3 and R4 change as a result of using BD139?
Any assistance will be appreciated, thank you for reading my post.
Regarding the ultrasonic transmitter circuit:
View attachment ultrasonic_transmitter.pdf
(Obtained from: http://www.pages.drexel.edu/~pyc23/ultrasonic_transmitter.html)
The ultrasonic transducer I have will vibrate optimally at about 40kHz. From this, I've worked out how the designer obtained the values for R1, R2 and C1 but am confused about the other components and how their values were calculated.
1. How are C2, R3 and R4 are calculated?
2. Instead of 2N2222 ('quad two' transistor, NPN BJT transistor used for general purpose low-power amplifying), can I substitute using a BD139 which is also a NPN transistor? View attachment BD139.pdf
3. Would the values of R3 and R4 change as a result of using BD139?
Any assistance will be appreciated, thank you for reading my post.