round lcd display arduino factory

We have used Liquid Crystal Displays in the DroneBot Workshop many times before, but the one we are working with today has a bit of a twist – it’s a circle!  Perfect for creating electronic gauges and special effects.

LCD, or Liquid Crystal Displays, are great choices for many applications. They aren’t that power-hungry, they are available in monochrome or full-color models, and they are available in all shapes and sizes.

Today we will see how to use this display with both an Arduino and an ESP32. We will also use a pair of them to make some rather spooky animated eyeballs!

Waveshare actually has several round LCD modules, I chose the 1.28-inch model as it was readily available on Amazon. You could probably perform the same experiments using a different module, although you may require a different driver.

There are also some additional connections to the display. One of them, DC, sets the display into either Data or Command mode. Another, BL, is a control for the display’s backlight.

The above illustration shows the connections to the display.  The Waveshare display can be used with either 3.3 or 5-volt logic, the power supply voltage should match the logic level (although you CAN use a 5-volt supply with 3.3-volt logic).

Another difference is simply with the labeling on the display. There are two pins, one labeled SDA and the other labeled SCL. At a glance, you would assume that this is an I2C device, but it isn’t, it’s SPI just like the Waveshare device.

This display can be used for the experiments we will be doing with the ESP32, as that is a 3.3-volt logic microcontroller. You would need to use a voltage level converter if you wanted to use one of these with an Arduino Uno.

The Arduino Uno is arguably the most common microcontroller on the planet, certainly for experiments it is. However, it is also quite old and compared to more modern devices its 16-MHz clock is pretty slow.

The Waveshare device comes with a cable for use with the display. Unfortunately, it only has female ends, which would be excellent for a Raspberry Pi (which is also supported) but not too handy for an Arduino Uno. I used short breadboard jumper wires to convert the ends into male ones suitable for the Arduino.

Once you have everything hooked up, you can start coding for the display. There are a few ways to do this, one of them is to grab the sample code thatWaveshare provides on their Wiki.

The Waveshare Wiki does provide some information about the display and a bit of sample code for a few common controllers. It’s a reasonable support page, unfortunately, it is the only support that Waveshare provides(I would have liked to see more examples and a tutorial, but I guess I’m spoiled by Adafruit and Sparkfun LOL).

Open the Arduino folder. Inside you’ll find quite a few folders, one for each display size that Waveshare supports. As I’m using the 1.28-inch model, I selected theLCD_1inch28folder.

Once you do that, you can open your Arduino IDE and then navigate to that folder. Inside the folder, there is a sketch file namedLCD_1inch28.inowhich you will want to open.

When you open the sketch, you’ll be greeted by an error message in your Arduino IDE. The error is that two of the files included in the sketch contain unrecognized characters. The IDE offers the suggestion of fixing these with the “Fix Encoder & Reload” function (in the Tools menu), but that won’t work.

You can see from the code that after loading some libraries we initialize the display, set its backlight level (you can use PWM on the BL pin to set the level), and paint a new image. We then proceed to draw lines and strings onto the display.

Unfortunately, Waveshare doesn’t offer documentation for this, but you can gather quite a bit of information by reading theLCD_Driver.cppfile, where the functions are somewhat documented.

After uploading the code, you will see the display show a fake “clock”. It’s a static display, but it does illustrate how you can use this with the Waveshare code.

This library is an extension of the Adafruit GFX library, which itself is one of the most popular display libraries around. Because of this, there isextensive documentation for this libraryavailable from Adafruit.  This makes the library an excellent choice for those who want to write their own applications.

As with the Waveshare sample, this file just prints shapes and text to the display. It is quite an easy sketch to understand, especially with the Adafruit documentation.

The sketch finishes by printing some bizarre text on the display. The text is an excerpt from The Hitchhiker’s Guide to the Galaxy by Douglas Adams, and it’s a sample of Vogon poetry, which is considered to be the third-worst in the Galaxy!

Here is the hookup for the ESP32 and the GC9A01 display.  As with most ESP32 hookup diagrams, it is important to use the correct GPIO numbers instead of physical pins. The diagram shows the WROVER, so if you are using a different module you’ll need to consult its documentation to ensure that you hook it up properly.

The TFT_eSPI library is ideal for this, and several other, displays. You can install it through your Arduino IDE Library Manager, just search for “TFT_eSPI”.

