Thanks. I will check out that page.
I just threw a PCB at PCBtrain. Mental money. Nearly 12 times the price of China.
Looks like JLCPCB will be getting more boards until I find someone...
Type: Posts; User: SteveSFX
Thanks. I will check out that page.
I just threw a PCB at PCBtrain. Mental money. Nearly 12 times the price of China.
Looks like JLCPCB will be getting more boards until I find someone...
Thanks
I will try that later this evening, once I have tracked down a very elusive ground hum on my Wav Trigger board
Hi all
I have asked in here before for UK based PCB manufacturers, but never really got an answer. I still use JLCPCB in China who are great, but longish turnaround.
At work, we have started...
It suddenly started working fine. Bizarrely, if I throw the data at it quicker, it seems to work very well.
Well, like I said. I know it isn't correct. I know it reads the whole 50 characters...
Hi all
I have a simple app written in MIT App inventor 2. It's throwing out a text data stream once a second as a text file arranged as the following:
Y
###
###
###
\n
To save starting a new thread.... can anyone recommend a UK based pcb manufacturer?
I have the files ready to send to JLCPCB, but using a UK company would be nice. Not huge volumes to be made...
Yea this sucks.
We designed a whole host of (quite complicated) 3.2 based PCBs for our business, and then they disappeared from stock just before we did a big order.
Been waiting for them to come...
Hello all
I have been asked by a friend for some assistance with his hydraulic steering system.
He has been building a mini digger thing (it's totally mad) and the steering is controlled by a...
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...
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,...
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...
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...
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
My concern is that it causes issues with any one of the SPI pins connected. Surely that would not be the case?
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...
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...
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...
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
...
This is what I had ... char PNG_FILENAME[22] = "/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,
...
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!
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....
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...
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...
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...
Oh.... should have known I hadn't actually got it working.
I will break it later then!
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...
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...
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...
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...
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...
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...
Does anyone know what this commented code is for in the example?
/***************************************
Start of Canvas (framebuffer) ...
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...
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
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__) ||...
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...
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...
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...
Thanks. I have a separate 1A 3.3v regulator on the breadboard already, so I will use that.
Thank you
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...
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
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...
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...
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...
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...
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...
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...
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...
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...
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...