-
Older Activity
-
07-09-2022, 07:51 PM
Thought I should update on this thread.
Been working a lot of hours, so only got back to it this morning. DEAD. Teensy 4.0 appears to be zapped and I have no idea why. Barely anything on the breadboard.
So, I...
54 replies | 1542 view(s)
-
06-30-2022, 08:03 PM
I am completely re-breadboarding the whole project, and drawing the circuit diagram as I go to post here.
I decided maybe the better option was to utilise the SPI1 and SPI2 ports on the Teensy 4, but now not so sure...
54 replies | 1542 view(s)
-
06-29-2022, 05:59 PM
OK. I thought I was explaining my issue well enough, but I will endeavour to draw out the circuit later tonight and put that up.
To be fair, this thread is the whole project and not just this issue!
I will return
54 replies | 1542 view(s)
-
06-28-2022, 10:09 PM
It would appear that this flash IC is not behaving at all.
All connected with a 10k pullup on the CS pin. All OK.
Connect the SCK and the bus freezes. I'll grab some more 10k's tomorrow and look at that thread,...
54 replies | 1542 view(s)
-
06-28-2022, 09:59 PM
OK. I will grab some resistors in the morning and have a go. It must be the flash acting up, as the SD and screen play together fine (well.. that's my logic)
Thanks
54 replies | 1542 view(s)
-
06-28-2022, 09:28 PM
My concern is that it causes issues with any one of the SPI pins connected. Surely that would not be the case?
54 replies | 1542 view(s)
-
06-28-2022, 09:07 PM
eh? Me thick.
Not sure what is occuring.
I have an SD module and the screen connected to the SPI pins. Each have their own CS.
Added the flash IC and literally any of the flash SPI connections throws the...
54 replies | 1542 view(s)
-
06-28-2022, 08:40 PM
Display working fine..... but
Add in my W25Q128JV flash memory IC and the screen corrupts.
Seems to be when I connect any of the SPI pins
Just for sanity:
W25Q128JV
1 = CS (has it's own chip select pin)
2 =...
54 replies | 1542 view(s)
-
06-25-2022, 09:22 PM
OK. SD card and filenames all sorted. Binned it all, found another system I have used before and we are all working.
Gave up on the new screen library. The one I have works, so I will stick with that.
54 replies | 1542 view(s)
-
06-25-2022, 08:29 PM
Well I have a library called 'ILI9341_fonts-master' and it contains font_Arial.h.
Yet... duplicate libraries and no compiling. Think my IDE is broken / a mess. Time to play Minecraft instead
Multiple...
54 replies | 1542 view(s)
-
06-25-2022, 08:20 PM
This is what I had ... char PNG_FILENAME = "/TG2.png";
This is what I get
In file included from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Print.h:38:0,
from...
54 replies | 1542 view(s)
-
06-25-2022, 05:32 PM
Thanks. I think I sounded ungrateful there! I am not.... thank you for all your time and attention. It's user error 99.9% of the time!
54 replies | 1542 view(s)
-
06-25-2022, 04:45 PM
OK. I did Google. I believe my method using char was correct, it just doesn't work with the png image display routine.
Been fun, but progress is slow so time to park this for a while I think.
Post 32.... New...
54 replies | 1542 view(s)
-
06-24-2022, 09:50 PM
Err... stupid here again
In my post #16
There is a line:
#define PNG_FILENAME "/TG2.png" // Temp PNG file to load
How the heck do I change that to a variable I can...
54 replies | 1542 view(s)
-
06-22-2022, 08:56 PM
OK. A bit of fiddling, and declaring the includes in a different order has resulted in success so far.
I have managed to get it to compile with the code in post #15 with littleFS.h and MTP_teensy.h.
New flash...
54 replies | 1542 view(s)
-
06-22-2022, 08:43 PM
Deleted the repeated SD.h folder, so I assume it's using the correct one now.
But, throws this up? AudioStreams? Eh?
Build options changed, rebuilding all
C:\Program Files...
54 replies | 1542 view(s)
-
06-22-2022, 08:37 PM
Oh.... should have known I hadn't actually got it working.
I will break it later then!
54 replies | 1542 view(s)
-
06-22-2022, 07:42 PM
Quite possibly it is using the wrong sd library, but does that matter? I hate changing things when it's working!
As for all that faff trying to use other versions of the IDE..... life's too short! lol
54 replies | 1542 view(s)
-
06-21-2022, 09:06 PM
Arduino 1.8.9
Teensy 1.57 Beta1 (As required by the #include <MTP_Teensy.h> suggested above)
Loathed to update my Arduino IDE because it breaks so many things. Above this version breaks quite a lot of my...
54 replies | 1542 view(s)
-
06-21-2022, 06:58 PM
As soon as I try to #include <MTP_Teensy.h> (I have upgraded to the latest Teensy loader)
.... I get this faceful
In file included from C:\Program Files...
54 replies | 1542 view(s)
-
06-21-2022, 06:27 PM
Thanks for that. I will look into that further.
After an afternoon of bashing through library after library with different issues with each one, I managed to cobble something together that works...
Ignore all the...
54 replies | 1542 view(s)
-
06-21-2022, 02:39 PM
Well I was tinkering with the Adafruit image loader that didn't complile.
After Googling away, it turns out it also needs this library to work: https://github.com/adafruit/Adafruit_EPD
Would be really helpful if...
54 replies | 1542 view(s)
-
06-21-2022, 01:56 PM
I didn't want to repeat what is being discussed on another thread.... but OK:
This is the screen: GC9A01
https://www.amazon.co.uk/gp/product/B08V5538C6/ref=sw_img_1?smid=A3U321I9X7C9XA&th=1
This is my...
54 replies | 1542 view(s)
-
06-21-2022, 12:53 PM
Does anyone know what this commented code is for in the example?
/***************************************
Start of Canvas (framebuffer) WHAT THE...
38 replies | 1299 view(s)
-
06-21-2022, 12:49 PM
Don't know! Lol
I have an odd round display that is lovely, but being a pain to work with.
I don't really know enough about flash comms to do this properly, so I am stabbing around in the dark a bit.
The main...
54 replies | 1542 view(s)
-
06-21-2022, 12:46 PM
Sorry... had the flu. Totally knocked for six
it's 240x240. Just going to sit here now and see if I can make any headway
38 replies | 1299 view(s)
-
06-20-2022, 11:42 AM
Can anyone point out what is wrong here (clearly alot)....
#include <Arduino_GFX_Library.h>
#include "flashloader.h"
#include <SD.h>
File root;
#if defined(__IMXRT1052__) || defined(__IMXRT1062__)
// PJRC...
38 replies | 1299 view(s)
-
06-20-2022, 10:46 AM
I sent a whole evening on the LVGL stuff and got nowhere. I could not get anything to work (or even compile correctly).
Trouble is, people have a go and then it's not kept up to date (at least that is what I find). ...
38 replies | 1299 view(s)
-
06-20-2022, 10:42 AM
Sorry... I was fishing...
Direct connection to the SPI pins didn't work and stopped the Oled working (which is still playing up). I didn't want to use the direct SD card connections under the 4.0, as they are pain...
54 replies | 1542 view(s)
-
06-18-2022, 03:29 PM
I give up.
Made an SD board using just an SD card slot. It is a blank pcb meant to have a level shifting ic on it. All running at 3.3v
Tested all pins and all fine.
Connected to my NEW 4.0 with Oled display and...
54 replies | 1542 view(s)
-
06-15-2022, 08:02 PM
Thanks. I have a separate 1A 3.3v regulator on the breadboard already, so I will use that.
Thank you
54 replies | 1542 view(s)
-
06-15-2022, 07:33 PM
Am I correct in thinking I can connect an SD card socket directly to a 4.0 without any other parts?
The pinout of a MicroSD I believe are:
1 NC Not used
2 CS Chip Select
3 COPI Controller-out, Peripheral-in...
54 replies | 1542 view(s)
-
06-15-2022, 06:56 PM
Well just downloaded a whole pile of LVGL libraries and examples. None of them compile.
Not in the mood for sitting for hours working out why. Job for another day
38 replies | 1299 view(s)
-
06-15-2022, 06:05 PM
Rezo... very interesting and a nice job!
I will look into the LVGL. Did not know about that option.
I will have to research all this a lot further. How did you determine the scales etc for you data and work out...
38 replies | 1299 view(s)
-
06-14-2022, 07:37 PM
OK then, new 4.0... LCD screen purring along nicely.
Images. I want to display 240x240 images on the screen. There is a demo in the GFX library showing a .c files being displayed.
My question. How do I create...
38 replies | 1299 view(s)
-
06-12-2022, 04:32 PM
OK. Just so that I don't end up stabbing pins around again...
The display requires Din. Din = Miso correct?
So, the Teensy 4.0 has default Mosi on 11 and Miso on 12. Does my Din connection on the screen go on...
38 replies | 1299 view(s)
-
06-12-2022, 02:52 PM
Yea.... think I will give up trying to get this working with a 3.2
WARNING: Category 'Utility' in library FlexIO_t4 is not valid. Setting to 'Uncategorized'
WARNING: Category 'display' in library DFRobot_ST7687S is...
38 replies | 1299 view(s)
-
06-12-2022, 10:52 AM
Thanks for the reply Paul.
Pretty sure the processor is the cause, but I may investigate a little further. I was breadboard on my dining room table and suddenly just died, so I don't see how a metal short would have...
38 replies | 1299 view(s)
-
06-11-2022, 05:31 PM
Yes, I know the 4.0 is 3.3v. This screen is apparently 3.3v and 5v tolerant.
Well the 4.0 is dead. Took the regulator off and the 3.3v output pin from the regulator is a dead short. So I can only assume the main...
38 replies | 1299 view(s)
-
06-11-2022, 09:59 AM
My Teensy 4 just entirely died for no obvious apparent reason. I don't see anything connected incorrectly, and it's only powered from the USB lead.
Tried an UNO and the USB lead is fine, so that is the 4.0 dead I...
38 replies | 1299 view(s)
-
06-11-2022, 08:54 AM
Just changed those definitions as recommended above and it's spluttering! No display yet, but occasional flashes of light are a start
Something is still not quite right...
38 replies | 1299 view(s)
-
06-10-2022, 09:27 PM
I have found several resources (youtube video etc) regarding this display, but they all use an UNO.
Pretty sure this library doesn't support a Teensy 4.0 in any form.
I thought I would be able to simply add in my...
38 replies | 1299 view(s)
-
06-10-2022, 08:36 PM
I would appreciate some assistance in connecting this screen to my Teensy 4.0. I don't seem to be able to work out how to declare the pins (I can literally use any pins).
...
38 replies | 1299 view(s)