There is a lot of demo code included with the library. Some of it is intended for other display sizes, but there are a few that you can use with your circular display.

To test out the display, you can use theColour_Test sketch, found inside the Test and Diagnostic menu item inside the library samples.  While this sketch was not made for this display, it is a good way to confirm that you have everything hooked up and configured properly.

A great demo code sample is theAnimated_dialsketch, which is found inside theSpritesmenu item.  This demonstration code will produce a “dial” indicator on the display, along with some simulated “data” (really just a random number generator).

One of my favorite sketches is the Animated Eyes sketch, which displays a pair of very convincing eyeballs that move. Although it will work on a single display, it is more effective if you use two.

The first thing we need to do is to hook up a second display. To do this, you connect every wire in parallel with the first display, except for the CS (chip select) line.

The Animated Eyes sketch can be found within the sample files for the TFT_eSPI library, under the “generic” folder.  Assuming that you have wired up the second GC9A01 display, you’ll want to use theAnimated_Eyes_2sketch.

The GC9A01 LCD module is a 1.28-inch round display that is useful for instrumentation and other similar projects. Today we will learn how to use this display with an Arduino Uno and an ESP32.

round lcd display arduino factory

In electronics world today, Arduino is an open-source hardware and software company, project and user community that designs and manufactures single-board microcontrollers and microcontroller kits for building digital devices. Arduino board designs use a variety of microprocessors and controllers. The boards are equipped with sets of digital and analog input/output (I/O) pins that may be interfaced to various expansion boards (‘shields’) or breadboards (for prototyping) and other circuits.

The boards feature serial communications interfaces, including Universal Serial Bus (USB) on some models, which are also used for loading programs. The microcontrollers can be programmed using the C and C++ programming languages, using a standard API which is also known as the “Arduino language”. In addition to using traditional compiler toolchains, the Arduino project provides an integrated development environment (IDE) and a command line tool developed in Go. It aims to provide a low-cost and easy way for hobbyist and professionals to create devices that interact with their environment using sensors and actuators. Common examples of such devices intended for beginner hobbyists include simple robots, thermostats and motion detectors.

In order to follow the market tread, Orient Display engineers have developed several Arduino TFT LCD displays and Arduino OLED displays which are favored by hobbyists and professionals.

Although Orient Display provides many standard small size OLED, TN and IPS Arduino TFT displays, custom made solutions are provided with larger size displays or even with capacitive touch panel.

round lcd display arduino factory

The driver used in this LCD is GC9A01, with a resolution of 240RGB×240 dots and 129600 bytes of GRAM inside. This LCD supports 12-bits/16-bits/18-bits data bus by MCU interface, which are RGB444, RGB565, RGB666.

For most LCD controllers, the communication method of the controller can be configured, they are usually using 8080 parallel interface, 3-line SPI, 4-line SPI, and other communication methods. This LCD uses a 4-line SPI interface for reducing GPIO and fast speed.LCD

If you are wondering which point is the first pixel of the screen (because the screen is round), you can understand it as a square screen with an inscribed circle drawn in it, and it only displays the content in this inscribed circle. The pixels in other locations are simply discarded (just like most round smartwatches on the market)

round lcd display arduino factory

Innovation, good quality and reliability are the core values of our enterprise. These principles today extra than ever form the basis of our success as an internationally active mid-size organization for Arduino Lcd Display Module, Industrial Touch Displays, Lcd Matrix, Tft Color Lcd Module,Serial Lcd Display Module. In addition, we would properly guide the customers about the application techniques to adopt our products and the way to select appropriate materials. The product will supply to all over the world, such as Europe, America, Australia,Angola, Karachi,Amman, Greece.Be sure to feel cost-free to send us your specs and we are going to respond for you asap. We have got a experienced engineering team to serve for the every single comprehensive needs. Free samples may be sent for yourself personally to know far more facts. So that you can meet your desires, please actually feel cost-free to contact us. You could send us emails and call us straight. Additionally, we welcome visits to our factory from all over the world for much better recognizing of our corporation. nd merchandise. In our trade with merchants of several countries, we often adhere to the principle of equality and mutual advantage. It is our hope to market, by joint efforts, both trade and friendship to our mutual benefit. We look forward to getting your inquiries.

