board: nodemcu-32s (not sure about this but it works)
This config flashes, connects to WiFI but does not get any temp / humidity data. Most google searches refer to pins as D1 … Dn but this board does not accept on validate
Here’s an example of my DHT22 config, it sends updates every 3.75min (15 x 15sec).
sensor:
- platform: dht
pin: GPIO27 # make sure you get this correct
model: DHT22
update_interval: 15s # change this if you want faster or slower updates
temperature:
name: "Master Bedroom Temperature"
filters:
- sliding_window_moving_average:
window_size: 15 # change this and the next line if you want to average more or less samples
send_every: 15
send_first_at: 1
humidity:
name: "Master Bedroom Humidity"
filters:
- sliding_window_moving_average:
window_size: 15 # as above for averaging
send_every: 15
send_first_at: 1
@tom_l , @sender I am just getting started with these boards, would you fellas find post a picture of your board that shows the jumper connections? Curious to see how you connect them (just jumpers or soldering)?
There are two rows on pins on each side of the chip, which do you use (inside row or outside row)?
The original design was by MH-ET LIVE but they got the shits with the Chinese ripping off the design and using underpowered voltage regulators so took down their website information.
I also use both. I solder the jumper pin row things and use jumper cables. That way I can easily change layout later or replace if a board get broken (never had that untill now). One time I made a mistake and I got white smoke :-), then I got this message “brownout detected”. I knew what they meant but the smoke was not brown :-).
btw this is my most used board because it has good wifi, bluetooth (BLE scanning) and touch capabilities, it is small and easy to handle.
The only thing to be careful with this board is that some Chinese clones use a voltage regulator that hardly has the current rating for wifi TX peak current. This component:
Is available as a 150mA or 300mA version.
The ones I currently have are labelled 4B2K. That’s only 150mA. However I haven’t had any issue with them powering small loads like a DHT22. The Onboard capacitors must be storing enough charge for the wifi transmit spikes.
Is there a trick to this? I find when jumper cables are attached to these pins, the are rather loose. Not fully pushed in all the way here but even when they are, its still feels unsecure
However, you are pushing the connector onto the part of the header that gets soldered into the PCB. That is not meant to have connectors applied to it.
Yeah I’m pretty sure I didn’t either. Only female headers. I just took that second pic to show you that the male header has a thicker square pin compared to the female header PCB pins.