Search results

  1. B

    SARCASM: an (over-engineered) Rubik's cube solving robot.

    That is an amazing project, and I thought that I was THE NURD. The software, hardware, 3d printing and maybe some electrical design by one person are inspiring. You even made it fun for your kids, which I could never do. You have inspired me to submit my automatic bicycle shifter I have been...
  2. B

    Teensyduino 1.60 Beta #5

    the second while: while(x>0 && z>0){ should have been (or was originally) : while(x>y && z>0){ but demonstrates that even a test of positiveness fails.
  3. B

    Teensyduino 1.60 Beta #5

    Problem with optimization settings when testing around max integer. Arduino IDE 2.3.6, T1.6b5. This worked back in 2015 :) void setup() { int x,y,z; Serial.begin(9600); while (!Serial) ; x=2; y=0; while(x>y){ y=x; //keep the last value x*=2; }...
  4. B

    Frightening rare failure... Any wisdom?

    I'm guessing this is a bad solder joint on the large bga (Ball Grid Array) package. The crystal is connected to the worst possible location on the package bga stress wise. see: https://forum.pjrc.com/index.php?threads/teensy-3-6-program-loader-and-i-o-glitches.40638/...
  5. B

    Purpose of Q1 on Teensy 4.1?

    I guess reverse polarity protection with a .04 ohm on resistance instead of the .7V drop of a diode.
  6. B

    Teensyduino 1.60 Beta #5

    Installed on MacBook Air, Sequoia 15.6, Arduino IDE 2.3.6, no problems. Not sure if instructions 4 and 5 are mixed up. Seems you'd need to install b4 indexing? That's what I did. With the restart it doesn't matter anyway. Only looked at a T3.2 program, 48mhz, faster, i2c_t3, SPI...
  7. B

    Printing out a crash report to an ILI9341 display

    try tft.print(c); instead of tft.drawFontChar(c);
  8. B

    SparkFun To Manufacture Teensy

    Wonder is Sparkfun might restart T3.2
  9. B

    Laboratory instrumentation amplifier that can accommodate high impedance and high bandwidth and has a 16 bit 1MSPS ADC

    You asked for it :) 1. The KiCad is a few versions out of date, which wouldn't matter except the libraries are significantly different and parts from your custom library are missing. Starting around version 6, (9 is current) there is an 'Archive Project' button that will zip all the symbols...
  10. B

    Laboratory instrumentation amplifier that can accommodate high impedance and high bandwidth and has a 16 bit 1MSPS ADC

    Interesting project but I have issues, the main one being issues is turned off in Github so I can't add constructive criticism.
  11. B

    Beware! T4x RTC power consumption

    ? As noted in the original post the data sheet says .02mA which is 20uA, not a few uA. Even if I could get 20uA that would be 90 instead of 50 days, still useless for my application.
  12. B

    Teensy 4.0 and CMSIS + SDK

    link should be: https://www.stupid-projects.com/posts/using-nxp-sdk-with-teensy-4-0/
  13. B

    Teensyduino 1.60 Beta #3

    Just reporting noticed today that issue at #27 seems to have resolved itself with no input from me except possibly upgrading to Sonoma 14.7.1 I'll be updating to Sequoia 15.1 soon and will report.
  14. B

    Teensyduino 1.60 Beta #3

    On M2 Macbook Air with Sonoma 14.6.1 and IDE 2.3.3 Tried all the shenanigans in earlier in post for win and mac but still get no security stuff: Read security was not recommend from M2 mac but it should be possible? Oh and added: Should Teensy Loader show 1.60-beta3 vs 0.60?
  15. B

    static variable not initializing when following millis()

    I can confirm that it runs correctly on 1.60 beta 3. Maybe I'll make the switch to beta tester. What could go wrong ? :)
  16. B

    static variable not initializing when following millis()

    Thanks for checking. Problem seems to occur only on Teensy 3.2 3.5 and 3.6 Not on 4.0 or 4.1
  17. B

    static variable not initializing when following millis()

    Using Arduino IDE 2.3.3 on MacOS 14.6.1 Sonoma, Teensy Loader 1.59 The code below: int gdefaultState=7; void setup() { Serial.begin(115200); while(!Serial); ; Serial.printf("in setup gdefaultState=%d \n", gdefaultState); } void loop() { static boolean finished=false; static...
  18. B

    FlexCAN_T4 - Teensy 4.1 Not sending ACK bit

    I'm not familiar with that scope. Is the signal really <1V. I had an early T4.1 where that particular 3.3V pin was not hooked up. Is it 3.3V?
  19. B

    New lwIP-based Ethernet library for Teensy 4.1

    Will switch to GitHub.
  20. B

    New lwIP-based Ethernet library for Teensy 4.1

    Observed no compile. Quit, deleted the cache as above, then restarted reinstalled v29 then same. This any help?
  21. B

    New lwIP-based Ethernet library for Teensy 4.1

    @shawn Dang, can't understand how it's not showing up for you. I had been deleting the cores and sketches cache at /private/var/folders/q9/p*/T/arduino, YRMV, but haven't tried deleting and reinstalling the libraries.
  22. B

    New lwIP-based Ethernet library for Teensy 4.1

    client.close() instead of stop() caused v0.28 to also print the "Host: 192.168.1.97" but didn't effect it's speed. v0.29 seemed unaffected and the same slowness. Interesting that the Get and Host line print at nearly the same time after a long 4 to 5 second pause when each line requires a new...
  23. B

    New lwIP-based Ethernet library for Teensy 4.1

    The extra line (Host: 192.168.1.97) occurs when the 'real' time is > ~3.5 seconds. Sometimes it takes 3 or 4 tries to build up to >3.5 but becomes about 5 seconds. Even if I let it alone for 5 minutes the 4-5 second delay will continue. Unplugging the teensy and replugging and using just the...
  24. B

    New lwIP-based Ethernet library for Teensy 4.1

    Found another clue. Running blinkServer #226 at 24Mhz and then using the served page button or the time curl I get an extra line on the Arduino terminal in v0.29 that is not in my code: GET / HTTP/1.1 25 Host: 192.168.1.97 26 GET / HTTP/1.1 27 Host: 192.168.1.97 28 GET / HTTP/1.1...
  25. B

    New lwIP-based Ethernet library for Teensy 4.1

    Edited the current draw issue above but the speed issue at 24Mhz remains. Using the time curl test repeditively with about 1 second after a response the 'real' time increases about 1 sec each try until it levels at about 6 seconds. The same procedure with v0.28 stays below .06 seconds.
  26. B

    New lwIP-based Ethernet library for Teensy 4.1

    I'm running on a wireless local network on a M2 mac Air. Tried the curl at 24Mhz, Faster: v0.29: real 0m4.075s <--- user 0m0.022s sys 0m0.015s v.028: real 0m0.060s user 0m0.020s sys 0m0.014s The reason for using 24Mhz is in my app it draws 95mA vs 322mA @ 600Mhz. Don't...
  27. B

    New lwIP-based Ethernet library for Teensy 4.1

    Sorry, I messed up posting as I don't see it here. Had a table with some numbers. I am running the teensy at 24Mhz. At 600Mhz it seemed similar.
  28. B

    New lwIP-based Ethernet library for Teensy 4.1

    Thought maybe the sprintf might be the problem since the change notice said printf had error correction added but removing it from the main loop didn't help. I do occasionally get 3-4 second delays, but usually ~2. BTW I never heard from anyone at all when I posted this code before. I thought...
  29. B

    New lwIP-based Ethernet library for Teensy 4.1

    This code I posted a few years ago #141 puts up a web page that allows you to turn the onboard LED on and off. It is almost immediate in v0.28 and about a second in v0.29. Don't know why it's not 4-5 seconds like my other program. /* blinkServer 2023/8/22 * cleaned up version of...
  30. B

    New lwIP-based Ethernet library for Teensy 4.1

    Seems to effect both UDP and HTTP.
  31. B

    New lwIP-based Ethernet library for Teensy 4.1

    Wow, you guys really keep at it. Thanks Installed v0.29 over 28 just now using the automatic update in Arduino 2.3.2. Having an issue where replies from a teensy 4.1 server are taking 4-5 seconds for some reason. Went back to v0.28 and all is well again with replies seemingly instantaneous.
  32. B

    How do you organize large sketches?

    Sorry, I forgot to mention it happens regardless of using subfolders.
  33. B

    How are you mounting the ethernet magjacks from the 4.1 kit?

    The one on the right is obvious. The one on the left is my favorite for custom printed boxes. You do a boolean subtract of it from the box wall and when printing pause when you get to the top, insert it and keep printing. Both are printed face down with no supports.
  34. B

    How do you organize large sketches?

    IDE 2.x allows you to get away with murder but you will eventually get caught if you're not carefull. I have gotten used to using python and swift where .h files are not used. If you write perfect code IDE 2.x will just piece all the .ino files together no matter if no function prototypes, or...
  35. B

    Multi SPI slave on a single teensy

    Seems like opening a larger can of worms. So when your done you do everything over with the real sensors?
  36. B

    Teensy 3.2 End Of Life

    Digikey currently has lots of chips and no obsolescence notification that they are usually good about. https://www.digikey.com/en/products/detail/nxp-usa-inc/mk20dx256vlh7/3742957 Could it be there is still a need for this chip with its many advantages over other newer, cheaper, faster chips...
  37. B

    All you need to know about USB-C

    That was really interesting! This USB-C head2head shows how you get what you pay for.
  38. B

    New lwIP-based Ethernet library for Teensy 4.1

    Thanks, pulled latest, fixed.
  39. B

    New lwIP-based Ethernet library for Teensy 4.1

    The new 0.59.4 core seems to be messing with QNEthernetv0.25 and v0.26: ~/Documents/Arduino/libraries/QNEthernet/src/QNEthernet.cpp: In member function 'bool qindesign::network::EthernetClass::begin(const IPAddress&, const IPAddress&, const IPAddress&, const IPAddress&)'...
  40. B

    Should we use BZ2 or ZST or XZ compression for Teensy downloads in Arduino IDE 2.2.x?

    M2 macBook air, Frontier fiber starting from 0.59.3 and doing remove first from the boards manager, got various times for each: ver min:sec zst 1.58.1 0:40 XZ 0.59.3 1:34 bz2 1.58.1 2:13 zst 0.59.3 0:17 zst 1.58.1 0:20 bz2 1.56.1 0:42 zst 0.59.3 0:50 Cached files must...
  41. B

    New lwIP-based Ethernet library for Teensy 4.1

    I'm using IDE2.2.1 on macOS with the latest QNEthernet it installs. I'm not great at GitHub Desktop but do use it (probably incorrectly). Should I clone the master into ~/Documents/Arduino/libraries replacing the existing QNEthernet folder ?
  42. B

    What happens if a Teensy 4.1 is powered via Vin and USB ast the same time?

    I'm going to throw in my 2 cents. I have used USB power and VIN on 3.2, 3.5, 3.6, 4.0 and 4.1 without any issues for years on multiple computers and with multiple USB supplies, on board DC-DC converters and even bench supplies for VIN. I think the danger is overblown. As long as you keep the...
  43. B

    Electronic circuit to convert 0.8-4.2 to 0-5 VDC

    😃Nice, didn’t know you were an opAmp nurd too!
  44. B

    Teensy 4.0: Wake up from SNVS Low Power Mode through GPIO

    Wonder if you could set RTC alarm for say 15 seconds and have it check for a pin level change and if no change go back to sleep. User would have to switch something or hold a button for at most 15 seconds.
  45. B

    Beware! T4x RTC power consumption

    I'm listening. It needs to be noted that the recommended batteries are 3V lithium coin cell, not a 3.6V lithium, different chemistry and voltage.
  46. B

    TimeLib does not work correctly on 4.1

    Using Arduino 2.2.1 do you get this after compiling and then hovering over time_t? Note it's now 64 bit.
  47. B

    TimeLib does not work correctly on 4.1

    Don't see: #include "TimeLib.h"
  48. B

    Forum switching to new SSL cert

    Thread search for a short term is not possible? Example: Try to find if the Teensy 4.1 is mentioned in thread https://forum.pjrc.com/index.php?threads/bat-detector.38988/ Search for 4.1 is not possible, get: Oops! We ran into some problems. The search could not be completed because the search...
  49. B

    Forum switching to new SSL cert

    No warnings for me on macOS.
  50. B

    xenForo Improvements

    Forum works so much nicer on phones
Back
Top