Say hello to my little friend – D1 mini pinout
Thank you AZ-Delivery for this pinout! And thanks for best prices for this. They have got some really good offers here: https://amzn.eu/d/2ZqjALZ (no affiliate link)
The onboard LED is at GPIO 2.
Thank you AZ-Delivery for this pinout! And thanks for best prices for this. They have got some really good offers here: https://amzn.eu/d/2ZqjALZ (no affiliate link)
The onboard LED is at GPIO 2.
This covers a very configurable and more complex variant of measuring brightness and turning on LEDs.If you are looking for a more basic variant: It all began with a LDR and curiosity. The result is a night light for a ESP8266 like D1 Mini or Raspberry Pi Pico (W) which compensates darkness with many configurable…
It measures the temperature, humidity and open status of a window and send the values to the local MQTT broker if the values have changed (enough). The D1 got a nice housing on a solderable breadboard. The sensor cables can be plugged and unplugged into sockets on the breadboard. So I can easily exchange the…
This is a continuation of Is it dark yet ? – Measuring brightness with LDR on Pi Pico (W) and ESP8266 (D1 Mini & NodeMCU v3) in MicroPython, but concentrating on a fast and clean code rather than how to use a LDR with MicroControllers in principle. What you need: D1 mini or a similar…
Jump to: Pico – D1 mini – Pi Zero Raspberry Pico A short Python implementation of a magnetic switch turning on a LED when it is not connected (e.g. window is opened). For simplicity reasons I used the builtin LED on the Pico. You have to use the pull=Pin.PULL_DOWN parameter for the input pin (sensor)….
As all the Raspberry Pis have the same pinout – here is a overview valid for all of them. Thank you pinout.xyz for your great service! The HDMI and USB ports are on the left, the SD card slot on top and the pins on the right.
TLDR: An IoT sensor for temperature and humidity sending its values to a local MQTT server. Measuring interval and thresholding easy to configure. So much to write about a pretty small device and less than 100 lines of code including configuration, prints and comments. Hope you enjoy it! 🙂 I really like building and writing…