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.01 seconds.

  1. Thread: SBUS Library

    by brtaylor
    Replies
    58
    Views
    12,842

    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...
  2. Replies
    122
    Views
    47,876

    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.
  3. Replies
    122
    Views
    47,876

    Awesome, I can confirm that works. Thanks!

    Awesome, I can confirm that works. Thanks!
  4. Replies
    122
    Views
    47,876

    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...
  5. Thread: uNav INS

    by brtaylor
    Replies
    682
    Views
    136,966

    Hi Andrew, We flight test often with the...

    Hi Andrew,

    We flight test often with the version of the EKF implemented in our flight software without issues on both fixed wing and multi-rotor vehicles...
  6. Thread: SBUS Library

    by brtaylor
    Replies
    58
    Views
    12,842

    I'm not sure, hasn't been tested other than what...

    I'm not sure, hasn't been tested other than what you've been doing.

    If you're fine with the two write methods being called at the same time, an alternative approach is to use one timer and write...
  7. Thread: SBUS Library

    by brtaylor
    Replies
    58
    Views
    12,842

    It's not flexible, which is why it's not...

    It's not flexible, which is why it's not implemented, but yes, you can work around it.

    In SBUS.cpp, you would change this (lines 26 - 33):


    #if defined(__MK20DX128__) || defined(__MK20DX256__)...
  8. Thread: SBUS Library

    by brtaylor
    Replies
    58
    Views
    12,842

    Which Teensy are you compiling and testing on?...

    Which Teensy are you compiling and testing on? For Teensy 3.0 and 3.1/3.2, this would be expected behavior - I have to emulate two stop bits and define some timers to help with that, which would only...
  9. Replies
    25
    Views
    2,118

    Send us an email at info@bolderflight.com!

    Send us an email at info@bolderflight.com!
  10. Replies
    6
    Views
    283

    This is the cmake toolchain I use for Teensy...

    This is the cmake toolchain I use for Teensy based projects:



    set(CMAKE_SYSTEM_NAME Generic)
    set(CMAKE_SYSTEM_PROCESSOR arm)
    set(CMAKE_C_COMPILER arm-none-eabi-gcc)
    set(CMAKE_CXX_COMPILER...
  11. Replies
    5
    Views
    245

    Silly question. Why wireless when the distance is...

    Silly question. Why wireless when the distance is so short?
  12. Replies
    3
    Views
    237

    Thanks! That's an interesting reference.

    Thanks! That's an interesting reference.
  13. Replies
    3
    Views
    237

    Custom Teensy 3.6 Crystal

    I ran into an interesting observation and I'm looking for some insight. I typically use this crystal for my Teensy 3.6 based custom projects:...
  14. Replies
    11
    Views
    751

    I use KiCad.

    I use KiCad.
  15. Replies
    2
    Views
    255

    Here's a link to a Teensy 3.2 reference board...

    Here's a link to a Teensy 3.2 reference board clone:
    https://github.com/thewknd/teensy-boards/tree/master/Teensy%203.2%20reference%20board%20clone

    It has a shared cart on Mouser that you can...
  16. Replies
    2
    Views
    221

    Completely depends on what your requirements are....

    Completely depends on what your requirements are. We don't know the accuracy that you need to measure current or the expected current range. The click board isn't doing anything magical - it's simply...
  17. Replies
    9
    Views
    466

    The ATmega 328 and similar are great through-hole...

    The ATmega 328 and similar are great through-hole packages as well - very straightforward to design a working PCB and you can stick with hand-soldering through-hole parts. The reference manual is...
  18. Replies
    9
    Views
    439

    Yes, that's what's needed.

    Yes, that's what's needed.
  19. Replies
    9
    Views
    439

    Simply use one of the other bus objects, i.e....

    Simply use one of the other bus objects, i.e. Wire1 instead of Wire.
  20. Replies
    79
    Views
    28,731

    Thanks for that bit of information!

    Thanks for that bit of information!
  21. Replies
    79
    Views
    28,731

    Trying out MTP Responder. Shows up fine on...

    Trying out MTP Responder. Shows up fine on Windows 10 using a Teensy 3.6 with the built-in SD running MTP Blinky with the patch mentioned in the PR applied. I can create folders, but not rename them...
  22. Replies
    3
    Views
    247

    It definitely takes a bit of work to get FreeRTOS...

    It definitely takes a bit of work to get FreeRTOS working on Teensy 3.x since it has not been maintained. I also had issues getting floating point math to work on Teensy 3.5 and 3.6 and, ultimately,...
  23. Replies
    6
    Views
    315

    Are you asking because of servos? Anecdotally,...

    Are you asking because of servos? Anecdotally, all seem to be fine with 3.3V logic, even on high voltage supplies.
  24. Replies
    6
    Views
    381

    Yes, I've used the PJRC MKL02 for several...

    Yes, I've used the PJRC MKL02 for several projects where I needed to meet specific temperature ranges or access to pins not available on the Teensy board. It's allowed by PJRC and one of the great...
  25. Replies
    6
    Views
    381

    At least the processor and bootloader are rated...

    At least the processor and bootloader are rated for -40C; both the MK64FX512VMD12 and MKL02Z32 are -40C to 105C temperature rated. So you could roll your own Teensy 3.5 hardware design that is...
  26. Thread: Emmc

    by brtaylor
    Replies
    15
    Views
    720

    Got a little test setup - an EMMC breakout to a...

    Got a little test setup - an EMMC breakout to a micro-sd card adapter. Tested on windows via a micro-sd to USB converter I have and it shows up as a USB drive and formats correctly.

    Plugged into...
  27. Thread: uBlox Library

    by brtaylor
    Replies
    111
    Views
    19,422

    A couple of ways I can think of at the moment:...

    A couple of ways I can think of at the moment:
    1. You could look at the fix type and ensure that you have a time fix or better (i.e. 2D or 3D).
    2. You could look at the isValidDate() flag and the...
  28. Thread: uNav INS

    by brtaylor
    Replies
    682
    Views
    136,966

    I'm too busy with client projects at the moment.

    I'm too busy with client projects at the moment.
  29. Thread: Emmc

    by brtaylor
    Replies
    15
    Views
    720

    That's pretty cool! I'll have to play around with...

    That's pretty cool! I'll have to play around with the library. I see some PCI to USB interface controllers on DigiKey, seems like I may be able to put a PCI slot on my boards and then use a M.2 2242...
  30. Thread: Emmc

    by brtaylor
    Replies
    15
    Views
    720

    I'm using several GB; although, right now that's...

    I'm using several GB; although, right now that's being compressed and I'm being selective about data because I'm limited to a 1 MBaud connection between the SBC and Teensy. Certainly with a higher...
  31. Thread: Emmc

    by brtaylor
    Replies
    15
    Views
    720

    Emmc

    Apologize in advance for a more rambling post than usual. Just finished one project and thinking about options for the next. I need to do some more research and hoping to jump start my lack of...
  32. Replies
    44
    Views
    4,884

    The backpacks are meant to work with each other....

    The backpacks are meant to work with each other. So, on the dual backpack you could have an SBUS Backpack next to a GNSS Backpack, for example, and have the total stack height less than using the...
  33. Thread: uBlox Library

    by brtaylor
    Replies
    111
    Views
    19,422

    Good! Glad it's working well for you. Brian

    Good! Glad it's working well for you.

    Brian
  34. Thread: uBlox Library

    by brtaylor
    Replies
    111
    Views
    19,422

    My latest and greatest is typically on GitHub, so...

    My latest and greatest is typically on GitHub, so this one should work fine:
    https://github.com/bolderflight/UBLOX

    It shows printing several values, but a full list of available methods to get...
  35. Read up on byte padding and structure member...

    Read up on byte padding and structure member alignment. If you really care about how data is aligned and need it to stay aligned across different devices, you should really define an unsigned char...
  36. Thread: SBUS Library

    by brtaylor
    Replies
    58
    Views
    12,842

    You should just do readCal once and then print...

    You should just do readCal once and then print all the channels in succession.

    This line:


    x8r.readCal(&channels[0], &failSafe, &lostFrame)


    is just passing the addresses of the channels...
  37. Thread: SBUS Library

    by brtaylor
    Replies
    58
    Views
    12,842

    Hi John, Typically, people will estimate...

    Hi John,

    Typically, people will estimate non-dimensional coefficients to model the aircraft dynamics. One part of that process essentially normalizes the data by the airspeed. The mass properties...
  38. Thread: SBUS Library

    by brtaylor
    Replies
    58
    Views
    12,842

    Yep, the Teensys can do inverted logic and the...

    Yep, the Teensys can do inverted logic and the library is handling all of that for you.
  39. Thread: SBUS Library

    by brtaylor
    Replies
    58
    Views
    12,842

    What are you accomplishing with the N3904 and...

    What are you accomplishing with the N3904 and resistors? Should work fine with the SBUS receiver directly connected to the Teensy.
  40. Thread: SBUS Library

    by brtaylor
    Replies
    58
    Views
    12,842

    Looks like Oct 31, 2018.

    Looks like Oct 31, 2018.
  41. Thread: SBUS Library

    by brtaylor
    Replies
    58
    Views
    12,842

    Cool photos, thanks for sharing! I really like...

    Cool photos, thanks for sharing! I really like Osh Park for 2 and 4 layer boards, if you end up needing the extra complexity. Osh Stencils are nice for cheap stencils - my preference is their...
  42. Thread: SBUS Library

    by brtaylor
    Replies
    58
    Views
    12,842

    Easy peasy. My SBUS library can directly give you...

    Easy peasy. My SBUS library can directly give you pilot inputs. If you use the readCal function, you can get these so that full stick deflection is +/-1 on each channel.

    It sounds like you're...
  43. Replies
    50
    Views
    12,607

    Yes, I did a prototype run and those work fine...

    Yes, I did a prototype run and those work fine with the updated core software. Between grant writing season and contract work I haven't gotten around to putting together a production run; thanks for...
  44. Thread: uBlox Library

    by brtaylor
    Replies
    111
    Views
    19,422

    Can you post the header and source of your...

    Can you post the header and source of your modified library enabling the additional packets?
  45. Replies
    5
    Views
    446

    https://www.pjrc.com/teensy/schematic.html

    https://www.pjrc.com/teensy/schematic.html
  46. Replies
    2
    Views
    299

    Honestly, the best approach might be to get a...

    Honestly, the best approach might be to get a Raspberry Pi and have the Raspberry Pi program the Teensy.
  47. Thread: uBlox Library

    by brtaylor
    Replies
    111
    Views
    19,422

    The beauty of the MIT license is that you can do...

    The beauty of the MIT license is that you can do what you want with the code. I can take a look if I have time, no guarantees.
  48. Replies
    6
    Views
    623

    Pin 24 is PTE20 and Pin 25 is PTE21 (A10 and A11...

    Pin 24 is PTE20 and Pin 25 is PTE21 (A10 and A11 in the schematic). The problem is that TMK is for Atmel AVR boards and Teensy 3.x and LC are ARM - they're completely different and I would expect TMK...
  49. Replies
    6
    Views
    623

    https://www.pjrc.com/teensy/schematic.html

    https://www.pjrc.com/teensy/schematic.html
  50. Replies
    5
    Views
    425

    I'm not sure about the cap, but the greyed out...

    I'm not sure about the cap, but the greyed out crystal is the optional 32.768 kHz crystal you can add to the bottom of the board. See the pinout here:
    https://www.pjrc.com/teensy/pinout.html
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4