-
Older Activity
-
Today, 03:19 PM
Teensy Audio Board fried by external amp - recommended amp specs?
0 replies | 0 view(s)
-
Today, 03:12 PM
Like this?
Queue Size: 7
Indice:
Entry: -3.1415901 -12.3456001 -78.9123383 -7.9123402 -11.9123402 -58.9123383 -18.9123402
59 replies | 1673 view(s)
-
Today, 03:06 PM
Mike, Tim,
I'm going back and trying to document some of the versions/changes we had. I have them all saved, but didn't a great job of documenting what we did. Started a log book for my IMU projects, so lesson...
600 replies | 12367 view(s)
-
Today, 03:01 PM
If you cut the trace, that is only the 5V USB in, you can still program (assuming 3.3V power to run the Teensy is there) but you still have shared ground with the USB data and your power supply ground. It should not be...
5 replies | 51 view(s)
-
Today, 02:48 PM
If you don't send any with one cc does it keep working?
97 replies | 11065 view(s)
-
Today, 02:45 PM
yes, only the 2 physical switches
97 replies | 11065 view(s)
-
Today, 02:43 PM
Interesting point. Easily checked I replaced
int rawMin=5;
int rawMax=700;
by
int rawMin=random(5, 700);
int rawMax=random(5, 700);
It is slightly slower: 8us
I thought that the same bias would apply...
14 replies | 107 view(s)
-
Today, 02:27 PM
Ok... so your using physical switches now?
Then I'll have another go seeing if I can replicate the problem and if not I'll try some serial prints to see what's going wrong
97 replies | 11065 view(s)
-
Today, 02:22 PM
I have to do a few casts for floats, but yes (casts for the indices, not the float itself :)
59 replies | 1673 view(s)
-
Today, 02:17 PM
Nice one Tony. And since you are using indices it would work for floats as well?
59 replies | 1673 view(s)
-
Today, 02:13 PM
Like this?
Queue Size: 5
___________________________Entries:___________________________
0 0 1 2 3 4 5 (6 entries.)
1 6 7 8 9 10 11 (6 entries.)
2 12 13 14 15 16 17 (6 entries.)
3 18 19...
59 replies | 1673 view(s)
-
Today, 02:08 PM
This is my complete code at the moment. Absolutely no change from yours, no tft, no ribbon, no joystick, nada:
#include <Bounce.h> // Bounce library makes button change detection easy
const int scanMax = 100; ...
97 replies | 11065 view(s)
-
Today, 01:53 PM
People
I could use some help. I designed a circuit board to drive motors using the teensy 3.6. I've been very happy with the teensies and use them to drive brushless gimbal motors for my robots: example.
So I...
0 replies | 15 view(s)
-
Today, 01:50 PM
Make sure the variable definitions are integer:
int SW1;
int SW2;
not byte. Change was needed for negative flag system.
...this is why I can't support your code... there will always be issues where I'm not...
97 replies | 11065 view(s)
-
Today, 01:39 PM
Tim, like this?
Circular_Buffer<uint8_t, 8> k;
k.push_back(1);
k.push_back(2);
k.push_back(3);
k.push_back(4);
k.push_back(5);
k.push_back(6);
k.push_back(7);
59 replies | 1673 view(s)
-
Today, 01:28 PM
I've created a device that accepts player input and generates the musical tones internally. I have added an option to receive MIDI input from my PC and play it through the note generation code I wrote for the Teensy...
0 replies | 4 view(s)
-
Today, 01:08 PM
Not sure what you are saying here? Did you try by using the Wire library or i2c_t3? Also mostly doing the same things?
Also might help to know what the issues are... You are not getting the signals? At all? Or...
22 replies | 42134 view(s)
-
Today, 12:57 PM
Just tried with const int scanMax = 1000 and 10000 and it is still the same.
The PC can be or not from another controller but 90% of the times it is sent from another controller, so the answer is yes.
The MSB/LSB...
97 replies | 11065 view(s)
-
Today, 12:47 PM
The PC is from another controller?
Yet another design detail I've missed.
Try a much longer treshold as the M3 needs time to reply
97 replies | 11065 view(s)
-
Today, 12:44 PM
Really? I tried your code with a teensy 3.2 which does not have a floating point unit and I also get times < 1µs. I might be wrong but this seems to be way too fast for all that floating point operations. Are you sure...
14 replies | 107 view(s)
-
Today, 12:40 PM
According to the specs, the Ublox Neo M8N is supposed to have a TXCO (in contrast to the M8M - not the best naming scheme for the products).
I found this in the specs sheet for the UBlox Neo M8 Series
Accuracy of...
6 replies | 98 view(s)
-
Today, 12:09 PM
I tried what you suggested but the issue hasn't been solved yet. Is there any other way to get this done? I also checked the cpp file you mentioned and found that I have been doing mostly the same things that you have...
22 replies | 42134 view(s)
-
Today, 11:43 AM
After a bit of digging around I found that the reason for the limit is probably explained by the 15 bit limit of the Current Major Iteration Count (CITER) (24.3.28 p.561 of the k66 manual).
I guess this means that the...
9 replies | 259 view(s)
-
Today, 11:19 AM
Did some more digging in the Midi-Ox reports:
00085DF5 1 -- B0 00 00 1 --- CC: Bank MSB
00085DF5 1 -- B0 20 00 1 --- CC: Bank LSB
00085DF5 1 -- C0 46 ...
97 replies | 11065 view(s)
-
Today, 10:57 AM
What is the question? Where is your code (cf. Forum rules)?
1 replies | 28 view(s)
-
Today, 10:04 AM
Improving range between two nrf24l01+?
1 replies | 28 view(s)
-
Today, 09:49 AM
Well, I was in 10th grade "only" 25 years ago but Horner's method was still around. I guess I was too excited about using exotic functions (I am new to programming) and eager to write complex code that I forgot the...
14 replies | 107 view(s)
-
Today, 09:39 AM
Glad I could help but one doesn’t need to be an engineer for that. I don’t know how it is nowadays, but about 40 years ago, the Horner’s method was 10th grade stuff for everybody.
14 replies | 107 view(s)
-
Today, 09:34 AM
@Thermingenieur: Impressive !!! and so simple... c'est pour ça qu'il y a des ingénieurs !
I get down to a single us ! How is that even possible ?! Great !
const float A=0.042866;
const float...
14 replies | 107 view(s)
-
Today, 09:28 AM
With your sketch, nothing more changed, not even the pins:
0002CC24 8 -- C0 2C -- 1 --- PC: Tremolo String
0002CC55 1 -- B0 50 00 1 --- Control Change
0002CC55 1 -- B0...
97 replies | 11065 view(s)
-
Today, 09:23 AM
Thanks people. I think I should probably cut the trace and run both T_ and display from the same power supply, but I can't do that at the moment (trace not accessible in my setup).
Just checking - if I cut that trace...
5 replies | 51 view(s)
-
Today, 09:15 AM
Normally, you should be able to increase greatly the speed of your code by omitting the slow pow() or powf() functions. Rewrite your polynome ax^5 + bx^4 + cx^3 + dx^2 + ex +f using the Horner’s method to ((((ax + b)x +...
14 replies | 107 view(s)
-
Today, 09:14 AM
I am not sure I am understanding that correctly:
Is it possible to programatically change the clock speed ? Is T3.6 clocked by default to its maximum 180MHz ?
Cheers
14 replies | 107 view(s)
-
Today, 09:09 AM
Thanks defragster,
I didn't know whether a pointer could point to a const (thinking about it, there is no reason why not) that's why I left the "const" out of the script. Thanks for confirming it's OK.
Do you have...
14 replies | 107 view(s)
-
Today, 09:03 AM
Nice - the sketch ran as posted! Yes, the T_3.6 will be faster ...
Here is what a T_3.6 looks like with Native FPU first at 96 MHz then again at 180 MHz:
Removed Result values that were all the same.
Note: a...
14 replies | 107 view(s)
-
Today, 09:02 AM
With what I learned till now, I have no problem on working with your sketches and adapt them later in the touchscreen. I already did that with the rest of the stuff, so, lets go with you stuff. Forget the ui, please.
97 replies | 11065 view(s)
-
Today, 08:52 AM
This may be how I had that idea!
97 replies | 11065 view(s)
-
Today, 08:48 AM
It was obvious when I bothered to look at those sections. I thought they were unrelated and you had not added the physical switches.
Now I understand why you've been so keen to integrate every iteration into your UI...
97 replies | 11065 view(s)
-
Today, 08:45 AM
I am using your file : "WHISTM1.TRW"
This file is in SPI Flash :
ReadBenchmark -->
All Files on SPI Flash chip:
WHISTM1.TRW = 14852 bytes
Read in = 7811
usbegin = 2233148
usend = 2240959
us, speed = 1901.42...
93 replies | 3806 view(s)
-
Today, 08:33 AM
The SW switches are in the Touchscreen not physical.
https://forum.pjrc.com/threads/44582-Send-1-Sysex-message-depending-on-momentary-switch-State?p=175100&viewfull=1#post175100
I thought that was obvious in the...
97 replies | 11065 view(s)
-
Today, 08:31 AM
The SW switches are in the Touchscreen not physical.
I thought that was obvious in the dialog and in the sketch, sorry.
97 replies | 11065 view(s)
-
Today, 08:29 AM
Yes, I will do that.
Yes, because I will need to use the buttons more than once without a Program Change. When we press the buttons it's "new" D2 value will keep there until the next press, when it will change...
97 replies | 11065 view(s)
-
Today, 08:20 AM
Wait... are SW1 and SW2 physical switches or part of the UI?
I could have sworn this started with switches
97 replies | 11065 view(s)
-
Today, 08:18 AM
As as do care about speed (I have 16 sensors and I am hoping to get real-time-ish measures) I tried some optimisation using my Teensy 3.2 (should be faster on the 3.6):
-pre-declaring the constants
-using pointers...
14 replies | 107 view(s)
-
Today, 08:12 AM
Can you just check it reads CC values correctly.
Adding D2 should be no problem once I undrstand what you mean...
Are you saying you need to read the current D2 and toggle the state on next fallingEdge (switch...
97 replies | 11065 view(s)
-
Today, 08:03 AM
That's not exactly what i need.
The value i need to send is the D1 value, yes, together with the oposite D2 value after a oldd2 vs newd2 value comparison of some sort.
Because the D2 sent from the M3 is the actual...
97 replies | 11065 view(s)
-
Today, 07:44 AM
This uses no Serial.print.
Instead the BOUNCE objects for the functional switches are present (at pins 0 and 1 - change the constant definition if you are using other pins) and when pressed they will send a CC MIDI...
97 replies | 11065 view(s)
-
Today, 07:36 AM
Brilliant, it's working ! Thanks guys !
And big thumb up for your wonderful board Paul
14 replies | 107 view(s)
-
Today, 06:27 AM
Thanks GremlinWrangler - that measurement thought occurred to me ... but didn't want to imply I knew why to say that.
5 replies | 51 view(s)
-
Today, 06:25 AM
Good work!
207 replies | 66256 view(s)
-
Today, 06:25 AM
It is not impossible to have power supplies with different absolute ground potentials. Before soldering them together it can be a good idea to measure the voltage with a multimeter and confirm something does not have a...
5 replies | 51 view(s)
-
Today, 06:05 AM
AFAIK- yes for data transfer lines to have usable value the devices need to have a common ground.
What other havoc might result I can't address should power paths cross - but data only lines and shared GND seem the...
5 replies | 51 view(s)
-
Today, 04:34 AM
Hi all,
I have a T_3.6 powered by USB.
I have a TFT display powered by an external source at 3.3v.
Should I connect the grounds of both together?
Cheers,
Peter
5 replies | 51 view(s)
-
Today, 04:31 AM
Sorry, I have to correct myself: for estimating 3-d distance (localization) you need 5 Sensors for a linear set of equations as said by Andersen. For estimating 3-d direction yo need only four sensors. Andersen talks...
59 replies | 7144 view(s)
-
Today, 04:28 AM
Lots of ways to handle it. Depending on what hardware you are already using easy choice may be pin 13 which already has an LED
In terms of what you drive it from one place may to to turn it on when your Midi stream...
1 replies | 30 view(s)
-
Today, 03:09 AM
Hi Derek, Very interested in your Teensy PLL project, I am requiring for my project a PLL with a range between 1Khz-20Khz, would this be possible using your code?
Many Thanks
16 replies | 1479 view(s)
-
Today, 03:07 AM
Hey, noobie here.
Is there a way to attach a 3v LED to a teensy lc board and have it flicker corresponding to the data passing through? I’ve made a MIDI controller and it would be cool to add an led that flickers any...
1 replies | 30 view(s)
-
Today, 03:00 AM
Disregard the request for the hex file. I was able to get the board working.
207 replies | 66256 view(s)
-
Today, 02:32 AM
I'm rooting for you, Dustin. The troubles you're encountering sound familiar. If I had solved them, I would have posted.
4 replies | 139 view(s)
-
Today, 02:03 AM
Yeah - casting can be necessary - still a bummer to have to hack them in - especially when it gets involved with so many.
59 replies | 1673 view(s)
-
Today, 01:46 AM
can someone post a hex file for the vga version. I have assemble the board and would like to test it. TIA
207 replies | 66256 view(s)
-
Today, 01:30 AM
I had to try at 180 just out of curiosity. Never tried going that low before - was interesting.
EDIT: Yeah - I was getting ready to test it on the T3.5s when I found the 3.5 problem but not that's resolved I can...
1436 replies | 29851 view(s)
-
Today, 01:29 AM
Mike, I loaded up the "simple" wire test demo I made you "as-is" and it's working.....
https://forum.pjrc.com/threads/50008-Project-SPI_MSTransfer?p=175770&viewfull=1#post175770
#1279 ...
Size: 54 Slave: 43 Port:...
1436 replies | 29851 view(s)
-
Today, 01:22 AM
yeah, 180 you'll get intermittant... thats why mostly i used ~ 200 or higher, which on 3.5 results in 4.7k Hz, Tim can push 6K im sure, since 10uS F&F loops() makes a difference of ~ 300Hz
1436 replies | 29851 view(s)
-
Today, 01:18 AM
no choice to cast. This, also, if you want a circular array of floats/doubles, the "methods" that work for primitives need to be casted to int as well, otherwise it wont accept floats/doubles, and compiler will complain...
59 replies | 1673 view(s)
-
Today, 01:13 AM
Ok - had to see what happened if I ran 150us loops - well it worked on 2 T3.5s but get a bunch of bad last vals so its probably a bit much;
9628.00, #, #, #, #, #, #, #, #, #, #, #,87574,4368
Both t3.5s at 168Mhz
1436 replies | 29851 view(s)
-
Today, 01:09 AM
Bummer on added forcing (casts). That is all I can see as useful - other than maybe allocated size of the CB - too much gets in the way and slows down - but when something is working funny - it just takes that one...
59 replies | 1673 view(s)
-
Today, 01:04 AM
Interesting the PPS is triggered 90 ns after the true start of the second - but it is busy doing a lot of math and then has to hit the mark.
The messages used on the other thread come out with a timestamp and have a...
6 replies | 98 view(s)
-
Today, 01:03 AM
5312Hz at 180uS F&F overload1 loops! Tim, im sure you can push 6K if 20uS makes a difference on a T3.5 lol
5010 at 190uS F&F loops()
1436 replies | 29851 view(s)
-
Today, 01:02 AM
Im getting 4790Hz now F&F overload1 with the working SPI0 registers using T3.6 master and T3.5 slave, stock cpus 30mhz spi bus, using default events() (500uS) and 200uS timer F&F's
1436 replies | 29851 view(s)
-
Today, 12:56 AM
That is possible yes, anything else to add there?
btw, the floats/doubles list() threw compile errors when I added list() support, due to the Type not being "int" when calling the array indices, I had to cast alot...
59 replies | 1673 view(s)
-
Today, 12:51 AM
Are you using the TRW files......I found sometimes these seem to be generated OK but when copied an play just loud noise. Try generating and copying them again or try RAW ones. I dont know if problem is with generating...
93 replies | 3806 view(s)
-
Today, 12:51 AM
nevermind!, I added a secondary ground line and 30 is working!
1436 replies | 29851 view(s)
-
Today, 12:51 AM
Is all the SPI R/W in the _isr() ? If so an alternate LC::spi0_isr() would need everything rewritten. But just one #ifdef :)
1436 replies | 29851 view(s)
-
Today, 12:49 AM
Hi Tony. Just got back online - I'll give the code changes a shot and see what happens :)
Ok - just made the change and uploaded to the slave - and I made sure events was at 500. All worked fine with change you...
1436 replies | 29851 view(s)
-
Today, 12:49 AM
No, I reattached the T3.5, however it doesnt seem to work at 30 anymore, 24 is okay, maybe its the wires.... ? heh
definately not the SPI0 registers this time
1436 replies | 29851 view(s)
-
Today, 12:48 AM
did you try the last posted library on your t3.6's ?:)
1436 replies | 29851 view(s)
-
Today, 12:48 AM
It this with T_3.2 as Master? At what F_CPU? For F_CPU at 96 then F_BUS is 48 and it won't work over 24 - per the spec. It might hit SPI of 30 MHz with OC to F_CPU==120 and F_BUS==60?
1436 replies | 29851 view(s)
-
Today, 12:47 AM
Yeah but we need to push 2 8bit registers SPI0_DL && SPI0_DH, and read them like the POPR, it's a 2 way register, but thats alot of ifdefs and code rewriting to adapt!
it's not as simple as a redefine...
1436 replies | 29851 view(s)
-
Today, 12:46 AM
H:# would be H:3 for Head at 3 and T:# would be T:1 for Tail at 1. That would show it wraps over the end
59 replies | 1673 view(s)
-
Today, 12:45 AM
I cant seem to get it above 24mhz either, even with the old SPI registers. The working one should be recommended though because "it works" for both, the 30mhz issue is from something else....
1436 replies | 29851 view(s)
-
Today, 12:44 AM
LC with less RAM and speed would run at slower speeds and the RAM hit would be higher % - so maybe not worth too much trouble?
It would work for Master as you use standard SPI# routines right?
It would "just"...
1436 replies | 29851 view(s)
-
Today, 12:36 AM
you mean where the H and T are in the actual raw buffer? (i dont follow :P )
59 replies | 1673 view(s)
-
Today, 12:32 AM
Good. For debug it might be fun to show H&T vals? Assume this won't be used much unless somebody wants to see why their numbers aren't making sense.
59 replies | 1673 view(s)