round lcd display arduino factory

We support our purchasers with ideal high-quality merchandise and significant level company. Becoming the specialist manufacturer in this sector, we now have received loaded practical encounter in producing and managing for Tft Lcd Arduino Uno, Segment Lcd, Tft Display Screen, Vehicle Touch Displays,Active Matrix Tft Colour Lcd. "Passion, Honesty, Sound services, Keen cooperation and Development" are our goals. We"ve been here expecting close friends all around the earth! The product will supply to all over the world, such as Europe, America, Australia,Borussia Dortmund, Lesotho,Wellington, Macedonia.With the growing of the company, now our products sold and served at more than 15 countries around the world,such as Europe,North America,Middle-east,South America,Southern Asia and so on. As we bear in our mind that innovation is essential to our growth, new product development is constantly.Besides, Our flexible and efficient operation strategies,High quality products and competitive prices are exactly what our customers are looking for. Also a considerable service brings us good credit reputation.

round lcd display arduino factory

ER-TFT1.28-2 is a micro round 240x240 pixel 1.28" color IPS tft lcd display panel with GC9A01A controller,wide view angle,optional capacitive touch panel, superior display quality and easily controlled by MCU such as 8051, PIC, AVR, ARDUINO ARM and Raspberry PI.It can be used in smart watch or any circle display application.It"s 4-wire serial spi interface with optional zif connector and single-sided FPC.

round lcd display arduino factory

The graphic display coordinates and the text display coordinates of the 2.2”screen are two different coordinates systems. The origin of the graphic display coordinates begin from the centre point of the screen while that of the later one begins from the top left hand side of the screen.

The following codes are just one part of the API funciotn description. For more information, please refer to ST7687S Library Introduction and Display Library Introduction.

* @The formal parameter size refers to the text size based on the font(6×8). Size is rounded to the integer greater than 0; if size is 1, the pixel points the font occupied will be 6×8. if it is 2, that will be 12×16. The text out of the screen cannot be displayed;

The function of the program: realize the refreshing of the background color of the 2.2”screen and the switching of background color among red, white and black; there are 19 common defined color in the library, and users can also customize 4-bit hexadecimal code or decimal color code (0~65535) to alter the background color of the screen.

The function of the program: taking the centre point of the 2.2”screen as the starting point(note: the graphic display coordinates and the text display coordinates are two different coordinates, the centre point of the graphic display coordinates is (64, 64) while that of the later one is (0, 0)), display a character string ”fire” with red text background box, white font and the size of the font 2 on the screen. The formal parameter size of the function to set font size tft.setTextSize (uint8_t size) should be greater than 0 and the text out of the screen cannot be displayed.

The function of the program: use the software image2lcd.exe to extract the bitmap of one image and display it on the centre part of the 2.2”screen(note: for the reason of UNO’s internal memory, the following demo cannot be accepted on UNO since the image file is too large, but it can be displayed on ESP32. So you’d better choose small image file if you want to display it on UNO. ) The parameter selection of the software is provided below.

round lcd display arduino factory

Etouch Technology Co., Ltd (Etouch) was established in 2008, is a professional manufacturer on design, production and sales of capacitive and resistive touch screen , LCD, Raspberry PI LCD and membrane switch, PCB keypad, rubber keypad, FPC keypad, acrylic lens, overlays and other technology products . We mainly for industrial control, car navigation, household appliances, medical equipment , human-machine-Interface system, POS , bank system, gaming, etc . Our factory is near by the beautiful scenery of the Songshan Lake, and the existing plant area is more over 7000 square meters.

round lcd display arduino factory

Kingtech is one of the leading TFT LCD display OEM/ODM manufacturers in China since 2003. Customization is allowed for projects such as industrial devices, medical, POS, logistics devices, smart home applications and etc.

To provide a one-stop LCD display solution. During the last 17 years, based on LCD manufacturing as our center, we gradually expand to the TFT capacitive touchscreen, driving board, software hardware design, and complete industrial computer solution.

As a professional LCD screen supplier/ LCD display supplier/ LCD panel company/ LCD module manufacturer, Kingtech LCD aims to provide a one-stop service and solve your problems. With a strong LCD Display module R & D team and strict quality management of IS09001, IS01400ATF16949 certificates.