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/...
Amazon voltlog.com/y/...
Aliexpress voltlog.com/y/...
→Arduino ESP32 filesystem upload tool voltlog.com/y/...
→Arduino GFX Graphics library voltlog.com/y/...
→ARDUINO JPEGDEC library voltlog.com/y/...
→Breakout Module Specs voltlog.com/y/...
→GC9A01 LCD Driver Datasheet voltlog.com/y/...
→Support the channel by clicking these links (CommissionsEarned)
Aliexpress voltlog.com/y/k...
Ebay voltlog.com/y/j...
Amazon.com voltlog.com/y/q...
Banggood.com voltlog.com/y/o...
→My Tindie shop
voltlog.com/y/...
→Support the channel via Patreon, Paypal or Bitcoin
www.voltlog.com...
#VoltLog #GC9A01 #Arduino Наука
It touched my bank account and my passion for electronics at the same time! Ordered one! Thanks for showing us how it works :D
Hope you enjoy it!
I see it as you. I make electronics since 35 years, it was never so available, cheap and easy. Nice video.
Thanks for the feedback!
i wanna know how to program a gauge that looks like the one @ 1:54 with an spi screen
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!
Happy to hear that!
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
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.
@@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.
You helped me get my NANOesp32 working with a Waveshare 1.28" display. Thank you.
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.
What, no Kansas-City interface?:)
Hello, i need Help for The tft display 40x160 (160x40) - DRIVER: GC9D01 - i need a Grafic-Programm with esp32 - Thanks
Good review, you hit all the points important to programing and using the display -- including viewing angle...
I quite like this little display unit, the viewing angles are great!
With such an Display you could replace the magic eyes of old Tube radios
Cool idea.
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...
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.
It's OK grandpa, we all get old, in 20 years ill be saying the same thing
Can you help about showing image on round display from camera on ESP32-S?
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!
did you ever get an answer to this? I want to buy the same 7 pin display... how do you hook up?
@@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. :)
@@Armuino ok. Please post to this reply if you figure out. There must be a way to do it without blk pin.
Yea I bought 2 1.3" ones and took one apart to make smart glasses :)
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!
Can you provide the code for that blue speedometer that shows 260km/h? Please?
What about mounting a 35mm glass cabochon on top of it? The domed glass on a round display should look VERY interesting!
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.
Yes! Thank you!
Nice. Are the touchscreen versions able to be programmed to be used as score keepers (which require user interaction)?
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?
How can I play video on this using esp32
Looking forward to mine arriving. I want to develop a VFO for a software defined Ham radio using these.
Hello, The example helloworld sketch zi have doesn't have all that like in yours. Can you help me out?
I modified and uploaded the code but now nothing displays on the screen
It's just blank
Please help
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
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
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
Can you try for your jabe station the extension module . For use two soldering iron in same time
the library change, need mod the code, esp data upload is not compatible with arduino ide 2.0, helloword work, jpeg display no
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!
I'm struggling with the same problem regarding display cutouts.
One idea: If you have access to a 3d printer you can make a bezel to make a neat job.
@@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...
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?
thank you for information
can you please mention spi baud rate and spi clock frequency!
Thanks, great info, great product, great presentation.
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?
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.
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.
How did you load the clock faces and the various gages you showed? Where did you find the sample code?
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?
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.
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.
What flashing board are you using? Could you provide a link for that too bud? Thanks for such an amazing video! 👍🏻
Where can i find all graphic demo used in this video?
Please post the link for the ESP32 board shown. Thanks
Make a gps speedometer would be a nice project. Can you make it?
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?
Very cool, I'd like to see this done on a RPI Pico ? TWO of those would make cool robotic eyes !!
I tried this but screen shows nothing instead it says 'file system mount failed'
Thank you, always wanted to play with the round displays.
it's so easy to play with one these days.
My eyes lit up when I saw this !
Lol ! I had forgotten about these thanks Adam.
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 :-)
Very helpful video as usual. Do you have any plans to work with the new Raspberry Pi Pico?
I would like to check it out, I have ordered one but who knows when it will get here, out of stock everywhere..
@@voltlog Luckily I got one on a magazine cover the day after it was released.
This will work great as a speedometer
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.
That's so nice! Thanks for sharing this.
Nice, had to order one to play with it. Thanks for the tip.
Hope you enjoy it!
@@voltlog Will definately do
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.
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.
Tread product. Will it be possible to add touch screen?
how to program with arduino nano bro?
Great video
Can u make map navigation using esp32 with this display?
Attention, the gentleman here is showing a Chinese imitation that requires different drivers than the original Waweshare.
I would love to see a working watch face that I could mount in an acrylic sheet.
How many displays can be connected to the esp32?
Where's the example code?
Yes agree
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.
Yup, it can definitely be used to modernize any old round shaped dial/display.
Nice content! Will try to make voltampermeter with INA226)))
4:25 is when "What is a GC9A01" stops and "How to interface the GC9A01 which you already have in front of you" begins ;)
Could you send me the code for the thermostat? Many Thanks!
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
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...
excellent tutorial
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.
Super 👍
Wow, Interesting display
Thanks for sharing :-)
Thanks for watching!
Good video!
Very nice! Does the GIF require its own library?
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.
have you tested with arduino uno?
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!
I need that answer too! Anyone could help us?
În the future you try a fx 951
Hi i need your help
Someone,please 3d print mod this to be an attachable aio cooler display.
can the display be detached from the pcb?
It's glued with double sided tape
nooice
wow , I buy one
It's cool :)
thanks!
Как построить спидометр как на 1:55? Я уже мозг сломал.
Star trek communicator
Привет
If it has touch controller it may be useful otherwise it is kind of useless