I can confirm I've also seen a similar problem.
In my case, the teensy 3.1 was mounted on a PCB, with 3.3V fed from a linear regulator (ST117 iirc) in turn fed from 5V from a MC34063 switching...
Type: Posts; User: Cosford
I can confirm I've also seen a similar problem.
In my case, the teensy 3.1 was mounted on a PCB, with 3.3V fed from a linear regulator (ST117 iirc) in turn fed from 5V from a MC34063 switching...
Hi,
I haven't yet used a Teensy 4, nor an I2S microphone, however, I have spent a lot of time debugging FastLED with audio library issues on Teensy 3.
WS2813's (and family) have very strict...
Hi,
Put simply, the Teensy 4 is orders of magnitude faster than the Arduino Mega. It has more hardware resources available, faster clock speeds, more electronic interface options (SPI, I2C, UART,...
Can you verify with a DMM (preferably an oscilloscope) that the CS lines stay high? This certainly sounds like bus collision!
The only other hardware issue I can think of, is that the MAX31855 isn't...
Try adding a pull-down resistor between the respective PWM pins, down to GND. 1k or so should be fine.
So this crossed my mind - the issue being that the calls to FastLED.show() weren't running in an interrupt, so could be interrupted by anything. Based on that, I devised a work-around.
I used an...
Further investigation has revealed that (as I somewhat expected), it wasn't anything to do with the UART (this was merely a symptom of course).
Stripping back my sketch, it appears the simple...
I've got a project receiving UART data on UART0 (Serial1) whilst driving a string of WS2812b's, using FastLED, on a Teensy 3.2.
The UART runs at 460800 bps, I'm driving 15 LEDs.
My...
John, we also use T3.2 in a commercial product - this is something I have looked at but put it in the 'too difficult' pile (for now).
If you do find any information or make any progress you're...
That's excellent! Really nice work.
It's not too much trouble to build it, but not all users of Teensy will necessarily use Visual Studio, so may make it more accessible for those users.
This sounds like a good idea - for hobbyists, they can be trusted with the switches, but speaking as a commercial user, I'd be worried that my customers can mess about with the switches (either...
It's too late in the day and my head is too fried to process the sheer quantity of trade-offs to make. But the only consideration I might suggest would be that whilst the new audio hardware signals...
In which case, my recommendation would be an ESP32 or ESP8266 slaved to the Teensy, using MQTT.
Will be more than capable of pushing those kind of rates out, with plenty of headroom and flexibility....
Hi there!
You're right - there's a lot of options available. To try and narrow it down, a few questions:
1) What sort of data rates are you looking to push through the links?
2) How many devices...
Let's get this straight.
Are you just wanting to have the PC send and receive serial data to the Teensy?
If so, you need nothing more than the teensy itself and a USB cable; the teensy 'talks'...
The ESP8266 can be a pain to program, with a teensy in-between or not. My first step would be to ask what rate you're programming at and try reducing.
You can use fastled with the audio library. :)
It all comes down to trace impedance, which in turn is based on a variety of factors including:
Target board copper thickness (2 oz/ft is the 'standard', however 1 oz/ft is commonly available and...
We have observed a similar issue with a MC34063 DC-DC converter set for a 5V output on the PCB, fed into a 3.3V linear regulator. Fortunately our boards are powered individually, so usually takes...
I'd echo tonton's suggestion above - I got into the habit of using explicit datatypes as he's described above some time ago, and long gone are my days of worrying about cross-platform compatibility...
Gonna need some more information about what you're trying to do.
Can you post a sketch? Hardware setup - pin connections, etc?
Any ideas on this one anyone?
Is there a way of re-initialising all of the Audio library objects perhaps? Current workaround is just to soft reset the teensy, but it's a far from ideal solution.
Hi all,
I've been banging my head against a wall on and off for weeks on this one.
I have some Teensy 3.2's playing sound with the AudioPlaySdWav objects; two of them, fed into a mixer, fed to a...
I think having an init call would make most sense. It's going to be very frustrating for a user who doesn't understand this functionality, if their application code on their teensy is constantly...
Hobbytronics are a UK retailer that supply the entire range :)
See http://www.hobbytronics.co.uk/teensy-audio-adapter?keyword=Teensy
This is very powerful - remarkably transparent. An excellent way of easily adding MQTT to teensy! Congratulations :)
Forgive me if I've skipped past it somewhere, but do you have this up on GitHub...
Without wishing to make too strong a case, I thought I might just describe my usage of the Teensy 3.2 in a product.
We required access to more GPIO than what was accessible via the through hole...
That's really interesting! Thanks for sharing!
That's awesome!
Ishkabbible; do you mind me asking who you work for and how you got into working with OSIRIS-REx? Dream job stuff right there!
Perfect. I figured that was the case. I'll give this a shot.
Hi all,
perhaps the topic name wasn't the best.
Currently we are using TyQt to program a number of teensy's on a computer with the arduino environment.
Problem being that windows seems to...
Could you just use an enclosure with a lid, mount the board in the bottom of the box and remove lid for access?
What sort of enclosure did you have in mind?
Something I've been working on uses a multidrop serial connection, so each device needs to set it's UART TX pin to high impedance when it's not transmitting to avoid bus contention. I just do this by...
I'd say Frank is spot on.
You could start by only illuminating the LEDs to a lower level (eg, 127 instead of 255 for full brightness). In combination with a bulk cap of a few hundred uF, that...
From previous discussion, I believe PJRC load up the blink sketches by hand as the last step of manufacturing (and of course, in doing so, they test it).
Possibly some mixed in returns or similar......
Hey,
Could you provide us with a drawing or schematic of your setup?
Sorry, I still appear to be missing something here.
Why would disabling the CLK pin reduce current draw from 35mA to 0.3mA?
Just to confirm as I have a similar setup using snooze and ILI9341 but hadn't actually verified the power consumption yet...
Are we suggesting that leaving the SPI CLK pin high is preventing the...
/=====Update=====/
Now Resolved. As per usual, the issue was in my application code, where an occasional corrupted serial byte could cause the application to access memory beyond the size of an...
This.
Your current code executes several delays of 5000ms each loop, regardless of the result of the if statement.
Hi All,
I could certainly ascertain this experimentally but figured I'd ask here in case anyone knows the answer off the top of their head.
What CPU speeds are supported by the Audio Library?
...
Obviously I don't speak for Paul or PJRC, but there's often a lot of requests for variants of these products.
I believe some tough calls had to be made when the LC was put together to keep the...
Hi, this is a forum for PJRC products, which to the best of my knowledge doesn't include any kit with 8085. However, it is a good source of knowledge so someone MAY be able to help you.
In order...
If you're just doing USB serial, CRC shouldn't really be necessary because it's all packaged up in the USB protocol anyways? :)
If you're worried about it, you could use a pull down resistor on the CLK inputs. This would keep them pulled down to GND unless pulled high by the buffers.
So, one option could be to use an SN74AHCT126, which is a 4-buffer package with output enable pins.
You'd tie your clock pins to the input of each of the buffers, with the outputs going to the SPI...
What sort of distances are you communicating over?
You mentioned the amount of data in each loop, but how often are you expecting this data to be transmitted? (what's you actual average expected...
Hi Michael; Yes it's these types of instructions that I intended to talk about; I did assume that it would generally pick those up automatically so thanks for that. I'll give it a shot and see what...
Great, thanks for the help all. It sounds like objdump will probably do what I have in mind.
This project isn't intended as an in-depth analysis of GCC or optimisation; rather, as part of an overall...
I'm hoping that I may be able to view the type of disassembly where it breaks down the higher level instruction lines and shows how they were implemented. Is that the -S configuration you're...