Basic schematics:

The resistor between basis and collector (around 47k) is to be individually set according transistor characteristics. Without PIC in socket at the collector should be 2.5 V.

Schematics