I'm building a solid state power amplifier for amateur radio. I need to get just the MHz that the amp will be fed (1.8 to 54MHz). I am using the stock FrequencyCount with a Teensy 4.1. It is accurate to 30MHZ and not...
@mjs513 - It did not build at when I just downloaded your branch. I was able to get it to build was to copy the conifig_example.h to config.h
That does not show up as a updated file in github as config.h is in the...
About nine months ago, I implemented Bidirectional Dshot 600/1200 with support for telemetry using a Teensy 4.0. It very worked well. I used the SPI peripherals in the manner that MarkT suggested. I used the SPI...
Quick update:
I still have not finished the above of a hybrid version, will work on that more tomorrow.
I did push up my WIP stuff up in the MEM_send_object_large branch, with a few random things some of which...
That address will resolve into a calling function in a .lst or whatever file created during the link.
or you could try the GDB setup. If using TSET when assembling the COMPILE.cmd just say yes to debug and this line...
@KurtE
Thanks ... you know me can’t seem to avoid issues like this;)
Actually all you need is T4 and a LA on pins 3 and 12. On start you should see pin 3 low and the waveform on pin 12. That’s it. Think I am done...
Probably best to avoid it ;) :D
For lack of better stuff, I would probably start off with things like adding digitalWriteFast or digitalToggleFast at different places in the code to see if you can get it localized...
@luni
Since it looked like it was hanging I added @Frank B's hardfault mod to core to see what we got and sure enough:
Hardfault.
Return Address: 0x2A41F0E8
(IACCVIOL) Instruction Access Violation
Not sure...
Ok a couple things going to be discussed in this post.
@luni
Was working on you changes to the lib but for some reason, either the T4 is hanging or the timers are not starting. I successfully compiled and loaded...
Hi guys,
I am trying to build a FMC for the Boeing 737 Zibo using a Teensy 3.6.
My problem is that the only types of data available in Flight Sim Controls are FlightSimInteger & FlightSimFloat.
For my project,...
Generally speaking, 12V addressable LEDs need normal 5V digital signals. So far we've not been given a link or datasheet or other solid tech info about the particular LEDs being used in this project, so of course any...
Not going to order just to try a PICO - but AdaFruit emailed the RP2040 PICO is back in stock.
If they show up before SparkFun order is placed it might be worth $40 ...
This is awesome, I've followed your and Luni's conversation on the TeensyTimerTool threat (not sure if I can include a URL to it)
I stumbled on the CommandStation-EX project a few weeks ago and thought that even the...
Thanks Guys.
Is it possible to draw a simple circuit with Teensy 4.1, 500 12V WS2811 pixels and 12v
power supply.
Will most likel need power injection?
Thank you.
Doug75
Like Teensy 3.5 & 3.6, which were about a 2X step up from Teensy 3.1 & 3.2 but still essentially the same chip architecture, any Teensy using the IMXRT1170 chip will be a 4.x model number. Even though it's a higher...
@MarkT, thank you, that explains it! I haven't worked with electronic circuits in 20+ years, but wanted to get cracking again with the Teensy board. Never ever realized the tutorial wasn't for newer boards. Tutorial 2...
74HCxxx buffers won't handle 100MHz (*), you need a low voltage CMOS family like 74LCX, 74LVC, 74ALVC.
There's a significant power drain running full-swing logic clocks at these high frequencies though, its normal to...
In your example of getting analogRead() = 769, and the Teensy 4.0 being a 3.3V device, it would follow that the converted voltage is 2.48V (3.3/1024*769). Teensy4.0 is working fine and linearly, and yes please do not...
I just found out there are framerate calculator tools online. This one says a PYTHON480 sensor could do 1600 fps using a 4x600 pixel Region of Interest. Neat!
You are using a tutorial that is talking about a Teensy 2 and a Teensy++, not a Teensy 4.
For a 3.3V microcontroller you need to use the 3.3V rail for the voltage divider involving the thermistor.
As chips get...
@Paul, important: Please edit this page: https://www.pjrc.com/teensy/tutorial4.html
5V is not good..
https://forum.pjrc.com/threads/65961-analogRead()-on-Teensy-4-0-not-linear?p=268091#post268091
Hi!
I'm going through the tutorials with my new Teensy 4.0 and am having issues with the temperature sensor (https://www.pjrc.com/teensy/tutorial4.html).
My code and breadboard is identical to the example, and I...
Oops,
It looks like my error has to do with the way I'm storing the filename..
when I use a string literal, it works fine in this version of the code.
Feel free to delete post, I don't seem to be able to
I take that "small" back.
Actually, the PLLs are locking within 100 CPU cycles @ 600MHz. Pretty fast!
More than fast enough to generate and transmit a stereo 88..108MHz FM signal... :) with 352.8kHz sampling rate...
Hi I'm new to teensy and hoping someone can show me where I'm going wrong.
I am running into a problem where AudioPlaySdRaw.play("FILE.RAW") works when called once, and not when called again. I am trying to call it...
@KurtE - I hope my msg didn't sound too harsh. I really like Teensy, this little board has give me so many hours of fun and learning. My whole point is that I think Teensy could win some more traction if the...
I hear you there!
I have a few little board I made up for other displays, RA8875, IlI9486/9488.
They sure help a lot, especially when using 16 bit parallel.
I knew about the data sheet SPI bus setting, though...
Good morning all,
As I think I mentioned, I screwed up my order and forgot to hit the final place the order at Sparkfun after the paypal stuff... So it will be awhile before I can order any.
Will be interesting to...
I have github but i dont share my code.
I know that 80mm/s is not fast.
All my calculation when i send command to controller is executet between pulse when machine work. In 10us interval. This limit the speed. But is...
update:
implemented indexedDB projects
so that now every time the project name is changed
there is a new "file" with that name saved to the indexedDB project "dir"
which can then be opened in the new projects...
Are you sharing your code? Got a github site? Though, 80 mm/s (4800 mm/min) is not very fast. For lasers, 70K mm/min has been achieved with a stock T4.1 running grblHAL, according to the developer.
By the way,...
Just a heads up, I placed an order at Mouser yesterday, went ahead and added in a couple of T4.1 (of the Sparkfun variety).
Then, just before the shipping cutoff, get notice that I needed to fill out a End User...
No, nothing else configured on pins 20 and 21. Those pins work fine as analog pins. Odd
Well, it seems OK at the moment. I just added a counter that increments 14 on each loop. Each returned value from the...
I don't see any reason pins 20 and 21 should not work. However without seeing the program it may be hard to tell. Example if you still have the PulsePosition library configured and it is using those pins or...
As...
Not necessarily, your frame rate calculation is just valid for the image transmission, but the sensor array has a minimum exposure time in order to create a useful image, that would be the frame time for a single pixel...
That was my first thought as well. Since I had such a $2.50 module laying around, I decided to give it a try.
The nice thing about the AD9833 is that it has 2 frequency registers that you can pre-program and than...
OK. This is where we are.
My Robbe receiver is 8 channel. This uses channel 8 to loop onto a second decoder that gives me a further 8 channels (with lower resolution, but fine for auxiliary functions).
It is PPM,...
@Concombre
When you say it doesn't work want do you mean - what sketch did you use? Which version of the LittleFS library are you using - the one that came with Teensyduino?
Sorry to jump in the discussion, but I would like to give my 5c regarding the Pico, Pi foundation and Teensy.
As someone new to the Teensy ecosystem, and without much embedded background (besides general CS courses...
Congratulations Paul!
Now you can breathe a sigh of relief after all the challenges with getting the bootloader working for the IMXRT1062. As @defragster said now fun begins with doing the documentation. Think you...
Ok, it's official, here is the T4 bootloader chip soft release!
https://www.pjrc.com/store/ic_mkl02_t4.html
The web page is currently blank. I will begin filling in the tech info later today.
Well ran a test this morning and the train has departed: https://forum.pjrc.com/threads/65956-DCC-for-Model-Train-Control-with-Teensy-3-x-and-Teensy-4-x !
Am planning to redo what I did to use a Teensy specific...
Sorry, I have not had enough coffee yet so I may not be following this yet.
But I have having a hard time trying to understand your setup (sorry it still is early here)
Do you have an RC receiver that is receiving...
Decided to port the CommandStation-EX (https://github.com/DCC-EX/CommandStat...) library that currently only supports Arduino Mega and Arduino Uno boards to the Teensy T3.x and Teensy 4.x (https://www.pjrc.com/teensy/)...
Thank you so much! Thought about using rectangles to hide previous text, but i would never think that setTextColor(text_color, background_color); would be much faster. Very good advice! Some extra blanks are also no...
Hi all,
For a custom Teensy LC device I'm using a NX2520SA-16MHZ-STD-CSW-5 and I'm looking for a cheaper solution. Can anyone give me some recommendations?
Hi,
I don't claim to re any sort of expert but I see a number of possible problems.
You have setup snooze to use digital and alarm - you have not used any digital input to wake up, so take the digital out from the...
There are lots of different things you can do to speed things up.
a) The use of Opaque text drawing versus transparent. Again your code does not show enough info to know what you are doing. But if you do...
Well I didn't realise this was going to be quite so impossible.
Obviously, PulseIN is a blocking function. I hoped to run the majority of the 'non urgent' channels through an analogue switch and just sample them...
Great, looks like it works! Let the trains departure :-)
Just a comment: If this is only for you, your method of hacking the teensy timers into the code is certainly fine. If you want to have it integrated to the...
Yesterday tested the same display with this library. Just measured microsecond needed to display one string (about 25 characters long) on the screen. I was shocked with the results. It's about can bus debug.
Here is...
Seemed that might be the case as soon as I wrote out all the 3.x numbers - and skipped the LC. There was more flash you noted in the newer BL chips - but there is a lot more work it seems to make a 1062 deal with the...
The T4 bootloader chip will be a completely separate part from T3. Much as I'd like to make "one chip to rule them all", the IMXRT vs Kinetis differences are just too much to support with a single chip.
Whether I...
The JFET buffer is quite common in guitar pedals (this sort of thing), but a TL07x buffer makes sense too (and should be better quality). I’ve swapped the buffers out for TL071s – they work fine but the noise is still...
@mlu: yes, correct. It is a standing piano, so the movement is in the picture plane. And the next iteration would be to monitor a couple of such 1x400-ish pixel rows and detect when a hammer "enters" and "leaves" each...
If 'Hello World' was easy then everyone would do it :) :(
'true' .... err I mean '1' :confused:
Well - software is always updatable AFTER the hardware ships. With some thousands out all of a sudden the 'CMake'...
That is good news getting those completed and good confidence in the bootloader chip able to do the job for a fresh 1062 !
So after first contact to a new 1062 it will present a factory Teensy - with unlocked...
Hi Tim,
I followed getting_started_with_pico.pdf to the letter, so I got VSCode up & running. There was a hickup that the SDcard was full during installation - but no such message during install.
Then the hello_world...
Hi all.
I have this board and this is best choise.
I overclock my teensy 4.1 to 1Ghz with extra cooling.
I have write my cnc controler with s-curve acceleration. My max speed is 80mm/s. Teensy calculate next motion...
thanks PIO, yes I know plate is not be the most appropriate type of reverb for drum sounds, but I've testing yours and it really sounds much better than the Teensy reverb object that was using before, nice stereo image...
I programmed a few more chips and put them onto virgin Teensy 4.0 & 4.1 boards. Now I have these 8 boards which I'm using for "final" testing.
1 of these 8 is the Teensy 4.0 which had crystal startup problems. ...
I'd leave the attn as it is. It is used to attenuate the input signal depending on the reverb time, creates more attenuation for long reverb tail to avoid clipping.
The n calculation looks fine.
However, for shorter...