Replying to myself again...a quarter of that heatsink is likely lower than 36 C/W, maybe 30 or high 20's because all 4 sides are exposed to fresh air. I'll see if I can find a commercial product that fits...
@MichaelMeissner
Have no idea to be honest - been so long here as well since I played with those displays. Been busy with other stuff besides Teensy today :)
EDIT: Oh by the way managed to implement rotating a...
Thanks for confirming that the switch statement is not well written and especially thanks for your suggestion on how it should be written; I'll try a code tweak tomorrow.
Here's my code:
#include <Arduino.h>
#include <Audio.h>
AudioSynthWaveform sinegen; // generate waveform for test
float SINE_LEVEL = 0.5; // sine amplitude (max is 1)
float SINE_FREQ = 100; // sine frequency ...
I tried a simple program where I just generated a sine wave with AudioSynthWaveform and send it to AudioOutputSPDIF3. It works fine and I can receive the S/PDIF signal and see the sine wave just fine. However, then I...
Looking at the AudioPlaySdWav code (which is deeply nasty), it looks as if it may require an audio interrupt to fire after a .play(), before .isPlaying() becomes true. A crude fix might be putting a delay() in, thus:
...
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,...
Alright been a while, but I think I finally know the answer. If you are making a custom application and can read the raw hid values then you can use as many hats a you want. However some applications use libraries such...
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
Did you try the 2 resistor test on the MISO signal? (described in "Step 2: Proper MISO Tri-State Behavior" at the link MichaelMeissner shared)
When all SPI devices have their CS pins high (not selected) your...
https://www.pjrc.com/teensy/datasheets.html
https://www.sparkfun.com/products/16771#:~:text=When%20running%20at%20600%20MHz,support%20for%20dynamic%20clock%20scaling.
This 1.1" x 1.1" x 0.6" heat sink appears to...
I was wondering if these calcs are accurate:
3.3V * 100mA (@600Mhz) = 0.33 Watts of heat
Junction-to-Ambient, no heat sink, natural convection: 40.8 C/W
0.33 W * 40.8 C/W = 13.5 C temperature difference
max...
Searched the forum for "usb 12mbit" and found this thread
https://forum.pjrc.com/threads/68347-USB-Output-Force-12mbit-and-change-bPacketSize?highlight=usb+12mbit
Here is the paper that describes tri-stating (as well as using pull-up resistors on the CS pins, and making sure your libraries use transactions):
https://www.pjrc.com/better-spi-bus-design-in-3-steps/
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...
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 =...
It's been awhile since I played with ST7789 displays. Refresh my memory which pins should be used for the CS and D/C pins on the Teensy 4.0/4.1 for fastest frame rate.
From the pinout card, it looks like pins 10,...
So a quick follow up,
i had accidentally switched up the +/- wire of the sync signal on the way to the galvo, this caused the weird behavior.
My code works very well, it runs good on 1Mhz and it takes around 20us to...
I hadn't noticed that, but given the parts shortage, I can imagine offering a version without the ethernet phy.
And if your SMT soldering skills are rusty or non-existant, you can get pre-soldered versions of the...
Until recently, we had the Arduino build process automatically create a .lst file. The line which does it is still within boards.txt, just commented out.
It was removed because objdump is extremely slow for certain...
Thanks for pointing out that VM/VS uses what has already been installed for Arduino. I find that much preferable to the PlatformIO approach, and I'll try it again.
If the output of the 3V3 regulator shows only 1.6V, the regulator may not be dead at all but just running into its current limiter.
Please check whether there is a heavy load on the 3V3 pin. The 3V3 output of the...
Yes, no problem. Better not use 5V as not all Teensy's are 5V tolerant.
But for those simple rotary encoders, you hook them up differently. No need to use 3V3 or 5V.
Connect encoder pin Out A to Teensy pin 5,...
Quick update:
I am trying an experiment with the SD drives and the notification event we send to host...
#if 1
MTP.send_StoreRemovedEvent(storage_index);
delay(5);
MTP.send_StoreAddedEvent(storage_index);...
It seems that the while (playWav1.isPlaying()) code works the first time it's called but doesn't work the second (and subsequent) time(s) it's called. In the code section below, it should wait until the outgoing message...
Interesting, that's news to me that PJRC has started manufacturing both versions. I just checked the SparkFun 16771 stock that I have and it has the ethernet.
As Kurt mentioned the usual way is to use objdump.exe.
Here an example using PlatformIO:
After compiling, go to the vsCode terminal and cd to your build directory cd .pio/build/whatever_board_you_are_compiling_for....
I wasn't referring to the ethernet jack. More referring to the ethernet PHY.
On PJRC.com there are versions with and without ethernet.
https://www.pjrc.com/store/teensy41.html
Another question: the Teensy only have 3.3v pin power supply. Majority of encoder are 5v to work. With only 3.3v it is ok ?. What is the solution if it not work properly ?
Can I get the 5v from teensy 3.5 vOut to...
If you read the item description, it's the same as the SparkFun Mfg # 16771, which is here:
https://www.sparkfun.com/products/16771
Having recently bought a ton of these from SparkFun, it is a Teensy 4.1 without...
Digikey has Teensy 4.1 in stock now but it doesn't say whether it is with or without ethernet.
https://www.digikey.com/en/products/detail/sparkfun-electronics/DEV-16771/12180099
I assume it is with ethernet ?
...
I have a T3.6 that has been powered up with some connections unplugged
the board illuminates the led on startup but faintly
I have checked the voltage - there is only 1.6v
there is no serial communication
...
Hmmm, so the test I just did had this effect:
1. The bootup was normal, phone down and I hear the power up beep from the earpiece as I power up.
2. Lift phone and hear the outgoing message then record tone, I record...
I am sure there are options to give you a list file. Been awhile since I have looked..
The Arduino build gives you a .sym file which tells you where everything is located...
I then sometimes will look at... When...
I've been married for over 23 years (3rd time lucky), the wedding Ion Jul 29th is for my youngest son; hope your wedding goes well. I've just retired (Aug 2021) and electronics is a great hobby for retirement.
I was...
Yes you can connect to those pins, not sure about any specific header for it. But if you find one that works...
I experimented using a few breakout boards and did a quick and dirty castellated extension board to play...
Im using visual studio code to build my project, but some parts i just want to see what the compiler generated.
There are “start debugging” options in the menu, but it doesn’t do anything. (Need to connect some way...
Ah yes. Okay that makes sense I will try it. Thanks a lot.
Congrats on the nuptials! My wedding is July 22nd. Fiancee is really starting to tire of the house being an electronics workshop for something I said...
There's a comment under the Youtube video by Surreylic, and one of the answers says...
nevermind, had enough time to figure it out myself. But thanks for your hint, saved the wedding today! For anyone with the same...
I just have one question. I use a mixer like this on primesound on live shows and I want to listen only my instrument and voice (input 1 and 2 for example) on my In-Ears (Im the only one using it). How do I select only...
Hello,
I have a question.
I'm looking for a simple Switchscript with switch hold function what i can use for ETS2.
To drive realistic automatic i need to set the gear in Neutal, Drive or Reverse. When you do...
The t4.x's have components on the underside of the boards. You MUST leave a gap for these components or have your PCB routed to allow for these components.
I would recommend Visual Micro with Visual Studio. It gives the stability/understanding of the Arduino system with the IDE of visual studio and Teensy Debugging.
I use it all the time and would not go back. I have used...
Hey, I'm also in middle of building this. Did you make any progress?
I'm having the same trouble with the bounce, but I actually think it could be the hook switch on the phone not always sending the signal. The...
Thanks for your advise, I think you are right, I just need a 24 pulse relative encoder. It s to change the FX Time between multiple FX with MIDI messages (Pioneer Rekordbox) and I don't want fx time change abruptly for...
if a the plastic of the header is too much height, know that after the header is solderd on, you should be able to slide that plastic piece off the header,
with use of a little screwdriver or a knife. this way you can...
I have installed latest stable Arduino IDE (1.8.19) and Teensyduino (1.56). The problems I have with Arduino IDE is productivity : code edition, selection, completion, navigation... For me, VSCode is really faster. I...
I've tried PlatformIO a couple of times, but ended up going back to Arduino. Arduino has lots of issues, but I do understand how to install it and maintain it. Can you explain where in the PlatformIO process was...
Thanks. After some discussion (https://github.com/ssilverman/QNEthernet/issues/15), it turns out that this is expected TCP behaviour. The solution to reduce the waiting time is to either use keepalive or reduce...
Hello,
Thanks for the tutorial, I have dropped Arduino IDE. (Maybe arduino 2.0 would be better)
Next step would be to have debugging available, to avoid "println" debug messages :D The PlatformIO single way to...
In the teensy comparison chart located at https://www.pjrc.com/teensy/techspecs.html
it shows that the Teensy 4.1 has 2 SPI ports, but on its page https://www.pjrc.com/store/teensy41.html it states that there are 3 SPI...
@KurtE - Saw pretty much what @mjs513 saw.Serial monitor shows removal and insertion of SD card (built in) but the mount stayed mounted in the file explorer. This is using Ubuntu. As for USB it works flawlessly....
You say you looked at this? According to FrankB, it works.
https://forum.pjrc.com/threads/48430-Program-Teensy-from-another-Teensy?p=289237&viewfull=1#post289237
Thank you for your prompt answer but the problem is that I already have a few units in the field. If I have to upgrade their firmware to include the Flasher code, I might as well use a PC ...
This is why I was...
I recommend installing direct from SD rather than via a second T4.1. You need to take what you need from FlasherX and integrate it into your own application. It’s or a plug and play solution.
@KurtE
Gave it a quick test run - nothing extensive and mostly with a hub attached more of stress test on the add/remove feature. It does work:
1. Using my M2 drive inserted on boot up it recognizes and I can remove...
Sadly I killed my first Teensy today.
I have been using teensy's since 2015 but never killed one before.
Now while working on a GPS logger I accidently touched the SCLK (13) with the positive pole of a
freshly...
Thank you very much for helping and for your time in creating this utility.
I am lost though as to how it can be used. Here is what I have:
1) A Teensy 4.1 (T1) running some old firmware which I wish to upgrade....
A few have people have done what you want via "FlasherX" discussed in the thread below.
https://forum.pjrc.com/threads/43165-Over-the-Air-firmware-updates-changes-for-flashing-Teensy-3-5-amp-3-6
The latest release...
Info in msg #11 sure looks like all 3 cards are working properly.
I have no more guesses left as to the cause of trouble. Only suggestion I have at this point is to add more ways your program shows status, so you'll...
Sorry for the double post, but i have tested with using a pwm signal.
Both seem to produce about the same results, although the uno is a lot less stable. The uno shows a result flickering between .30 and and .40, while...
Electrically, this absolute endless encoder datasheet] can be connected to a Teensy 3.5. Just use pinMode(pin, INPUT_PULLUP) for pins P1-P8 and then digitalRead each pin.
However, be aware that this endless encoder has...
How do you suggest I do this? I could run a flat edge (like a ruler) to feel the protrusions. Will that work?
I'm trying to get access to the pads underneath. On some 3.2's I soldered an elbow header but that's not...
Some updates on MTP and MSC (USBDrive/USBFilesystem):
I have been playing with some of the what I think of as missing pieces within the MTP and USB Filesystem code. In particular how to make it easier for Sketch to...
I used the same computer, usb cable, port. Also no change in the attached TFT, sensor (DS18B20), joystick or connected CR2032 for the RTC.
At this point I would really like to blame the SD cards, there is still...
I think there's something slightly screwy with your maths here - each I˛S out gives two channels, so you can have 4x2 on I2S1 and another 1x2 on I2S2 for an easy-ish maximum of 10 output channels.
For the "custom...