-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] ST7789V support for ESP32-Wrover-Kit v3 #4
Comments
thats awesome tobozo :) great to hear u were able to make use of it. As far as the ST7789V goes, I don't have one to test with, but the ILI9341 code I used came from the WROVER_LCD libraries and I used the ESP32 DOOM port as well. The only change needed, I think, is the ili_init_cmd as you have... I could be wrong though.. Did you try it out? Maybe double check the Initialization code from:
|
My OV7670 camera only (kinda) works on the feature-rgb_bitmap branch. I never got it working on the other branch, whatever settings I change. Here's what I use :
Moving those setting into the ov7670_ili9341 branch did not give good results (unresponsive http server after one request, yes I'm using esp-idf 2.1). Also I'm a bit confused with the pins assignment in the configuration compared to the ones in esp32-doom (and in the schematics) as t seems to share all the SPI pins with the camera:
Since the Wrover Kit v3 comes with the presoldered LCD I don't have much of a choice. |
Sorry my code is missing the SDKCONFIG file, I'll add it, but, this is what I'm using: Pin ConfigurationCONFIG_HW_LCD_MISO_GPIO=12 |
You can't share the pins between OV7670 and LCD at the same time. I used different pin mappings for the LCD from the DOOM port for example because I had already used the pins for those for the OV7670. The ESP32 is pretty dynamic with pin changes with its GPIO matrix, but I chose the common pins used for the alternate SPI bus. Did you try changing the Pin config in the SDKCONFIG? How did it go? |
Using the Pin config you provided I get some flashes on the screen while the ESP is connecting, then blank screen. If I visit /bmp I receive this image but nothing happens on the LCD. I'm not surprised though, both the camera and the screen seem to be hard wired to the same pins on the dev board, also on Espressif schema; I know I'm missing something. Probably many things :p What could possibly be the intent of Espressif when they mapped the same pins to a LCD and a Camera 💡 ⛽ ? Could this imply my dev board only supports a different, non DMA approach, when the camera and the lcd are both used ? Also I have a couple of write fails during camera initialization, that could explain the image, but this is secondary since capturing somehow works with the feature-rgb_bitmap branch.
|
Hi, @tobozo, thats great. This is just really hacking on my behalf - and if you have a copy of the repo thats working thats great, you should take a backup! My main problem is memory issues with ESP32 causing issues starting up the TCP/IP stack - code works by allocating 32-bit RAM for the framebuffer. I'm really just a noobie as well this is my first experience with FreeRTOS so I'm learning a lot. Using the Test Pattern is a great way to test picture - have u tried to telnet in and issue "colorbar 0". I've looked at the schematic for the WROVER you linked but I didn't really understand how its wired up... It does looks like pins 19, 21, 22, 23, 25 are shared between the two... |
Hi @tobozo Thanks! |
I only changed the init settings as documented in my first comment. But you'll have other problems upstream:
|
ok I found some old code but you might be interested in the pinout setup, here's the sdkconfig and the app_main.c file I was using, with the modified init sequence for the display. |
Hi @tekker thanks for the awesome work, it provided me a lot of fun!
This is a noobish request, I got myselft an ESP32-Wrover-Kit v3 and have some free time over the weekends to test and play with it.
Feel free to close this request if you find this is inappropriate.
I've ordered a couple of OV7670 cam modules to play with the Wrover Kit, and so far I managed to get a few snapshots using the feature-rgb_bitmap branch of this project.
I also attempted to modify the ov7670_ili9341 branch to get it working with the LCD bundled with my v3 Dev Kit (an ST7789V).
I found a driver implementation (IoTuz has support for ST7789v) and built this init code:
Obviously, modifying only this is not enough and I wonder if and where would be some other ili9341-specific code that also need to be adapted.
The text was updated successfully, but these errors were encountered: