The truth is in your electrical scheme ...
especially around the use of the " magic " .1 or .22µF ceramic capacitor to be located just between the Vdd and Vss pins ( yes, SMD 1206 size is THE thing ! )
also place a medium value resistor ( 1k to 10k ) in series with your signal input ...
a 100k resistor between A.0 and Vss is also to consider ...
last things ... is your LED connected to the Rx supply ??? ...
and also how much does it draw ???
and overall ... what kind of supply do you use ?
Alain
Bookmarks