osfuco:
My ESP8266 has a Vin 5V pin, can i use it to power de PPD42?
If you are asking me for permission, Yes you may use the 5V pin to power the PPD42. Really though, the only way to answer that question is for you to try it and let us know if you can or cannot do.
Curious, did you do the voltage divider thingy or the level shifter thingy before you applied power or did you just try it without hooking up level shifters and now the thing won't work anymore?
osfuco:
Just connect the PPD42 power cable to the Vin pin, GND to GND PIN, and data to D5 pin.
Do you get that the sensor is a 5V device and the MCU you are using is a 3.3V device and the output of the sensor needs to be conditioned so that the MCU is not damaged by the higher voltage output of the sensor?