-
Older Activity
-
Today, 05:29 PM
Ok interesting. Ill try a bit with an easy example and a else if statement
Or is better to use booleans to see if an if statement is run?
And make a same check as the independent on off?
20 replies | 172 view(s)
-
Today, 05:28 PM
tonton81, can I somehow disable data reception?
I only need to transfer data,
maybe then the transmission speed will increase?
i made simple code, but the effect is the same, the delay when switching is 65 seconds...
641 replies | 57684 view(s)
-
Today, 05:23 PM
Yup, that looks like the problem.
Here's the joystick documentation:
https://www.pjrc.com/teensy/td_joystick.html
See the first part of "Basic Usage" for the allowed range.
4 replies | 89 view(s)
-
Today, 05:19 PM
Yes.
pulse = elapsedMicros(); //is this correct?
No.
20 replies | 172 view(s)
-
Today, 05:05 PM
unfortunately it gives nothing :(
641 replies | 57684 view(s)
-
Today, 04:54 PM
Thanks, MarkT.
1) I see that control_sgtl5000.cpp uses Wire.h and Wire.begin
and the included WireKinetis.h defines Wire1, Wire2... etc.
Should I assume that I have to modify control_sgtl5000.cpp and change all...
2 replies | 44 view(s)
-
Today, 04:52 PM
Is your CAN line properly terminated? what happens if you put can1.events() in the loop()?
641 replies | 57684 view(s)
-
Today, 04:40 PM
Also not that the silicon process for low-power high speed CMOS is not necessarily ideal for a high performance
sigma-delta modulator which is essentially a precision analog piece of circuitry. Laser trimming is...
487 replies | 51634 view(s)
-
Today, 04:33 PM
That code really needs to be rewritten using arrays....
4 replies | 89 view(s)
-
Today, 04:31 PM
I wouldn't touch the encoder pins in setup(), let the encoder library set them up, you may have stomped all
over the libraries attempt to configure those pins suitably for interrupts.
3 replies | 325 view(s)
-
Today, 04:28 PM
You are right. ADC's in MCU's are in VERY close proximity to many other peripherals which can introduce their own noise and compromise the integrity of an analog signal. Discrete ADC's are still made for that very...
487 replies | 51634 view(s)
-
Today, 04:27 PM
The order errors are reported is dependent on the way the compiler crawls the parse tree in its various analysis and
code-generation phases - don't read anything into this.
6 replies | 90 view(s)
-
Today, 04:24 PM
You're probably not getting the full 12 ENOB from a 12 bit converter in the first place, combining two DACs is unlikely
to be any better than one. If they could get more than 12 bits of accuracy in the first place...
2 replies | 34 view(s)
-
Today, 04:10 PM
SCL2/SDA2 are not alternates for SCL1/SDA1, they are a different hardware module, I think its Wire1 as opposed to Wire,
but double check please. Alternates are multiplexed to the same hardware module.
I2S pin...
2 replies | 44 view(s)
-
Today, 04:03 PM
Actually there is no need for a lookup table for fast sine generation - there are several schemes for harmonic oscillators
using only a couple of multiples and adds. They are a little tricky though, and need careful...
3 replies | 95 view(s)
-
Today, 03:56 PM
The PT8211 datasheet shows the distortion performance is about 9 or 10 bits equivalent with 0.1 to 0.3%
being quoted (around -60..-50dB) depending on how close to the full-scale you venture. Its key feature
is...
12 replies | 238 view(s)
-
Today, 03:45 PM
I'll need to see the code to give you any kind of definitive answer to that. My first GUESS is that doubling or tripling the sample rate caused some buffer overflows and you may need larger buffers. My usual...
18 replies | 1289 view(s)
-
Today, 03:33 PM
Which is why I have been using I2C ADCs - you can get a lot cleaner signal into (and out of) one of those. An ADC in a microcontroller is subject to a lot of compromises. I like it when the conversions happens far from...
487 replies | 51634 view(s)
-
Today, 03:32 PM
Also the m2 connector is double sided,
which means it's very hard to solder the top side smd pins.
487 replies | 51634 view(s)
-
Today, 03:24 PM
I got a couple of the M.2 connectors and they look to be pretty tricky to hand solder. Lots of solder wick, for sure. I'd go for reflow. Definitely not for your average hobbyist. Costs a lot more than 2 rows of 2.54mm...
487 replies | 51634 view(s)
-
Today, 03:09 PM
Thanks again, I wish I new more about this, I'm more focused on design and building. Things in the code are hidden from me and I don't know what to tweak. I'll try it when I can, this is for a boat and of coarse it's...
8 replies | 179 view(s)
-
Today, 03:06 PM
Agreed about the stability.
The greater distance between capacitors and pins would not likely affect performance at stock (or lower) clock speeds. However, for those of us (and I'm sure there are a large number of us)...
487 replies | 51634 view(s)
-
Today, 02:51 PM
You will most likely need to wire up the connectors yourself. Buy them from distributors like DigiKey, Mouser, etc.
The UART serial radio modules I have in mind do not come with connectors, for example the HC-12: ...
8 replies | 206 view(s)
-
Today, 02:13 PM
Thanks Rolf,
You might be interested in the measurements I did as well on several DAC's.
Paul
12 replies | 238 view(s)
-
Today, 01:05 PM
Morning @KurtE :)
Funny you should mention about CSI/OV7670 was just looking at that this morning. Great minds.
Anyway for now think I have gone about as far as I can go with mods - still don't know why "V" mode...
543 replies | 9547 view(s)
-
Today, 12:38 PM
I tried this.
#define SAMPLERATE 1024*1
uint32_t totalSamples = 10 * SAMPLERATE;
#define BUFFSIZE 1024
when SAMPLERATE is 1024 and I wrote for 10s, it actually took 10s to write 1024 samples. That's great.!...
18 replies | 1289 view(s)
-
Today, 12:34 PM
Morning all,
My Sparkfun package is at my PMB, which I will probalby pick up this morning. So may be able to more easily test on ATP board or other soon. But am also tempted to also try modifying for other camera....
543 replies | 9547 view(s)
-
Today, 12:34 PM
You can try, but you'll end up with far less than 24 bit performance due to lack of precision and noise in the analog circuitry which combines the 2 signals.
For example, if your analog circuit's result depends on...
2 replies | 34 view(s)
-
Today, 12:27 PM
thanks Paul, ill do that.
ill remove the holdcount part
ill start over and add some pictures.
shows the following code:
WORKS without Independent ON OFF
20 replies | 172 view(s)
-
Today, 12:24 PM
Thanks for replying
1) This is the Binder connector attached pic (1). You think I can find a connector between the binder 711 and teensy ? or I need to cut it and connect directly ( What about noise )
2) I...
8 replies | 206 view(s)
-
Today, 12:15 PM
This topic was discussed in some depth earlier in this thread. The only practical ways do this is for the board to have no components on the bottom, or require a cutout on the baseboard. Single side components has been...
487 replies | 51634 view(s)
-
Today, 11:24 AM
Normally castellated holes are used for SMD soldering a PCB down to another one, but that only works when there are no components on the bottom side, so that unfortunately isn't an option for Teensy.
If your concern...
487 replies | 51634 view(s)
-
Today, 11:22 AM
Only if there are no bottom mounted components, or you must use cut-outs and then it does not matter much if there are through holes.
487 replies | 51634 view(s)
-
Today, 11:19 AM
Very difficult to answer this sort of vague question.
I'm sure you know what you mean by "during the ON Time of the function". But please try to read your question from the perspective of anyone on this forum who...
20 replies | 172 view(s)
-
Today, 10:56 AM
Hello everyone,
I am happy to call myself an owner of a Teensy 3.6 board.
It will be used for a synthesizer project, in which I use a self-coded synth library.
My intention is to write to the DAC outputs directly,...
2 replies | 34 view(s)
-
Today, 10:44 AM
Thanks @defragster. Now that there is some life I think I may know what the problem may be.
EDIT: Nope what I thought may be wrong looks correct. But I did add my change to get GPIO 'F' working and pushed both...
543 replies | 9547 view(s)
-
Today, 10:43 AM
One question:
It would be interesting make possible to solder as SMD?. The problem with trough hole is the it drills not only te top side but also internal ones so is more difficult to design PCBs. Also more difficult...
487 replies | 51634 view(s)
-
Today, 10:17 AM
I think this is proabably using the servo.write(nn) method rather than servo.writemicroseconds(nn).
On a continuous rotation servo, this will set the speed of the servo with 0 being full-speed in one direction, 180...
8 replies | 179 view(s)
-
Today, 10:15 AM
so i am a bit further
if i run this program, i can create pulsewidth and TimeStamp. during this time stamp the pulsewidth of INA will be high for x micros.
INB will be shifted with 400us and is inverted.
this...
20 replies | 172 view(s)
-
Today, 09:18 AM
Video CallBack needs to write to screen.
Picture is fully intact - but scrolling with each redraw
Some other minor edits - but my github wants to push direct to #mjs513 and cannot and I don't have option for PR as...
543 replies | 9547 view(s)
-
Today, 08:40 AM
so i am a bit further
if i run this program, i can create pulsewidth and TimeStamp. during this time stamp the pulsewidth of INA will be high for x micros.
INB will be shifted with 400us and is inverted.
this...
20 replies | 172 view(s)
-
Today, 08:37 AM
Thanks, BJB, for pointing me at 'apparent electrical conductivity', sometimes the knowledge of the right words is extremely helpful.
I have bought some graphite mines for pencils diameter 2mm. I have the impression,...
5 replies | 121 view(s)
-
Today, 08:00 AM
Dry out experiment using the sensor as described in first post.
A volume (104 grams) of garden soil (dark humus) straight from the garden, as is was, was put into a paper basket (for fruits) and the sensor buried into...
5 replies | 121 view(s)
-
Today, 07:42 AM
unfortunately there are no changes, the delay remains the same 60 seconds (((
641 replies | 57684 view(s)
-
Today, 07:28 AM
ahh okay sorry Teensy 3.x doesn't use setClock, 4.x only.
you need to put that msg.flags.extended with your message you wanna send. put it under your msg.id = 0x108180fe;
641 replies | 57684 view(s)
-
Today, 07:21 AM
Thanks! That makes my life considerably easier.
2 replies | 57 view(s)
-
Today, 07:17 AM
please tell me where to install this code ?
msg.flags.extended = 1;
I use Teensy 3.2, this code throws an error
can1.setClock(CLK_60MHz);
641 replies | 57684 view(s)
-
Today, 07:02 AM
msg.flags.extended = 1;
this must be set BEFORE writing, or else your extended ID will truncate to a standard ID and it will not be the one you wanted for your device
also try adding in setup:
...
641 replies | 57684 view(s)
-
Today, 06:18 AM
I am very grateful to you for your answer!
but, I am very bad at programming (((
can't figure out what i need to do?
641 replies | 57684 view(s)
-
Today, 06:16 AM
Hello Guys,
I have a problem with my current project reproducing the IMU Headtracker vom Gregory Pauls Hackaday Site (https://hackaday.io/project/8952/instructions)
Problem is, the MiniIMU board from Pololu...
0 replies | 31 view(s)
-
Today, 05:57 AM
it looks like you are flooding the bus with writes, are you sure the device can process the data that fast? usually on cars we need to space the transmissions to a device at like 10ms, but your loop is constantly...
641 replies | 57684 view(s)
-
Today, 05:43 AM
Hi,
please, tell me, what am I doing wrong?
when the temperature of the external device rises, the power supply R4850 must reduce the output voltage,
the code works, but when switching the voltage there is a delay of...
641 replies | 57684 view(s)
-
Today, 05:39 AM
Thanks Frank! Wish I had seen this thread earlier :) Last week, I was experiencing similar issues inside a loop that "normally" took around 22ms for ~500 iterations, experiencing "freezes" every 50 or 60th iteration for...
140 replies | 4092 view(s)
-
Today, 02:35 AM
1) You may need a particular connector for the sensor. Check the sensor data sheet.
2) The Teensy 4.1 has 8 hardware serial ports.
3) You will probably need to build your own filter. So far, you have not provided...
8 replies | 206 view(s)
-
Today, 02:23 AM
would rather use this with millis.
I’ll stick with that, I have a few function calls with SPI, currentsense encoder and TFTScreen in the background.
I think this is a better start. For the INA pin. I’ll leave INB...
20 replies | 172 view(s)
-
Today, 02:07 AM
Thanks for checking - have to retest.
Yes 'f' only in GPIO-8bit for now - that's on the todo list to fix
Yep - VID only works in DMA mode as it did before but 'F' and 'f' works with FlexIO as before.
Have to try...
543 replies | 9547 view(s)
-
Today, 01:52 AM
I guess I have another problem now, the esc shuts down sometimes at full throttle. I've been doing some research and while it could be several other things, one person had the issue and solved it this way;
(Problem...
8 replies | 179 view(s)
-
Today, 01:47 AM
'f' single good, "F" iffy to bad
"V" - vid - Black screen ...
re p#531 - yes I saw that in sketch now
No VID going to "HM01B0_TEENSY_MICROMOD_FLEXIO_8BIT" - but "F" works at 10.23 Hz
And 'f' only in...
543 replies | 9547 view(s)
-
Today, 01:43 AM
Yep 'f' - single shot, 'F'-continuous (still not working if in DMA_8BIT mode but it does give you what you describe - what about 'V' ideo ? That's the one I am curious about.
NOTE: I haven't been getting any...
543 replies | 9547 view(s)
-
Today, 01:38 AM
Not sure which f or F I started with ? Meant 'F' but think I got 'f' ... Nope I was backwards "F" still continuous ...
Some more F and f and then :
startReadFrameDMA called buffers 20029e84 20238400
Hardfault....
543 replies | 9547 view(s)
-
Today, 01:34 AM
W/ili9341:
Says "F" - but using DMA? {if I saw that in the git DIFFS ?} - Single Frame good
the 'f' - took some time to get top bottom SYNC - Horizontal - then popped in and Horiz Stable but some verticle Jitter...
543 replies | 9547 view(s)
-
Today, 01:27 AM
'rework' - yep just moved the from git folder to libs ...
543 replies | 9547 view(s)
-
Today, 01:26 AM
Thanks would appreciate - all else seems to be working with DMA though. Already created WIP branch on github: https://github.com/mjs513/TMM-HB01B0...ree/API-Rework
543 replies | 9547 view(s)
-
Today, 01:22 AM
That's no fun ... is github up to date - and the bypass example? I can get to try it here with ili9341 in a bit ...
... or ZIP your WIP and post here to avoid cluttering github ...
Just hit github - 11 minutes...
543 replies | 9547 view(s)
-
Today, 01:15 AM
Just a quick update. Been trying to figure it out most of the day. Found a couple errors but still no luck with video mode. So I bypassed my readframe's etc and used direct calls but no luck. Not sure if its...
543 replies | 9547 view(s)
-
Yesterday, 10:29 PM
Thanks for the reply.
I still do not understand, the pin configuration of a ICS52000 is shown in the figure
which shows SD, WS, SCK, not the MCLK, BLCK, LRCLK.
Should I connect the
"MCLK 23
BCLK 21
2 replies | 54 view(s)
-
Yesterday, 10:17 PM
Mixer Behringer QX1222USB
Link: https://www.behringer.com/behringer/product?modelCode=P0AKX
The measurement signal goes in Mixer analog in and USB out (16Bit 48KHz Samplerate)
12 replies | 238 view(s)
-
Yesterday, 10:15 PM
The most straightforward way to do this is:
uint32_t totalSamples = secondsToSample * SAMPLERATE; // pre-calculate number of samples needed based on duration of sampling
volatile void samplesCollected =...
18 replies | 1289 view(s)
-
Yesterday, 10:15 PM
The USDA and the World Meteorological Association has published several papers and decisions on soil moisture instrumentation. Texas A&M, UC Davis, and UC Riverside agricultural engineering people have all have done a...
5 replies | 121 view(s)
-
Yesterday, 10:06 PM
Not sure what speeling is either of course ... seems like it may have been Starting the output with the _isr().
For usage of that see PJRC.com for intervalTimer as noted.
If the toggle is to be on a known time...
20 replies | 172 view(s)
-
Yesterday, 08:43 PM
Oops forgot to declare a default value for adc centre. Try this
int val,mappedval;
int deadzone =10; change this value to increase/decrease dead zone size
adc_center = 511; // default value with joystick centered
8 replies | 179 view(s)
-
Yesterday, 08:34 PM
Hi Defragster,
now its my turn, i didnt understand a thing you just told me, no offense.
never worked with ISR, had it in my studies but never worked with it.
no clue what speeling is.
il elaborate:D
ill go...
20 replies | 172 view(s)
-
Yesterday, 08:20 PM
Keep in mind this code was originally written in 2014 for Teensy 3.0 and 3.1. When talking of how to "achieve acceptable performance", remember it is also meant for a those older boards which don't have a FPU.
On...
3 replies | 95 view(s)
-
Yesterday, 07:51 PM
Hi Jeremiah,
I'll give a few basic answers and maybe one of the experts can fill in the details.
This code uses a wavetable (AudioWaveformSine). Is this absolutely necessary to achieve acceptable performance on...
3 replies | 95 view(s)
-
Yesterday, 07:35 PM
It can help to write out a statement of expected behavior in text. Without that even looking into the behavior of 'close' code won't help because what is wrong won't be obvious not knowing what it should be doing ......
20 replies | 172 view(s)
-
Yesterday, 07:34 PM
Thank you. I tried this but every time I recorded samples, The number of samples is different. Is there a way I can get a constant number of samples for a specific time duration like 10 seconds?
18 replies | 1289 view(s)
-
Yesterday, 06:38 PM
I 've posted my CAN board on Tindie for anyone interested.
https://www.tindie.com/products/fusion/dual-can-bus-adapter-for-teensy-40-41/
641 replies | 57684 view(s)
-
Yesterday, 06:20 PM
Hallo Rolf,
Thanks for your reply. I was wondering what A/D-converter you were using for your measurements. Some USB audio device?
Paul
12 replies | 238 view(s)
-
Yesterday, 06:19 PM
CLK and DATA are normal names for encoder signals. If you read DATA on the rising edge of CLK, it tells you whether you turned one detent left or right. CLK and DATA match up exactly with a flip-flop, or other digital...
11 replies | 11136 view(s)
-
Yesterday, 06:10 PM
Are you using an encoder with detents?
The detents are often set at a particular point in the quadrature cycle, so if you disable interrupts and happen to only poll read() when the encoder is at detents, the state...
3 replies | 325 view(s)
-
Yesterday, 05:57 PM
I own a 1000 Line-Per-Revolution/ 1000 Pulse Per Revolution / 4000 A/B edges Per Revolution optical encoder that looks like it tops out around (100Kint/sec)/(4000int/rev)*60sec/min = 1500RPM if I hook to...
0 replies | 36 view(s)
-
Yesterday, 04:42 PM
As a test I just pushed some more changes to the API_rework branch: https://github.com/mjs513/TMM-HB01B0-Camera/tree/API-Rework
I supports 3 cases for the Mircomod only:
/*
* HM01B0_TEENSY_MICROMOD_GPIO_8BIT,
*...
543 replies | 9547 view(s)
-
Yesterday, 03:48 PM
Pull Request actually just issued last night. That was my first pull request, and I had to figure out what I was doing. What I did on 3-23 was open an "Issue".
...
7 replies | 222 view(s)
-
Yesterday, 03:44 PM
It should be straightforward to log for a fixed amount of time by using an elapsedMillis timer which is reset when starting logging. In the loop you would add code to check the elapsedMillis timer and call...
18 replies | 1289 view(s)
-
Yesterday, 02:29 PM
Ah, many thanks. For the last few years I've wondered why I couldn't get teensy-USB audio to play on my Ubuntu boxes. Now all is good. :D
5 replies | 128 view(s)
-
Yesterday, 02:17 PM
Hi, I wrote an SBUS library for Arduino, including Teensy 4.x, maybe that will help?
https://github.com/bolderflight/sbus-arduino/
2 replies | 47 view(s)
-
Yesterday, 02:05 PM
@KurtE
Forgot about the table you have in the FlexIO library - was actually looking to create one - sort of.
Right now the way it looks is the DMA is used for both for DMA mode and FlexIO mode (works better). The...
543 replies | 9547 view(s)
-
Yesterday, 01:53 PM
I tried this code. This is really good. I have a question if anyone would like to answer; Could I go to StopLogging(void) using pre-defined time instead of using q or p?
18 replies | 1289 view(s)
-
Yesterday, 01:48 PM
It was just error on my code, Teensy 4.0 seems to support just fine the Inverted Serial.
2 replies | 47 view(s)
-
Yesterday, 01:45 PM
Good morning all,
Sorry I have not given this enough thought and hard looking through the code to give a good answer about some of my wondering about API/Library setup for generic stuff, is how is it all configured?...
543 replies | 9547 view(s)