Is it possible to post your complete code so that we can reproduce the issue? [or, preferably, the smallest code that shows the error].
Paul
Type: Posts; User: PaulS
Is it possible to post your complete code so that we can reproduce the issue? [or, preferably, the smallest code that shows the error].
Paul
If the output of the 3V3 regulator shows only 1.6V, the regulator may not be dead at all but just running into its current limiter.
Please check whether there is a heavy load on the 3V3 pin. The 3V3...
Yes, no problem. Better not use 5V as not all Teensy's are 5V tolerant.
But for those simple rotary encoders, you hook them up differently. No need to use 3V3 or 5V.
28810
Connect encoder...
Electrically, this absolute endless encoder [datasheet] can be connected to a Teensy 3.5. Just use pinMode(pin, INPUT_PULLUP) for pins P1-P8 and then digitalRead each pin.
However, be aware that...
Did a quick current consumption test using an SSD1306 OLED display [albeit strapped for SPI mode instead of I2C mode] and powered it by the LC's 3V3 output. Measured the current in the display supply...
It depends on the exact OLED display used. I would power the OLED by the 3V3 of the Teensy LC [which can supply 100mA max].
Those small OLED displays usually draw 20-50mA so you should be fine.
...
From what I understand, if you want to connect your HP702 for an external MIDI connection, you need to use the USB type B connection [#20 on the image below].
28786
That port is expected to...
Did you perhaps see this page?
Looking at the code and the instructions, I don't see any problem why it should not run a Teensy 4.1.
Edit: another useful page.
Paul
PS: you need to power...
The default PWM frequency is 488.28 Hz. Got the info from this page.
You can change the PWM frequency by using the analogWriteFrequency(pin, frequency) function.
Paul
It's very difficult to advice you with the limited data you provided.
Do you happen to have schematics of the whole setup? Can you share photo's of your setup? Partnumbers of FETs, sensors and...
Did you perhaps use the AGND pin as the GND for your servo's? That would explain coil L3 to get burned out.
It's better to use the digital GND pins of the Teensy for common ground.
28674
...
Fun project. Video was released today and already more than 1.7M views...
The +5V is used for the TJA1050 CAN transceiver only.
So you need 3V3 for VCC [which powers the MCP2515 that the Teensy LC interfaces to] and 5V for VCC1 which powers the TJA1050.
Paul
For what you want [reading out basic car/engine parameters], sniffing the CAN bus may not be right choice.
Lots of car diagnostic tools use the K-line signal for reading out those parameters. This...
You will need to power the MCP2515 with 3V3. The Teensy LC is not 5V tolerant on its digital input pins.
The Microchip MCP2515 can be powered from 2.7V to 5.5V. I don't know about your module...
Your assumption is correct. I did the same for my motorbike using a Teensy 3.2 and CAN bus transceiver.
However, setting up the hardware and reading out the CAN bus is the easy part. You will...
Allright. Just curious, what do you mean by built-in library?
Paul
When using the Teensyduino supplied Encoder library, you will see that the counter increases or decreases by 4 when you rotate a rotary encoder from one detent to the next detent.
Just divide the...
Did you on purpose connect SCK/T_CLK to pin 14 of the T3.2?
The table states pin 13 [when not using the Audio adapter]:
28426
Paul
Please, don't search for a clone...
You can find distributers on this page, on the rightside column.
Paul
Just measured my display - the multimeter is reading 54mA running this sketch.
DC current measured in the 3V3 line to the display.
Paul
What I found on the web is that the ILI9341 draws about 60mA [10mA for the display controller and 50mA for the backlight].
That seems reasonable so I guess your multimeter is off.
Did you set the...
You better go here: https://support.logi.com/hc/en-us/search#q=z207&s=all
Found a potential solution in this thread.
When I uploaded this code into a Teensy 3.2 and click "Restart Port" in USB Device Tree Viewer, I see the onboard LED go off and on.
Powering the Teensy...
As far as I know, there is not...but I could be wrong...
Paul
Yes, I agree with Bricomp's suggestion.
Teensy boots very fast, so one needs to insert some waiting time for the nvidia jetson to finish it's boot procedure.
Paul
Perhaps you should comment out these 2 lines and try again:
Serial.println(F("Hello Teensy 3.6 dual CAN Test."));
Serial.print("CAN bus 0: "); hexDump(8, inMsg.buf);
Paul
Could it be that the SDcard housing on the audio adapter is shorting parts on the bottom of the Teensy 4?
See also this thread.
Paul
Better yet, I modified "byte midichans[2048]" to:
byte midichans[2048] =...
Does this help?
I changed [y] to [y+1]:
void midisend(){
for(int y = 0; y <=2047; y++) {
if (abs(midivals[y]) != abs(newpos[y] / 4) % midiquant[y]){
if (midiquant[y] ==...
Hmm, I'm confused too (but more in the sense that I probably do not understand you fully).
My feeling is that some index is just off by 1.
Would you mind sending your full code? Or the most basic...
I guess that a value of 0 is illegal, but don't know what issues this causes.
What I actually wanted to say is that you think you sent to channel 2 but actually you sent to channel 1.
By the way, I...
MIDI channels start numbering at 1, not 0.
You start "int y = 0" and then print "Serial.print(midichans[y],HEX);"
Could that be the issue?
Paul
About the wire stub warnings: do you use the default Design Rules provided by Eagle?
Got the wire stub box checked:
28080
Paul
Checked the design once more, but still got those 6 wire stub warnings...
28079
Not sure why I get these warnings and you don't... Anyway, go for it! (standard disclaimers apply though :) )
...
On the schematic: I see that you use only 1 signal [PY1] to drive all 4 FET's. Is that indeed your intention? I'm asking because you have signals PY2, PY3 & PY4 on Teensy pins.
28072
On the...
From this file, it looks like pin 2 = SRCLK, pin 3 = RCLK & pin 4 = SER have been defined:
28071
So zip to do with SPI comms.
Paul
Yes, those airwires are really showing an issue: Eagle tells you that those pins are not [yet] electrically connected.
But before reordering the PCB, I first would measure [using an ohm meter]...
Was able to open your project.
It complained about some missing libraries though.
Even with hitting the ratsnest button and filling in the copper planes, it still complains about airwires:
28063...
Could you also send the schematic [.sch file]? Or preferably the whole Eagle project?
Findings issues from only the .brd is nearly impossible...
28062
By the way: I see a whole bunch of not...
Teensy 4.1 does not have a DAC pin so it can't output an analog signal to the PropShield for amplification.
The audio input pin on the PropShield:
28060
Teensy 4.1: instead of a DAC output...
You could start by posting your schematic. Looking into the PCB file may be the next step.
Paul
Are you sure? See https://uk.farnell.com/c/semiconductors-ics/logic/shift-registers?st=74ahct595
Paul
@SteveSFX: the OnSemi 74VHC595MX does not have TTL-compatible input levels.
So, if you want to use it as a levelshifter as well by powering the part from 5V, like wramsdell suggests, it is not...
It seems like resistor R8 is broken. From the bottom of this page:
27926
Its value is 100kΩ and it pulls down the enable signal from the processor to the TPD3S014 current-limit switch for the...
If you are talking about USB-based streamer, yes, Teensy can do. Teensy can output I2S signals to suitable DAC's.
Mind you though, the PJRC audio library that makes this all possible is limited to...
I would not be surprised that not using a twisting data pair causes issues. After all, we are talking about high frequencies at 480Mbps.
This spec clearly states that the data pair must be twisted....
Yes, you can. See this article.
How easy to implement this is, depends on how fast you want the analog output to change and how clean it needs to be.
You can't use a external DAC, I assume?
Paul
@xpeedster: we can help you better if you show the exact code you used and how you exactly hooked up both CAN transceivers. Schematic and/or photos do help.
Regards,
Paul
From the Pololu page:
These default RESET and SLEEP states are ones that prevent the driver from operating;
both of these pins must be high to enable the driver (they can be connected directly to...