@Micki
Not sure what line 13/14 is but problem these 2 lines:
Encoder knobLeft(5, 6);
Encoder knobRight(7, 8);
If you are using a Teensy 4.x then all digital pins should be able to be used for the encoder pins. ...
I haven't tested teensy to teensy, but I have tested T4.1 to/from linux over 100mbs wired ethernet. The linux box sends 40 1000-byte UDP packets at 97mbs and T41 receives all 40 packets at 94 mbs (94.42 mbs 40...
Problem nearly solved !
Hi mjs513,
today I´ve tried the 2 knobs sketch with my pins 8/9 with the same results.
Than I took Pauls pins 5/6 and it works !!!!
But, what have I to do, if I want to use other pins?
I...
It is a custom ASIC, I expect that includes the fab set up costs too... I bet that the quoted cost is probably for the development of several chips too...
I was just about to suggest ESP as well - lots of examples with good explanations, which helps in determining what are the critical design considerations (power supply, type of capacitors to use, etc.)
Sadly this kind...
Thanks! I've just installed an older version of Arduino and Teensy core 1.51. I'm getting this error - do I need to make changes for my Teensy 3.5?:
...
Honestly I’m not sure about why the delay is needed, also flush for UDP has never done anything. I’m curious if it’s actually not sending out the packet or if the receiving Teensy is just missing it, I’ll admit I’ve...
Hi Paul,
I followed your suggestion and, unbelievably enough, I found that the problem is in the level shifter. :-O
I can't really understand how can a 74HCT245 enter this state... I hope it's a faulty device,...
Thanks Paul, I have a resistor in every dataline (150 ohms). The TeensyBat detector already needed them to keep the the noise out of the bat sound recordings.
I'm afraid an external antenne in the windowstill is not...
When measuring the voltage on pin 13 with a DVM, the LED very dimly lit... pin is floating I guess.
This code definitely does not turn on the LED during boot:
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
...
hi paul!
apologies for delay (ha), i've had computer troubles and had to migrate machines.
in regards to "clean" feedback, here's a sample from my implementation in maxmsp that i've been working to recreate:...
I had problems loosing GPS lock when powering up T4.1+ethernet and using an Adafruit ultimate GPS. I finally bought an external antenna and placed the antenna on windowsill. see thread ...
With this (empty) code, the orange LED is not lit during boot:
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
So I assume your...
It is rather a cosmetic issue, but sometimes there are easy solutions for these kind of problems: I want to use pin 13 as an output to control a led, but during the boot of the Teensy it is lit. Is it possible to alter...
This sort of error usually means poor quality USB signals. Circuitry connected to Teensy which draws too much power can also cause trouble.
Try a different USB cable / hub / port / computer. If possible, disconnect...
I tried several power sources, and planned it to be running from the "powerbank" that also powers the Teensy via a small RC filter. It already proved to be hard to keep all the data signals and pulsed power users like...
Any chance it is running short of power? No doubt you are seeing the RF Noise - just wondering ... Also - What is the satellite transmission freq?
Years back running GPS and IMU I could power the GPS from Teensy...
The Hacksoace #39 magazine (free download) PDF link before has 15 pages of PICO images and details and an then interview/pics with the raspberry Boss on pages 54 to 61 (for 2 pages of Q&A). They spent 3-4 Million...
You still have the Inductor L1 on the wrong place - theres no uses protecting the input of the Linear regulater, you should protect your analog circuitry which still ist directly connected to your (apparently noisy)...
My gut feeling is that there will be a future RaspberryPi SBC which will have this chip uC integrated... possibly taking over the GPIO exposed on the board?
Personally, I don't tend to think of the microcontroller market and dev boards as a war or conflict.
And yeah, since the beginning with Teensy 1.0 in 2008, the situation has always been that you could get cheaper...
I was able to get it to work! To anyone that may benefit from this in the future, my PCB has the LSM 303 connected to SDA 1 (pin 38) and SCL 1 (pin 37) on a Teensy 3.6. Using the code that JBrownlow had as a starting...
The RaspberryPi Pico has a few nice features:
a) 2 cores (and an easy API to control them).
b) Banked RAM, to allow parallel RAM access.
c) PIO... I wish all microcontrollers had this.
-edit- d) Low price...
...
Hi there,
I am using a Teensy 3.6 audio project using the audioboard getting samples on a high rate and a displaying waterfall or spectrum on an Ili9341 3.2" display. (Teensy bat detector thread).
Since I wanted...
Hey JBrownlow, I have spent the better part of my evening trying to solve this issue as I am facing it for a personal project. Were you ever able to get this magnetometer to work with the non standard I2C lines on the...
Sorry for the delay.
The latest version Blynk_Esp8266AT_WM Library v1.1.0 restores the support for Teensy using ESP8266/ESP32-AT command shields. You have to use Teensy core v1.51 in order to be able to open Config...
I am using a USB to RS485 adapter which is wired to the motor so it is convenient to plug this into the Teensy. I am using the Tall Dog breakout board Standard version A2 with the socket attached to the USB2 port
Hello,
I have been playing with Teensy for a while now, and I need some help to build less noisy circuits.
I mainly build musical instruments and MIDI controllers with a lot of pots, switches, sensors,...
If the SD card port is mapped to SPI2, the port can be used for other devices...has anyone made any any shield\hat equivalents that interface via the micro-sd connector?
My rig has worked flawlessly (kinesis advantage staple berg) with QMK until today.
I used QMK to change one key in my keymap, compiled and went to flash the firmware with QMK Toolbox on map. I have 28 different...
I have no experience using the Teensy for USB. Mostly I've used it for digital I/O and logic.
I need to send/receive short (<40 chars) command style ascii strings to/from a digital motor controller that only talks when...
This is partially done in Serial, but I agree that checking for open session is a good idea, especially as PC will time out MTP when session is not established for some time (have not established timeout value, but...
So, I'm shoving packets between two identical T4.1s using UDP and the NativeEthernet library.
Here's the Loop code:
Udp.beginPacket(destinationNodeIP, destinationPort); // aim the UDP packet to the...
Hey Mark, I don't have specific signal requirements per say. My goal is to make an AM transmission with minimum parts added which uses B-FSK at 600 BPS. I guess I can add filtering externally if the signal is too dirty...
@defragster Yes I learned all those older languages too. No semicolons required.
So I did use that little trick about matching the start and ending brackets and all 3 showed up but I did not realize, but should...
Yes as noted by @thebigg - the closing brace wasn't respected on setup() and you can't put a loop() function inside of another function and have it work.
If "Ctrl+T" had been done it would have shown that by...
The errors are a result of you defining loop() within setup()
void setup() {
pinMode(ledPin, OUTPUT);
int x;
void loop() {
for (x = 1; x < 4; x = x + 1 ) {
digitalWriteFast(ledPin, HIGH); // LED on...
I'm trying to use Snooze to drop the Teensy power usage. I only need the device to "turn on" every 10 minutes to log it's current GPS location. I'm not seeing much drop in mA when in sleep mode. It's hanging around...
"C" will always suck.
@defragster -- I removed loop to see what would happen and it gives a long hash of words ending in "undefined reference to loop" even though the word loop does not appear in my code.
So I put...
Actually search engines have a very specific set of syntax for advanced searches that return MUCH better results ... but nobody knows or uses them.
C is simple the bestest most awesomest language ever is why Arduino...
I find that datasheet quite lacking in information. But it says the max current is 15ma. The Teensy 3.2 suggests a max of 10ma on an output pin. So to be safe, go with 10ma which would suggest a 300 ohm resistor as...
@KurtE OK, glad to know that the box does not mean something is wrong.
Thank you everyone for helping me figure this out. It is so frustrating learning C. It is such a clumsy old language. I suppose Arduino used it...
Use of loop() is optional, but including it is required because 'Arduino' rules say so - it will be called and as empty do nothing - except return and then be called again ... some Millions of times per second on a...
I also noticed that the "void loop()" is not even used in the example. Does that mean I can just eliminate it from the code or is it always required even if not used?
Also, in the example code there is no ending...
I know the Teensy is not the problem, it is the software.
If X is an integer constant does that mean I cannot assign a new value to it?
I have already tried removing x from the CONST assignment and putting it under...
Quick experiment – I don’t think this is the correct approach, but it does eliminate the noise and maybe that would be helpful in diagnosing the problem.
I grounded the mixer to the Teensy audio board’s line out...
I’ve made some progress! A few steps forward, a few steps back.
I bought some 33uH inductors and added them to the circuit as @fdaniels suggested. They reduced the power supply whine a little. Then I did a lot of...
In this case the "const int x;" was a problem as noted in the compiler output - it is an unchanging constant value with no initial value.
It shows twice perhaps because the line has two assignments to a const value -...
Not a C fan either... I grew up on a mainframe using PL/I, Fortran and COBOL...
The main working components of your program need to be either within the braces of setup, or within the braces of loop. In this case...
LOL, of course, the Teensy is the problem...
Nope :)
Think twice: why is x a constant in your program?
Then, a bracket "}" is on the wrong position.
(No worry, just yesterday I did not think too and posted...
good catch, ya that looks like the best one at the cheapest price that's around I think i might go for that one. I've seen some of the big pc logic analyzers from Agilent on ebay:...
I hate C. It gives me nothing but problems. Where is a nice straightforward command such as FOR X= 1 to 3 (BASIC).
I have tried many variations of this program and nothing works PLUS the error description means...
@mjs513 re : "That was first question here "
I meant that was my first question on seeing post#101 ... thought there might be something useful of import ... all that occurred to me was the 'unique blink on power only...
It was the setting called useCenterBasedPositions
Because of the bug in #28 caused it to be stored as null
An then when the setting is compared against the def value I use to string() and that cannot take null as...
Its saying the control voltage can be 3V to 10VDC. What can that mean other than input 4 can be upto 10V more positive than input 3?
If that's the case, you don't have to worry.
Yes I think so, the risetime of the signal is not instantaneous, and the thresholding will likely be different for each microphone
due to signal level variation. Cross-correlation uses all the information in the...
This is the correct link, https://www.ap.com/blog/fft-spectrum-and-spectral-densities-same-data-different-scaling/
The basic insight is that a discrete spectrum is measured differently from a continuous spectrum...
So I have a solid-state relay I'm looking to control with a Teensy 3.2. Here's the datasheet:
http://www.farnell.com/datasheets/3157355.pdf
I chose it specifically because it can be triggered w/ 3V. However it's...
In case anyone is interested, here is a readable paper on the difference between PSD (power spectral density) and FFT, and why FFT is not suitable for noise floor measurements.
Paul
Yeah, that would require defining CAN2, CAN3, asserts should work as is:
typedef enum CAN_DEV_TABLE {
#if defined(__IMXRT1062__)
CAN0 = (uint32_t)0x0, <------------- This was added to support the...
Opened up the PeakMeterMono sketch and uploaded it to a Teensy 4.0 and got the same "adc2_cfg = 00000637" message in the serial monitor.
Mind you, I don't have a MAX9814 electret microphone so pin A2(16) is open.
I...
It works as expected! Both on Teensy 3.2 and 3.5.
Compiler throws:
Only CAN0 works on Teensy 3.2/3.5
static_assert(_bus == CAN0, "Only CAN0 works on Teensy 3.2/3.5");
^
*** Error 1
By the way, trying...
When I do that, I no longer receive messages on the Teensy. I think being able to receive messages implies that I have the Rx hooked up correctly....therefore I believe my pins are correct.
Indeed, it compiled in the arduino IDE as well I see, I just don't wanna add much code bloat. Going ahead after compilation should result in undefined behaviour though should the wrong one be used. I suppose a cleaner...
At least for me, with Paltformio if I declare
FlexCAN_T4<CAN1, RX_SIZE_256, TX_SIZE_16> Can0;
it compiles for Teensy 3.2 and 3.5 but it obviously does not do anything.
Thank you very much for the...