I am a complete newbie and please excuse my really silly question.
I am trying to connect my PIR sensor ( HC SR505) to my ESP 82 66 ( 12E) but it just wont work ..
All the GPIO pins ( D1,D2 etc) are always "HIGH" and are not able to detect PIR output .
Therefore , I am using PIN D8 ( default: pulled low) . But i am not sure how to do the connections after passing the PIR output through a transistor .
Please can you guide me .
I have attached circuit diagram and code used . Really dont know what to do .. PLease help !!