Thanks for your schematic. It does not work ... in fact I have some curent pulses in the collector of BC547 ... but no valid data . I am using T300 picbasic mode. Any ideea where the problem might be ?