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

Search:

Type: Posts; User: duff

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Look at the example...

    Look at the example Low_power_push_Button_Hold_SD_Logger.
  2. millis/micros will be updated when woken if you...

    millis/micros will be updated when woken if you use the timer driver not the rtc driver inwhich you do currently. Try the Timer driver instead and see if that helps.
  3. Your example looks fine. I looked into this...

    Your example looks fine.


    I looked into this library a little and it uses micros to keep track of it's "os" time. When you hibernate sleep the clock that runs micros is off, so it won't be...
  4. Never used the LMIC Library but Serial printing...

    Never used the LMIC Library but Serial printing (USB) and sleeping are not going to work as you expect and could be some of your issues. For a more robust printing solution use the Hardware Serial...
  5. Ok looking at the setRtcTimer function in Snooze...

    Ok looking at the setRtcTimer function in Snooze the hours, minutes and seconds are defined uint8_t so the maximum value can only be 255 for each, so 14 days would be 336 hours! Since I'm doing a...
  6. This is very interesting, so the first RTC alarm...

    This is very interesting, so the first RTC alarm wakeup always works even if it's say three weeks away but after going back to sleep (for like a two weeks or longer), does it fail every time? Can you...
  7. It looks like you got it working but do you want...

    It looks like you got it working but do you want to add 100 msec to the timer each time you wake up? If not then you don't have to update the "TimerLength" or reset the timer it will keep that value...
  8. I've never used a gps module but it seems that...

    I've never used a gps module but it seems that you are reading the gps data then going to sleep, shouldn't you read the gps receiver after waking? Does this module toggle a pin when new data has...
  9. That time is from the gps module as far as I can...

    That time is from the gps module as far as I can see: "gps.time.minute()"
  10. Not sure why you are getting stale data, is this...

    Not sure why you are getting stale data, is this data coming from the GPS or from millis on the Teensy? Is this stale data what you are printing after waking, i.e.


    if (who == 16) {// pin wakeup...
  11. Can you try this: SnoozeBlock config(usb,...

    Can you try this:


    SnoozeBlock config(usb, digital);
  12. Replies
    4,291
    Views
    446,235

    Hi All, I've been pretty quite on the T4 as of...

    Hi All, I've been pretty quite on the T4 as of late but have made some progress with the low power features of this chip. I'm decoupling Snooze from the each of the teensy chips and putting all the...
  13. Replies
    17
    Views
    788

    I would just use one file and you can use...

    I would just use one file and you can use elapsedMillis for the timing.
  14. Replies
    17
    Views
    788

    That should work, how much more does it play...

    That should work, how much more does it play after that?
  15. Replies
    12
    Views
    488

    This script should take care of those 'USB...

    This script should take care of those 'USB Serial# #' devices.


    #!/bin/sh
    #https://www.jamf.com/jamf-nation/discussions/24815/deleting-usb-network-interfaces


    IFS=$'\n'...
  16. Replies
    4
    Views
    431

    Even with sleeping the Teensy you should look...

    Even with sleeping the Teensy you should look into shutting down all the external components when you want the Teensy to sleep. In my audio applications the Teensy 3.2 actually is the least power...
  17. Replies
    4,291
    Views
    446,235

    has anyone noticed that USB Serial doesn't work...

    has anyone noticed that USB Serial doesn't work if compile and upload a blank sketch?
  18. Replies
    4,291
    Views
    446,235

    Oh thanks I didn't look at the commit time I...

    Oh thanks I didn't look at the commit time I thought that Teensy GitHub mirrored the teensyduino installer.
  19. Replies
    4,291
    Views
    446,235

    Weird, just downloaded a fresh Arduino IDE and...

    Weird, just downloaded a fresh Arduino IDE and installed 1.46 and noticed that the githubs core_pins.h does not match the core_pins.h I just installed. Mine has no mention of #if...
  20. Replies
    4,291
    Views
    446,235

    Since putting the beta1 board on hold for awhile...

    Since putting the beta1 board on hold for awhile I've started looking at the low power features again and was wondering if the new beta2 boards will have the bootloader go into lower power mode....
  21. Replies
    6
    Views
    658

    Those are the wakeup pins for deepSleep and...

    Those are the wakeup pins for deepSleep and hibernate only so if you want every pin to be able wake the teensy up those are your choices.

    If I where you I would work one step at a time, having a...
  22. https://github.com/duff2013/Zilch/releases/tag/v0....

    https://github.com/duff2013/Zilch/releases/tag/v0.3
  23. Replies
    17
    Views
    1,890

    Can you please put your code between code...

    Can you please put your code between code brackets in this forum, it makes reading your code much easier. Just to be sure you are using the Arduino Serial Monitor and what OS?

    I don't know why you...
  24. The latest version dose not currently work with...

    The latest version dose not currently work with the LC, it did before I rewrote it. It's on my todo list so you bringing it up might help me speed up that. I'm currently got a lot of irons in the...
  25. Replies
    17
    Views
    1,890

    Can you try the "deepSleep_usb_serial" example...

    Can you try the "deepSleep_usb_serial" example and make sure your "USB_Type:" in Arduino is "Serial".
  26. Replies
    3
    Views
    320

    Also in the bigger picture this library uses...

    Also in the bigger picture this library uses double buffering so when one buffer is filling up the other is being worked on, this helps with latency. This algorithm has a high cpu load so I had to...
  27. Replies
    3
    Views
    320

    Yes, it was done for performance issues. You also...

    Yes, it was done for performance issues. You also should lowpass filter the data stream before feeding it to notefreq. If you look at my GitHub version I do that for you when decimating the audio...
  28. Replies
    4,291
    Views
    446,235

    Where is the 3.3V regulator located on the board?

    Where is the 3.3V regulator located on the board?
  29. Replies
    14
    Views
    3,098

    I've been working on a phase vocoder off and on...

    I've been working on a phase vocoder off and on for awhile now and I can tell you its not easy, well not easy for realtime pitch shifting using Audio library.

    First off the q15 data type for CMSIS...
  30. Replies
    4,291
    Views
    446,235

    Ok so DMAMEM is OCRAM which is 256k makes sense...

    Ok so DMAMEM is OCRAM which is 256k makes sense now. I saw this comment on this thread just now that explains that Paul is using fixed memory sections in the linker script and will fix later. Ok I'm...
  31. Replies
    4,291
    Views
    446,235

    With beta9 I get the cryptic memory error...

    With beta9 I get the cryptic memory error (section `.bss' is not within region `DTCM') with this sketch:


    #define BUF_SIZE 30066
    uint32_t buffer[BUF_SIZE];


    void setup() {
    memset(buffer,...
  32. Replies
    4,291
    Views
    446,235

    Thanks I did not see this before it definitely...

    Thanks I did not see this before it definitely helps.

    I know what was wrong with my optimized fft issue, had to change define about using Kinetis K chips. Even with dsp v1.5.1 it still beats the...
  33. Replies
    4,291
    Views
    446,235

    Just got my T4 and expansion board yesterday,...

    Just got my T4 and expansion board yesterday, just been poking around for now. Going to work on the low power stuff soon but it looks like I will have to mess with the cpu speeds, voltages and...
  34. Using deepSleep or hibernate will put the...

    Using deepSleep or hibernate will put the boot-loader chip into a low power state that only wakes with the program button push to get it into boot loader mode again. You don't have to use Snooze and...
  35. Replies
    4,291
    Views
    446,235

    No thats fine I think, thanks.

    No thats fine I think, thanks.
  36. Replies
    4,291
    Views
    446,235

    Is the ON/OFF Pin located on the end or bottom of...

    Is the ON/OFF Pin located on the end or bottom of the board? I can't tell from this pinout post.
  37. Replies
    12
    Views
    612

    I second that if you find a bug flag me on...

    I second that if you find a bug flag me on GitHub, if you have an account, that way I will know. I try to follow these forums the best I can but usually miss a few things here and there. I don't...
  38. Replies
    11
    Views
    744

    I didn't see any lockups but maybe there is...

    I didn't see any lockups but maybe there is something I missed, I'll take look at this after the holidays.
  39. Replies
    3
    Views
    307

    You can play around with those parameters in...

    You can play around with those parameters in Touch.cpp under "HAS_KINETIS_TSI" section. Those settings where similar to what Teensyduino has at the time I wrote it. I can take a look at this but not...
  40. Replies
    11
    Views
    744

    I uploaded a fix to my GitHub page...

    I uploaded a fix to my GitHub page, try it out and let me know if you still have problems.
  41. Replies
    11
    Views
    744

    Thanks for letting me know about this, I have fix...

    Thanks for letting me know about this, I have fix for the 3.2 need to test the others then I'll update my GitHub account.
  42. Replies
    16
    Views
    1,005

    I'll keep that in mind. Yep, that is planned.

    I'll keep that in mind.


    Yep, that is planned.
  43. Replies
    16
    Views
    1,005

    That would be awesome, "pluggable". I have...

    That would be awesome, "pluggable". I have another idea for making a LED simulator too. Probably more geared toward LED panels though. But java is pretty heavy handed so thats still pipe dream.
  44. Replies
    16
    Views
    1,005

    I would but I don't think the Arduino devs would...

    I would but I don't think the Arduino devs would even consider it then because it would be to geared toward Teensy stuff. I wish there was a plugin system for Arduino instead personally. My gut...
  45. Replies
    11
    Views
    744

    I'll be looking at this tomorrow.

    I'll be looking at this tomorrow.
  46. Replies
    11
    Views
    744

    If you haven't already done so can you go to my...

    If you haven't already done so can you go to my GitHub page and download and install the latest Snooze version, https://github.com/duff2013/Snooze? I'm currently busy with family now but will test...
  47. Replies
    16
    Views
    1,005

    So your talking about being able to see the raw...

    So your talking about being able to see the raw data being sent to the Serial Plotter? I thought about that but I use json formatted messages from the Teensy to the Serial Plotter so I decided it...
  48. Replies
    16
    Views
    1,005

    I just saw that TelemeteryViewer uses OpenGL,...

    I just saw that TelemeteryViewer uses OpenGL, that is something that I looked at and maybe will go that way in the future for performance reasons. This is more of a proof of concept now.


    I...
  49. Replies
    16
    Views
    1,005

    I'm not sure what you mean by text messages?...

    I'm not sure what you mean by text messages? Maybe with a add-on board? All data has to come from the micro just like the current Serial Plotter.


    This uses JFreeChart Java Library, makes really...
  50. Replies
    16
    Views
    1,005

    Arduino Serial Plotter 2.0 (update)

    Been working on this for awhile now but its to point I feel comfortable sharing now. I'm going to post on a few other forums to get idea if this is something people would like to see? The code is...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4