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. Replies
    2
    Views
    57

    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...
  2. Replies
    9
    Views
    135

    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...
  3. Replies
    9
    Views
    135

    Yes, that's what's needed.

    Yes, that's what's needed.
  4. Replies
    9
    Views
    135

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

    Simply use one of the other bus objects, i.e. Wire1 instead of Wire.
  5. Replies
    77
    Views
    25,503

    Thanks for that bit of information!

    Thanks for that bit of information!
  6. Replies
    77
    Views
    25,503

    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...
  7. Replies
    3
    Views
    94

    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,...
  8. Replies
    6
    Views
    121

    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.
  9. Replies
    6
    Views
    182

    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...
  10. Replies
    6
    Views
    182

    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...
  11. Thread: Emmc

    by brtaylor
    Replies
    15
    Views
    301

    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...
  12. Thread: uBlox Library

    by brtaylor
    Replies
    110
    Views
    16,392

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

    by brtaylor
    Replies
    678
    Views
    128,073

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

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

    by brtaylor
    Replies
    15
    Views
    301

    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...
  15. Thread: Emmc

    by brtaylor
    Replies
    15
    Views
    301

    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...
  16. Thread: Emmc

    by brtaylor
    Replies
    15
    Views
    301

    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...
  17. Replies
    44
    Views
    3,853

    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...
  18. Thread: uBlox Library

    by brtaylor
    Replies
    110
    Views
    16,392

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

    Good! Glad it's working well for you.

    Brian
  19. Thread: uBlox Library

    by brtaylor
    Replies
    110
    Views
    16,392

    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...
  20. 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...
  21. Thread: SBUS Library

    by brtaylor
    Replies
    47
    Views
    10,458

    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...
  22. Thread: SBUS Library

    by brtaylor
    Replies
    47
    Views
    10,458

    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...
  23. Thread: SBUS Library

    by brtaylor
    Replies
    47
    Views
    10,458

    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.
  24. Thread: SBUS Library

    by brtaylor
    Replies
    47
    Views
    10,458

    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.
  25. Thread: SBUS Library

    by brtaylor
    Replies
    47
    Views
    10,458

    Looks like Oct 31, 2018.

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

    by brtaylor
    Replies
    47
    Views
    10,458

    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...
  27. Thread: SBUS Library

    by brtaylor
    Replies
    47
    Views
    10,458

    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...
  28. Replies
    50
    Views
    11,848

    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...
  29. Thread: uBlox Library

    by brtaylor
    Replies
    110
    Views
    16,392

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

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

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

    https://www.pjrc.com/teensy/schematic.html
  31. Replies
    2
    Views
    145

    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.
  32. Thread: uBlox Library

    by brtaylor
    Replies
    110
    Views
    16,392

    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.
  33. Replies
    6
    Views
    269

    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...
  34. Replies
    6
    Views
    269

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

    https://www.pjrc.com/teensy/schematic.html
  35. Replies
    5
    Views
    264

    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
  36. Thread: uBlox Library

    by brtaylor
    Replies
    110
    Views
    16,392

    Doesn't matter as much with the Teensy - the main...

    Doesn't matter as much with the Teensy - the main issue is not overrunning the serial buffers before the library has a chance to parse.
  37. Thread: uBlox Library

    by brtaylor
    Replies
    110
    Views
    16,392

    The if (gps.readSensor()) returns true only on...

    The
    if (gps.readSensor()) returns true only on a valid packet. It is safe to use that data afterwards.

    The issue with delays in your code seem to be your arduino board (a nano) seems to have a...
  38. Replies
    3,340
    Views
    359,392

    SBUS works: https://github.com/bolderflight/SBUS

    SBUS works: https://github.com/bolderflight/SBUS
  39. Replies
    10
    Views
    298

    Also, just my curiosity, but where did you...

    Also, just my curiosity, but where did you download that MPU9250 library from?
  40. Replies
    3,340
    Views
    359,392

    I really like these changes. CAN-FD is something...

    I really like these changes. CAN-FD is something that I'm interested in using for the higher data rate transfers compared with CAN and I'm happy to have the UART bumped over to match Teensy 3.x -...
  41. Thread: uBlox Library

    by brtaylor
    Replies
    110
    Views
    16,392

    Get rid of the delay in your test program, it...

    Get rid of the delay in your test program, it might be causing issues:


    #include "UBLOX.h"
    UBLOX gps(Serial, 9600); //Serial-not Serial 1-3!!!!!
    bool led = LOW;
    void setup()
    {
    pinMode(2,...
  42. Not without information from additional sensors...

    Not without information from additional sensors (i.e. vicom, GNSS, WiFi / Cell signal SLAM, odometer or speedometer, etc).
  43. Replies
    8
    Views
    244

    Well, as Frank said, how fast do you need it?...

    Well, as Frank said, how fast do you need it? Looks like you should be able to get 440 us via I2C. If you need faster reads, then better go with SPI.
  44. Replies
    8
    Views
    244

    I dug out my MPU-9250 (essentially the same as...

    I dug out my MPU-9250 (essentially the same as your MPU-6050) and ran your code. My hardware setup is using 4.7kOhm resistors for pullup to +3.3V. When I run this, I get a read time (t2 - t1) of 1.6...
  45. Use your quaternion to rotate the accelerometers...

    Use your quaternion to rotate the accelerometers into an inertial frame, subtract gravity, and integrate twice (once for inertial velocity and again for inertial position). Your solution will be very...
  46. Replies
    8
    Views
    244

    It's silly, Invensense placed the temperature...

    It's silly, Invensense placed the temperature registers in between the accelerometer and gyro data registers. It's faster to do a burst read of 14 bytes (accel data, temp data, then gyro data) than...
  47. Replies
    8
    Views
    244

    The biggest issue I see with your code is that...

    The biggest issue I see with your code is that you should use Wire.setClock() to set the I2C speed. Right now, your code is only using 100 kHz and you should be using 400 kHz.
  48. Replies
    33
    Views
    1,820

    Yes, I found no work around if their bus locked....

    Yes, I found no work around if their bus locked. My only solution was to carefully design how my program started talking to the MPU-9250 (since, in an Arduino environment, the sketch could have been...
  49. Replies
    5
    Views
    247

    A question regarding voltage references. I'm...

    A question regarding voltage references. I'm planning on using the TI REF5025 (http://www.ti.com/lit/ds/symlink/ref5020.pdf) voltage reference to provide a 2.5V reference. Similarly, I'm planning on...
  50. Replies
    33
    Views
    1,820

    Yes, it sounds like an I2C line on the MPU-9250...

    Yes, it sounds like an I2C line on the MPU-9250 is getting held. On Teensy we have options to reset the bus, but the MPU-9250 doesn't have those options. Resetting and re-initializing won't work,...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4