Maybe try FreqCount for the higher frequency and FreqMeasure for the lower frequency?
If the speed is too fast for FreqMeasure, maybe add a hardware divider circuit to lower the frequency.
Unfortunately there is...
Hello, I have two sensors that make pulse around 50khz to 120khz, I need to count them both at the same time, how can I do it with teensy 3.2 or is that possible to do it?
Frqucnycunter liberary just read one sensor on...
Maybe others will give their opinion, but I'll try to answer. Arduino makes it easy for the beginner to get started. You can buy a board and immediately write programs, with little or no knowledge of what is going on...
Under normal circumstances, the CPU should not be getting that hot. It would normally just be warm to the touch.
If you are plugging both USB and VIN power in at the same time, besides the diode you already...
Not only does the micromod has no PSRAM, it also didn't bring out the pins to connect to PSRAM externally. Maybe same is true for ethernet. This makes micromod quite limited.
From my experience you CAN damage other on-board components when applying excess voltage to a Teensy GPIO when the voltage is large enough (~9-10V+), the circuit path to the pin does not have an inline resistor to limit...
Thanks for your reply. I have managed to do concurrent writes to the 2 easily accessible SPI busses now after repinning my PCB, but there is no performance gain, possible as i'm only writing 16 bits to each at a time....
You could try editing that line to P_CLK = (volatile uint8_t*)portOutputRegister(digitalPinToPort(T_CLK));
Might work if you don't have any other ideas.
Wire I think only deals with masters, so you have two masters there. I think it's pretty hard to get Teensy to run as a slave without getting into some deep code. For something like this, it sounds like a serial...
Yes, that sounds like the same issue I had. I suspect that you're also seeing a warning, whenever you compile, saying that there are multiple library files named 'Audio.h'. I believe that's because one from Adafruit is...
What display are you using?
If it's a Nextion, not all of them are compatible with the T4.0, having a 5v serial interface rather than 3.3v.
The T4.0 is NOT 5v tolerant.
As far as I know, each of the SPI busses is completely independent so you can't trigger them at the same time. You should be able to trigger the non-blocking transfers concurrently though and you shouldn't have to wait...
Dear Forum,
i´ve got an hardware problem with my project. I am currently working on an automatically drum tuning device. At first i used an Arduino Mega, but because of it´s size and less storage i switched to a...
I think I read that there's no PSRAM on the MicroMod. No ethernet either. Shame. Imagine if there was something as compact as MicroMod but with all or most of the pins of the IMXR1060Ti brought out. That would be the...
Thank you, Cor. I did see the asterisk in the V-shape. And could see the bmp-file. Is there also a way to view the bitmaps on the teensybatdetector itself?
I'm profosisional developer and did look for a small board with ethernet and high speed usb. So I was happy to find teensy. Maybe teensy is a gread produkt but I would like to undestand how it works in in junktion with...
What is this "Audio-master.zip" file? Where do I find it? I found this thread and am having the exact same problem (nothing on pin 2) and so am anxious to fix it, but how?
My pt8211s arrived yesterday so I was...
Encoders change between the detents and also on the detents. I seem to remember in some library somewhere there was an option to change this. Is there? Thanks everyone.
/*
Code by Robert E Bridges bob@bricomp-uk.com
This library is intended to be used to create your own Nextion Library. Most of it is done for you.
The function that you will mostly alter is the...
Hi Eef,
This should work, be aware that you need to press the button for at least 2 seconds. When the screen has been recorded a * will appear on top of the screen.
The functionality is NOT available during replay...
Question about the software:
In the manual "TeensyBat User Manual V 1.3.pdf" it says on page 1:
"Right Button (R-Button). ........... Long press to write a screen capture to SD if card present."
It seems this is...
As a very quick electrical check, try running the File > Examples > 01.Basics > Blink, but edit the pin to 2, since pin 2 is the first output pin for OctoWS2811.
Then use a voltmeter to check the input signal...
It just dawned on me! I've been taking readings from a pot to control the cutoff frequency. The frequency, not a dc leading into the cutoff. That's why there was no affect! Everytime the envelope updated the frequency...
Teensy is a great product, with exceptionally good software and the best support forum/community. If you decide to try to do something with your T4.1, you'll find good resources here.
I wouldn't necessarily jump to that conclusion. There are a lot of possible reasons people don't immediately reply to any particular forum thread. Now there's no easy way to say this without sounding like an...
We have a Sony camera that uses a RS422 interface and is supposedly (don't have the camera in hand yet) sensitive to delays but needs to be piped over Ethernet. The 1-100 msec delay time for the commercially available...
If I thought it was a hardware problem, then trying another library might be a good way to check. But, I have two of these sensors, so maybe I'll just try the other one first.
I suspect it is not hardware. Hence...
this DHT lib https://www.arduino.cc/reference/en/libraries/dhtlib/ says it is designed for AVR processors -- Teensy 3.2 is ARM not AVR. lib is using AVR registers for IO
// replace digitalRead() with Direct Port...
Thanks Paul, That is interesting about the use of either PSRAM or Flash (or Both) for large internal variables.
I was looking at using the W25QXX128MBIT-6X5 as a substitute for the W25Q64JVXGIM chip in the...
PSRAM lets you create more variables and arrays than would fit into the internal RAM. For an example, see "Using PSRAM Memory" at the end of this page:
https://www.pjrc.com/store/psram.html
Normally flash chip...
Paul,
Would this particular Memory work (W25QXX128MBIT-6X5 )?
What does the optional PSRAM and Flash memory do in the actual Teensey 4.1? I am wondering if I should add it in to the Micromod version of the...
I am starting a design that needs to run on a very unregulated power supply. Arcade systems for those that are interested. Voltage can vary quite a bit, so it would be good if the microcontroller could survive 5.4v or...
More details here on how to check if your screen has a transistor attached to the led pin: https://github.com/ThingPulse/esp8266-plane-spotter-color/issues/6
Hi,
In my experience, some «*red ili9341*screens » have a transistor already attached to the LED pin in which case you can directly PWM the backlight from a teensy pin… you can probably check on the PCB if that is...
You are right that you could not connect it directly to an IO pin.
The Adafruit display has stuff on it to allow it's backlight pin to be connected to IO pin... It takes the negative part of the backlight circuit...
I don't have a link for the datasheet but its the same one listed in the PRJC website
it does have a LED pin to power the backlight but I believe it needs 3.6 to 5V for normal operation and would draw like 20mA and ...
Hi,
I am using the DHTlib with a DHT22 and a Teensy 3.2. The code works okay for temperatures greater than 0C. However, when the temperature drops below 0C, it returns a checksum error. The datasheet for the...
My guess is probably not. That is with most of the displays you have a backlight pin, which you can feed it power. You can also hook up circuit to then control brightness using PWM pin... Some like Adafruit I think...
Thanks defragster, I eventually found the code snippet for the transfer, and am working on downloading. I wasnt sure if the serial library took care of optimising transfer size or if it should be done in packets in...
Hi! I bought a some LED strips from GREE and after hooking things up I'm not seeing any of the LEDs light up. Any help or experience with these LEDs would be greatly appreciated!
Hardware
- 12V LED Tape: GREE...
Hi
i am using a 240x320 tft display ILI9341. I am using the optimized ILI9341 library. is there any way to turn off the backlight? i noticed there is a Display off defined in the library as 0x28. i dont have a...
I just realized that the code you posted is your complete application. All you need to do is adding an #include "Arduino.h" at top of the file and adding the USB Host library to the project. It then compiles without an...
Another new class, AudioSpectralDenoise_F32 has been added to the Floating Point Audio Library. Thanks to Graham Whaley for creating this class from the work of Frank, DD4WH, and others. This is a noise reduction...
Did you include "arduino.h" in main.cpp? VisualTeensy is using plain cpp and does nothing behind your back (as one of its design goals). I.e., you need to include "Arduino.h", you need to forward declare functions and...
I would recommend using Visual Micro(VM) with Visual Studio(VS).
If you code will compile with the Arduino IDE it will compile with VM ands VS.
The other major advantage is the VM gives you inbuilt debugging.
See...
Thanks so much for the help. I installed VisualTeensy and now I am able to load the simple "Blink" example to my Teensy 4.0.
However, when I attempt to make the program I have been developing for a while now, I am...
This worked for me..
In this demo video...
https://youtu.be/x_MWsZiLSOM?list=PLW9AmuscfjxmuEqHPQ2YzZ2lz7ehf6p1g&t=599
you can see me adjusting the DC input to the filter towards the bottom left. The...
Hello,
I have a joystick and gimbal combination where a teensy 4.0 board is attached to the joystick for button inputs while the gimbal has a arduino nano (similar) board attached to the gimbal. The teensy has 23...
That's the strange thing. I have the DC value set to 1.0. That is the max right? I just don't hear it doing anything, no matter what the value. When I get to my computer I'll share some code.
Hello everyone. Hope you're all having a great day.
I'm wondering if anyone can point me into the right direction or prior forum for a project I'm working on. I remember seeing a circular touchpad from cirque used...
@wwatson - @khoih-prog
Think I got doStore working with the following changes - this is with SimpleFTPServer if you can give it a try and let me know if it works for you.
bool FtpServer::doStore()
{
if( !...
Can't you just feed a straight signal into the envelope using a dc source without having to use its ramp time parameter?
Sure!
I'm not sure why you're unable to modulate your filter freq with an adsr, in your...
I've been playing with this library again, as a result of seeing this thread. At first I couldn't reproduce the issue, then I could, and now I can't again! However, I may have made some progress, my observations being:...
OK, I've encountered this problem again, done some digging, thought I'd found a culprit, and it's now gone away again of its own accord! Very frustrating...
However, for anyone who might stumble across this or a...
Hi khoih-prog,
you are very welcome. :o
Yes there is a big interest for a T41 Email client.
It would be great if you will spend time for that.
You did some greatfull work for the ftp functionality on a T41. Thanks...
Can't you just feed a straight signal into the envelope using a dc source without having to use its ramp time parameter? In my synth I'm feeding the output from an oscillator mixer into an envelope that modulates the...
Hi All,
If there are more interests in this kind of T41 Email Client, I can write or port certain library to T4.1 and QNEthernet / NativeEthernet / Ethernet_Generic W5x00.
No commitment yet, just to put in bucket...
Thank you:) I did see that it was defined as a virtual function. I am not very good with C++ as you can probably tell or C for that matter. I have run out of time tonight but will regroup this weekend and test...
...
@wwatson,
You can also try using the original doRetrieve() (without availableForWrite()) for WiFiNINA
We've already fixed the WiFiNINA_Generic Cilent write() function, and hope it's OK to use now
#if...
@wwatson,
I guess you found out the bug when we convert to use WiFiNINA.
The availableForWrite() is defined in QNEthernet, Ethernet_Generic libraries, etc.
But in WiFiNINA + Teensy 4.1, it's still a virtual...
Ah I think I see it now, my apologies. I just need to solder a jack to the 4 input pads?
Very cool board you have made here. I might pick up a second set for my daughter to mess around with! :)
Installed ok on Mac Catalina 10.15.7
Haven't managed to crash the serial monitor (although this usually happens when the alzheimer's kicks in and I do something stupid)
Can't wait to throw some 'BreadCrumbs', any...
@luni, very sorry, not to have acknowledged. Thank you for looking into this. I have updated my code accordingly. Now spending a bit of time on the UI along with the system level state machine. There's probably four...
@mjs513 - @ khoih-prog - Something very peculiar going on. In doRetrieve() I have:
int spaceLeft = data.availableForWrite();
Did a complete grep of WiFiNINA for "availableForWrite". It was not found. Where is it...
Hi All,
I am trying to down-clock my Teensy 4.1 to lower power consumption, and am experiencing a bizzare issue with SPI.
I am connecting an MPU-6500 IMU breakout board to the 4.1's SPI1 peripheral, and using a...
I'm trying to design a board with micromod teensy to include both a PSRAM and sd card slots so I'm in need for the pins that these things use, 42-52.
It seems that the m.2 connector's pins 60-62-64-66-68-70 are...
I don't understand how this design works with LED1 (pin 3) connected to a LED tied to 3.3V. Maybe the LED's forward voltage is enough that it doesn't conduct enough at startup to overpower the weak pulldown resistor...
This may have been asked before but I can not find it.
In the audio library DMA is used to read blocks from the audio codec chip and then it appears that a software interrupt is triggered to process the data by the...
I'm a little confused, and I may be looking in the wrong location, but the current Teensy LC uses the MKL26Z64VFT4 (according to the schematic). According to the KL26 sub-family reference manual...