Editing Tutorial Display
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | = Control the OLED Display on the ESP32 = | + | = Connect to and Control the OLED Display on the ESP32 = |
In this part of the tutorial, we explain how to control the display that is included on the ESP32 web kit module. The display is connected over I2C and we use the microPython module ssd1306.py as library. | In this part of the tutorial, we explain how to control the display that is included on the ESP32 web kit module. The display is connected over I2C and we use the microPython module ssd1306.py as library. | ||
Line 9: | Line 9: | ||
== Required Module and Files == | == Required Module and Files == | ||
− | * We use '' | + | * We use ''[[https://www.sketching-with-hardware.org/files/ssd1306.py|ssd1306.py]]'' |
− | + | * This is a basic [[https://www.sketching-with-hardware.org/files/displaytest.py|display test example]] for how to use this module | |
− | + | * This is [[https://www.sketching-with-hardware.org/files/adc2displ.py|a code example that reads analog in and prints on the display]] | |
− | * This is a basic [https://www.sketching-with-hardware.org/files/displaytest.py display test example] for how to use this module | ||
− | * This is [https://www.sketching-with-hardware.org/files/ | ||
* you can download all the file in a ZIP: https://www.sketching-with-hardware.org/files/display.zip | * you can download all the file in a ZIP: https://www.sketching-with-hardware.org/files/display.zip | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
= Instructional Videos = | = Instructional Videos = | ||
− | == Writing to the OLED | + | == Writing to the OLED Dsiplay over I2C == |
− | In this video on youtube (22:00) we show how to write text to the OLED Display on the ESP32 module. We then show how to connect a poti to an analog input and display the value in a loop on the display: https://youtu.be/UbxwePvgX-U | + | In this video on youtube (22:00) we show how to write text to the OLED Display on the ESP32 module. We then show how to connect a poti to an analog input and display the value in a loop on the display. |
+ | an LED and how to control it from MicroPython: https://youtu.be/UbxwePvgX-U | ||
<youtube>UbxwePvgX-U</youtube> | <youtube>UbxwePvgX-U</youtube> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |