An electronic circuit for acousto-optoelectronic angle indication, comprising:
- a main control circuit (a), a power circuit (b), a key circuit (c), a sensor module circuit (d), an LED indicator module circuit (e), a buzzer module circuit (f) and a data storage module (g);
- wherein the control circuit (a) comprises a microcontroller (U2), a capacitor (C2), a capacitor (C3), a capacitor (C4), a capacitor (C5), a capacitor (C6), a capacitor (C8), an electrolytic capacitor (E1), a resistor (R11), a resistor (R12) and a resistor (R20), one end of the capacitor (C2) is connected with the 6th pin of the microcontroller (U2), and the other end of the capacitor (C2) is grounded;
- the 5th pin of the microcontroller (U2) is connected with a +2.4V power supply, and connected with one end of the capacitor (C3), one end of the capacitor (C6), one end of the resistor (R12) and the 9th pin of the microcontroller (U2) in parallel, the other end of the capacitor (C3) is grounded, the other end of the capacitor (C6) is grounded, the other end of the resistor (R12) is connected with one end of the resistor (R11), one end of the capacitor (C8) and the 10th pin of the microcontroller (U2) in parallel, the other end of the resistor (R11) is grounded, and the other end of the capacitor (C8) is grounded;
- the 24th pin of the microcontroller (U2) is connected with a +3.3V power supply, and connected with one end of the resistor (R20), one end of the electrolytic capacitor (E1) and one end of the capacitor (C5) in parallel, the other end of the capacitor (C5) is grounded, the other end of the electrolytic capacitor (E1) is grounded, and the other end of the resistor (R20) is connected with one end of the capacitor (C4) and the 15th pin of the microcontroller (U2);
- the power circuit (b) comprises a power interface (BATT), a field effect transistor (Q8), a resistor (R1), a capacitor (C11), an electrolytic capacitor (E2) and a voltage regulator module (U1), one positive input end of the power interface (BATT) is connected with one end of the resistor (R1), one end of the electrolytic capacitor (E2) and the 2nd pin of the voltage regulator module (U1) in parallel, and the other end of the power interface (BATT) is connected with a D pole of the field effect transistor (Q8);
- the other end of the resistor (R1) is connected with a G pole of the field effect transistor (Q8) and one end of the capacitor (C11) in parallel;
- the other end of the capacitor (C11) and a S pole of the field effect transistor (Q8) are grounded in parallel;
- the 1st pin of the voltage regulator module and the electrolytic capacitor (E2) are grounded in parallel;
- and the 3rd pin of the voltage regulator module (U1) is connected with a +3.3V power voltage;
- the key circuit (c) comprises a key (SW), one end of the key (SW) is connected with the 16th pin of the microcontroller (U2), and the other end of the key (SW) is grounded;
- the sensor module circuit (d) comprises a sensor chip (U4), a resistor (R21), a capacitor (C13), a capacitor (C14) and a capacitor (C18), the 1st, 3rd, 4th, 5th, 6th, 7th, 9th, 11th, 13th and the 16th pins of the sensor chip (U4) are grounded, and connected with one end of the capacitor (C13), one end of the capacitor (C14) and one end of the capacitor (C18) in parallel;
- the 14th pin and 15th pin of the sensor chip (U4) are connected with the other end of the capacitor (C18) and one end of the resistor (R21) in parallel;
- the other end of the resistor (R21) is connected with a +2.4V power supply;
- the 10th pin of the sensor chip (U4) is connected with the other end of the capacitor (C13) and the 13th pin of the microcontroller (U2);
- and the 12th pin of the sensor chip (U4) is connected with the other end of the capacitor (C14) and pin 11 of the microcontroller (U2);
- the LED indicator module circuit (e) comprises a red-green light (LED1), a red-green light (LED2), a red-green light (LED3), a resistor (R3), a resistor (R4), a resistor (R5), a resistor (R14), a resistor (R17) and a resistor (R19), one end of the red-green light (LED1) is connected with a 3.3V power supply, one green end of the red-green light (LED1) is connected with one end of the resistor (R5), and the other end of the resistor (R5) is connected with th 4th pin of the microcontroller (U2);
- one red end of the red-green light (LED1) is connected with the resistor (R4), and the other end of the resistor (R4) is connected with the 3rd pin of the microcontroller (U2);
- one end of the red-green light (LED2) is grounded, one green end of the red-green light (LED2) is connected with one end of the resistor (R14), and the other end of the resistor (R14) is connected with the 26th pin of the microcontroller (U2);
- one red end of the red-green light 2 (LED2) is connected with the resistor (R17), and the other end of the resistor (R17) is connected with the 25th pin of the microcontroller (U2);
- one end of the red-green light (LED3) is grounded, one green end of the red-green light (LED3) is connected with the resistor (R3), and the other end of the resistor (R3) is connected with the 23rd pin of the microcontroller (U2);
- and one red end of the red-green light (LED3) is connected with one end of the resistor (R19), and the other end of the resistor (R19) is connected with the 22nd pin of the microcontroller (U2);
- the buzzer module circuit (f) comprises a buzzer (BUZ) and a resistor (R22), one end of the buzzer (BUZ) is connected with the 2nd pin of the microcontroller (U2), the other end of the buzzer is connected with one end of the resistor (R22), and the other end of the resistor (R22) is connected with the 1st pin of the microcontroller (U2);
- and
- the data storage module (g) comprises a memory (U3), a resistor (R10) and a resistor (R13), the 8th pin of the memory (U3) is connected with a power supply, the 1st, 2nd, 3rd and the 4th pins of the memory (U3) are grounded, the 5th pin of the memory (U3) is connected with one end of the resistor (R13), the other end of the resistor (R13) is connected with the 26th pin of the microcontroller (U2) and also connected with the resistor (R10), the 6th pin of the memory (U3) is connected with pin 27 of the microcontroller (U2), and the 6th pin of the memory (U3) is grounded.