How To Interface A GC9A01 Round Display With Arduino & ESP32 - Voltlog

Поделиться
HTML-код
  • Опубликовано: 25 янв 2021
  • High quality PCB Services pcbway.com In this video I’m showing you how to connect and drive a GC9A01 1.28” round display using Arduino and the Arduino GFX Graphics library. I will also be using a trick to load image data into the ESP32 SPIFFS area. This way we don’t need additional external storage for storing images and gifs that are shown on the display.
    →Buy GC9A01 1.28” Round Display here
    Aliexpress voltlog.com/y/6yjos
    Amazon voltlog.com/y/0a2wg
    Aliexpress voltlog.com/y/lxcy0
    →Arduino ESP32 filesystem upload tool voltlog.com/y/y21xu
    →Arduino GFX Graphics library voltlog.com/y/327ns
    →ARDUINO JPEGDEC library voltlog.com/y/hndvp
    →Breakout Module Specs voltlog.com/y/83wk5
    →GC9A01 LCD Driver Datasheet voltlog.com/y/qsuzx
    →Support the channel by clicking these links (CommissionsEarned)
    Aliexpress voltlog.com/y/kr0sa
    Ebay voltlog.com/y/jzkfp
    Amazon.com voltlog.com/y/qw4d3
    Banggood.com voltlog.com/y/o4025
    →My Tindie shop
    voltlog.com/y/6zk9g
    →Support the channel via Patreon, Paypal or Bitcoin
    www.voltlog.com/donations
    #VoltLog #GC9A01 #Arduino
  • НаукаНаука

