Skip to content
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

MagicImageWand with larger 3 or 4 inches Display #42

Open
ThomasKlee64 opened this issue May 30, 2021 · 7 comments
Open

MagicImageWand with larger 3 or 4 inches Display #42

ThomasKlee64 opened this issue May 30, 2021 · 7 comments

Comments

@ThomasKlee64
Copy link

Hello Martin,

I have a question. I have rebuilt the MagicImageWand with a lot of friends and I am excited about it. I would like to try to build the whole thing with a larger TFT display 3 or 4 inches and an ESP32 NodeMCU Module WLAN WiFi Dev Kit C Development Board. Is it possible to adapt the code?

Many greetings

Thomas

@MartinNohr
Copy link
Owner

MartinNohr commented Jun 2, 2021

Yes, but I am not sure how much work. If the display works with the tft_espi library it should be pretty easy to do. You will probably have to change some of the GPIO pins for the SD card and the rotary switch.
There is a constant value of 7 for the number of lines on the display. You can increase that to whatever you want and the code should just work with more lines.
I am in the process of porting the code to the TTGO T4 which has a 2 1/4 inch display. It is supported by Bodmer's TFT library so it is very easy to do. The board also has an SD reader.

@MartinNohr
Copy link
Owner

I reopened this as I am working on the TTGO T4 with a larger display. I'll post information here when it is ready.

@MartinNohr MartinNohr reopened this Jun 5, 2021
@ThomasKlee64
Copy link
Author

Great news, am looking forward to the first results.

@MartinNohr
Copy link
Owner

Coming soon on this project. I just had to get some other projects finished. Maybe by September I'll have the code working.

@DaveStu
Copy link

DaveStu commented Nov 16, 2021

Hi Martin, hope you're well. It's been a while my friend. I'm wondering as you're porting the code to a larger display board, does the current uploaded code uploaded still work with the original TTGO?
I've tried compiling it and it breaks with 'gfxglyh does not name a type. in fonts.h

I'm wondering if this is the newer code for TTGO T4 or are they interchangeable as they use the same microcontroller?
Thanks

@MartinNohr
Copy link
Owner

I haven't seen that error. I haven't ported the code to any larger display yet and I don't think I changed fonts.h. Weird.
It should still work with the original TTGO, that's what I'm using.

@DaveStu
Copy link

DaveStu commented Nov 17, 2021

Hey Martin, I did assume that as it it would have been documnted and/or new project started.
So, I did a refresh of the Arduino program (always a good starting point). Followed the guide, set it all up, added and updated libraries, the ''gfxglyh' error has gone, though now it breaks at 'Error compiling for board ESP32 Dev Module'.
Im using yout latest code V1.15.

I'm on Arduino 1.8.16 with latest esp32 library V2.01. Then I tried V.2.00, V1.06 and V1.04 (Shown on your screenshots) and have the same problem. Failing that, perhaps an older version of Arduino, but would'nt make any logical sense?

On a different realted problem. I still have code V1.04 installed on the board so have been testing that whilst I get other issue figured. As I want to use two strips, I was trying to follow your section on 'Led Wirining Mode' and want to use mode 2 to create a "no black gap".
Now from my basic understanding, the strips are still wired the same as nomal being directional, the strips themselves are turned around/reversed?
I thought I was right, as when I execute 'cylon eye' pattern, STRIP1 is now reversed, but STRIP2 does not light up.
After a short delay, the sequence returns to STRIP1, the delay being that STRIP2 should be lighting up.
Now, do I actually need to wire them differently? (I was slightly confused by document) or is their a bug in code V1.04?
Of course as per instructions, no electrical contact in the middle is made.
Going back to original 'Led Wirining Mode', both strips work fine.

The Idea is, that I carry two strips in half in a case then connect them up on site, because they are long.

##Update## With the latest Arduino and up to date libraries, I tried your beta code, compiled file.

##Update## I wasn't have any luck with compiling latest builds, went all around the internet looking for solutions.
I then just upladed the .bin file as per instructions by Dirk on his last commit, using ESPHomeFlasher, it worked!
Time to contine and play.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants