ESP32 with OLED: Unterschied zwischen den Versionen
Tut (Diskussion | Beiträge) |
Tut (Diskussion | Beiträge) (→Using the OLED) |
||
(8 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 4: | Zeile 4: | ||
Another module that features also a LoRa radio is the [[Heltec_Wifi_LoRa_32]]. | Another module that features also a LoRa radio is the [[Heltec_Wifi_LoRa_32]]. | ||
− | [[Datei:ESP32wOLED1.jpg| | + | [[Datei:ESP32wOLED1.jpg|x300px]] |
− | [[Datei:ESP32wOLED2.jpg| | + | [[Datei:ESP32wOLED2.jpg|x300px]] |
== Wemos like module == | == Wemos like module == | ||
Zeile 12: | Zeile 12: | ||
== Module with TTGO written on it, featuring 18650 battery holder == | == Module with TTGO written on it, featuring 18650 battery holder == | ||
This is also a clone and very likely not from TTGO. It is equipped with an OLED display and a 18650 battery holder including some kind of charging circuit. The antenna placing of the module is not very wise - the Wifi performance is reduced somewhat compared to modules with a better placing. | This is also a clone and very likely not from TTGO. It is equipped with an OLED display and a 18650 battery holder including some kind of charging circuit. The antenna placing of the module is not very wise - the Wifi performance is reduced somewhat compared to modules with a better placing. | ||
+ | |||
+ | == Arduino == | ||
+ | Select "WEMOS LOLIN32" to work with the modules. | ||
== Using the OLED == | == Using the OLED == | ||
− | For both modules it seems that the OLED display is accessible by GPIO5 | + | For both modules it seems that the OLED display is accessible by GPIO5 is SDA, Pin GPIO4 is SCL using this line with the [https://github.com/squix78/esp8266-oled-ssd1306 squix78 ssd1306.h] Library: <pre>SSD1306 display (0x3c, 5, 4);</pre> |
+ | |||
+ | Build a Wifi-Scanner with it - find source here: https://github.com/hackffm/ESP32_OLED_WifiScanner | ||
+ | |||
+ | View Bad Apple video on it: https://github.com/hackffm/ESP32_BadApple | ||
+ | |||
+ | [[Datei:ESP32_BadApple.jpg|x300px]] | ||
+ | |||
+ | {{#ev:youtube|https://www.youtube.com/watch?v=ItfAB2nQskM}} |
Aktuelle Version vom 18. Februar 2018, 18:18 Uhr
Inhaltsverzeichnis
ESP32 modules with OLED display
There are several modules available that combine an ESP32 with an OLED display. Unfortunately they is often not much info about those, especially how to use them with Arduino.
Another module that features also a LoRa radio is the Heltec_Wifi_LoRa_32.
Wemos like module
This is very likely a clone, as the original Wemos modules are not equipped with an OLED display.
Module with TTGO written on it, featuring 18650 battery holder
This is also a clone and very likely not from TTGO. It is equipped with an OLED display and a 18650 battery holder including some kind of charging circuit. The antenna placing of the module is not very wise - the Wifi performance is reduced somewhat compared to modules with a better placing.
Arduino
Select "WEMOS LOLIN32" to work with the modules.
Using the OLED
For both modules it seems that the OLED display is accessible by GPIO5 is SDA, Pin GPIO4 is SCL using this line with the squix78 ssd1306.h Library:SSD1306 display (0x3c, 5, 4);
Build a Wifi-Scanner with it - find source here: https://github.com/hackffm/ESP32_OLED_WifiScanner
View Bad Apple video on it: https://github.com/hackffm/ESP32_BadApple