Search results

  1. H

    Generic data logger object

    Thanks - will try.
  2. H

    Generic data logger object

    Tried to compile the default_loggertest example - and got a couple of errors. One of them : C:\Users\ACER\AppData\Local\Temp\arduino_build_199688\sketch\Datalogger.h:86:2: error: 'SdFs' does not name a type SdFs sdx; // for fat32/ExFat SD Card I use sdfat (greiman). Do I need...
  3. H

    Teensy 3.2 difficulty uploading using Teensyduino

    After spending enough time to install Arduino 1.8.8 and Teensyduino 1.45 on Ubuntu 18.04.2 or Mint 19.1 without ever getting it to work properly I gave up on this. Copied a working Arduino 1.8.5 and Teensyduino 1.41 on Ubuntu 18.04.2 or Mint 19.1 and this works without problems. @paul - if...
  4. H

    Teensy 3.2 difficulty uploading using Teensyduino

    What did you do with the udev rules? I put them into /etc/udev/rules.d/49-teensyrules Could you please look at the following lines out of Arduino prefernces.txt ? Looks quite different to a working installation I have. serial.databits=8 serial.debug_rate=9600 serial.line_ending=1...
  5. H

    Teensy 3.2 difficulty uploading using Teensyduino

    Hi Paul thanks for reply. I gave Ubuntu 18.04.2 LTS a try. Installed Arduino IDE - works without problems with a Nano. Teensyduino ? Same behaviour as described above. It can upload with pressing the PGM button, but the communication with the Arduino IDE is not working as it should. Needs about...
  6. H

    Teensy 3.2 difficulty uploading using Teensyduino

    After using Teenssduino under Linux for years I am a little pissed now. I can't get newer versions of Linux Mint, Arduino IDE and Teensyduino working. Linux Mint 19.1, freshly installed, nothing else on it. Arduino 1.8.8 and Teensyduino 1.45. Test sketch the basic blink. Arduino IDE works...
  7. H

    Teensy 3.2 difficulty uploading using Teensyduino

    Some lines out of the protocol : 23:01:30 kernel: cdc_acm 2-1.4:1.0: ttyACM0: USB ACM device 23:01:30 kernel: usb 2-1.4: SerialNumber: 2406400 23:01:30 kernel: usb 2-1.4: SerialNumber: 2406400 23:01:30 kernel: usb 2-1.4: Manufacturer: Teensyduino 23:01:30 kernel: usb 2-1.4: Product: USB Serial...
  8. H

    Teensy 3.2 difficulty uploading using Teensyduino

    I don't think that this is the real problem. Happened probably when pushing compile/upload when the previous upload was not completed. Really strange - never encountered this before. How can I uninstall Teensyduino ?
  9. H

    Teensy 3.2 difficulty uploading using Teensyduino

    yes - I did. Something new - the message "Teensy Loader could not find the directory /tmp/arduino_build_903280" Pushing the PGM button clears this. I try to compile and upload again -> message Opening Teensy Loader -> no progress -> PGM button -> program is loaded -> message Opening Teensy...
  10. H

    Teensy 3.2 difficulty uploading using Teensyduino

    Do you mean the 49-teensy.rules in /etc/udev/rules.d ?
  11. H

    Teensy 3.2 difficulty uploading using Teensyduino

    Hi apologies for chiming in - I have similar problem. Linux Mint 19.1, Arduino 1.8.8, Teensyduino 1.45, all just set up. Port: "/dev/ttyACM0(Teensy 3.2) Serial" Tried to compile and load the Blink program. Most of it works and the program is loaded if reset button is pushed. Sometimes I get...
  12. H

    MPU-9250 Teensy Library

    Had no problems at 400mhz. If I remember well it even worked at 800mhz.
  13. H

    New I2C library for Teensy3

    Hi I did not mean having a logging system implemented. I had a quick look at the code and had the impression that someting like : if(i2c->user_onError != nullptr) i2c->user_onError(addr); // run Error callback if instead of if(i2c->user_onError != nullptr)...
  14. H

    uNav AHRS

    Hi Brian I hope I may ask this question - do you plan to finish the work on this library ? I apologize that I can't contribute. The math behind is too much for me.
  15. H

    New I2C library for Teensy3

    Hi nox 771 implemented the latest version tested especially the onError() callback and resetBus(). Works really nice. Is it a big deal to provide information about the I2C adress that was involved in the error occurence - something like onError(uint8_t i2caddress) ?
  16. H

    New I2C library for Teensy3

    Thanks for information. No need to rush things.
  17. H

    New I2C library for Teensy3

    Thanks, 99% is a probability high enough for trying.
  18. H

    New I2C library for Teensy3

    Hi nox771 just a short question : is it correct that each bus has its own callback functions (onTransmitDone, onReqFromDone etc ? I think so but want to be sure.
  19. H

    uNav AHRS

    Ooops - looking closer to yaw and mag - rapid changes in orientation lead to inconsistent results. Gave it a try with Filter.setHeadingCovariance(0.001f); without a good result. Next I will have a closer look at calibration and put Madwick run parallel for comparison.
  20. H

    uNav AHRS

    Hi Mike where to find ? Would like to have a look. Calibration is an old topic - in my opinion from a practical standpoint possibly overstated but still important. Is Brian working with offsets for acc in the 9250 ? Can't follow the approach he makes at the moment but probably he has his...
  21. H

    uNav AHRS

    @Brian Is the speed input for the filter IAS or TAS ? Might be somewhat accademic but at higher altitudes IAS becomes more and more less - but accel and gyro remain at first glance the same. Might well be that I am overlooking something - just a question. Is there also a filtered/computed...
  22. H

    uNav AHRS

    Hi Mike nice coding for the calibration. Any chance you share the software ?
  23. H

    uNav AHRS

    I am somewhat surprised by the yaw output compared to mag output. I expect mag output to remain more or less steady over one two hours. Not so with yaw. Expect to reflect at least earth rotation in best case - plus random gyro drift. In a test both values stay rock steady - is yaw value not true...
  24. H

    uNav AHRS

    Added a few lines of code at the end of uNavAHRS::update for computing z-axis acceleration corrected for gravity regardless of board orientation. I use it for improving variometer responsiveness. +++++++++++++++++ // scaling of quertonian,||q||^2 = 1 //...
  25. H

    uNav AHRS

    @Brian looks good so far on T32 and T36:) @mjs513 yaw drift is normal, mag should be stable. Pitch and roll look fine during short tests. Will let it run for a longer time and look at drift
  26. H

    uNav AHRS

    @mjs513 tested with a T36 with similar strange results. I admit that I did not calibrate the MPU - maybe this strange behavior has to do with bad calibration. Acceleration values were however in an reasonable range. The Madgwick computation I used so far is not upset by bad calibration for...
  27. H

    uNav AHRS

    The files I used. Changes in uNavxxxx.ino are behind a comment line //mystuff. No changes in the libs. If you need 9250-master as well let me know. Used it as downloaded
  28. H

    uNav AHRS

    Some screenshots - added columns for acc and millis(), print every 100 millis Right after setup : Movements : Some time later :
  29. H

    uNav AHRS

    After compiling the example almost as is (I2C instead of SPI on T32) I just wonder what is going on. Reaction is fast but after some wild movements it takes minutes till the values come in the region of zero. In pitch and roll the error can easily be 50 degrees right after the movements. The...
  30. H

    MPU-9250 Teensy Library

    Hi Brian, of course I noticed the terminal messages. A couple of times telling me "switch". I coded a calibration routine for the 9250 as well - quite dumb with instructions how to position the sensor. I suspected in your calibration must be some magic that does the calibration without...
  31. H

    MPU-9250 Teensy Library

    Hi Brian thanks for the new libraries and all the improvements you made this year. Could you please spend a few words about the calibration process and what your routines expect me to do ? (CalibrateMPU9250)
  32. H

    uNav AHRS

    Problem solved - I had Eigen and not Eigen-master in the folder. Thanks. If a library comes as xyz-master - does it usually belong as xyz-master in the libraries folder ? Was not familiar with that
  33. H

    uNav AHRS

    I downloaded Eigen from the link you provided. Do you mean there was an Eigen library around before I put the Eigen from bolderflight into the libraries folder ?
  34. H

    uNav AHRS

    Hi wanted to compile the example and received the following error message : Arduino: 1.8.5 (Windows 10), TD: 1.40, Board: "Teensy 3.2 / 3.1, Serial, 96 MHz (overclock), Faster, US English" In file included from C:\Users\Laptop\AppData\Local\Temp\arduino_build_899162\sketch\uNavAHRS.h:41:0...
  35. H

    uNav AHRS

    Hi wanted to compile the example and received the following error message : Arduino: 1.8.5 (Windows 10), TD: 1.40, Board: "Teensy 3.2 / 3.1, Serial, 96 MHz (overclock), Faster, US English" In file included from C:\Users\Laptop\AppData\Local\Temp\arduino_build_899162\sketch\uNavAHRS.h:41:0...
  36. H

    New I2C library for Teensy3

    Thanks for all the replies - great. @nox771 - I will give your proposal a try. At the moment one adress between Teensy and FC works fine. The adresses presented from the FC are well defined and not a big number - depends on configuration. If I provide a handling for all messgages sent by the...
  37. H

    New I2C library for Teensy3

    Hi thanks for reply. No - you misunderstood. The slave should respond to different adresses. Short description of the problem : I have a flight controller which scans for different sensors. Of course I can hook the sensors directly to the flight controller. In my application I do some...
  38. H

    New I2C library for Teensy3

    Hi nox771 just a short question : is it possible that an I2C-slave responds to more than one I2C-adress ? Would be handy but I am afraid this is not possible. Right ?
  39. H

    I2C pains with Sensirion Pressure Sensor SDP810

    Hi maybe https://github.com/PX4/Firmware/tree/78a96581634ff6d6605c3c0a98a43c15cfd290e5/src/drivers/sdp3x_airspeed might be interesting for you. It is for an SPD33. At first glance a close cousin of SPD810.
  40. H

    Teensy Loader problems

    Hi looks like I have to deal with the problem described in post #1. Windows 10 pro 64-bit Teensy Loader 1.40 and Teensyduino probably 1.40 (where can I find version info ?) TeensyLoader needs reset button. Serial via USB does not work. Tested with Blink with some serial.print's etc.No output...
  41. H

    New I2C library for Teensy3

    Hi nox771 thanks for all the improvements. Will try them. I had serious problems with a data-collecting master and a slave writing data to an SD-card, communicating over i2c. This was last spring and I could not spot where the problem was. Happened sometimes after 5 minutes, sometimes it took...
  42. H

    Question about SdFat-Beta

    Hi I have a similar problem to solve. Have a look at https://forum.pjrc.com/threads/26210-Teensy-3-1-MS5637-Pressure-Sensor-Data-Logging-SD-Card-Latency?p=52075&viewfull=1#post52075. Just started working with it.
  43. H

    MPU-9250 Teensy Library

    Hi Brian I tried your code with SPI and it works fine. However my code (works fine with I2C) makes problems running under SPI. This should not concern you but I stumbled over this out of the datasheet : "To prevent switching int o I C mode when using SP I, the I C interface s hould be disabled...
  44. H

    MPU-9250 Teensy Library

    Hi Brian thanks for information. I think there is no way around for me than studying this Kalman stuff. Could you maybe recommend some books ? Andi
  45. H

    MPU-9250 Teensy Library

    Too bad this is not for public use so it can be studied and discussed. Sounds awesome.
  46. H

    MPU-9250 Teensy Library

    I don't agree with this. The MPU NEEEDS!!!!! to be calibrated. I do a calibration and store the values in the EEPROM. I got to this conclusion after fighting some very low frequencies coming out of a Kalman filter with a HP filter. It turned out that this was pure nonsense and garbage in garbage...
  47. H

    MPU-9250 Teensy Library

    Hi Brian I agree to some extent - solutions I am aware of have gone this way. The problem I see is that these calculations deal with history and introduce quite some lag (like a variometer based only on pressure) and provide not a state estimation. Maybe I am wrong on this - I am at the...
  48. H

    MPU-9250 Teensy Library

    Hi Brian TECS stands for Total Energy Control System. This terms is used in ardupilot but total energy compensation is also used in real gliding. The logic behind it is that you are not really interested in climb- or descent rate but in the total of potential and kinetic energy. An energy...
  49. H

    New I2C library for Teensy3

    Thanks for information. In this case the mask byte could be adjusted. In my coding I also called i2c_t3.begin to restore registers. I am pretty sure that disabling the i2c module resets all its registers. May I make some wishes ? - a counter for soft and hard resets each and a routine for...
  50. H

    New I2C library for Teensy3

    Hi Brian I was checking the bits out of the status register right before and after begin-/endTransmission and requestFrom. begin-/endTransmission T32 and T36 - before 1000 0000 after 1000 0000 requestFrom T32 before : 1000 0000 after 1000 0101 requestFrom T36 before : 1000 0000 after 1000...
Back
Top