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

Search:

Type: Posts; User: jwatte

Page 1 of 6 1 2 3 4

Search: Search took 0.00 seconds.

  1. I don't disagree. But the data sheet for the K66...

    I don't disagree. But the data sheet for the K66 says:


    Is the data sheet wrong?
  2. That's a good theory, but in this case, the VCC...

    That's a good theory, but in this case, the VCC is not hooked up at all -- the GND and pin 25 are the only pins connected. That means VCC is floating/undefined.
    However, there are circuits that can...
  3. But there is no 5V power into the Teensy. The 5V...

    But there is no 5V power into the Teensy. The 5V regulator does not start up. The 12V power switch does not turn on, because the voltage of the "INPUT" pin doesn't rise enough.
    I have tried this by...
  4. No, I think I'm using an earlier Teensyduino...

    No, I think I'm using an earlier Teensyduino (1.44 perhaps?)
    However, I don't get that far -- the power switch doesn't turn on, so the boost regulator doesn't turn on, so the Teensy doesn't turn on...
  5. Also: Powering the Teensy from USB, it can turn...

    Also: Powering the Teensy from USB, it can turn on and off the 12V rail fine. This is some kind of feedback problem when the Teensy itself is not yet powered.
  6. Teensy 3.6 pin impedance before being powered

    I have a PCB that has an electronic power switch for "12V" input (really, 3S or 4S LiPo,) that feeds a buck regulator, that generates 5V, that powers a Teensy 3.6.

    The power switch is latched high...
  7. Are you using the +5V output pin of the LC? That...

    Are you using the +5V output pin of the LC? That pin is not the same on the 3.2.

    Other than that, hook up your logic analyzer or oscilloscope to figure out what the difference is...
  8. I'd be down for a 4.6 form factor. Even with the...

    I'd be down for a 4.6 form factor. Even with the current chip, that could be useful. Although, TBH, the current robot doesn't use all the MHz of the 3.6 it has, so ...
    It *does* use all the edge I/O...
  9. Replies
    294
    Views
    17,079

    @loglow I would recommend thicker traces for the...

    @loglow I would recommend thicker traces for the power and ground rails along the tops/bottoms (and from there to the original source of those signals.)
    Perhaps if they're fed by the Teensy itself,...
  10. Replies
    4
    Views
    301

    My experience has been that, after you apply 12V...

    My experience has been that, after you apply 12V onto some Teensy pins, even for a short while, the Teensy will stop working, and will become quite warm when powered up.
    Presumably the MOSFETs in...
  11. Replies
    4,349
    Views
    474,057

    Question: With the release coming up, is there a...

    Question: With the release coming up, is there a good summary of the form factor and pinout/s of the version 4 Teensy linkable somewhere?
    Maybe it's also available on some post in this thread, but...
  12. Replies
    5
    Views
    3,061

    An Arduino can be considered a single board...

    An Arduino can be considered a single board computer. These terms are all made up by marketing people to sell products, for engineers, it's more important to figure out what you really need, and what...
  13. Replies
    28
    Views
    3,334

    I upvoted this pull request.

    I upvoted this pull request.
  14. Thanks KurtE and defragster! I ended up...

    Thanks KurtE and defragster!

    I ended up looking around some more (first search didn't find much, hence why I asked,) and the state seems to be:

    1. Use a third party tool like defragster or...
  15. Tensyduino compatibility with Arduino Command Line?

    I'm running Arduino 1.8.9 on Windows, and the latest Teensyduino as of yesterday.
    In the IDE, I can select and program a Teensy just fine.
    However, using the Arduino Command Line interface, I can't...
  16. We still don't have this documentation! What...

    We still don't have this documentation! What pinMode() does touchRead() need? How fast is it? What are typical values returned? Should I code in an absolute value, or try to detect big changes?
  17. Replies
    4
    Views
    541

    OK, thanks! I guess that makes sense, as it...

    OK, thanks! I guess that makes sense, as it allows atomic updates of multiple pins at the same time.
  18. Replies
    4
    Views
    541

    Great! That in turn tells me I have to use the...

    Great! That in turn tells me I have to use the Flex Timer Module code from the Kinetis headers, and then go look in the Kinetis manual.

    There was a question by lacsap which hasn't been answered...
  19. Replies
    4
    Views
    541

    How to control PWM phase?

    For controlling two brushless motors out of a Teensy 3.5, I need to use 12 PWM pins, where I can control not just control frequency and duty cycle, but also phase of the PWM output.
    I looked at the...
  20. Replies
    19
    Views
    2,781

    I believe I hit it within a single bank. I...

    I believe I hit it within a single bank. I believe M4 needs software assist for unaligned 4 byte access. (Could be wrong of course)

    The dummy proof way to get around this is to create a...
  21. Replies
    19
    Views
    2,781

    The solution was to move the buffer 2 bytes in...

    The solution was to move the buffer 2 bytes in memory :-)
  22. Replies
    19
    Views
    2,781

    How to spend hours debugging a Teensy3.5

    I have a serial protocol that defines messages like this:


    struct SomeMessage {
    uint32_t data1;
    uint16_t data2;
    uint16_t data3;
    };

    (I know about byte order, and struct padding, and...
  23. Replies
    8
    Views
    1,519

    You can tell whether it's running in 32- or...

    You can tell whether it's running in 32- or 64-bit mode using "uname -a"


    Linux xps15 4.13.0-39-generic #44-Ubuntu SMP Thu Apr 5 14:25:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


    The "x86_64"...
  24. Replies
    7
    Views
    917

    The interrupt handler runs with interrupts...

    The interrupt handler runs with interrupts disabled. Thus, doing anything blocking in that function will cause other same- or lower-priority interrupts to be delayed until the blocking operation is...
  25. Replies
    4
    Views
    779

    Digi-key hits > 0 products for "dac i2s":...

    Digi-key hits > 0 products for "dac i2s": https://www.digikey.com/products/en?keywords=dac%20i2s
    (although of course many of those are "the same thing" in slightly different packaging.)
  26. Replies
    3
    Views
    638

    Note that stall torque is different from...

    Note that stall torque is different from operating torque. Most motors will burn out if you keep stalling them, and are only safe to operate at significantly less than maximum stall torque.
    ...
  27. I ended up finding the files that #include...

    I ended up finding the files that #include <Wire.h> in the Audio/ library, and renaming them to not include them in the build.
    As they are all just codec support for codecs I don't use, this was...
  28. Using Audio and the new Wire library causes duplicate symbol linker errors

    The Audio library apparently includes the old Wire library, which causes duplicate symbol definitions if I want to use the new (asynchronous) Wire library and Audio in the same project.
    Any good...
  29. Replies
    183
    Views
    51,725

    From the marketing literature: I would think...

    From the marketing literature:


    I would think you'd want to decrease system cost and reduce time to market, but that's just me.
    Surely, American marketers are well paid enough to actually write...
  30. Teensy 3.2 as I2C slave, emulating PCA9685 PWM driver

    I'm using a Raspberry Pi with Adafruit_PCA9685 library to talk to the I2C bus.
    I'm using 2 kOhm pull-ups.
    I'm using a Teensy3.2 to emulate the PCA9685 PWM controller part, by forwarding the first...
  31. Replies
    419
    Views
    256,925

    The right way to use Teensy is to install a...

    The right way to use Teensy is to install a supported version of the Arduino IDE (for example 1.8.5) and then download and install the latest version of Teensyduino on top of that.
    You can then see...
  32. Replies
    5
    Views
    3,835

    My #1 tip is: If you want "a working rover"...

    My #1 tip is: If you want "a working rover" rather than "a fun project that takes years," start with a mechanical platform that already works!
    I'd recommend something like the Wild Thumper...
  33. Replies
    2
    Views
    766

    I took the board to a Windows machine, and it...

    I took the board to a Windows machine, and it could be programmed with Blink just fine there.
    After plugging it back into the Linux machine, it could be programmed once (using IDE -> auto-upload)...
  34. Replies
    2
    Views
    766

    Teensy 3.5 doesn't become programmed

    I have a Teensy 3.5, connected to an Ubuntu 17.04 x64 machine.
    I'm using Arduino 1.8.4 and a recent Teensyduino (forget the exact version.)
    This Teensy has been programming just fine; I've loaded...
  35. Replies
    12
    Views
    3,300

    I would give it a 65% likelihood that your...

    I would give it a 65% likelihood that your problem is timing in the communications to the display.
    When it's "not OK," versus when it's "OK," what does a logic analyzer or scope look like for the...
  36. Replies
    183
    Views
    51,725

    Sure, although the Pi Zero would still be great...

    Sure, although the Pi Zero would still be great value at $15 or $20.
    And I happily pay the $20 for the Teensy 3.2 and the $30 for the 3.5.
    But, I would rather keep doing that, than pay <whatever>...
  37. Replies
    183
    Views
    51,725

    You don't need external RAM on the Pi, but you do...

    You don't need external RAM on the Pi, but you do need external flash. (some people think this is a benefit....)
    Technically, yes, you can run any code you want in kernel mode with perfectly...
  38. Replies
    183
    Views
    51,725

    That board is $83, and is still a Cortex-M. ...

    That board is $83, and is still a Cortex-M.

    Compare to https://www.adafruit.com/product/3400 which is $10 and has built-in WiFi, Bluetooth, and HDMI... (and is much smaller.)
  39. Replies
    6
    Views
    1,448

    Oh, nice! I have to try that out.

    Oh, nice! I have to try that out.
  40. Replies
    6
    Views
    1,448

    Wedging typically means stopping reading/writing...

    Wedging typically means stopping reading/writing data, or being very intermittent about how much it reads/writes.

    As I increase throughput on USB serial on Linux, I end up running into this. It's...
  41. Replies
    12
    Views
    3,300

    If you say "graphics changes," then it sounds...

    If you say "graphics changes," then it sounds like you're driving the graphics display faster than it can keep up -- i e, a timing problem.
    If you're using software SPI, then the timing of toggling...
  42. Replies
    9
    Views
    2,846

    Note that, even with attachInterrupt(), you still...

    Note that, even with attachInterrupt(), you still need to also use a pull-up (or pull-down) to drive the pin when the button is not actuating the connections to GND (or 3.3V.)
    pinMode(...,...
  43. If you need to generate 3.3V from a 1.5V battery,...

    If you need to generate 3.3V from a 1.5V battery, I would recommend something like this: https://www.pololu.com/product/2561
    Hook that into the 3.3V pin of the Teensy, and you'll do fine!

    Snooze...
  44. Replies
    12
    Views
    3,300

    It is traditional that "Debug" is the...

    It is traditional that "Debug" is the not-optimized version of the code.

    When you say "different results," what do you mean? Unless you're measuring timing, if the result of your code changes...
  45. Replies
    6
    Views
    1,448

    An easy way to get Serial with HID?

    Because the Linux USB serial driver keeps wedging on high data amounts, I'm using HID to send/receive data to the Teensy. This is not wedging, so yay!
    But, I'd like to also use the serial port for...
  46. Replies
    419
    Views
    256,925

    I see. At that point, you can still use a...

    I see. At that point, you can still use a resistive divider, but use the 1.2V reference instead of the 3.3V reference.
    Thus, use analogReference(INTERNAL1V1) and divide the input voltage at least...
  47. Replies
    419
    Views
    256,925

    First: You cannot put a voltage higher than 3.3V...

    First: You cannot put a voltage higher than 3.3V into an analog in, so there is that. (I e, no hooking batteries straight to the analog in pin!)
    Second: The VREF uses specific hardware to make sure...
  48. Replies
    1
    Views
    683

    Solution: The problem was that I hadn't called...

    Solution: The problem was that I hadn't called AudioMemory(X) in setup().
  49. Replies
    1
    Views
    683

    dacs output don't play on Teensy3.5

    I have the simplest possible sketch, compiling on Ubuntu using the Arduino IDE and a Teensyduino install I downloaded just a few days ago.


    #include <Audio.h>

    // GUItool: begin automatically...
  50. Replies
    141
    Views
    46,121

    Can I buy the RAM option on the Tindie page? I'll...

    Can I buy the RAM option on the Tindie page? I'll probably put in an order!

    Also, could the teensy be put on the underside for a more compact volume? (Obviously not for this revision!)
Results 1 to 50 of 263
Page 1 of 6 1 2 3 4