How to use 0.96" 80x160 SPI Display and ESP32 and make Internet clock

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello if you are my subscriber you probably know that i love esp32 this was my first esp32 based development board it is quite old i believe that uh this guy is familiar to many people back then it was very confusing board to use because i was used to arduino uno or nano but with this board i learned a lot how to install additional boards how to make internet of things project projects and so on today i use mostly boards with built-in display like these some of these boards are quite expensive but yesterday i finded this guy in one of my boxes and i realized that i never used used this this affordable display have a resolution of 160 by 80. something like this will make your project look cool and fun if you already own esp32 board like this and you need some kind of display this is great choice check the description links are there like always so today we will learn how to use this cool display esp32 can connect to internet so we will make this internet clock internet clocks are great because you don't need to adjust time and they will not reset time if board is turned off for this we will need of course esp32 board this display two push buttons and wi-fi connection these buttons are not really needed uh first one is use use it to set the brightness of screen i can see level of brightness here and second one is used to invert display you can choose whatever you like we will set up arduino ide from beginning and we will install all these libraries that are needed this clock is not only example we will try i will also show you how to use examples from library they are great for learning i learned all functions from these examples okay let's start first we will need install esp32 boards in arduino ide because they are not here you will find this link in this description of this video you will copy it then we go file preferences and i will paste it here now we go tools board boards manager and here i will write esp32 so we will install all this boards package now we need to wait because this will take some time okay installation is finished esp32 boards are installed i will check can i find them in arduino ide and here they are there is many of them now i need to install a library for tft display i will go sketch include library and manage libraries and upstairs and here i will write tft underline e s p i there is many libraries but we need to find this one by budmer sorry if i pronounce it wrong okay library installed and now i need to edit it a little so i need to go to my arduino libraries folder which is my documents arduino libraries and tft aspi and then i will edit this file user setup select i will comment this line and i will uncomment setup 43 because this is driver that our display is using st7735 dot h in a library we can set pins we will use so this is ground and vcc and these are this sda clock and other pins i will go to user setup folder and i will find this file setup 43 and here are pins these pins i need to edit so they need to look like they need to look like this 5 2 15 17 16 and four check description i will put this part of code there so you can just copy it and now we can try some example i will go file examples then i will find tft aspi and here is this good looking meter example don't forget to choose board which is esp32 development module set your port and you can upload your code if results are weird and colors are inverted you will need to add this part of code tft in vert display zero invert invert display zero and it should work now and finally let's make that internet clock for that we will need ntp client library you will download code like this in that zip file i need to extract from zip and i will copy this whole folder to my library folder in documents or the arduino libraries folder that's it in description you will find my code for this internet clock so you will download code you will click here you will download it as zip file you can i will extract it here and you will open it in arduino in code you need to put your ssid and password data and you will also need to set up here time zone and when you are ready you can check uh you can choose esp32 development module check your port and you can upload the code that's it for today tell me what you think in comments tell me did you have some problems i can also help you if you have some problems with my sketch and that's it don't forget to subscribe like share i hope i helped help you even a little thank you and see you later goodbye
Info
Channel: Volos Projects
Views: 24,735
Rating: undefined out of 5
Keywords:
Id: T2A4cEktt6Q
Channel Id: undefined
Length: 10min 32sec (632 seconds)
Published: Thu Oct 28 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.