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 15: Line 15:
 
* This is [https://www.sketching-with-hardware.org/files/adc2disp.py a code example that reads analog in and prints on the display]
 
* This is [https://www.sketching-with-hardware.org/files/adc2disp.py a 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
 
* you can download all the file in a ZIP:  https://www.sketching-with-hardware.org/files/display.zip
* this is based on https://github.com/micropython/micropython/blob/master/drivers/display/ssd1306.py
 
* and extended by setting the reset pin
 
** pin16 = Pin(16, Pin.OUT)
 
** pin16.value(1)
 
  
== Related Components ==
 
 
The components are related to the [[LMUBox]]. For more components, see the [[Hardware List]]. Many of the pages on actuators and sensor include additional examples.
 
 
=== Microcontroller ===
 
* [[ESP32 Web Kit]] with integrated OLED Display from Heltec
 
* [[ESP8266 ESP-12F OLED]] NodeMCU Module with integrated 0.91" OLED Display from AZDelivery
 
 
=== Actuators ===
 
* [[OLED LCD Display]]
 
  
 
= Instructional Videos =
 
= Instructional Videos =
Line 37: Line 23:
  
 
<youtube>UbxwePvgX-U</youtube>
 
<youtube>UbxwePvgX-U</youtube>
 
== Another Tutorial (in German) on writing to the OLED Display with some background ==
 
There is a tutorial with several parts at "the Die Hobbyelektroniker - Community" on Micropython with ESP32
 
https://community.hobbyelektroniker.ch/wbb/index.php?board/51-lektion-5-das-display/
 
 
<youtube>lnxWP7jBnkE</youtube>
 
 
== Using the uPyCraft IDE to upload files ==
 
In this video on youtube (6:48) we show how to upload an run python files with the uPyCraft IDE: https://youtu.be/MXfj_gWf0z4
 
 
<youtube>MXfj_gWf0z4</youtube>
 
 
== Reading analog inputs ==
 
In this video on youtube (46:23 ) we show how to read an analog input and how to configure the ADC (there is also information on how to connect a resistor and about voltage dividers): https://youtu.be/gjj5KyK2qGI
 
 
<youtube>gjj5KyK2qGI</youtube>
 
  
 
= Code Examples =  
 
= Code Examples =  

Please note that all contributions to Sketching with Hardware at LMU Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see My wiki:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)