Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: PaulS

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Is it possible to post your complete code so that...

    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
  2. Replies
    5
    Views
    93

    If the output of the 3V3 regulator shows only...

    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...
  3. Yes, no problem. Better not use 5V as not all...

    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...
  4. Electrically, this absolute endless 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...
  5. Replies
    21
    Views
    615

    Did a quick current consumption test using an...

    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...
  6. Replies
    21
    Views
    615

    It depends on the exact OLED display used. I...

    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.
    ...
  7. From what I understand, if you want to connect...

    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...
  8. Replies
    3
    Views
    208

    Did you perhaps see this page...

    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...
  9. Replies
    21
    Views
    615

    The default PWM frequency is 488.28 Hz. Got the...

    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
  10. Replies
    21
    Views
    615

    It's very difficult to advice you with the...

    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...
  11. Replies
    2
    Views
    165

    Did you perhaps use the AGND pin as the GND for...

    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
    ...
  12. Teensy 3.6 featured in new project by Stuff Made Here

    Fun project. Video was released today and already more than 1.7M views...
  13. Replies
    3
    Views
    100

    The +5V is used for the TJA1050...

    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
  14. Replies
    38
    Views
    845

    For what you want [reading out basic car/engine...

    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...
  15. Replies
    3
    Views
    100

    You will need to power the MCP2515 with 3V3. The...

    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...
  16. Replies
    38
    Views
    845

    Your assumption is correct. I did the same for my...

    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...
  17. Allright. Just curious, what do you mean by...

    Allright. Just curious, what do you mean by built-in library?

    Paul
  18. When using the Teensyduino supplied Encoder...

    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...
  19. Replies
    4
    Views
    208

    Did you on purpose connect SCK/T_CLK to pin 14 of...

    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
  20. Please, don't search for a clone... You can find...

    Please, don't search for a clone...
    You can find distributers on this page, on the rightside column.

    Paul
  21. Just measured my display...

    Just measured my display - the multimeter is reading 54mA running this sketch.
    DC current measured in the 3V3 line to the display.

    Paul
  22. What I found on the web is that the ILI9341 draws...

    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...
  23. You better go here:...

    You better go here: https://support.logi.com/hc/en-us/search#q=z207&s=all
  24. Found a potential solution in this thread...

    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...
  25. As far as I know, there is not...but I could be...

    As far as I know, there is not...but I could be wrong...

    Paul
  26. Yes, I agree with Bricomp's suggestion. Teensy...

    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
  27. Perhaps you should comment out these 2 lines and...

    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
  28. Replies
    5
    Views
    161

    Could it be that the SDcard housing on the audio...

    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
  29. Replies
    9
    Views
    179

    Better yet, I modified "byte midichans[2048]" to:...

    Better yet, I modified "byte midichans[2048]" to:

    byte midichans[2048] =...
  30. Replies
    9
    Views
    179

    Does this help? I changed [y] to [y+1]: void...

    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] ==...
  31. Replies
    9
    Views
    179

    Hmm, I'm confused too (but more in the sense that...

    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...
  32. Replies
    9
    Views
    179

    I guess that a value of 0 is illegal, but don't...

    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...
  33. Replies
    9
    Views
    179

    MIDI channels start numbering at 1, not 0. You...

    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
  34. About the wire stub warnings: do you use the...

    About the wire stub warnings: do you use the default Design Rules provided by Eagle?
    Got the wire stub box checked:

    28080

    Paul
  35. Checked the design once more, but still got those...

    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 :) )
    ...
  36. On the schematic: I see that you use only 1...

    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...
  37. Replies
    18
    Views
    424

    From this...

    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
  38. Yes, those airwires are really showing an issue:...

    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]...
  39. Was able to open your project. It complained...

    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...
  40. Could you also send the schematic [.sch file]? Or...

    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...
  41. Replies
    6
    Views
    317

    Teensy 4.1 does not have a DAC pin so it can't...

    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...
  42. You could start by posting your schematic....

    You could start by posting your schematic. Looking into the PCB file may be the next step.

    Paul
  43. Replies
    18
    Views
    424

    Are you sure? See...

    Are you sure? See https://uk.farnell.com/c/semiconductors-ics/logic/shift-registers?st=74ahct595

    Paul
  44. Replies
    18
    Views
    424

    @SteveSFX: the OnSemi 74VHC595MX does not have...

    @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...
  45. It seems like resistor R8 is broken. From the...

    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...
  46. Replies
    9
    Views
    385

    If you are talking about USB-based streamer, yes,...

    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...
  47. Replies
    9
    Views
    385

    I would not be surprised that not using a...

    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....
  48. Yes, you can. See this...

    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
  49. Replies
    3
    Views
    146

    @xpeedster: we can help you better if you show...

    @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
  50. From the Pololu...

    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...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4