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

Search:

Type: Posts; User: Paraglider

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    86
    Views
    52,797

    There is an error message when compiling the...

    There is an error message when compiling the example eeprom_put for Teensy 3.2, compiled using Arduino 1.6.12 and Teensyduino 1.31 Beta #1 on Windos 7 x64:


    C:\Program Files...
  2. Would the optimized code also run faster when the...

    Would the optimized code also run faster when the CPU runs at 8MHz or even 4MHz? If yes then this would be very interesting for low power applications.
  3. Replies
    3
    Views
    1,241

    Deactivating the ADC using the code from Duff...

    Deactivating the ADC using the code from Duff results in 80-100uA less.

    Thanks for the help.
  4. Replies
    3
    Views
    1,241

    Teensy 3.1 / Save Power / Disable ADC

    Batttery voltage is measured every 60 seconds. In between I would like to turn off the ADC in order to save power. Just a short moment befor the measurement is done I want to switch on the ADC again,...
  5. Duff, it will be great when you expand your...

    Duff, it will be great when you expand your Snooze library. Hope that there will be some powersavings in the end. I have to run the CPU with 16MHz in order to have enough computational power.

    Just...
  6. @Duff: Tried with your code, but there is no...

    @Duff: Tried with your code, but there is no change to see with my multimeter. Looks like the power saving is only really small.
    @Paul: What about the idea to use a crystal with 8MHz or even 4MHz?...
  7. Tried to use the Snooze library from Duff, with...

    Tried to use the Snooze library from Duff, with the following simplified code example:


    #include <Snooze.h>

    void setup() {
    SnoozeBlock UART1_OFF;
    SnoozeBlock UART2_OFF;
    SnoozeBlock...
  8. Please forgive me for asking numb questions. But...

    Please forgive me for asking numb questions. But what is the command to deactivate the UART1? Tried many combinations of setPeripheral(UART1_OFF) etc. but nothing works, there are always compile...
  9. Teensy 3.1 / Only some GPIO pins and I2C used / How to enable low power at 48MHz?

    Is it possible to deactivate everything else on a Teensy 3.1 except GPIO for some pins and I2C (A4/A5)? The reason is that I need to run some vomplex filtering with 100Hz, and would like to use the...
  10. Please run the script above. The sound that gets...

    Please run the script above. The sound that gets created is somehow doddery and not clean. When running the main loop with 10Hz or even with 1Hz then the sound is ok. But I need to run the loop with...
  11. The new tone is much better than the old version,...

    The new tone is much better than the old version, but it's still not good enough. Please run the script below, then you will see what the problem is.

    unsigned long loopTimer = 0;
    unsigned long...
  12. Can't get it to work, even when adding...

    Can't get it to work, even when adding pinMode(5,OUTPUT). Looks I have to wait for the fix of Paul.
  13. There is no sound when using...

    There is no sound when using analogWriteFrequency(5,500), also when using analogWrite there is nothing to hear from my piezo buzzer that is connected to digital pin 5 of a Teensy 3.1

    Hope it...
  14. Here is the simple code example: ...

    Here is the simple code example:




    unsigned long loopTimer = 0;
    unsigned long printTimer = 0;

    void setup() {
  15. Help needed for creating a simple PWM tone using the Audio library on pin 5

    Is there a simple solution to create a simple PWM tone on pin 5 of Teensy 3.1 using the audio library? The main loop that runs with 100Hz, and I would like to adjust the tone frequency with 100Hz...
  16. Battery voltage measurement / What is AREF Pin? PTD6?

    In my code I use a battery voltage measurement, described here: https://forum.pjrc.com/threads/27053-LiPo-Battery-Monitoring-Circuit-amp-Code?highlight=voltage+battery:

    vBat = 1195 * 1.47 *...
  17. Replies
    559
    Views
    199,826

    Two other things might be very interesting for a...

    Two other things might be very interesting for a new Teensy 3.1++: The possibility to upload firmware simply in saving the new firmware as a hex file on an SD card. So for the end customer this will...
  18. simlpe solution for firmware update of embedded Teensy 3.1?

    I am looking for a simple solution for firmware updates of an embedded Teensy 3.1. It would be great to give customers an easy solution for firmware updates for projects like XC Tracer...
  19. @mconsidine, thanks for your detailed tutorial....

    @mconsidine, thanks for your detailed tutorial. Eigen compiles now on Arduino 1.6.3 and Teensyduino 1.22 without any problem on my Windows 7 x64 computer. Like this it's very easy to do matrix math...
  20. mconsidine, tried to copy what you did. I am...

    mconsidine, tried to copy what you did. I am using Windows 7 x64 and a Teensy 3.1. First I installed Arduino 1.6.3, and then Teensyduino 1.22, and finally gcc (4.9-2015-q1-update). But it looks like...
  21. kpc, the workaround with the custom abort...

    kpc, the workaround with the custom abort function work with Arduino 1.0.6 an Teesyduino 1.20. The other versions do not compile. I will try to get my code working with the custom function...
  22. Is there a chance to get the Eigen library...

    Is there a chance to get the Eigen library compiling on Windows? I should code matrix math next week, and the Eigen library would be a great help...
  23. Tried this on Windows 7 x64 with Arduino 1.0.6...

    Tried this on Windows 7 x64 with Arduino 1.0.6 and Teensyduino 1.21. There are still the error messages when compiling. Now I try to install Ubuntu as a virtual machine; maybe that the Eigen library...
  24. Paul, is it possible to get a fix for that...

    Paul, is it possible to get a fix for that problem in the near future? It would be great to be able to use the Eigen library for solving complex mathematical problems on a Teensy 3.1.
  25. made a mistake, not selecting Teensy 3.1, instead...

    made a mistake, not selecting Teensy 3.1, instead an Arduino Uno was selected. Here are now the correct error messages for Teensy 3.1 and different versions of Arduino / Teensyduino on Windows 7 x64:...
  26. kpc, installed 1.6.1 and 1.21 on a new installed...

    kpc, installed 1.6.1 and 1.21 on a new installed Windows 7 x64 machine. There is nothing else than arduino and teensyduino. But there is still the following error message:


    In file included from...
  27. Kpc, did you try with 1.6 or 1.6.1? The kill and...

    Kpc, did you try with 1.6 or 1.6.1? The kill and getpid error appear with Arduino 1.0.5. With 1.6.1 the code simply does not compile. There is only the message "error compiling".
  28. With Arduino 1.0.5 and Teensyduino 1.19 or 1.20...

    With Arduino 1.0.5 and Teensyduino 1.19 or 1.20 the error messages are as follows:


    c:/program files...
  29. Detailed logging enabled. Maybe it has something...

    Detailed logging enabled. Maybe it has something to do with Arduino 1.6.1.

    Christoph, what were the versions of Eigen, teensyduino and Arduino that you have successfully used? Might it be...
  30. It just stops with a "Error Compiling".

    It just stops with a "Error Compiling".
  31. There is an error compiling: Using library...

    There is an error compiling:

    Using library Eigen313 in folder: C:\Program Files (x86)\Arduino\libraries\Eigen313 (1.0.x format)

    C:\Program Files...
  32. Eigen library for linear algebra / Teensy 3.1 / Help needed

    For matrix math it would be great to be able to use the Eigen library http://eigen.tuxfamily.org on Teensy 3.1. Eigen is a C++ template library for linear algebra like matrices, vectors, numerical...
  33. Replies
    1
    Views
    1,578

    Tone Function For Variometer

    I am working on a variometer for hang gliding / paragliding, based on a custom built Teensy 3.1. Now I would like to make the tone function a bit smoother. The actual code is as follows:


    ...
  34. Thanks WMXZ, this SW is very useful! This is...

    Thanks WMXZ, this SW is very useful! This is exactly what I needed. And it's no longer necessary to press the reset button, perfect! So it will be very easy for customers to upload new code. Might it...
  35. Thanks WMXZ! The only thing that's missing for my...

    Thanks WMXZ! The only thing that's missing for my purpose is the need to press the button to initiate the download. My device I am working on is in an enclosure. And the customers should be able to...
  36. Ok, I got the point. Looks like the mk20dx256 is...

    Ok, I got the point. Looks like the mk20dx256 is not included in the program. But I don't know how to modify and compile the source code of teensy_loader_cli.2.1 in order to get a working exe file...
  37. The simple uploader is still a problem. Tried...

    The simple uploader is still a problem. Tried with the teensy_loader_cli command line uploader, but couldn't make that work with Teensy 3.1. It would still be a good idea to have a simple and...
  38. Simple and configurable HEX uploader like XLoader or AX Loader needed

    I am looking for a simple and configurable HEX file uploader. The idea is to give the enduser a simple possibility to upload the firmware of an embedded Teensy 3.1 project, without the necessity to...
  39. Replies
    6
    Views
    2,710

    Problem Solved

    Increasing the RX buffer of Serial1 did the trick. Now data logging works for hours without any checksum error.
  40. Replies
    6
    Views
    2,710

    Thanks for the reply. I don't know if there are...

    Thanks for the reply. I don't know if there are bytes lost, since the checksum errors appear after parsing the NMEA strings. But I guess that it's probably the case. How can I enable the UART FIFO?...
  41. Replies
    6
    Views
    2,710

    The complete code is here: 2991 The schematic is...

    The complete code is here: 2991 The schematic is very simple. The GPS is connected to RX1 / TX1, and the SD card is connected to pins 10,11,12 & 13. Data get's written to the SD card, that's not the...
  42. Replies
    6
    Views
    2,710

    SD FAT & GPS / Checksum Errors

    When logging data to an SD card using SD FAT and reading/parsing GPS NMEA strings using TinyGPSPlus in the same loop then the there there are checksum errors. On an average 1 of 30 or 40 GPS readings...
  43. Teensy 3.1 / How To Increase Buffer Size For Serial1?

    I would like to increase the buffer size of Serial1. Is there an easy way to do that with Arduino code, or is it necessary to modify the HardwareSerial.cpp?
  44. Replies
    2
    Views
    3,472

    LiPo Battery Monitoring Circuit & Code

    Here is a simple but reliable circuit and code for lipo battery monitoring. The battery powers a Teensy 3.1 and is connected to the Vin pin. A resistive voltage devider is used to bring down the...
  45. Replies
    123
    Views
    48,726

    Maybe it's at least partly a software problem....

    Maybe it's at least partly a software problem. When logging data with the command dof.calcMag(dof.mx) and in the same time also just dof.mx it looks that sometimes the dof.mx is changing, too high or...
  46. Replies
    6
    Views
    2,286

    ok, thanks for the advice.

    ok, thanks for the advice.
  47. There is no PCB yet, but I haver ordered a first...

    There is no PCB yet, but I haver ordered a first prototype. The board will be powered by a lipo battery, but that circuit is not shown on my schematics. VREF_OUT is not right in that schematic, there...
  48. Replies
    123
    Views
    48,726

    I also had the magnetometer problem with the...

    I also had the magnetometer problem with the LSM9DSO. When logging data then suddenly the z-axis value of the magnetometer is completely wrong, ouputting a a value that is 10000x higher than what it...
  49. Replies
    6
    Views
    2,286

    Thanks for the advice. VREF_OUT should be wired...

    Thanks for the advice. VREF_OUT should be wired correctly now.
  50. Replies
    6
    Views
    2,286

    Embedded Teensy 3.1 / schematics correct?

    Is this schematics for an embedded Teensy 3.1 correct?

    2824

    Analog read is just used to monitor battery voltage, all other signals are digital, I2C. I tried to simplify the schematics as much...
Results 1 to 50 of 75
Page 1 of 2 1 2