Difference between revisions of "Tutorial Display"
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
= Instructional Videos = | = Instructional Videos = | ||
− | == Writing to the OLED | + | == Writing to the OLED Display 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 | + | 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 |
− | |||
<youtube>UbxwePvgX-U</youtube> | <youtube>UbxwePvgX-U</youtube> |
Revision as of 23:33, 14 August 2020
Contents
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.
Success criteria
- you can write a string to the display
- you can converts numbers to strings and write them to the display
- you can clear the display or fill it
- you can position text at different positions on the display
Required Module and Files
- We use [1]
- This is a basic test example for how to use this module
- This is code example that reads analog in and prints on the display
- you can download all the file in a ZIP: https://www.sketching-with-hardware.org/files/display.zip
Instructional Videos
Writing to the OLED Display 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