Video není dostupné.
Omlouváme se.

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

Sdílet
Vložit
  • čas přidán 14. 08. 2024
  • Hello! In this video I will show You how to use 0.96" 80x160 SPI Display with
    Esp32 development board. This will be complete tutorial! I will show You how to setup Arduino IDE, what libraies are nedeed. And finaly, you will make your Internet clock!
    ESP32 board link:
    dl.espressif.c...
    You can buy this display here:
    www.banggood.c...
    NTP client Library : github.com/tar...
    Code for Internet Clock: github.com/Vol...
    You can also buy me a coffe at:
    ko-fi.com/volo...
    Pins Setup:
    #define TFT_MISO 5
    #define TFT_MOSI 2
    #define TFT_SCLK 15
    #define TFT_CS 17 // Chip select control pin
    #define TFT_DC 16 // Data Command control pin
    #define TFT_RST 4 // Reset pin (could connect to RST pin)
    Feel free to subscribe! Thank you.

Komentáře • 62

  • @Din9mir
    @Din9mir Před 2 lety +27

    I respect you for sharing the code every time for amateurs like me.

  • @0miker0
    @0miker0 Před 2 lety +3

    Awesome work and huge thank you for providing the sketch for a beginner like me.

  • @chiparooo
    @chiparooo Před 2 lety +1

    Cool little project! Thanks for sharing!

  • @-MrDontCare-
    @-MrDontCare- Před rokem

    Thanks, great video, I was looking for new screens to do some projects with.
    And also thanks for sharing the codes. ☺ Still a lot of issues trying to make it work.

  • @automatemefirst
    @automatemefirst Před rokem +1

    Great video! Thank you for your hard work.

  • @edwardfletcher7790
    @edwardfletcher7790 Před 2 lety

    You've got an amazing talent for interface design 👍😉

    • @VolosProjects
      @VolosProjects  Před 2 lety

      Thank you Edward, i love to desigh these litlle interfaces

  • @BlondieSL
    @BlondieSL Před rokem +2

    I use those little color displays. So far, I've only used them on Arduino Nano boards.
    I just got into ESP32 and want to be able to connect these displays.
    I notice in your video, that there seems to be corruption along the left side and top (areas with lit pixels that shouldn't be).
    I realize that this may be due to the libraries, so I'm wondering if now, a year+ later, if that issue is cleaned up?
    With the nanos, the displays works perfectly and I usually draw a colored line/box around the display (top, bottom, right left). There are no issues with unwanted pixels lit.
    So I wonder if this is fixed for the ESP32 and those displays.

  • @xidameng
    @xidameng Před rokem

    Respect your work! Thanks for the sharing!

  • @rudyselectronics6766
    @rudyselectronics6766 Před 11 měsíci

    it would help alot if you were to ad a schematic . i think i can see what you did . If i were to use a different board, it would help alot. thank you for the good work.

  • @syedabidaliabdi1273
    @syedabidaliabdi1273 Před 2 lety +1

    I wanted to make weather station and date time with esp32 and 128x64 OLED 0.96"display. Can you please guide me with video tutorial

  • @daydream31
    @daydream31 Před 2 lety +1

    Great videos ! keep goin man

  • @hendryawaneng6
    @hendryawaneng6 Před 20 dny

    nice tutor

  • @AdmiralSym
    @AdmiralSym Před rokem

    I recently a lilygo t-wristband which houses an esp32 and small SPI tft of the same resolution, with an RTC to boot! I’m working on re-housing the unit into a thin watch and I’ll need to know how to do all of this :P

  • @ConsultingjoeOnline
    @ConsultingjoeOnline Před 2 lety +1

    You got Siri on that thing? Wow, cool lol

  • @rebelrussia8961
    @rebelrussia8961 Před 2 lety

    Hello. and you could add a function in the clock so that you can select the time zone time with the buttons and save it in eeprom

  • @OldManSparkplug
    @OldManSparkplug Před 2 lety

    Another great project! Thank you!

  • @electronic7979
    @electronic7979 Před 2 lety +1

    Nice project 👍

  • @buxx5334
    @buxx5334 Před 10 měsíci

    hi.. that's a exelent project.. 💯
    can u make a video about how we can input wifi password using 2 button to select text.

  • @belajar97
    @belajar97 Před rokem

    Hi, thanks for your sharing. Which pin can replace pin 16 & 17? Because those pin is used for Serial. I'm using esp32 38pin. Thanks

  • @franciscochavez4160
    @franciscochavez4160 Před 2 měsíci

    i love you

  • @fasihzafar7423
    @fasihzafar7423 Před rokem

    Great project .....!!! Thanks for uploading with code..... Will you plz help me to change the clock in AM/PM Format.

  • @ridebmxmhell
    @ridebmxmhell Před 11 měsíci

    can you share schematic ,i want to see color invert pin outs

  • @Bianchi77
    @Bianchi77 Před 2 lety

    Nice video, thanks :)

  • @CookiesDarkMatter
    @CookiesDarkMatter Před 2 lety

    Thanks for this video. Can you please help connecting this display to raspberry pi 4?

  • @modarsoos
    @modarsoos Před 5 měsíci

    thank you for your videos, I have a problem with the same model with running on esp8266 nodemcu, can you make a video and wich pins for SPI, cuz i have a madness for plugging wrong spi pins on esp8266, or tell me how can i connect this oled on esp8266 nodemcu and esp8266 mod

    • @VolosProjects
      @VolosProjects  Před 5 měsíci +1

      sorry , i dont own esp8266 anymore. I think pins are not problem , you need to edit tft_espi library and set your pins. Also i am not sure this example will work on 8266

    • @modarsoos
      @modarsoos Před 5 měsíci

      @@VolosProjects Thank you for your reply, also your code for Internet Clock in esp32 give me an error. what is the problem?
      i had copy also the NTP client Library to the folder in libraries, and no way, not working!!!

    • @VolosProjects
      @VolosProjects  Před 5 měsíci

      @@modarsoos what error?

  • @djokinac
    @djokinac Před 2 lety +1

    lako je tebi kad vidis odlicno
    a meni ni monitor nije dovoljan 😃
    pozdrav

    • @Din9mir
      @Din9mir Před 2 lety

      I pri mene monitora nikoga ne trugva 😁

  • @nodyoung1086
    @nodyoung1086 Před 2 lety

    Great, I have a question I would like to ask, how can I combine multiple .c files with converted hexadecimal digits into one .h file, your animation is more than 100 frames, one by one is a waste of time, if you Please answer me if you can see it. Many thanks!

  • @EasyOne
    @EasyOne Před 2 lety +1

    nice but not 12-hour clock AM PM

  • @Vagubando
    @Vagubando Před 6 měsíci

    Compilation error: 'ledcSetup' was not declared in this scope.
    Whats happening ?

    • @VolosProjects
      @VolosProjects  Před 6 měsíci

      You probably updated your esp32 board to 3.0 versiin

  • @Native7i
    @Native7i Před 2 lety

    How to slow down globe animation speed?

  • @la7yka
    @la7yka Před 2 lety

    Thanks for sharing! I guess this code easily can be converted for the TTGO T7 1.4" ?

  • @4lecsg
    @4lecsg Před rokem

    Why did you connect TFT_MISO to board backlight pin? That makes no sense.

  • @martinsegoviano5588
    @martinsegoviano5588 Před 2 lety +1

    Hi, im getting an error in the code "(int frames=151)" and i have all h files, i dont know what need to do, can u help me?

    • @-MrDontCare-
      @-MrDontCare- Před rokem

      have the same problem. in the ani.h file
      Esp32Clock\ani.h:1:1: error: stray '\273' in program
      Esp32Clock\ani.h:1:1: error: stray '\277' in program
      Error when compiling.
      By copying the all the codes and paste it back in, I can upload it, but the screen is still black.

    • @grzeniuxx
      @grzeniuxx Před rokem

      Okay guys, I got it
      You need to change the storage format of the ani.h file to UFT-8, the target was UFT-8-BOM. You can do this for example in notepad ++
      Remember!!!: Tools->Port-> ...
      Works nicely

    • @willsgrandad
      @willsgrandad Před 7 měsíci

      @@grzeniuxx Thanks for the info. for those like me, to change the UFT-8-BOM to TFT-8 its this. Choose "save as" at the bottom of the screen. This shows you, its saving as UFT-8-BOM, click the down arrow to select UFT-8.. Hope that helps newbies like me.
      All I need now is to change the display to show the date as Day-Month not Month-Day. 😮 (working on it)

  • @willsgrandad
    @willsgrandad Před 6 měsíci

    Down loaded this yesterday 18/01/2024, all worked. Ran it today 19/01/2024 and get error: 'class NTPClient' has no member named 'getFormattedDate'
    looking in NTPClient and noticed that is correct. Amended as suggested to getFormattedTime
    Whats happening? I suppose this was uploaded years ago, things change.

    • @willsgrandad
      @willsgrandad Před 6 měsíci

      will not update now!

    • @VolosProjects
      @VolosProjects  Před 6 měsíci

      I am not sure what can couse that, maybe some of yours libraries updated

  • @Ldrmoreira
    @Ldrmoreira Před 2 lety

    Hi, im getting an error in the code "(int frames=151) saying that is not declared.any ideas?thanks

    • @VolosProjects
      @VolosProjects  Před 2 lety

      In map where is .ino file you need to have all .h files from github link

    • @Ganhouse
      @Ganhouse Před rokem

      ​@@VolosProjects
      I got the same error can u help me?
      I also have all the files from github
      In file included from .. Esp32Clock\Esp32Clock.ino:6:
      .. Esp32Clock\ani.h:1:1: error: stray '\357' in program
      int frames=151;
      ^
      .. Esp32Clock\ani.h:1:2: error: stray '\273' in program
      int frames=151;
      ^
      .. Esp32Clock\ani.h:1:3: error: stray '\277' in program
      int frames=151;
      ^
      exit status 1
      Compilation error: stray '\357' in program

  • @bitman4204
    @bitman4204 Před 2 lety

    Can You fix the vertical lunes of random pixels on the screen?

    • @VolosProjects
      @VolosProjects  Před 2 lety

      No, this is problem with my display, it can be solves with black tape😃

    • @bitman4204
      @bitman4204 Před 2 lety

      @@VolosProjects I solved it, I will upload a video to CZcams and I will give you the link

  • @letstrythistv
    @letstrythistv Před 2 lety

    How portable is this to TTGO?

    • @VolosProjects
      @VolosProjects  Před 2 lety

      this is smaller than ttgo, ttgo is 240x135 display this is 180x60

  • @imahalimah4363
    @imahalimah4363 Před 2 lety

    Sir.. why this my project mirror image.please help me sir. thanks for all. And I subscribe this CZcams chanel

  • @hokazshinitzu9042
    @hokazshinitzu9042 Před 2 lety

    code not working