Difference: WeMosD1Mini (7 vs. 8)

Revision 82019-05-18 - UliRaich

Line: 1 to 1
 
META TOPICPARENT name="AFNOGWorkshop2019"

The WeMos D1 mini and its sensor and actuator shields

Introduction

Line: 45 to 45
 ESP32
  RESET RST Tx    
ADC1 channel 0 GPIO 36 SVP Rx    
Changed:
<
<
  GPIO 26 IO26 IO22 GPIO 22 SCL
SCK GPIO 18 IO18 IO21 GPIO 21 SDA
MISO GPIO 19 IO19 IO17 GPIO 17  
MOSI GPIO 23 IO23 IO16 GPIO 16  
SS GPIO 5 IO5 GND GND  
>
>
SCK GPIO 26 IO26 IO22 GPIO 22 SCL
MISO GPIO 18 IO18 IO21 GPIO 21 SDA
MOSI GPIO 19 IO19 IO17 GPIO 17  
SS GPIO 23 IO23 IO16 GPIO 16  
  GPIO 5 IO5 GND GND  
 
  3.3V 3V3 5V 5V  

Sensor Shields

Line: 68 to 68
 
  • The LED matrix shield
  • The SHT-30 shield with a SHT-30 I2C digital temperature and humidity sensor
  • The DHT11 shield with a DHT11 digital temperature and humidity sensor. This device uses its own private serial communication protocol
Changed:
<
<
Here is an overview table showing the devices and the
>
>
Here is an overview table showing the devices and their connections:
 
Module Connections Functionality
1 button shield D3: GPIO 0 on / off push button
WS2812B RGB shield D2: GPIO 4 addressable rgb LED
Line: 80 to 80
 
DD18B20 shield D2 GPIO 4 1-wire digital temperature sensor
SHT30 shield D1 GPIO 5 I2C SCL
D2 GPIO 4 I2C SDA
I2C temperature and humidity sensor
LED Matrix shield D5 GPIO 14 CLK
D7 GPIO 13 Din
8x8 LED Matrix
Deleted:
<
<
ir connections:
  For each of the devices I create 2 directories:
  • a driver directory containing programs testing the module without Cayenne communication
  • a cayenne directory for the final program

You can find the code written for the workshop on github: https://github.com/uraich/MicroPython_IoTDemos.

Added:
>
>
There is a second repository also with directories drivers and cayenne containing the same type of programs but written in C++ for the Arduino IDE. The IDE must be set up to work with the ESP8266 and ESP32 which means that the cross-compilers for these machines must be installed.

https://github.com/uraich/C-IoTDemos

 

Comments

<--/commentPlugin-->
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback