2021-05-25 09:34 PM
The circuit works fine with 5v/9V adapter supply but when we connect with 9v Battery controller could not work as expected.
I have assembled stm8s103f3p6 break out board with my circuit, which have below gpio connections!
//Chip_Pin_No. Pin Name Connected with
// 5..............................A1.................................
// 6..............................A2.................................
// 10............................A3.............LED
// 11............................B5...............................
// 12............................B4.........Keyboard switch
// 13............................C3.........Keyboard switch
// 14............................C4.........Keyboard switch
// 15............................C5.........Keyboard switch
// 16............................C6.........Keyboard switch
// 17............................C7.........Keyboard switch
// 18............................D1.........Keyboard switch
// 19............................D2.........BUZZER
// 20............................D3.........SOLENOID
// 1..............................D4.........LED
// 2..............................D5.................................
// 3..............................D6.......................
For Buzzer and solenoid connections: controller pin D2/D3 >> 100 Ohm >> S8050(J3Y) transistor. (already Tried out 1k and 10k resistors instead of 100 Ohm with parallel 100nf capacitor)
2021-05-25 10:11 PM
Have you measured the current? Does the voltage drop?
2021-05-26 10:29 PM
.
2021-05-26 10:36 PM
yes, Observed Lower voltage at the time of triggering of buzzer from controller.
Function is like when we press any switch buzzer sounds like the BEEP. But in case of malfunction(when connected with 9V battery) buzzer's beep is like very poor and disturbing nature.