Are you talking about parasitic power supply mode - if supported by this device?... If so, there are some suggestion how to get that reliably working... see, for example, DS18B20-PAR
1-Wire Parasite-Power Digital Thermometer. Looking at the parameters of DHT11 or DHT22, an Espruino pins should be able to supply the (m)Amps...
For powering sensors by pins, take a look at conversation about GPS powered by Espruino pin(s). I would be interested to see something going in your case... as profiling the powering profile for DHT11 / DHT22.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Are you talking about parasitic power supply mode - if supported by this device?... If so, there are some suggestion how to get that reliably working... see, for example, DS18B20-PAR
1-Wire Parasite-Power Digital Thermometer. Looking at the parameters of DHT11 or DHT22, an Espruino pins should be able to supply the (m)Amps...
For powering sensors by pins, take a look at conversation about GPS powered by Espruino pin(s). I would be interested to see something going in your case... as profiling the powering profile for DHT11 / DHT22.
1 Attachment