Search results

  1. F

    4.1 failure after steady operation

    The area looks clean to me, even under magnification. I have blown the whole unit with compressed air anyway. If there is another freeze, I'll probably be able to revive this Teensy again, but is there any sort of informative probing that I might do before resuscitation?
  2. F

    4.1 failure after steady operation

    After several days of continuous operation, not connected to USB, in an application described elsewhere , a Teensy 4.1 (S/N 1532053) abruptly froze, with its USB-proximate LED flashing in groups of 4. Power-cycling didn't help, but when I reconnected the Teensy to the Teensyduino IDE, I was able...
  3. F

    T4.1 deep freeze

    The first time (7+ days) I probably did try holding the Program Button, as you suggested, and the recovery can be attributed to that. I should have mentioned this. The second time (52 days), alas, I definitely did try the Program Button method, without success.
  4. F

    T4.1 deep freeze

    Thanks for the idea, but I never use millis().
  5. F

    T4.1 deep freeze

    I started this thread to report that a Teensy 4.1, not connected via USB, had frozen after over a week of continuous operation. Rebooting had no effect, and it could not be restarted until the app was reloaded from the Teensyduino IDE. The thread got sidetracked into a discussion of Windows...
  6. F

    [posted] modular datalogger system

    I was caught off guard by Paul's page drawing attention to my old home monitoring project. The project is in the middle of some fairly broad redesign, and I am trying to avoid getting sucked into a 2.0 syndrome. I was not planning to say anything new about it here until the redesign was...
  7. F

    [posted] modular datalogger system

    This system has evolved quite a bit since that writeup was produced. Now that you've drawn attention to it, I feel obligated to update the description. Among other things, some components use (and all components will use) Teensy 4.1s instead of 3.5s.
  8. F

    T4.1 deep freeze

    I have considered moving to Windows 10, but each time I have come across another way in which it is intrusive and Web-dependent, so I have put it off. I'll look at it again. But: The trigger for this thread was USB- and Windows-independent. I have a Teensy 4.1 that went into a deep frozen...
  9. F

    T4.1 deep freeze

    I have a stable app running on a Teensy 4.1. After more than a week of uninterrupted operation (not connected to any USB port), the Teensy froze, and power cycling did not revive it. When I reconnected it to my computer (Windows 7/64) and tried to reload it from the Arduino IDE (2.1.1, CLI...
  10. F

    Teensy 4.1 with MCP4725 DAC

    thanks for your interest Yes, I have pullups, and in fact it is all working after I made the correction shown in post #2. Thanks; that turns out to have been (as you noted) unrelated to my original problem, but I'm glad you spotted it.
  11. F

    Teensy 4.1 with MCP4725 DAC

    I2C problem solved; I failed again to RTFM Here's what I missed: // MCP4725 test program ... void tMCP4725::Setup(uint8_t Addr) { _i2cAddr = Addr; // Wire4725.begin(Addr); // ********* this is what I had Wire4725.begin(); // ********* this is what it should be } //...
  12. F

    Teensy 4.1 with MCP4725 DAC

    I am developing an app that will make limited use of a MCP4725 DAC. I have used the MCP4725 before, driving it with Teensy 3.5s. I can't get it to work with T4.1; there seems to be an interaction between the i2c apparatus and the Serial channel. This test program // MCP4725 test program //...
  13. F

    checking Teensy for partial failures

    I'm sure that's true, but I see my project as one that could be extended as needed, possibly by contributions from people with specialized experience. For example, the board might have multiple sockets, so it could accept various Teensy form factors, with (of course) only one socket in use at a...
  14. F

    checking Teensy for partial failures

    Thinking about it some more, the rig you describe and my fantasy board are directed at different tasks. PJRC doesn't knowingly sell Teensies that work except for one or two bad pins, so their rig is presumably optimized for rapid sell-or-trash decisions. In the field, I think most people...
  15. F

    checking Teensy for partial failures

    Can you give a reference to that test jig?
  16. F

    checking Teensy for partial failures

    The code described in the https://forum.pjrc.com/threads/55735...l=1#post324323 post covers only a small part (digitalRead) of the Teensy's functionality. If I told you "This Teensy seems to be working perfectly," you would assume that I had looked at more than digitalRead. Also, using the...
  17. F

    checking Teensy for partial failures

    I have an app that connects Teensies to a variety of other hardware. A few days ago I blundered and connected an external opamp (LV321, rated up to 5.5V) to a Teensy 3.5's Vin (about 8.8V) instead of the intended 3V3. That destroyed the LV321, and it also did obscure damage to the Teensy...
  18. F

    VC0706 instability

    Does anyone else have experience with the VC0706 cameras? I have a large T3.5 app in which AF_VC0706 is an instance of Adafruit_VC0706(&Serial2). AF_VC0706.begin() succeeds, but then { // motion detect WhatMeasured = wm2VC0706Motion...
  19. F

    strange behavior of T3.2 DAC

    Terrific, that solved it. I can stare at syntax things like this for hours and never see them. Thanks. Although that solved the problem, I still don't understand why the program was doing what it was doing. It was writing to D02, D03, D13 and (when it should have been writing to A14) to...
  20. F

    strange behavior of T3.2 DAC

    I hadn't known about analogWriteResolution, and it's probably a good idea to put in that call to complement the analogReadResolution call. On the other hand, it's unlikely to solve the problem I asked about. Something is changing the DAC output when no such change is programmed, and that...
  21. F

    strange behavior of T3.2 DAC

    As part of my modular datalogger project, I have been developing a depth monitor for my backyard pond. The sensor just lets the pond water (more of it when the water level is higher) be part of a voltage divider, where the voltage is supplied by a Teensy. There is a tiny bit more to this...
  22. F

    new problems with Teensy 3.5 uSD access

    Ignore this thread for now. I think the problem is some sort of hardware instability. I may need help, but I'm not properly prepared to ask for it.
  23. F

    new problems with Teensy 3.5 uSD access

    Following a suggestion in a thread that might be related, I turned verbose compiler output on. The last few lines of the output are [not legible as screen capture. The only libraries mentioned between Opening Teensy Loader and Sketch uses ... are SD, SdFat, and SPI, each in the likenamed...
  24. F

    new problems with Teensy 3.5 uSD access

    I have an old application which now fails when it is recompiled and reloaded. On each "peripheral station" PCB of the application, a Teensy 3.5 is connected to a variety of hardware, notably including a TeensyView display. When the code is recompiled and reloaded, the Teensy can't find...
  25. F

    Struggling to find a good display for teensy 3.x or 4.x

    eInk Before adding an eInk display to your project, think about the intended refresh rate and number of lifetime refresh cycles. I designed an AdaFruit red/black eInk display into one of my projects, and I regret it. Over the course of a few thousand refresh cycles, black text became...
  26. F

    [posted] modular datalogger system

    pictures I'm sorry; I hadn't been aware of that rule. Here are pictures (in use) of the base station and two peripheral stations. The design is always evolving, so the "TV room" peripheral board is of a slightly different (newer) design than the "office" peripheral board.
  27. F

    Good Library for data compression / decompression? LZO? LZW? LZMA? Zip? Others?

    That's implementation-dependent. Two standard LZW routines should produce the same output, but one or both implementors might have diverged, thinking that the output was never going to be decoded by any decoder but the one he/she provided. For example, it's natural to put the code table at the...
  28. F

    Good Library for data compression / decompression? LZO? LZW? LZMA? Zip? Others?

    It depends what you mean by "done line by line." Most of the output of an LZW compression is a string of 12-bit codes that capture the input, but there are also one or more 4096-entry tables that tell what the codes are. The early codes in the table just encode single ASCII characters, but...
  29. F

    Good Library for data compression / decompression? LZO? LZW? LZMA? Zip? Others?

    The LZW method runs through the to-be-compressed data only once, generating the output as it goes. An implementation that appears to be file --> file is coded with the primitives initialize get next byte output next 12-bit code finalize That's it (not that each of those is altogether trivial)...
  30. F

    Good Library for data compression / decompression? LZO? LZW? LZMA? Zip? Others?

    All of the good compression algorithms are adaptive, so compressing an all-zero file is not very informative. The best compression routines for linear files and still images look for progressively larger patterns in the data, and then encode these patterns in short, file-specific codes. The...
  31. F

    Is there a simple E-paper driver for Teensy LC?

    My unit had been running on a table that got occasional direct sunlight, but the display was -- does this make a difference? -- always faced away from the sun.
  32. F

    Is there a simple E-paper driver for Teensy LC?

    e-paper hardware questions (slightly off topic) This is not exactly on topic, but this thread seems to have collected some members with e-paper experience that I'd like to draw on. I have an Adafruit e-paper display that I have been driving from a Teensy 3.2. The Adafruit site first...
  33. F

    [posted] modular datalogger system

    update This project has been variously updated. See https://www.fenichel.net/pages/Indoor_Activities/electronics/datalogger/datalogger.pdf
  34. F

    [posted] modular datalogger system

    This expands on my previous answer about sampling rates. The key to tuning the system has been that all of the configuration information is on the uSD cards. The only numbers hardcoded into the sensor drivers are minimum read intervals and the like, taken from the sensors' datasheets. Every...
  35. F

    [posted] modular datalogger system

    This varies from sensor to sensor, but rarely as often as once a second. Remember, these are measurements of what is happening in & around an ordinary house. Why measure the temperature of a room every second? Why measure the temperature of a pond more often than every hour? The...
  36. F

    [posted] modular datalogger system

    Several other forum members have described dataloggers for high-bandwidth datastreams, often status data from moving vehicles. I have completed a project that flexibly collects data from two or three dozen low-bandwidth sensors placed around my house, taking VC0706 pictures; measuring...
  37. F

    T3.5: SD.open failing

    Yes, of course. I knew it would turn out to have been a slip at that bonehead level, but I stared at the code without seeing it. Thanks. Using .h & .cpp files makes a lot of sense when there is non-trivial time to be saved by not recompiling modules until they've been changed. Using that...
  38. F

    T3.5: SD.open failing

    addendum: the uSD card is 2GB, formatted FAT32 all of the example SD programs run without problem
  39. F

    T3.5: SD.open failing

    I have been having difficulty with a datalogger-style project; all of the code for the failing component is in the attachment. This component receives messages from remote components via XBee transceivers, and then it (for now) just stores the incoming data The problem is all in the...
  40. F

    "Serial1 not declared in this scope"

    Thanks; that did the trick.. There is a #include <Arduino.h> line at the top of the main program, but I guess that its scope must be limited to that file.
  41. F

    "Serial1 not declared in this scope"

    I am trying to interface a Sparkfun particulate-matter sensor (their P/N SEN-15103) to a Teensy 3.2, using Teensyduino 1.48/Arduino 1.88 under Windows 7/64. To verify that the IDE recognizes the Teensy 3.2, I can see that Tools/Get Board Info retrieves the correct serial number for the board...
  42. F

    ReadTest example in DS1307 library doesn't compile

    solved I have answered my own question. I upgraded Teensyduino to 1.48, and that of course dragged in all the libraries. Now it compiles. Thanks to Paul & defragster for prompt patient attention.
  43. F

    ReadTest example in DS1307 library doesn't compile

    No, there's nothing in that folder but the readme.txt file that tells me For information on installing libraries, see: http://arduino.cc/en/Guide/Libraries It says it took each of the Wire [version 1.0], Time [version 1.5], and DS1307RTC [version 1.4] libraries from ...
  44. F

    ReadTest example in DS1307 library doesn't compile

    Teensy 3.2/3.1 Arduino 1.8.8 1.46-beta10
  45. F

    ReadTest example in DS1307 library doesn't compile

    With no modification, the example doesn't compile. It begins #include <Wire.h> #include <TimeLib.h> #include <DS1307RTC.h> and that's enough to make the compiler complain. The compiler says . . . arduino-1.8.8\hardware\teensy\avr\libraries\DS1307RTC\DS1307RTC.cpp:217:11: error: redefinition...
  46. F

    difficulty with interrupt routine

    I am not sure why it might make a difference, but I have cleaned up the anemometer.inc code to use an elapsedMicros variable instead of an unsigned long.// anemometer.inc /* routine IDs 23xxx The anemometer contacts are closed for about 2/3 of each turn. After the fall, there is one...
  47. F

    difficulty with interrupt routine

    Thanks for the idea. I can see how wraparound might make usEarliestPossibleWindTurn falsely small, so that I might double-count a wave by (erroneously) counting the switch-bounce, but to get all counts to be missed, usEarliestPossibleWindTurn would have to be too big, not too small. In any...
  48. F

    difficulty with interrupt routine

    I am re-developing an environment-monitoring system that I first implemented with Arduinos. The system comprises a half-dozen or so peripheral stations, a base station, and a Windows application. Each peripheral station is built around a Teensy 3.5. Various peripheral stations have various...
  49. F

    Teensy 3.5s stopped supporting USB connection

    problem explained and not fixed, but made tolerable The phenomena that made me start this thread seem to be similar to those shown in @Paul's video, so I suppose if they appear again, they will, after a while, go away again. For the moment, that's good enough for me. I know that many bugs...
  50. F

    Teensy 3.5s stopped supporting USB connection

    Thanks to @Paul & @defragster for your rapid responses. My problem is gone, but unexplained. I reattached the Teensys to Windows to follow @Paul & @defragster's suggestions, but I was pessimistic, since a few hours ago the Windows Device Manager couldn't detect that either of the culprit...
Back
Top