Search results

  1. W

    Audio Library for Linear Timecode (LTC)?

    I just want to leave a big thank you for Frank B for adding LTC decoding to the audio library. We just successfully completed a fairly high stakes (for us) corporate event, where we had to trigger some radio modules off of a time code signal. Building on the example sketch it was a breeze to...
  2. W

    Teensy and numerical keypad. Not all digital pins created equal?

    So, I ran some tests, and here are my findings: First, I kept the original wiring (an 8-way ribbon cable, 58 cm long), and only played with CPU speeds. By the way, it was a T3.2, and not a T3.1 (I had mislabeled it and didn't check in the IDE. Shouldn't make any difference, though). Anyway...
  3. W

    Teensy and numerical keypad. Not all digital pins created equal?

    @KurtE: It's the standard CustomKeypad example from the library (with only the pin numbers changed).
  4. W

    Teensy and numerical keypad. Not all digital pins created equal?

    Thank you, that makes sense (and didn't occur to me). I mean, the wiring isn't yet as neat as it will be, but it's not a total mess, and it's the same wiring for both the T3.1 and T3.5. But, perhaps it's just marginally working for the slower T3.1, and marginally not working for the faster 3.5...
  5. W

    Teensy and numerical keypad. Not all digital pins created equal?

    I'm in the process of transferring a project using a 4x4 keypad from a Teensy 3.1 to a 3.5, but the keypad is causing problems. Everything works as expected on the 3.1, but on the 3.5 (using a different set of pins) it doesn't. Suspecting it might have to do with some new code that wasn't used...
  6. W

    Can a HID device know it's connected without polling?

    I have a Teensy LC sending Raw HID data to a computer, where a Python script is processing the data. The script is acknowleding all received data, so Teensy knows whether or not a transmission was successful. Ideally, Teensy could also know if the script is running without an actual data...
  7. W

    RAWHID demonstration program

    @DrM: To be honest, I didn't keep looking into this any further. With the examples I found in the wiki, I've managed to start piecing something together that looks promising. Is the RAW HID approach the right/best one? I don't know, but it has worked for me in the past (I don't need fast high...
  8. W

    RAWHID demonstration program

    Hi luni, it already has. Of course – as was bound to happen – just 5 minutes after I wrote the above, I found the wiki. Thank you anyway!
  9. W

    RAWHID demonstration program

    In an – so far unsuccessful – attempt to get RAWHID communication between Teensy and Python working, I came across this post and your code example. As I have very little experience with Python, I am hoping to find existing code that at least successfully establishes a connection, and then try to...
  10. W

    Help with driving multiple identical LED strips with the prop shield

    I had been hoping it would be possible to drive six SK9822 strips (identical static pattern, 30 LEDs each) in parallel with the prop shield, but it doesn't work. I'm using cool white DotStar strips from Adafruit, and, as I need them to be really dim, I'm using only one die per LED at very low...
  11. W

    T4 software restart procedure and freeram function

    Ah, I see. Well, that doesn't matter in my case, so it's absolutely perfect for what I need to do. Thank you so much for this solution, you just saved me a lot of trouble with the my current project!
  12. W

    T4 software restart procedure and freeram function

    Can you tell me why you don't like it? I am assuming you're refering to the T4_PowerButton library you referenced above. I just tried it and it works a treat. Calling arm_reset() from anywhere within the code appears to do exactly what I need. Are you expecting any problems under certain conditions?
  13. W

    T4 software restart procedure and freeram function

    So, what would be the right way to catch Paul's attention? I suppose submitting an issue on GitHub, but I have close to zero experience with GitHub. Besides, I could only write "SCB_AIRCR doesn't work. Please try to fix." I have a feeling that wouldn't be the right way to do this...
  14. W

    T4 software restart procedure and freeram function

    Has anybody gotten anywhere with this? Being able to trigger a full reset from code is such a fundamentally useful feature, it would be a shame if it didn't work on T4. I spent the evening searching the web (using increasingly generic search terms), but I couldn't find anything suggesting the...
  15. W

    TeensyTimerTool

    Yup, that's what it was. Upgraded to 1.49, and all works. Thanks!
  16. W

    TeensyTimerTool

    Hi, I stumbled across this just this morning and thought I'd take a look. However, trying to compile any of the included examples fails with the following message: Arduino: 1.8.10 (Mac OS X), TD: 1.48, Board: "Teensy 4.0, Serial, 600 MHz, Faster, German (Mac)" In file included from...
  17. W

    Using processor-managed transmitterEnable pin for RS485, on Teensy 3.2

    Thank you very much. That sounds like solid advice (especially array vs. byte), and it's reassuring to hear that software TxEnable works in most cases. I had already layed out a little prototype board with the RS485 chip's DE and RE pins connected to Teensy's pin 18, because I thought I might as...
  18. W

    Using processor-managed transmitterEnable pin for RS485, on Teensy 3.2

    Hi Pedro, thank you for taking the time. Yes, this is about an RS485 chip. And yes, using the standard library function of "SerialX.transmitEnable(pin number)" will probably be good enough, but the fact is that I don't know yet. My reasoning is that any potential problem I can eliminate before...
  19. W

    Using processor-managed transmitterEnable pin for RS485, on Teensy 3.2

    Hi Kurt, I mention RTS because of this quote from the original post: So, my understanding is that I need to find which Teensy 4.0 pin is the hardware RTS pin for Serial3 (that should be 18 if I read the reference manual correctly), and configure it to function as a hardware-managed transmitter...
  20. W

    Using processor-managed transmitterEnable pin for RS485, on Teensy 3.2

    Hi, I don't mean to hijack this thread, but does anyone happen to have looked at doing the same on Teensy 4.0? Specifically, I need to do this for Serial3, for which the hardware RTS pin would be pin 18. That much I found out (p. 308 in the reference manual), but the code to implement this, i.e...
  21. W

    Running Teensy LC on external 3.3V

    Hi all, I realize this may seem like a slight variation on a question that has been asked before (many times), but I don't think it is (I have read all threads I could find). Anyway, we have an upcoming project that will include a Teensy LC, a number of industrial components (all running on...
  22. W

    Interfacing with 24V industrial system

    Thanks a lot so far. I've found parts that I believe should work. I'll get some, play around with them and see what happens. What I'm not entirely clear on, however, is the number, placement, and value of resistors. Obviously, I have a current limiting resistor for the LED in the opto...
  23. W

    Interfacing with 24V industrial system

    Makes sense :) Any preference for uni- or bidirectional?
  24. W

    Interfacing with 24V industrial system

    Am I assuming correctly that it's the high CTR (i.e. low current) that makes the MOCD223M suitable in this application? If so, any optocoupler with sufficiently high CTR should do, right? I'd prefer a through hole component. With TVS you mean a TVS diode specifically, or any type of TVS device...
  25. W

    Interfacing with 24V industrial system

    I can't communicate with the main bus, that is the problem. Whether that's a security thing, has technical reasons, or "they" (the manufacturer of the elevator system) just don't want to let me, I don't know. Information doesn't exactly flow freely... So all I get are those 20 outputs. If...
  26. W

    Interfacing with 24V industrial system

    Hi everyone, we have been hired for a job which includes something that we don't have too much experience with. It's not rocket science, but I could use some critique/help. We have to control some media players over a serial port, which we'll do with Teensies (probably 3.2). These media...
  27. W

    Teensy 3.0 touch sensing implementation

    OK, now that I think I understand how it works, I believe I have found a small error. Line 1381 in mk20dx128.h reads #define TSI_SCANC_EXTCHRG(n) (((n) & 7) << 16) Shouldn't this be #define TSI_SCANC_EXTCHRG(n) (((n) & 15) << 16) instead (since EXTCHRG is a 4-bit field)? Also, I have a new...
  28. W

    Teensy 3.0 touch sensing implementation

    Thanks Paul. Am I assuming correctly that following portConfigRegister to pins_teensy.c will lead me in the right direction?
  29. W

    Teensy 3.0 touch sensing implementation

    Hi, this is mainly a question for Paul, but maybe someone else can help me too. After playing around testing the touch sensing capabilities on a Teensy 3.0, I thought it might be a useful learning exercise to try to understand how the touch sensing is implemented. So I did just that and started...
Back
Top