Комментарии • 121

  • @ajmalghanty
    @ajmalghanty 3 года назад +18

    It touched my bank account and my passion for electronics at the same time! Ordered one! Thanks for showing us how it works :D

    • @voltlog
      @voltlog  3 года назад +2

      Hope you enjoy it!

  • @michaelrogers9072
    @michaelrogers9072 2 года назад +2

    Terrific, thank you! I picked up one of these boards hoping I could drive a simple animation, but almost gave up when I couldn't find anything but slowly changing still images. Your example is exactly what I needed. Thank you!

    • @voltlog
      @voltlog  2 года назад

      Happy to hear that!

  • @SVader11
    @SVader11 2 года назад

    Completely agree with your thoughts about technological advancement making our hobby easier & better. I started out programming Z80 processors in assembly & sending FSK data at 300 bps. Thanks for the tip about this display. I just recently had 3 OLEDs & 2 LCDs on one of my projects. I used a multiplexer. Lots of fun.

  • @DocMicha
    @DocMicha 3 года назад +1

    I see it as you. I make electronics since 35 years, it was never so available, cheap and easy. Nice video.

    • @voltlog
      @voltlog  3 года назад

      Thanks for the feedback!

  • @tseckwr3783
    @tseckwr3783 3 года назад +1

    Good review, you hit all the points important to programing and using the display -- including viewing angle...

    • @voltlog
      @voltlog  3 года назад

      I quite like this little display unit, the viewing angles are great!

  • @peterdlynes
    @peterdlynes 6 месяцев назад

    You helped me get my NANOesp32 working with a Waveshare 1.28" display. Thank you.

  • @andymouse
    @andymouse 3 года назад

    Fantastic vid, and yes it's important to enjoy the fun things that are happening now, as we continue to battle the bad things...cheers.

    • @voltlog
      @voltlog  3 года назад

      Yes! Thank you!

  • @BenMitro
    @BenMitro 3 года назад +1

    Thanks, great info, great product, great presentation.

  • @UpcycleElectronics
    @UpcycleElectronics 3 года назад +2

    Cool display. Before getting hurt, I would have loved to use this with my supercharged Camaro project. I would have set this up as a gauge to display everything extra that I wanted to keep an eye on like boost, ignition timing status, water/alcohol injection, oil, radiator, and air temperature at the inlet filter, cylinder head, and headers.
    Even before beginning the project to build the motor to add the supercharger, that car was a handful to drive with a manual transmission. Having a single gauge programmed to focus on what I needed to see would have been really nice.
    This kind of project was my goal when I started messing with electronics after getting hurt. The doctors said it would take at least 6 months to fully recover. I thought that would be just enough time to learn this electronics thing well enough to build my own gauges. (I sure was naive)
    Well, after what will be 8 years on the 26th of next month, I might be able to pull it off... but the half finished motor rusted after the first year, the car was sold after the second, and I'm still waiting for this 6 months of recovery to be over...but, on the bright side, I could probably, finally, achieve a project like building my own gauges. My skills aren't much better, but, yeah, it's amazing the level of peripheral libraries and copy/paste code available now. Not to mention, when having troubles with libraries these days, if one does the homework and asks good questions, the library authors are often very willing to help.
    I just started messing with embedded linux, hacking around with uboot using hardware UART, and found a forum with a bunch of the guys from openwrt that are awesome and super helpful. I had no idea it was so easy to mess with quite a few devices I had sitting on my shelves. Amazing time to be alive :-)
    -Jake

    • @voltlog
      @voltlog  3 года назад +1

      Some automotive instrument type panel display was also on my head ever since I got the display module but now after using it, I must say at just 1.3 inch it feels a bit small to be able to read more than a simple needle gauge from a reasonable distance. So you could use this to build like a temperature display, a pressure display, but combining to show multiple stats at the same time might be problematic due to the size.

    • @UpcycleElectronics
      @UpcycleElectronics 3 года назад

      @@voltlog
      Honestly, I was thinking of mostly the ability to set it up essentially as a RGB warning light first and a gauge second. I mean, even with a 6in Autometer tachometer on my Camaro, I never really used the gauge. The useful part was the little 1in bright amber shift light on the thing. I also had a triple A-pillar gauge setup with oil, vacuum/boost, and air/fuel ratio (exhaust oxygen sensor). They were pretty useless while driving too. They are fine for cruising/highway use, but not when just pushing the gas peddle too far will unlock the rear tires in any gear and you're balancing on the edge of stability. I was most concerned about potential detonation issues and if the 50:50 alcohol/water mix ran out or failed to maintain pressure. The compression ratio and boost pressure I was targeting would have been pushing the limits of pump gas. Having a gauge that can flash multiple warnings that I could identify in peripheral vision was my real goal.

  • @Arrowtake
    @Arrowtake 3 года назад

    Nice, had to order one to play with it. Thanks for the tip.

    • @voltlog
      @voltlog  3 года назад

      Hope you enjoy it!

    • @Arrowtake
      @Arrowtake 3 года назад

      @@voltlog Will definately do

  • @AJB2K3
    @AJB2K3 3 года назад

    Thank you, always wanted to play with the round displays.

    • @voltlog
      @voltlog  3 года назад

      it's so easy to play with one these days.

    • @andymouse
      @andymouse 3 года назад

      My eyes lit up when I saw this !

    • @andymouse
      @andymouse Год назад +1

      Lol ! I had forgotten about these thanks Adam.

  • @PeteSnipe
    @PeteSnipe 2 года назад

    Looking forward to mine arriving. I want to develop a VFO for a software defined Ham radio using these.

  • @avejst
    @avejst 3 года назад

    Wow, Interesting display
    Thanks for sharing :-)

    • @voltlog
      @voltlog  3 года назад

      Thanks for watching!

  • @tommidtommi
    @tommidtommi 3 года назад +1

    With such an Display you could replace the magic eyes of old Tube radios

  • @SteveHartmanVideos
    @SteveHartmanVideos 2 года назад

    This will work great as a speedometer

  • @warpie7
    @warpie7 3 года назад

    excellent tutorial

  • @compubyte2010
    @compubyte2010 2 года назад

    Very cool, I'd like to see this done on a RPI Pico ? TWO of those would make cool robotic eyes !!

  • @espero_dev
    @espero_dev 2 года назад

    Yea I bought 2 1.3" ones and took one apart to make smart glasses :)

  • @MaxSMoke777
    @MaxSMoke777 3 года назад +1

    What about mounting a 35mm glass cabochon on top of it? The domed glass on a round display should look VERY interesting!

  • @PATRIK67KALLBACK
    @PATRIK67KALLBACK 3 года назад

    Good video!

  • @craftim7555
    @craftim7555 Год назад

    Nice content! Will try to make voltampermeter with INA226)))

  • @ipodrafael
    @ipodrafael 2 года назад +1

    Hey, awesome video!
    I want to use the GC9A01 display without the breakout board but I cannot find the how to get it to work without the breakout board (for space saving reasons). Would you happen to know what circuit i need to make to get the bare 12 pin GC9A01 LCD running?

  • @BrownBoiTech
    @BrownBoiTech 3 года назад

    What flashing board are you using? Could you provide a link for that too bud? Thanks for such an amazing video! 👍🏻

  • @andreiciora2765
    @andreiciora2765 3 года назад

    Can you try for your jabe station the extension module . For use two soldering iron in same time

  • @amodkavishwar7223
    @amodkavishwar7223 3 года назад

    thank you for information
    can you please mention spi baud rate and spi clock frequency!

  • @caio1985
    @caio1985 2 года назад

    That's amazing. I'd like to send those images, gifs via bluetooth, what would be the libraries and steps I would need to do in order to accomplish the same final result?

  • @GeoffPritchett
    @GeoffPritchett 2 года назад +2

    i wanna know how to program a gauge that looks like the one @ 1:54 with an spi screen

  • @ristomatti
    @ristomatti 3 года назад +1

    Very nice display! I wish it'd have the flat ribbon somehow in the back. Otherwise it would've maybe been possible to find a drill to make a clean slot for the display. I find I'm avoiding using displays as I can't seem to be able to cut clean enough rectangular holes. Still waiting for the day some module maker figures out to add some kind of a frame you could glue on to cover the rough edges!

    • @voltlog
      @voltlog  3 года назад

      I'm struggling with the same problem regarding display cutouts.

    • @robmurg
      @robmurg 3 года назад +1

      One idea: If you have access to a 3d printer you can make a bezel to make a neat job.

    • @ristomatti
      @ristomatti 3 года назад +1

      @@robmurg Thanks for the suggestion. This had actually occurred to me already. I don't own a 3D printer but I've once printed bezels at a friend's place some years ago. Unfortunately the prints looked quite rough on the surface of an injection molded plastic enclosure (not to mention ones made of aluminum). His printer was some of the early ones though so it might be one of the reasons.
      But if I'd have space (and time) for a 3d printer, printing enclosures would be the primary/only use for it. I just lack both...

  • @thatonesnowboarde
    @thatonesnowboarde 2 года назад

    How did you load the clock faces and the various gages you showed? Where did you find the sample code?

  • @LuckyLAK17
    @LuckyLAK17 10 месяцев назад +1

    Dear VoltLog, for a project of mine I would need a round LCD display but with 2.4" diameter. According to you SPI display can easily be driven by a Arduino board as the libraries for it are already available. I googled a little searching for a 2.4" display based on the same GC9A01 unit without success. It looks like that all the round lcd displays of around 2+" are based on other interfaces (MIPI, RGB...) Is it any easy to use other kind of round displays with Arduino?
    tks in advance

  • @derheine
    @derheine 3 года назад +1

    This is incredibly cool, especially with the image beeing stored directly on the ESP32. Exactelly what I was looking for. Is there a round display with around 3 inches that you can recommend and that works the same way?

    • @voltlog
      @voltlog  3 года назад

      Unfortunately I don't know if there are any bigger screens with the same controller but I would assume they would use a different controller due to the higher amount of pixels.

  • @zokibjelotomic2
    @zokibjelotomic2 2 года назад +1

    Can you help about showing image on round display from camera on ESP32-S?

  • @CryptoLosOne
    @CryptoLosOne Год назад

    Hello, I've been researching to customize a 65 Impala speedometer dashboard to a digital display. Is it possible to connect two round displays to a rectangle display to be one complete display? So you can arrange for example, the gas, oil, voltmeter and speedometer. Using OBDLink & RealDash. Thank you for this video.

  • @DiyintheGhetto
    @DiyintheGhetto 2 года назад +1

    Hello, The example helloworld sketch zi have doesn't have all that like in yours. Can you help me out?

  • @kiranbariya7827
    @kiranbariya7827 3 года назад

    Great video
    Can u make map navigation using esp32 with this display?

  • @paulb36utube
    @paulb36utube 3 года назад

    I would love to see a working watch face that I could mount in an acrylic sheet.

  • @ilos9883
    @ilos9883 2 года назад +1

    I can upload an image but for the animatedgif example I get the error "SPIFFS not created!". Does anyone know what might be the issue? Thanks in advance!

  • @jonyjohan8958
    @jonyjohan8958 3 года назад

    Yes agree

  • @AttilaAsztalos
    @AttilaAsztalos 3 года назад +8

    I do recognize how far electronics as a hobby has come since its beginnings, but I can't say I'm happy about it; quite the opposite, actually. Yes, it does make far more fabulous things available - but at the cost of increasingly insane complexity and volume of knowledge piling up that people supposedly become familiar with. Except they don't - it's an unavoidable tradeoff; brains haven't gotten bigger in the last century, only the racetrack got longer and longer and everyone still begins at the start. To cover all that ever-increasing surface of knowledge, the trade-off is an ever-reducing depth and an ever-faster skim-over. One thing electronics isn't today is "accessible" in the sense electronics hobby kits / circuit books of yore used to be, for any kid with the requisite interest and patience trying to wrap his head around this weird magic stuff. Yes, anyone can follow a ten-minute tutorial and have an Arduino blink an LED; but that's a far cry from what one used to achieve having built and understood how and why an astable multivibrator does the same. And yes, programming has the exact same problem...

    • @dreamcat4
      @dreamcat4 3 года назад +1

      The best solution for this problem is 'open hardware'. And to treat all of the common projects like we do in open source software. To provide good BOM, good documentation and support to the community. We already see this in some projects. However most of the time EE is lacking behind the OSS in these aspect. Progress in these aspect are very much more work. And slower to get better, compared to the the faster speed of new hardware and new more advanced electroincs. I can cite some positive example... one is the 3d printers from annex engineering. They are great with stuff like BOM and having calculators etc. And there are of course many other good examples. Of well executed open hardware projects. But it is just a small fraction of the total. Most electronics are not so well organized, or do not see for how important for group collaboration are tools such as git / github. Like it does not apply to them. But on the positive side, this year will be excellent for KiCad project. With many significant improvements in KiCad to help the community. It takes time, we can all help each other by learning new skills. And thinking of better ways to collaborate, like also with discord. etc. And also to feel rewarded by that collaboration. That it feels worthwhile, for all the extra work it takes.

  • @cyberc0l0mbiana
    @cyberc0l0mbiana 3 месяца назад

    Nice. Are the touchscreen versions able to be programmed to be used as score keepers (which require user interaction)?

  • @Silverturky
    @Silverturky Год назад

    would I be able to use this to display stuff like CPU and GPU temp along with a gif for a built in PC sensor display?

  • @travelin422
    @travelin422 2 года назад

    to upload the gif, do i have to chance something in the code (besides the imp name)? It is not working for me if i just swap the file in the data folder.

  • @DBBahnospherix-BahnAtmospherix
    @DBBahnospherix-BahnAtmospherix Год назад +1

    Hello, i need Help for The tft display 40x160 (160x40) - DRIVER: GC9D01 - i need a Grafic-Programm with esp32 - Thanks

  • @dreamcat4
    @dreamcat4 3 года назад

    Very nice display. Perhaos it could be used to modernize or upcycle a vintage piece of eqipmwnt. Such as an old radio or giga counter. To add inside a modern electronics. Another good purpose as you say is perhaps instrumentation. For example if somebody wants to electrify (EV conversion) a classic vintage car. Or boat. Or motorcycle. Or even something like a hand glider. Where you want a streamline shape to the cowel instrument cluster. Very good. What else? well maybe you are making some fake device for tv or movies. Like a film prop. But mostly I am thinking vintage equipment. From 1950s type era. When they only had analog meters. Including radio. And other audio devices (tape recorders, hifis, etc). Like guages you see in old tv shows... Or maybe in an old military equipment or from old army surplus.

    • @voltlog
      @voltlog  3 года назад

      Yup, it can definitely be used to modernize any old round shaped dial/display.

  • @starlino
    @starlino 3 года назад

    Very nice! Does the GIF require its own library?

    • @voltlog
      @voltlog  3 года назад +1

      It uses a bunch of functions to fetch & display the GIF frames but they're all declared in a header file included with the GIF example project.

  • @donvukovic7440
    @donvukovic7440 3 года назад

    Please post the link for the ESP32 board shown. Thanks

  • @electronic7979
    @electronic7979 3 года назад +1

    Super 👍

  • @mguastafierro
    @mguastafierro 2 года назад

    Where can i find all graphic demo used in this video?

  • @BaronVonBiffo
    @BaronVonBiffo 3 года назад +1

    Very helpful video as usual. Do you have any plans to work with the new Raspberry Pi Pico?

    • @voltlog
      @voltlog  3 года назад +1

      I would like to check it out, I have ordered one but who knows when it will get here, out of stock everywhere..

    • @robfenwitch7403
      @robfenwitch7403 3 года назад

      @@voltlog Luckily I got one on a magazine cover the day after it was released.

  • @sebastiancipolat
    @sebastiancipolat 3 года назад

    wow , I buy one

  • @tarek_hosni8348
    @tarek_hosni8348 Год назад

    Hi, i am trying to follow steps with ESP32 DEV kit but i am not able to see hello world. I did it with Arduino nano only. Any idea?

  • @galbox2054
    @galbox2054 Год назад +2

    Great video!
    I have just purchased one of these displays but it came with only 7 pins, not 8 as yours. The missing pin is "BLK" that you have connected to IO22. Others are same. Will your tutorial still apply if the BLK pin is not connected? Thanks!

    • @toddroles3234
      @toddroles3234 Год назад +1

      did you ever get an answer to this? I want to buy the same 7 pin display... how do you hook up?

    • @Armuino
      @Armuino Год назад

      @@toddroles3234 I was wondering same. Couldn't find right connection diagrams for the 7-pin displays.
      I have bought two of these displays but haven't yet built anything. Will try to figure out connections once have some free weekend. :)

    • @toddroles3234
      @toddroles3234 Год назад

      @@Armuino ok. Please post to this reply if you figure out. There must be a way to do it without blk pin.

  • @FedecraftITALIA
    @FedecraftITALIA 3 года назад

    Could you send me the code for the thermostat? Many Thanks!

  • @89263230559
    @89263230559 Год назад

    How many displays can be connected to the esp32?

  • @noonecz5201
    @noonecz5201 2 года назад

    Just want to ask, but the gif seems kinda chopy, so I wander if it is same IRL, or if it was just due to camera.

  • @satyamshukla3865
    @satyamshukla3865 3 года назад +1

    How can I play video on this using esp32

  • @danielsaccomani6277
    @danielsaccomani6277 2 месяца назад

    Can you provide the code for that blue speedometer that shows 260km/h? Please?

  • @sebastiancipolat
    @sebastiancipolat 3 года назад

    have you tested with arduino uno?

  • @captmcloven2137
    @captmcloven2137 2 года назад +2

    Hello VoltLog. Can you please do an updated video on the esp32 with the GC9A01 display? The Arduino IDE for the GFX library has changed some coding. I followed your video to a T . I got the clock and hello word working but the Jpeg does not. My TFT screen shows ERROR: File system mount failed! Maybe you could shed some light on this problem. My board is HiLetgo ESP-WROOM-32 ESP32 ESP-32S Development Board from Amazon. Thank your for your great videos

    • @ilos9883
      @ilos9883 2 года назад +1

      Same here!! I started on a project depending on this video and the code did not work! Some update would be life saving right now

  • @snug11
    @snug11 3 года назад +1

    hi all,
    i try to recreate the nice demos with same display, unfortunately without success (display is backlighted, but "black"")
    i could compiled / flash demo sketch without any errors on a TTGO T7 Mini32, with class adaption for data bus / display, wiring schematic like "5:23"
    my remarks - the "hello world" sketch from my installed "arduino gfx" library (1.0.7), respectively from the linked one:
    github.com/moononournation/Arduino_GFX/blob/master/examples/HelloWorld/HelloWorld.ino
    seems different like the sketch in the video ("5:10")
    am i doing something wrong ?
    would appreciate tips & answers :-)

  • @gnordh
    @gnordh Год назад

    Make a gps speedometer would be a nice project. Can you make it?

  • @satyamshukla3865
    @satyamshukla3865 3 года назад +1

    I modified and uploaded the code but now nothing displays on the screen
    It's just blank
    Please help

  • @franciscavilianvilian2301
    @franciscavilianvilian2301 2 года назад

    nooice

  • @andreiciora2765
    @andreiciora2765 3 года назад

    În the future you try a fx 951

  • @oliviermeunier1594
    @oliviermeunier1594 2 года назад

    Tread product. Will it be possible to add touch screen?

  • @afifimam4609
    @afifimam4609 Год назад

    how to program with arduino nano bro?

  • @satyamshukla3865
    @satyamshukla3865 3 года назад

    I tried this but screen shows nothing instead it says 'file system mount failed'

  • @RoamingAdhocrat
    @RoamingAdhocrat 3 года назад

    4:25 is when "What is a GC9A01" stops and "How to interface the GC9A01 which you already have in front of you" begins ;)

  • @pupplecoffee
    @pupplecoffee 3 года назад

    It's cool :)

  • @juancarlosrelloso1302
    @juancarlosrelloso1302 3 года назад

    Hola me gusta mucho tu video, me gustaría saber como podría comprar la esfera y si podrías comprarlo en amazon.es. Seria posible hacerlo con el arduino uno o con arduino nano, siento mucho no poder entender tu idioma. Te agradecería mucho si podrías ayudarme. Muchas gracias

    • @cesalab4738
      @cesalab4738 3 года назад

      si es posible comprarlo en España... sino checa el enlace de aliexpress... con arduino también es posible, pero por el precio y capacidades consigue un ESP32...

  • @pierolongega6898
    @pierolongega6898 Год назад

    the library change, need mod the code, esp data upload is not compatible with arduino ide 2.0, helloword work, jpeg display no

  • @douro20
    @douro20 3 года назад +2

    You might want to take a look at this font family:
    b612-font.com/
    The project was initiated by Airbus in 2010 to develop a family of fonts which were optimised for ease of readability on a wide variety of graphical displays. It has since been made open-source and has since been adopted by several manufacturers of avionics and HMI solutions.

    • @voltlog
      @voltlog  3 года назад

      That's so nice! Thanks for sharing this.

  • @18nabeel
    @18nabeel 3 года назад

    Would you be able to recommend some softwares which would enable me to custom create graphics that respond to data input. Such as a speedometer or voltage or temperature. I'm trying to find some deeper info about this but have no luck so far. Nice video! Thanks!

    • @FedecraftITALIA
      @FedecraftITALIA 3 года назад

      I need that answer too! Anyone could help us?

  • @HaiderAli-vd5uk
    @HaiderAli-vd5uk 3 года назад

    Hi i need your help

  • @bobarry1
    @bobarry1 13 дней назад

    Where's the example code?

  • @tiago12342
    @tiago12342 3 года назад

    can the display be detached from the pcb?

    • @voltlog
      @voltlog  3 года назад +1

      It's glued with double sided tape

  • @rad8261
    @rad8261 3 года назад

    my problem with tus displays is, u can't actually have a device that's round because the board that the display is attached isn't circle.

    • @ronnetgrazer362
      @ronnetgrazer362 3 года назад +1

      This is just for development, if you're going to make more than a couple you could develop a custom board with that controller chip and one of those finnicky flat cable connectors.
      *EDIT* I just realized that the driver IC is baked into the LCD unit, I thought it would be hidden under epoxy somewhere. This makes them even easier to integrate. Obviously, any PCB smaller than the display area should support it with some spacers, if you want to use through-hole components on it.

  • @patrikhess8671
    @patrikhess8671 7 месяцев назад

    Attention, the gentleman here is showing a Chinese imitation that requires different drivers than the original Waweshare.

  • @mrrj7594
    @mrrj7594 3 года назад

    Someone,please 3d print mod this to be an attachable aio cooler display.

  • @user-lr7kd5xc1h
    @user-lr7kd5xc1h 9 месяцев назад

    Как построить спидометр как на 1:55? Я уже мозг сломал.

  • @apollowellstein188
    @apollowellstein188 2 года назад

    The code maintainer doesn't know how to write code, and this example no longer works. Would you mind updating your video, or making a new one and linking it.

  • @Faybaugh
    @Faybaugh Год назад

    Star trek communicator

  • @ZombieKing-kc7rg
    @ZombieKing-kc7rg 3 года назад

    Привет

  • @browaruspierogus2182
    @browaruspierogus2182 3 года назад

    If it has touch controller it may be useful otherwise it is kind of useless