Got it, thanks. This is my first rodeo with CAN.
Oh, and I'm at the "now what?" stage - I've got the T4.1 hooked up to a Waveshare SN65HVD230 CAN transceiver board. Does anyone have any suggestions on what library to...
CAN is a multi drop bus. Not like UART Serial with one end Tx and the other end Rx between two devices.
So all connections use the same line for Rx and the same line for Tx. Then follow the rules for communication...
Another one: it's MicroDexed (DX7 FM synthesis) for a Eurorack:
https://m.youtube.com/watch?v=JrZnEHhoTDk
https://codeberg.org/nervousapps/MicroDexed/src/branch/nervoussupermother
yeah, so far I am very impressed. I have a LOT going in on my board. It is a flight computer for a rocket, so it is sampling a dozen sensors, serial to a GPS, serial in/out to high power radios, checking a dozen pins...
yes, the queue itself worked, the return was wrong by one offset. essentially when deleting items from front or back, the head moves forward and tail moves backward, respectively. even though it does, the data is still...
How about an RTX1170, mbed and Arduino compatible, with lots of flash and ram, basically an upgraded Teensy 4.1 with the addition of a 10 pin JTAG header, or at least empty drilled pads on 2x5 1.27mm centers. PlatformIO...
Two comments. First, I also hate Arduino for all but the simplest projects. I use PlatformIO https://platformio.org with VSCode. It supports the Arduino framework but with more advanced features such as library...
An important thing to remember is that the SD write routines in the latest version of SD (which is actually like SDFAT 2.0B under the hood) takes only a handful of microseconds to write to the SD card. It blocks...
Disregard the OP. It turns out I had an instrumentation error in my measurement when I combined the two threads. I can confirm that I can run the two threads with I2C sampling on one thread and SD logging at high rates...
I have been using grblHAL on a Teensy 4.1 with a breakout board that @PhilB sells on Tindie, since mid December 2020. I used it to replace LinuxCNC to drive a parallel port CNC controller box that I originally made...
oh, sorry for the crippled post... ^.^
Now the problem is on Teensy 4.x, the battery buffered RTC RAM seems to be not working in several aspects. Teensy 4.1 documentation says
These LPGPR0 ff are not defined. SO...
Man, did we have fun with a tape loop and a CB radio - 40 something years ago.
A few questions:-
What kind of CB, AM, SSB, FM whatever.
Do you have it's schematic to explore whats on the inside of the Mic...
Okay, here is a video from a slide show run on the T4.1 and using the pixel pipeline for transitions and pan and zoom effects during slide display.
The video quality is poor------it was filmed with an IPhone...
I've got a significant code base and program that runs on an ESP32 that I am porting to Teensy 4.1. On the ESP32, I am taking advantage of the two cores, running a bunch of sensor logging on one core and logging to the...
I will admit, for a while yesterday I had a case of "blank page causes writer's block", but now it's going pretty well. Hope to have it (reasonably well) finished by tomorrow. Hopefully that will be in time as chip's...
Very cool word with picture setup! Interesting how far along the power goes on 1062 before the bootloader gets powered. Not that I have plans to build either - but will be interesting to see how the 4.0 versus 4.1...
By the way the cost of recompiling all the files is considerably greater with (spinning) harddrives than with solid
state drives - IMO the best way to get responsive software is to force developers to work with slow...
50k is a bit high for ADC use, as this means the ADC multiplexer sees upto 25k impedance from the pot.
When switching between pots the charge stored on the sample&hold capacitor of the ADC can lead to crosstalk...
I'm working today on the documentation. Just added a buttons with a little JavaScript, so you can (hopefully) visualize how the power up sequence works.
https://www.pjrc.com/store/ic_mkl02_t4.html
Hi , thanks for all this information's :)
I use the ILI9341 , so i will then not connect the MISO , TFT_RST will then be connected to VCC.
For the user button that is conflicting with TFT_CS i will chose another pin ,...
Exactly, when I had a 75mm jumper cable between pin 8 & 9, it did not work well. So I had to bent a wire for the shortest distance possible.
Mind you, Teensy 4.x pins can only handle 3V3 maximum!
Paul
Thanks for the info. It seems that I need to condition the input a bit before giving it to the Teensy. Currently, with a square wave, 5V on the high sice, -1 on the low side, it counts far closer. My goal is only to...
Hi,
I have not used I2S with the TFT display.
TFT_RST is not mandatory AFAIK. I used ILI and ST display. As I recall at least for the ST display it is not. I think same for ILI.
TFT_CD/ you mean DC. As I said I...
Since I'm interested in measuring MHz's as well, I tried example "Serial_Output_T4.ino".
The serial monitor shows a rock-solid "50000000".
Even when setting analogWriteFrequency(8, 75000000); // very short jumper...
Hi Teensyers,
I’m working on a maker project for a friend, but am having a hard time figuring out some technical details. If anyone has any ideas on how to solve this problem I’d be super grateful.
The concept:...
ok, bought two teensy lc boards, set up a simple usb midi to serial midi sketch on one, and the opposite on the other, boosted MIDI (Serial) Baudrate to 1000000 and it works nice and fast! so cool...
Could you just divide the input signal by two with an appropriate flip-flop or counter IC? You would lose some resolution, but you would not have to worry about messing with the software innards of the frequency...
Hello Jean Marc :)
I just have a question about pin-out when i want to use a SPI TFT LCD.
As i see , the 2 user keys are in conflict with TFT_RST and TFT_CD , the I2S audio data pin is in conflict with TFT_DC.
Some...
Yup, when I first wrote my code I just had everything in the INO directory but when it came to adding 128 GM instruments (128 .cpp and 128 .h) things got a bit busy so I looked for a way to divide and modularize things....
Does it fail with deepSleep or hibernate too? Low power in the Teensy 4.0 is much more complicated than T3.x's, so getting Snooze to be solid for the 4.0 is going to take some more work on my end. As far as why the...
The code snippet I posted is an example. You can run it. It just loads 1.0 to 9.0 and prints the last three values only the wrong values get printed. After that it prints what is left in the queue using the list...
The Snooze Library seems to kill writing to EEPROM.
Is there any code for recovering Writing To EEProm after waking from sleep?
The code below demonstrates the problem.
#include <EEPROM.h>
#include <Snooze.h>
...
If you ever come to Germany you should definitely spend a day in the Minatur Wunderland in Hamburg. Here an official advertisement video
And here more info about controlling the thing (German, but you can...
Hi PJRC Forum,
I would like to read a value from an analog pin A0 on Teensy 4 while also having another pot wired to A1, both 50K pots.
For my purpose, the middle pot pins are wired to A0 and A1, the left pins to...
Easy as that, eh? Hats off to you, sir. :)
I’ll go with a decent 9V PSU for now and iron out the finer audio details then see how much more energy I have for power supply design.
Thanks everyone for the help! I’ve...
Cutting vin-vusb connection stops your board being powered up through the usb plug. Vin still works as normal. That is you put 3.6-6v on it and your teensy gets supplies with 3.3vdc through its onboard regulator.
I...
Most guitar pedals don't need to have resilient power supplies because most have no digital circuits inside them. When powered by batteries, you get lowest PSU noise because batteries have no noise really. When you...
Morning @KurtE
You are right not all trains are DCC capable. Some will say DCC ready so its easy to drop in a decoder ($32), which is what I did for one of loco's, digitrak seems to be pretty good. Then of course you...
Great you are making progress and having some fun! For your granddaughter ;)
As a kid back in similar time frame had my brother and I had a train set, not sure whatever happened to it. My wife did give me a set 3...
Just get a better PSU. Compensating for crappy PSU is not worthwile the effort as a proper PSU costs next to nothing more than a bad one. When your Circuit is silent with a normal, not superfancy PSU its up to the user...
Swapping the power supply for a better one (a Korg 9V PSU instead of a random cheapo) eliminates almost all of the noise. Gah.
If I wanted to make the circuit more resilient to cheapo power supplies by adding some...
Tell me about playing with trains. Used to have (actually still have) a whole lot of Lionel O-gauge trains from the 50's and 60's but takes way too much room to set up. So went to N-gauge for my granddaughter a bunch...
Did you solder *ALL* the Teensy pins on the back of the Octoboard?
If you power the Octoboard with the red and white wire, you should see that +5V also on the Teensy pin Vin. If not check you soldering.
Paul