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

Search:

Type: Posts; User: jferguson

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Knowing this now, makes me want to build a little...

    Knowing this now, makes me want to build a little SDcard formatter with a nano.

    thanks for the note. and thanks to everyone else who responded to my plight.

    john
  2. Problem Solved

    Problem found. I tried formatting a card with the SdFat formatter . A card formatted thus, works fine with SdFat. I had been using GParted to format cards. SD had no trouble with them on the...
  3. Also Compiling with Arduino IDE 1.8.9 FWTW. just...

    Also Compiling with Arduino IDE 1.8.9 FWTW.
    just checked on a T3.2 and my code and the examples run fine. I can't make it work on the T4.0 ???
  4. This is what I did physically. earlier effort...

    This is what I did physically. earlier effort was same except I used a nano (because I have a box full). It worked fine except that I ran out of room after coming to understand what I was actually...
  5. Well I'm clearly missing something. Were you able...

    Well I'm clearly missing something. Were you able to run his examples? Did you modify SdFatConfig.h and if so how? or maybe easier, if you edited it, could you upload a copy? I just cannot...
  6. I bought the little separate SD board from these...

    I bought the little separate SD board from these guys.
  7. Thanks guys, I'll try formatting an exFAT card...

    Thanks guys,
    I'll try formatting an exFAT card and see how that works. If it does work, then I'll go back and see if i can make it work with FAT32. This is a sort of requirement because the Teensy...
  8. SD works fine on Teensy 4.0 but not SdFat

    I have a Teensy 4.0 with the SD card holder sold here. SD seems to have no problem reading, writing, printing cardinfo etc on 32 gig sandisk microSd cards formatted FAT32.
    Of course the SdFat I...
  9. Thread: SBUS Library

    by jferguson
    Replies
    68
    Views
    15,582

    Writing S-Bus output to a microSD card is very...

    Writing S-Bus output to a microSD card is very twitchy. I think I'm going to quit messing with kit and just remove the repeated channels from the output file.
  10. Thread: SBUS Library

    by jferguson
    Replies
    68
    Views
    15,582

    HI Brian, This is what I posted on the Arduino...

    HI Brian,
    This is what I posted on the Arduino forum. The first response was to ask for all of the code - which is a lot. Since you devised the S-Bus library, maybe you can recognize the problem, ...
  11. Thread: SBUS Library

    by jferguson
    Replies
    68
    Views
    15,582

    Well, it doesn't quite work fine. Most of the...

    Well, it doesn't quite work fine. Most of the time I get double output. I'm reading four channels and it looks like the "While" is open long enough sometimes to read two passes of the S-Bus Data.
    I...
  12. Thread: SBUS Library

    by jferguson
    Replies
    68
    Views
    15,582

    Does this look like a good way to read S-bus...

    Does this look like a good way to read S-bus until packet starts with channels[0] and then print it?

    "print_SBus" is a subroutine called from main output section.


    void print_SBus(){
    ...
  13. Thread: SBUS Library

    by jferguson
    Replies
    68
    Views
    15,582

    I think I've figured it out. it's a...

    I think I've figured it out. it's a synchronization problem. I need to make the sbus-read subroutine read the sbus until it gets a channels[0], then read that. should be simple.
  14. Thread: SBUS Library

    by jferguson
    Replies
    68
    Views
    15,582

    Ok, the S-Bus reader is running in a sub-routine...

    Ok,
    the S-Bus reader is running in a sub-routine of my flight-datar- ecorder sketch. The GPS is a UBLOX M8N running at 10 Hz but not with your code Brian, I had other code which worked and doing...
  15. Thread: SBUS Library

    by jferguson
    Replies
    68
    Views
    15,582

    Hi Brian, let me munch on this. I think I've...

    Hi Brian, let me munch on this. I think I've figured out how to send the least amount of code which will show what I'm doing along with the results which show intermittant outrages on the S-Bus data...
  16. Thread: SBUS Library

    by jferguson
    Replies
    68
    Views
    15,582

    Hi Bryan, After relocating and the usual hassles...

    Hi Bryan,
    After relocating and the usual hassles getting back up to speed, I've got my Teensy 3.1 based flight data recorder running. It probably doesn't make much sense to get into the code given...
  17. Replies
    119
    Views
    22,243

    The Nano doesn't really work as I was using it...

    The Nano doesn't really work as I was using it but the UNO does.
  18. Replies
    119
    Views
    22,243

    I think I found my problem. i used to use an...

    I think I found my problem. i used to use an Ardhuino Uno with RST shorted to ground as a signal booster to connect the Ublox GPS module to the USB port on the computer. The Uno is a bit clumsy for...
  19. Replies
    119
    Views
    22,243

    Brian, I apologize for waltzing you through all...

    Brian,
    I apologize for waltzing you through all of my difficulties, but they seem to continue. I'm now confronted by the possibility that two of my Ublox M8N's are counterfeit. Both have lost...
  20. Replies
    119
    Views
    22,243

    Thanks again, Brian. I'll add these to the setup.

    Thanks again, Brian. I'll add these to the setup.
  21. Replies
    119
    Views
    22,243

    Hi Brian, The may be more of an aesthetic...

    Hi Brian,

    The may be more of an aesthetic issue, but i need a routine to wait for the Ublox to start emitting real data before continuing my program. I'm using the clock functions to name the...
  22. Replies
    119
    Views
    22,243

    Bingo, After some fussing with Ublox-Center, I...

    Bingo,
    After some fussing with Ublox-Center, I was able to configure my M8N to emit what your code was looking for. Works great and will allow me to clean up my data-recorder code.
    Thanks much,
    ...
  23. Replies
    119
    Views
    22,243

    Hi Brian, I had thought, apparently wrongly,...

    Hi Brian,

    I had thought, apparently wrongly, that the 10 Hz binary signal from an M8N could not include the clock data. Accordingly, my 2016 flight data recorder included a clock module. In...
  24. Replies
    119
    Views
    22,243

    Hi Brian, I'd been successfully using another...

    Hi Brian,
    I'd been successfully using another UBLOX parser, but saw that you'd updated yours and so .....
    Using the Master library with UBLOX8.h and UBLOX8.cpp, the included example needs some...
  25. Thread: SBUS Library

    by jferguson
    Replies
    68
    Views
    15,582

    Hi Brian, I have now integrated your sbus code...

    Hi Brian,
    I have now integrated your sbus code with my flight recording code and it works great. I decided to use x8r.read() rather than readCal because I will be able to use this form of output...
  26. Thread: SBUS Library

    by jferguson
    Replies
    68
    Views
    15,582

    looks good Brian, Thanks much, john

    looks good Brian,
    Thanks much,
    john
  27. Thread: SBUS Library

    by jferguson
    Replies
    68
    Views
    15,582

    Hi Brian, Now that I have one channel printing...

    Hi Brian,
    Now that I have one channel printing fine, I want to move on to printing the 4 channels my project needs. What you've done is


    if(x8r.readCal(&channels[0], &failSafe, &lostFrame)){...
  28. Thread: SBUS Library

    by jferguson
    Replies
    68
    Views
    15,582

    Hi Brian, Bingo, getting rid of the transistor...

    Hi Brian,
    Bingo, getting rid of the transistor inverter did the trick.
    thanks for a useful library

    best regards,

    john
  29. Thread: SBUS Library

    by jferguson
    Replies
    68
    Views
    15,582

    Hi Brian, Thanks much for these views as well as...

    Hi Brian,
    Thanks much for these views as well as the references.
    BTW, did you see any problem with my code?

    john
  30. Thread: SBUS Library

    by jferguson
    Replies
    68
    Views
    15,582

    That's good. While we're here you suggested...

    That's good.

    While we're here you suggested that my aerodynamics recorder might want to see control surface deflections. My thought had been that I would relate control input and airspeed to...
  31. Thread: SBUS Library

    by jferguson
    Replies
    68
    Views
    15,582

    Boy are you quick. I'd thought that the inverted...

    Boy are you quick. I'd thought that the inverted logic applied to the teensy as well as the Mega. Wrong?
  32. Thread: SBUS Library

    by jferguson
    Replies
    68
    Views
    15,582

    Here is what I've done: Teensy 3.2 - powered...

    Here is what I've done:
    Teensy 3.2 - powered externally with 5 volt to Vin port
    GND from power source to Pin 0

    input from X8R sbus port through 1k resistor to base of N3904, gnd to emitter,...
  33. Thread: SBUS Library

    by jferguson
    Replies
    68
    Views
    15,582

    The wire you see in the top-side photo is the one...

    The wire you see in the top-side photo is the one lead which couldn't be confined to the back. I've made maybe 3 dozen boards for different purposes and this is the first where I just couldn't do it...
  34. Thread: SBUS Library

    by jferguson
    Replies
    68
    Views
    15,582

    Hi Brian, I've looked at your site and it's...

    Hi Brian,
    I've looked at your site and it's clear you are doing what I'm trying to do and likely much more successfully, but then I'm doing this for fun.
    two more photos, one of the flight recorder...
  35. Thread: SBUS Library

    by jferguson
    Replies
    68
    Views
    15,582

    Brian, This project is 3 years old. The...

    Brian,
    This project is 3 years old. The objective was to develop expertise in semi-autonomous (plane takes off and flies itself on a prescribed route and lands itself) very small fixed wing...
  36. Thread: SBUS Library

    by jferguson
    Replies
    68
    Views
    15,582

    Brian, this sounds pretty good. I realize that...

    Brian, this sounds pretty good. I realize that I'm not doing anything original here, but the challenge keeps me busy. it's late here and I'll try to respond more intelligently in the morning. john
  37. Thread: SBUS Library

    by jferguson
    Replies
    68
    Views
    15,582

    Hi Brtaylor, Can you comment as to whether what...

    Hi Brtaylor,
    Can you comment as to whether what I describe below can be done more or less directly with your code, and just in case, you see something crazy about what I'm proposing, let me know? ...
  38. Replies
    7
    Views
    2,302

    Never mind. I must improve my search skills. I...

    Never mind. I must improve my search skills. I found the USB/Joystick code here, of all places.
  39. Replies
    7
    Views
    2,302

    Do any of you know where I can get a description...

    Do any of you know where I can get a description of PFC's yoke serial output? What do the data look like which describes pitch, roll, and yaw control input? Failing getting their serial protocol, a...
  40. Replies
    6
    Views
    715

    Sorry for the fuss. typically for me it was...

    Sorry for the fuss. typically for me it was stupidity. I had migrated my linux Aruduino-teensyduino IDE to a new computer and neglected to do the UDEV fix. So in addition to the teensy 3.2 I...
  41. Replies
    6
    Views
    715

    good idea defragster. external power. light...

    good idea defragster. external power. light doesn't flash when the usb is connected so must be a vin pin.
  42. Replies
    6
    Views
    715

    I'm running 1.8.5 on Linux 16.04 . More to the...

    I'm running 1.8.5 on Linux 16.04 . More to the point my serial terminal software which will detect a usb connection if it is there doesn't see it either. Other microcontrollers work fine.... so it's...
  43. Replies
    6
    Views
    715

    teensy 3.2 with unresponsive usb jack

    I have a teensy 3.2 with maybe two years in use. It flies in and r/c airplane and records attitude, altitude, gps position including height and some other things I'm interested in. It has never...
  44. Replies
    11
    Views
    3,148

    i found the problem - bad code. Apparently when...

    i found the problem - bad code. Apparently when I did this a year ago i'd fixed the problem but didn't save the repaired sketch so when i recompiled and loaded it had the old problem unfixed.
    ...
  45. Replies
    11
    Views
    3,148

    Is there any reason to think that the official...

    Is there any reason to think that the official Teensy SD card behaves any differently than the larger Catalex Cards? it looks like your card and the bigger one use the same IC's. The specific...
  46. Replies
    53
    Views
    52,458

    Never mind. I figured it out myself. john

    Never mind. I figured it out myself.
    john
  47. Replies
    53
    Views
    52,458

    Hi Constantin, thank you for your eagle files. I...

    Hi Constantin, thank you for your eagle files. I am routing boards which use Teensy 3.2 and maybe because of my age (74) and eyes could really use bigger pads. I did spend some time trying to see...
  48. Replies
    45
    Views
    12,452

    That's a good idea but from looking at the error...

    That's a good idea but from looking at the error messages you may have code in zmodem and its associated modules which duplicates definitions in...
  49. Replies
    45
    Views
    12,452

    what ar you compiling with? with the arduino...

    what ar you compiling with? with the arduino 1.6.5 IDE I get these sorts of errors


    zmodem_rz.cpp.o:/usr/share/arduino/hardware/arduino/avr/cores/arduino/HardwareSerial.h:128: first defined here...
  50. Replies
    45
    Views
    12,452

    I see now, sorry for my confusion. I should be...

    I see now, sorry for my confusion. I should be able to get into this in the next day or so.

    thanks for your fine work,

    john
Results 1 to 50 of 62
Page 1 of 2 1 2