I have LVGL working on the Teensy 4.1, and whilst it is a little bit of an initial learning curve, it is quite powerful and very flexible, and is actively maintained by the devs. I'd definitely recommend it. Plus, I...
Wow, how did I miss that ?? Don't I feel a little foolish right now !! Thanks for the quick reply, Paul. For my more complex projects (like this one), I always include a "pin usage" diagram in the project source, so...
As I said in post #1197 yes I did run and was seeing similar errors. After I made the change to use LFSPRGM to store the MTPINDEX the problems went away and I posted the results of both the makefile and just transfering...
Hi !
Beginner (well, I guess...) question here.
I'm trying to compile the SPISlave_T4 sample with Arduino IDE, but I got this error : SPISlave_T4.tpp: No such file or directory
In which folder are the header and...
Thank you for your fast answer. In order to understand your idea, I checked in SGTL5000’s (codec used for TEENSY AUDIO rev D and driven by TEENSY 4.0 ) datasheet (https://www.nxp.com/docs/en/data-sheet/SGTL5000.pdf) the...
How about using a Nextion?
You design your screen offline on an editor. Then send it to the Nextion display.
The display just sits there until you send data to it.
Basically it's a display with it's own...
Easiest way is to use I2S2 for the mic.
https://www.pjrc.com/teensy/gui/?info=AudioInputI2S2
Then just connect its 3 wires to pins 4, 5, 3 which aren't used at all by the audio shield.
High Paul,
My intention is to use a I2S MEMS microphone as input and to hear the audio captured signal in headphones using the output of AUDIO SHIELD ( to benefit also of SGTL5000 output capabilities). As I understood...
RE: p#1203
Moved T_4.1 to front panel USB from HUB.
Started timer and it was minutes ... so long I forgot it was running so not sure when it finished.
> CodeCompare results show the same Diff/Errors as before. ......
It's unclear yet whether the main module number has to match up, but it sure looks like the submodule does not need to. I don't have an oscilloscope, but I can measure the temperatures of the MOSFET's and watch the LED...
After reading about this for hours and doing some testing, it appears that MOSFET's can run parallel as long as duty cycle is the same and the same type of timer channel is used:
all Flex A in parallel,
all Flex B in...
BACKGROUND: I have continued to expand my TeensyMIDIPolySynth project & am very pleased with how it keeps progressing. The current version uses a T4.1 + Audio Adapter Board + RA8875 display. All controls (buttons &...
So you ran the bat - the entirety of it was the one line shown in the post.
> Seems like the indicated steps show your system having the MTP transfer integrity I'm not seeing with the same process.
Have got Win 11...
Maybe have a look at this https://www.ftdichip.com/old2020/Support/Utilities.htm#ESD4
You would need to use one of the EVE displays, but you can interface to these easily it seems.
Running your 1_primes test. Unzip and ran bat, then copied all files to the SD card in less than minute or so.
Coping back to the PC - same thing less than a minute
1. Code compare the files transfered from the...
Sorry not running primes - don't like running bat files on my computer and no need. I am running your makefiles.ino from github with the mods mentioned:
This is what I get from running the 't' and 'v' from the...
Made the p#1197 LFS PROG edit and it created that drive.
Removed 'mtpindex file' from SD card while in PC
Programmed T_4.1 with that SD card in it - so on Restart, first seen with MakeFiles.ino with that file on PROG...
Yes, 4067 is an analog switch but in the EncPlex use case is selecting Highs and Lows into a digital pin, so noise is not an issue. Websearch digital mutiplexer, will lead to 4067 and the like.
Most important is to...
Either way is a counter, decade counter rolls over at different count.
Suggesting Ring counter if one exists. Component availability is a key design factor no matter the method.
Thanks, that is a good tip and needs attention to work right for dynamic file create and utility.
Seemed something like that {beyond my under the covers inattention} given the 1_Primes folder Not-Visited versus...
I did similar to what @mjs513 did.
Note I ran the original sketch, created files, tried to copy to pc, received same error message. Took ssd to pc, ran chkdsk and showed corruption
, which it fixed.
Modified...
@defragster - @KurtE
Sorry got distracted but think I (we) figured out the issue. Downloaded the Makefile2204.ino from github and ran the example using a 128Gb SD Card and saw the same problems that you identified,...
I was doing a neopixel suspender for a local steampunk event, and I did a quick job to solder some wires to the Teensy LC (Vin, the pin 17 level shifted, and ground). Afterward the show, I noticed the micro USB-B...
Hi, I am new to the teensy, don't have one yet. I have built a device, currently using an Uno, which interfaces to a Windows program written in PureBasic. I would like to implement it as a stand-alone device which has...
Been looking at making a GUI for my electronic lead screw project. Are there any libraries that folks know of that are a step up from the ILI9341_t3 sort of libraries? By that, I mean a little higher level. In what...
Hello!
Sorry to dig this thread back up, but it appears to be the most recent discussion about implementing Modbus RTU on a Teensy 4.1 I'm interested in communicating with a device over Modbus RTU but am scratching...
I'm not a drummer so what I suggest may be just wrong:
Say you have 5 drums. Build each like you did with the single drum. Then under the middle drum, install a hub. So two left drums wire to under the center drum,...
Updated to the fs_integration_part2 branch of USBHost_t36.
Seems to have made some change?
> Full disk copy interrupted 5 times with p#1186 Error dialog "... pool is empty"
- > deselected partially copied...
@defragster or whomever... Ok i mostly have this working except the timing between strokes is way off. Will you look this over and see where I am going wrong before I really mess it up?
//Teensy 3.2
const byte...
I will start with just having one drum interfacing with an app on the PC and go from there.
Thanks for that link, I think hid is the way to go. You just saved me a ton of time.
Yes, you can freely mix tgx with any other library since it does not access any peripheral hardware. The only thing tgx does is to write inside a tgx:Image which is basically a just buffer in RAM...
Here is a very...
Hey, MatrixRat thanks for posting reply and answering my initial question. Very interesting. Thanks.
Also, just like to say that I agree with you re luni starting new thread for the rotary encoder library he/she has...
I'm learning all about "automagically"!!!
After trying 16-bit stuff with no issues, I went to the SGTL5000 driver in the Teensy Audio Library and changed the I2S control to
write(CHIP_I2S_CTRL, 0x0010); //...
If you use only the full voltage from the battery and buck converter(s) you'll be able to change to a different power
source flexibly, as well as not unbalancing the cells.
Yes, you found the problem as well! Thank you very much for looking. It is very appreciated.
Still have a problem with resetting the counter value to zero for testing. I get some strange output, but that is just...
You should try with your T4.0, since FreqCount takes a gate interval in microseconds for T4.x. See the FreqCount library examples Serial_Output (T3) and Serial_Output_T4 in TeensyDuino.
Think I found part of the problem! Was calling Serial print way too often. I updated the code to only print out the RPM once every 100ms, it seems it was trying to output every time it went around the loop. That plus...
HID is part of the USB specification. There are people on this forum, Paul and others, who know a lot about USB and HID, so if you go that direction or CAN, you should be able to get help here. I thought of CAN because...
That sounds logical. This is great info, I will look into CAN bus. I know that the edrumin which is a teensy based drum module uses something called HID to send data for the monitoring of waveforms and such.
That was easy ;-)
You print the current position in the encoder callback. At high encoder speeds the printing is not yet done when it tries to invoke the callback again. This will basically lock the system.
I moved...
Got a crash at Count = 99591/100000 counts. freq = 100000. My instance of spindleEncoder did not print out the count of 99592, but did for 99591. It printed out "-", then restarted and printed the setup information. ...
Think it will crash before then, but yes. Also, I see that EncSim is outputting a couple of random counts in the beginning on start up. Not always, but occasionally. Might be the outputs changing state, but it is...
@mjs513: That looks like an old fileset pre MakeFiles "2204", please Purge and recreate with "t" command on start.
The verify scheme and mechanics of file content have evolved. Old file sets are not...
@Bob, I have made myself primitive test examples (basically pass-thru or a sincos generator to an output). Based on your "PassthroughF32", which now automagically does hires. These replaced lines print the level in dB,...
RE: Posts 1188,1190,1191,1192
I'll sync to the latest and confirm when I get back to it ... later today.
> assume Mike/Kurt are running Win 10? : Win 11 here on desktop, will have to try on Win 10 laptop.
Try to...
The Error_Callback is a left over from development and it not working anymore. I'll remove the leftover code in the next update. The error callback was invoked whenever the internal state machine detects an A/B pattern...
@luni, sorry to keep bothering you. In your Encoder library there is a member that is an error callback. I keep getting odd resets at certain speeds, where the count value stops updating. How could one use this error...
Now with some more digging I might have wanted to change the title and contents of my original post to clarify the issue, but I cannot find out how to do this?
It might be that the MIDI device (Novation Launchkey...
Feel free to post your program or a link to it for a review. My experience is that you can stare for days at some code and don't find a bug while someone else with fresh eyes might see it in minutes.
It will use...
Ok catching up now after the dentist. This is what I currently have on my ext 64gb samsung sd card:
Storage Index 2 Name: EXT1 Selected
Space Used = 19660800
Filesystem Size = 63831015424
Directory
---------...
Hi @defragster
Quick update - as I mentioned in the last post I merged back to the one _part2 branch and deleted the _part2_format.
At some point soon I will take a closer look at the issues you are seeing with...
This does look like a major contribution. Thank you Dragon!
Will this perform 24 or 32 bit conversion at 96khz? Because if it does this is very exciting for pro audio users. My personal interest is 24bit/44.1k.
I...
@defragster - not sure about everything else but I just copied a 1.1MB .bin file to an ext sd card without issues, then took the card out and was able to transfer back to the pc. Was also able to transfer it to the PC...
@PaulStoffregen
All I can say is ditto to what Kurt said. Parts shortages I think is going to be a way of life for the next year and may get worse. Sorry to hear about PJRC getting hit with Covid-19 but sounds like...
Hi Everybody,
I am working on a project that needs to count the total number of photons emitted in a very short time interval.
This is done counting the pulses (one photon = one pulse) coming from a photodiode.
Up...
Yikes - I hope you all stay well! Also keeping fingers crossed on port shortages!
I just merged the branch with the Format code back into the branch with the open PR: ...
I did some googling about electronic drums to see how they work, and I still don't know much, but it looks like you have done a lot of good work on the project. If you haven't already put multiple drums together, it...
@luni, what you showed me works! I didn't understand how to use the command from the header file - ie. I'm not a very proficient C/C++ programmer. :(
Have an unusual problem showing up. Occasionally, my program is...
Yeah, been thinking about this recently.... we really do need better notification of filesystem / device connect & removal. It really wants to be integrated at the FS class level so the API is consistent.
Might be a...
That's good to hear, thanks! A simple example set up with t3/t3n with a few 2d primitives and text using alpha blending would be a big help getting people started.
another question, can you mix tgx with ILI9341_t3(n)...
Hi,
I'm thinking about teensy 4.1 to replace an esp32 which reached its limits in a project. But I need ethernet and wifi.
For ethernet, no problem, it's embeded in Teensy 4.1, cool!
But for wifi, it seems more...
It will be interesting to see what you come up with. But as noted, as far as I know there are no T3.5 or 3.6 chips available and no ETA when they may be available.
Always interesting to see different trade offs.
...
I believe what you want is a MIDI splitter, so you can send the MIDI output from your keyboard to both Teensy and something else which receives MIDI. Right?
Many MIDI devices have this built in, called "Thru", which...
I am working on reading an External 3 bit parallel CMOS ADC (44MSPS) digital output through teensy 4.0/4.1 board , my only concern if the teensy 4.0/4.1 can handle this amount of samples then print them in the IDE...
Hi,
I am totally new with Teensy (have a very basic understanding of the code) and am trying to build a MIDI controller with 16 stretch sensors (adafruit conductive rubber) as separate MIDI inputs. ultimately, I...
Very close, but with some improvement. I notice on that board the Teensy sits on top of the board with the USB port unavailable when the shield is on top. My design has the Teensy facing the opposite direction and...
Only change to github.com/Defragster/.../MakeFiles.ino was an #ifdef.
Starting a T_4.1 with a usably empty SD card running MTP Experimental Makefile.ino create files with "t - Test Files write 2204"
> confirm Windows...
Hi,
Yes, the tgx library is independent of the screen (an driver) used. All the library does is creating the graphics inside a memory framebuffer and then you choose which ever method you prefer to display the...
Hi Folks
I'd love to "feed" the digital audio signal from a YAMAHA YMF-262 (OPL-3) FM chip directly into Teensy so I can play with it in the digital domain before pushing out of the audio shield.
According to the...
The I2S microphone has LSB bot 0 while the I2SInput (from audio library) uses as LSB bit 16 (uses top 16 bit)
you can hear only very loud signals
test: hit on microphone, you should hear something.
Unfortunately...
I´m building a synth where I use an old midi keyboard to control a teensy using the schematic on this page.
I want to be able to control other synths with the midi controller, so I simply split the signal from the...
Thanks, I have gotten great reactions from people so far which is encouraging when you have been working hard on something. The difficulty is really to differentiate the cross sticks from the rest. So far this is the...
This looks really useful, I would try it with your ILI9341 t4 library, but my PCB is already set up for the t3 version and i would have to take my module apart and cut traces. will it still work with ILI9341 T3? the...
The problem relates to simple Notepad text file open using MTP when size is 500 bytes.
SD card on T_4.1 holds files created up to Jan/Feb 2022. The Makefiles folders and files.
> Going to set that Samsung 128GB SD...
Honestly, that demo vid blew me right out of the water.
It seems that first, you need to establish comms with juce so dig in discover what it needs as a pathway.