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

Search:

Type: Posts; User: brtaylor

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    123

    Yes. I don't like the 490-18285-1-ND that...

    Yes.



    I don't like the 490-18285-1-ND that you suggested, I haven't used it, but the ESR is really high and I had issues, likely with ESR, on a prior custom Teensy 3.6 that I did. I've...
  2. Replies
    1
    Views
    95

    BGA Decoupling Capacitors

    I'm in the process of laying out my first custom Teensy using the BGA version of the MK66FX1M0 (i.e. Teensy 3.6) microcontroller. Typically, when I'm using the LQFP version of that chip, I place...
  3. Replies
    28
    Views
    603

    I'm a huge proponent of CMake. For my builds that...

    I'm a huge proponent of CMake. For my builds that have options, like which microcontroller to compile for, I use definitions so that I can choose between them on the command line. ie:

    cmake .....
  4. Replies
    5
    Views
    189

    With everything on 3.3V, I've just wired from the...

    With everything on 3.3V, I've just wired from the SD to the microcontroller. Make sure you have enough current capacity for the SD - they can be a bit power hungry.
  5. Replies
    26
    Views
    1,329

    Wow, great news! Especially if it has an...

    Wow, great news! Especially if it has an industrial temperature range, or close to it, would be nice to use in commercial products.
  6. My team uses WSL for loading software to Teensy....

    My team uses WSL for loading software to Teensy. Did you know that you can call Windows executables from the WSL environment? The easiest path that we've found is calling the windows version of the...
  7. @Pilot, thanks for the feedback, that's...

    @Pilot, thanks for the feedback, that's excellent!



    It's MIT - agree that we should put it in every file.



    I'll be sure to check it out. We have good unit tests for libraries that aren't...
  8. I finished getting our software open-sourced:...

    I finished getting our software open-sourced:
    https://gitlab.com/bolderflight/software

    We organized the software into many focused repos of limited scope to enhance code readability, re-use, and...
  9. Not OP, but typically you try to avoid latency....

    Not OP, but typically you try to avoid latency. Aircraft dynamics are pretty fast. Consider an aircraft that has an attitude hold control law that is trying to maintain level pitch and roll. It...
  10. Interesting! I'm actually in the process of...

    Interesting! I'm actually in the process of open-sourcing all of our flight controller software. We're still using the Teensy 3.6 microcontroller and haven't hit any performance limitations yet....
  11. Why not do a custom board? Then you can design...

    Why not do a custom board? Then you can design the placement and type of USB connector. Manufacturing costs might actually be cheaper than using the Teensy as well - the assembly shop we use charges...
  12. Replies
    3
    Views
    315

    Just to add on to what Pilot is saying, when I've...

    Just to add on to what Pilot is saying, when I've had a need to do similar operations in the past, and when I was reasonably certain that structs were ordered in a way such that they would be packed...
  13. Replies
    3
    Views
    315

    Best guess without seeing the whole...

    Best guess without seeing the whole thing...Configuration is a struct and c.data is an array of chars or unsigned chars. They're casting the data pointed to by c.data to the struct - in other words,...
  14. Replies
    2
    Views
    204

    The specs you link to for that servo mention a...

    The specs you link to for that servo mention a frequency of 333 Hz. Most standard servos, and indeed the servo library, are designed to work at 50 Hz. Do you know if that servo can operate at the...
  15. Replies
    11
    Views
    581

    No, you can: 1. Use a different IDE and just use...

    No, you can:
    1. Use a different IDE and just use Arduino to compile.
    2. Paul supplies a Makefile, so you can use GCC with GNU make.
    3. The core software is available, so you can adapt it to...
  16. Replies
    241
    Views
    77,600

    IIRC, some people wanted access to the raw counts...

    IIRC, some people wanted access to the raw counts from the sensor data instead of the float values.
  17. Replies
    241
    Views
    77,600

    The library has not been updated for Teensy 4.x....

    The library has not been updated for Teensy 4.x. There has been a fork and a PR to incorporate the necessary updates, but I haven't managed to test it yet (still haven't taken my Teensy 4 out of the...
  18. Replies
    8
    Views
    356

    strlen is not including the null character when...

    strlen is not including the null character when it gives you the length. You should be using:


    char dirName[4 + strlen(listOfSynthTypes[i])];


    Instead of:


    char dirName[3 +...
  19. Replies
    4
    Views
    292

    Thanks! For some reason I thought that Teensy 3.6...

    Thanks! For some reason I thought that Teensy 3.6 supported higher bitrates, maybe through CAN-FD.
  20. Replies
    4
    Views
    292

    Teensy 3.6 Maximum CAN Bitrate

    Apologies in advance since I think this has been covered, but what is the maximum bitrate for two Teensy 3.6 assuming that I get compatible transceivers? Searching for "CAN" was giving me erroneous...
  21. Replies
    2
    Views
    281

    That's really convenient!

    That's really convenient!
  22. When I use this: static constexpr...

    When I use this:


    static constexpr HardwareSerial &GNSS_UART = Serial3;


    It creates a reference to Serial3 called GNSS_UART. So I can use GNSS_UART in my code instead of Serial3. The...
  23. I use this all the time in my code: static...

    I use this all the time in my code:


    static constexpr HardwareSerial &GNSS_UART = Serial3;
  24. Replies
    6
    Views
    375

    That looks like your documents folder - i.e....

    That looks like your documents folder - i.e. where you would make sketches and install libraries. Teensyduino is asking for the install location of the arduino program. Typically this would be in...
  25. It's been a while, but if I remember correctly,...

    It's been a while, but if I remember correctly, core_pins.h and pins_teensy.c are both needed to be modified to use the additional pins for GPIO. For other functions, like analog input, you would...
  26. You have to modify the core library to add the...

    You have to modify the core library to add the additional pins.
  27. Replies
    4
    Views
    320

    Can you increase the buffer size?

    Can you increase the buffer size?
  28. Similar discussion here:...

    Similar discussion here:
    https://forum.pjrc.com/threads/61963-Remove-compiler-warnings-from-libraries-we-ship

    Our workflow is a little different - we're using GitLab and CMake for compiling...
  29. Replies
    11
    Views
    399

    Can you post pictures of your wiring for SPI and...

    Can you post pictures of your wiring for SPI and I2C?
  30. That's really cool to see! For work, we've been...

    That's really cool to see! For work, we've been adding automated testing to all of our code using the GitLab CI pipeline and Google Test. Works great for code that can run on either Teensy or Linux,...
  31. Replies
    19
    Views
    1,514

    The way I set up my toolchain, make blink_hex...

    The way I set up my toolchain, make blink_hex would make the hex file and make blink_upload flashes the teensy using the command line uploader.
  32. Replies
    19
    Views
    1,514

    Yeah, I tend to use WSL for compiling Teensy...

    Yeah, I tend to use WSL for compiling Teensy projects with CMake on Windows. Works like a charm.
  33. Replies
    19
    Views
    1,514

    Hard to say what the issue is without more...

    Hard to say what the issue is without more insight into how you're adding files and what the error messages you get are.

    We have a version of the Teensy 3.x core that we use for our projects and...
  34. Read the licenses of the code that you use from...

    Read the licenses of the code that you use from external sources (i.e. the Teensy cores) and follow the guidelines in those. If license obligations are too onerous, don't use that library and write...
  35. Thread: uNav INS

    by brtaylor
    Replies
    709
    Views
    153,062

    Thanks for posting! I'm going to have to think...

    Thanks for posting! I'm going to have to think through this a bit more.
  36. Replies
    163
    Views
    5,793

    I'd be super keen if someone got NAND flash...

    I'd be super keen if someone got NAND flash working with Teensy. Having storage size rivaling an SD card in a soldered on solution would be awesome.
  37. Replies
    2
    Views
    414

    Not with the Teensy 4.0, since the bootloader...

    Not with the Teensy 4.0, since the bootloader chip isn't available yet, but plenty of people have with the Teensy 3.x. Be sure to read through the links on this page:...
  38. Maybe I'm misunderstanding your goal, but I would...

    Maybe I'm misunderstanding your goal, but I would think about this some more. Are you actually trying to get analog data or digital pin state (i.e. on or off)? If it's digital pin state, then you...
  39. Thread: uNav INS

    by brtaylor
    Replies
    709
    Views
    153,062

    Great to hear! Yeah, with the platforms I've been...

    Great to hear! Yeah, with the platforms I've been testing for, they're always moving some.
  40. Replies
    54
    Views
    7,394

    Yes, they're no longer for sale - will need to be...

    Yes, they're no longer for sale - will need to be updated to work with the Teensy 4 / 4.1 pinout.
  41. Replies
    54
    Views
    7,394

    Here is the Backpack pinout. I'd be curious to...

    Here is the Backpack pinout. I'd be curious to know if/what would need to be changed to work with Teensy 4.0. Please let me know if you need additional information.
    20566

    There were two voltage...
  42. Thread: uNav INS

    by brtaylor
    Replies
    709
    Views
    153,062

    Yeah, seems weird - it's too big of an error to...

    Yeah, seems weird - it's too big of an error to be declination. I haven't had a chance yet to do a deep dive into what's going on.
  43. Thread: uNav INS

    by brtaylor
    Replies
    709
    Views
    153,062

    Attached is a zip of the corrected code. It was...

    Attached is a zip of the corrected code. It was being used with some CMake build tools, but should be easy enough to get it working as an Arduino library. Requires Eigen.

    Yaw tracking has been...
  44. Thread: uNav INS

    by brtaylor
    Replies
    709
    Views
    153,062

    Love the F9P's - especially adding in CORS...

    Love the F9P's - especially adding in CORS corrections, fast time to fix and low standard deviation.

    Haven't done too much with this filter, there were a couple minor errors discovered, but mostly...
  45. Replies
    241
    Views
    77,600

    Seems like this deserves its own thread.

    Seems like this deserves its own thread.
  46. Thread: SBUS Library

    by brtaylor
    Replies
    68
    Views
    18,278

    Hey John, In the SBUS library, you'll see that...

    Hey John,

    In the SBUS library, you'll see that I set the baud rate to 100,000 in the begin method:
    https://github.com/bolderflight/SBUS/blob/master/src/SBUS.cpp#L47

    Where _sbusBaud is defined...
  47. Thread: SBUS Library

    by brtaylor
    Replies
    68
    Views
    18,278

    Hi Funwey, Have you downloaded the library...

    Hi Funwey,

    Have you downloaded the library recently? I only recently edited it to enable the Teensy 4.
    https://github.com/bolderflight/SBUS

    Also:
    1. Don't use the inverter circuit. The Teensy...
  48. Replies
    122
    Views
    54,590

    You're right, now that I take a closer look - the...

    You're right, now that I take a closer look - the bytes are repeated.

    The prmac function seems to work fine.
  49. Replies
    122
    Views
    54,590

    Awesome, I can confirm that works. Thanks!

    Awesome, I can confirm that works. Thanks!
  50. Replies
    122
    Views
    54,590

    With Teensy 3.6 at any CPU setting above 120 MHz,...

    With Teensy 3.6 at any CPU setting above 120 MHz, running this code (https://github.com/FrankBoesing/TeensyMAC/blob/master/examples/PrintInfo/PrintInfo.ino) and library...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4