louislu
Member level 1
hi....i assign a P2.1 as a output pin n connected it to a base of transistor....as attached pic...the intention of doin so is to make use of tat p2.1 to control the relay through a transistor...the relay supply is +12V....i connected the collector pin of tat transistor to the ground pin of relay...but when i toggle the p2.1 everytime...the relay seems no reaction...i suspect is the output curent of microcontroller too low....measurement is bout 0.2xx miliA...any solution?