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

Search:

Type: Posts; User: jwmelvin

Search: Search took 0.00 seconds.

  1. Nicely done. I appreciate the detail you show. I...

    Nicely done. I appreciate the detail you show. I was just talking about this with a friend of mine. Do you have video or other pictures of the RGB action?
  2. Replies
    56
    Views
    32,949

    +1. I, perhaps obviously, support this addition!

    +1. I, perhaps obviously, support this addition!
  3. Replies
    56
    Views
    32,949

    I don't think so, only because the code here...

    I don't think so, only because the code here doesn't include the low-frequency handling:
    https://github.com/PaulStoffregen/cores/blob/master/teensy3/pins_teensy.c
  4. maybe if U Think about it First then ppl will b...

    maybe if U Think about it First then ppl will b moar willing to help. Give it a try and post what you come up with after reading the documentation available for elapsedMillis
  5. Any through hole is obviously the same...

    Any through hole is obviously the same front/back. There are additional surface pads on the back that offer additional signals. There are a few ways to connect to them. The easiest way seems to be to...
  6. Seems to me that a Teensy is a great way for you...

    Seems to me that a Teensy is a great way for you to further your goals. The programming language is the same as Arduino, with a few additions. That is because Paul, the creator of Teensy, has built...
  7. Replies
    19
    Views
    9,307

    Is this just for greater headroom before the...

    Is this just for greater headroom before the damage-threshold voltage is reached?
  8. Replies
    10
    Views
    3,174

    Ground shields at one end to avoid ground loops....

    Ground shields at one end to avoid ground loops. Are your two systems intentionally isolated including the grounds? If designed that way then I suppose that may work but otherwise they would commonly...
  9. Replies
    10
    Views
    3,174

    Wrap each motor lead through a ferrite a few...

    Wrap each motor lead through a ferrite a few times. Put a power filter on the input to the motor power supply. Shield your signal cables and ground the shield at one end.
  10. Replies
    4
    Views
    1,766

    Why differential input mode?

    Why differential input mode?
  11. When I built a large machine tool using brushless...

    When I built a large machine tool using brushless motors (grad school) we used ferries on the motor leads to reduce radiated noise. They were quite effective. I imagine, though, that ferrites on the...
  12. Replies
    8
    Views
    3,203

    Since you want zero-cross detection, couldn't you...

    Since you want zero-cross detection, couldn't you use a comparator circuit for that and then have that provide the sync signal for PWM?

    Or something like this: ...
  13. Replies
    56
    Views
    32,949

    Why not just use theremingenieur's code, which...

    Why not just use theremingenieur's code, which will accommodate the frequency range.
  14. Replies
    56
    Views
    32,949

    I can confirm that this works as desired, thank...

    I can confirm that this works as desired, thank you so much.

    Am I correct that, based on section 36.3.3 of the Reference Manual (pp. 780-81), each FTM may select a different clock and/or...
  15. Replies
    56
    Views
    32,949

    This is fantastic, thank you. I need to spend...

    This is fantastic, thank you. I need to spend some time with the reference manual to understand your code and what else may be impacted by changing the clock source for the FTM. No doubt it may mean...
  16. Replies
    56
    Views
    32,949

    I'm curious about lower limits for PWM output...

    I'm curious about lower limits for PWM output too. Is there a practical limit where it makes more sense to switch to using a software-based implementation of PWM? For my application, I will be...
  17. It does seem suspicious that the buffer is 64...

    It does seem suspicious that the buffer is 64 bytes. Why not try increasing it and see what happens?
  18. Replies
    9
    Views
    3,442

    Thank you that helps my understanding...

    Thank you that helps my understanding considerably. Is there any reason to use the PNP instead of a p-channel MOSFET?
  19. Replies
    4
    Views
    1,520

    What an awesome sensor. Do you have a data sheet...

    What an awesome sensor. Do you have a data sheet for it?
  20. Replies
    9
    Views
    3,442

    Thanks. Do I not need a series resistor between...

    Thanks. Do I not need a series resistor between the Teensy and the NPN?
  21. Replies
    9
    Views
    3,442

    Thank you Paul. I really appreciate your help...

    Thank you Paul. I really appreciate your help (and great products). I had thought that reducing R3 may be in order, just wanted to stay well clear of the 20V max voltage differential. I will go with...
  22. Isn't the output enable of the 74AHCT125 an...

    Isn't the output enable of the 74AHCT125 an inverse input, so that the outputs are enabled with the OE_ input is LOW?
  23. Replies
    9
    Views
    3,442

    So maybe someone is willing to comment on this...

    So maybe someone is willing to comment on this schematic? (Adapted from post 11 of this thread.)

    It uses an NPN transistor to drive the P-channel MOSFET. Since the car operates at ~14.4V, the...
  24. Replies
    9
    Views
    3,442

    switchable 12V pull-up resistor

    I'm using Teensy 3.1 in an automotive interface that includes a connection to the OBD2 k-line. That specification requires a terminating 510 Ohm pull-up resistor from the k-line to +12V. If there is...
  25. Why not just compile for Arduino Micro?

    Why not just compile for Arduino Micro?
  26. This just got me. Is there any reason to redefine...

    This just got me. Is there any reason to redefine the pin to turn the output off? I was using digitalWrite(pin,LOW), which didn't work so I tried analogWrite(pin,0), which did. That seems fine but I...
  27. Replies
    10
    Views
    5,293

    I always recommend Teensy over Arduino. I have...

    I always recommend Teensy over Arduino. I have found it to be so much better from a capability perspective and I think Paul's software contributions would be impossible to overstate. They are...
  28. Replies
    4
    Views
    2,771

    Does the switch ground the input?

    Does the switch ground the input?
  29. Replies
    12
    Views
    9,219

    You have it correct. That's why I recommended...

    You have it correct. That's why I recommended that relay module. For just getting things connected, it's completely awesome. And it has all the right features like current-limiting resistors and...
  30. Replies
    12
    Views
    9,219

    Your option 1 sounds right to me. I'm pretty sure...

    Your option 1 sounds right to me. I'm pretty sure that's how I did it, although it was a while ago and I may have been using an Arduino board (5V). Is your 5V supply running the Teensy? In that case...
  31. Replies
    12
    Views
    9,219

    Honestly, you might be better off getting started...

    Honestly, you might be better off getting started by using something like this, which you can connect directly to the digital output pins.
  32. Replies
    8
    Views
    5,240

    Isn't the TIP120 a Darlington pair? Seems like...

    Isn't the TIP120 a Darlington pair? Seems like you'd want a MOSFET for high-speed use. But you said you need 1ms and that the TIP120 is 20 us, so aren't you fine?
  33. Replies
    12
    Views
    11,251

    Don't you have to define count as a volatile int?

    Don't you have to define count as a volatile int?
Results 1 to 33 of 33