cancel
Showing results for 
Search instead for 
Did you mean: 

My stm8s103f3p6 breakout board works with 5v/9v adapter supply but not with 9v battery.

RPith.1
Associate II

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)

3 REPLIES 3

Have you measured the current? Does the voltage drop?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
RPith.1
Associate II

.

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.