Wemos D1 Mini: Difference between revisions

From LVL1
Jump to navigation Jump to search
Bpwagner (talk | contribs)
No edit summary
mNo edit summary
 
(4 intermediate revisions by one other user not shown)
Line 6: Line 6:
* can be programmed using Arduino environment
* can be programmed using Arduino environment
* can be loaded up with MicroPython <- tricky!
* can be loaded up with MicroPython <- tricky!
* Wifi built in
* Wifi built in - Great for IoT!
* 11 digital input/output pins, all pins have interrupt/pwm/I2C/one-wire supported(except D0)
* 11 digital input/output pins, all pins have interrupt/pwm/I2C/one-wire supported(except D0)
* 1 analog input(3.2V max input)
* 1 analog input(3.2V max input)
Line 44: Line 44:
* Choose Tools->Board->WeMos D1 Mini
* Choose Tools->Board->WeMos D1 Mini
* try some programs File->Example
* try some programs File->Example
== WIFI setup ==
* use wifi manager to get online.  https://github.com/tzapu/WiFiManager
** Has AP captive portal!  Amazing!
== SHT30 Shield ==
* Temperature and Humidity
* Product: https://wiki.wemos.cc/products:d1_mini_shields:sht30_shield
* Code: https://github.com/wemos/WEMOS_SHT3x_Arduino_Library
== OLED Shield ==
* 64 X 48 pixels
* Product: https://wiki.wemos.cc/products:d1_mini_shields:oled_shield
* Code: https://github.com/mcauser/Adafruit_SSD1306/tree/esp8266-64x48
* in file Adafruit_SSD1306.h (arduino libraries) make sure to have the following:
** #define SSD1306_I2C_ADDRESS  0x3C
** #define SSD1306_64_48
== Brian's Weather Station ==
* in progress...
* https://github.com/bpwagner/LVL1_Weather.git
* box.svg is a lasercut box that you can make at LVL1!
[[Category:HOWTO]]

Latest revision as of 18:55, 19 February 2019

These are instructions to get you going on a WeMos D1 Mini.

  • The Wemos D1 mini is a NodeMCU board made by wemos.cc
  • It is cheap <$5!
  • can be programmed using Arduino environment
  • can be loaded up with MicroPython <- tricky!
  • Wifi built in - Great for IoT!
  • 11 digital input/output pins, all pins have interrupt/pwm/I2C/one-wire supported(except D0)
  • 1 analog input(3.2V max input)
  • a Micro USB connection
  • Compatible with Arduino
  • Compatible with nodemcu
  • 4 Meg flash RAM


  • Loads of shields you can buy for it. https://wiki.wemos.cc/products:d1_mini_shields
    • DHT Shield
    • Battery Shield
    • Matrix LED Shield
    • Buzzer Shield
    • Dual Base
    • SHT30 Shield
    • WS2812B RGB Shield
    • ProtoBoard Shield
    • 1-Button Shield
    • Micro SD Card Shield
    • Relay Shield
    • DC Power Shield
    • Tripler Base
    • Motor Shield
    • OLED Shield

Setup

WIFI setup

SHT30 Shield

OLED Shield

Brian's Weather Station