My stm8s103f3p6 breakout board works with 5v/9v adapter supply but not with 9v battery.
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)
