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
Type: Posts; User: jferguson
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
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...
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 ???
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...
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...
I bought the little separate SD board from these guys.
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...
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...
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.
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, ...
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...
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(){
...
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.
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...
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...
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...
The Nano doesn't really work as I was using it but the UNO does.
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...
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...
Thanks again, Brian. I'll add these to the setup.
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...
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,
...
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...
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...
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...
looks good Brian,
Thanks much,
john
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)){...
Hi Brian,
Bingo, getting rid of the transistor inverter did the trick.
thanks for a useful library
best regards,
john
Hi Brian,
Thanks much for these views as well as the references.
BTW, did you see any problem with my code?
john
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...
Boy are you quick. I'd thought that the inverted logic applied to the teensy as well as the Mega. Wrong?
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,...
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...
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...
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...
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
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? ...
Never mind. I must improve my search skills. I found the USB/Joystick code here, of all places.
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...
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...
good idea defragster. external power. light doesn't flash when the usb is connected so must be a vin pin.
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...
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...
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.
...
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...
Never mind. I figured it out myself.
john
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...
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...
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...
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