Search results

  1. XRAD

    XRAD'S Issue with FADE or BLINK teensy 4.0

    Hi Mark, thank you for reply! I figured it out late last night..... this code works in case anyone wants to use it: harware: Teensy 4.0 and x2 one color 5v LEDs with 200ohm resistors unsigned long CLEAR_LED_Timer = 0; unsigned long LED_BLINK_Timer = 0; unsigned long LED_FADE_Timer = 0; int...
  2. XRAD

    XRAD'S Issue with FADE or BLINK teensy 4.0

    even with a simple button press, same issue. Maybe has to do with not updating LED state when I switch functions... maybe I need a global updateLED(); function... #include <LEDFader.h> unsigned long LED_BLINK_Timer = 0; //unsigned long LED_FADE_Timer = 0; int value = 0; int brightness = 0...
  3. XRAD

    XRAD'S Issue with FADE or BLINK teensy 4.0

    updated code, but no change to initial issue.... any help MUCH appreciated! #include <LEDFader.h> #include <Ultrasonic.h> Ultrasonic ultrasonic(2, 20); int distance; unsigned long US_Distance_Ping_Timer = 0; unsigned long LED_BLINK_Timer = 0; const int LED_RIGHT_EYE = 4; const int...
  4. XRAD

    XRAD'S Issue with FADE or BLINK teensy 4.0

    I have tried many variations of FADE and BLINK non blocking code (not just what is here below), but the same issue persists. Either will work fine without the other in the loop. The FADE and BLINK functions do not work together in the loop, and the FADE seems to block the LED display. I'm...
  5. XRAD

    Bring back the Teensy 3.2 !

    THANK YOU bboyes! Look forward to getting some of these when produced.
  6. XRAD

    Bring back the Teensy 3.2 !

    Thx for the link, Angelo. :((n) I already have a stack of 4.0's and 4.1's.........just in case these get terminated, too
  7. XRAD

    Bring back the Teensy 3.2 !

    Paul, I do not know all the financial,patent, or technical issues regarding the 3.2, but really, PLEASE consider another run of these AWESOME processors! For all the beginners like me, the 5v tolerant pins are so easy to use with SO many projects. They always work perfectly with arduino IDE and...
  8. XRAD

    Bring back the Teensy 3.2 !

    Good point. just yesterday I noticed that the 3.2 was at 18mA and the 4.0 was at 44mA in the same device.
  9. XRAD

    Bring back the Teensy 3.2 !

    Thx for reply. lol...10,000 not for me...for everyone. THX for the link! jmarsh, look at the positive side of things! Mouser has: In Stock: 14,829 (as low as 7$ each)
  10. XRAD

    Bring back the Teensy 3.2 !

    Have you seen the prices for the Teensy 3.2 leftovers...175 -1000$!...sheesh...I really miss the 5v tolerant pins!!!! Made my build life so easy.... Paul, can you bring it back?? the MK20D processor is 13$ on digikey.... How about a run of 10,000??? Please. I have been pulling them from my...
  11. XRAD

    Teensy 4.0, 'disabling' an analogRead pin

    So I switched the cap over to the sensor input side of the voltage divider(Thx MarkT), and re-adjusted the slope calculation for the new voltage drop, and with a little tweaking of slope, I am now getting steady and fairly accurate readings. THX for everyone's help!
  12. XRAD

    Teensy 4.0, 'disabling' an analogRead pin

    yep, the regulated 3.3v, not 5v. I will get rid of the 4k7. My voltage divider circuit is similar to above, but without the diodes. I thought the cap (mine is a 10nf) went from the divided resistors to ground? not the input signal to ground?? I have this as my voltage divider:
  13. XRAD

    Teensy 4.0, 'disabling' an analogRead pin

    thx for replies! I read about the diode setup. I just don't have any on hand and was wondering about other options via code. I will give the diodes a try. Something like this? THX!
  14. XRAD

    Teensy 4.0, 'disabling' an analogRead pin

    I have a 5v output analog pressure sensor. It does not output > 3.3V until 70psi. My system does not go over 60psi. BUT, just in case I do exceed 70psi, I was thinking that : if (psi <= 69) { analogRead (sensorPin);} if (psi>=70){ digitalWrite(sensorPin, LOW);} this works, in that the pin is...
  15. XRAD

    RIP Teensy 3.2

    The Teensy 3.2 was my FAVORITE board. It always worked with many different products and code. Thank you Paul for creating it. I was lucky to obtain a few extra......
  16. XRAD

    TEENSY 3.2 not working with <Servo.h> anymore

    Hi Paul, THX for reply. I got tired of uninstalling and reinstalling Arduino and libraries. I will definitely not hit the arduino 'update' button for at least anther year!! lol I ended up using your PWMServo.h which worked perfectly....of course... For those of you with left over Teensy...
  17. XRAD

    TEENSY 3.2 not working with <Servo.h> anymore

    There was that error initially. I removed all Servo.h files and reinstalled older version, and then updated to newest. I do not have that error anymore. these are the src files...no ARM M4... this is the current and only error: In file included from...
  18. XRAD

    TEENSY 3.2 not working with <Servo.h> anymore

    Using example sweep in servo, I get this now: c:\Users\Stupid\Documents\Arduino\libraries\Servo\src/Servo.h:67:2: error: #error "This library only supports boards with an AVR or SAM processor." 67 | #error "This library only supports boards with an AVR or SAM processor." | ^~~~~ I...
  19. XRAD

    XRAD'S need help displaying one char at a time, Translucent OLED teensy 3.2

    solved with help here: https://forum.arduino.cc/t/xrads-need-help-displaying-one-char-at-a-time-translucent-oled-teensy-3-2/1022471
  20. XRAD

    XRAD'S need help displaying one char at a time, Translucent OLED teensy 3.2

    I have this bit of code. It works as written. It draws next char in array as first char of line, and each iteration shortens the displayed chars string by -1. BUT, this is opposite of what I want to do. i want to draw each array char after the last one as if someone is typing on the screen...
  21. XRAD

    XRAD'S Translucent OLED SSD1309 128 x 64 Not displaying anything...teensy 3.2

    YES. 3.3v works. Everything good now Thank you all!
  22. XRAD

    XRAD'S Translucent OLED SSD1309 128 x 64 Not displaying anything...teensy 3.2

    Hello All, I have tried different pin configs in software and hardware for the OLED. I have tried several SSD1309 libs as well as the DFRobot lib...nothing works... hardware: DFRobot 1.5" translucent OLED Teensy 3.2...
  23. XRAD

    XRAD'S Teensy 3.6 read write to SD x/y integer coord pairs

    In case anyone interested, I solved this data store and rewrite to TFT in the code below. I seem to have two remaining issues: 1) my north - south coordinates produce a slanted line (northeast to southwest..off by about 45 degrees), rather than true north south, while east west is just fine...
  24. XRAD

    XRAD'S simple digital switch, need help with component design...

    thank you for replies! I tried digitalread as well. Did not work. I am really looking for any schematic corrections to the wiring dgm or ideas for another way to sense the 'contact circuit'.....or a better way to build the HIGH /LOW sensor circuit for the teensy to 'sense'....
  25. XRAD

    XRAD'S simple digital switch, need help with component design...

    I am trying to build a water sensor with the design in the image below (JUST the high water sensor). I have substituted a 2n3904 for the BC548C (because I don;t have any of these). I thought they were similar enough to work...but...no luck. I want the RED led to come on when water is sensed(the...
  26. XRAD

    XRAD'S randomSeed teensy 4.1 question..RGBW screen saver

    TY for reply, but why does randomSeed 'work' in the basic program, but not with my screen saver....That is my confusion...
  27. XRAD

    XRAD'S randomSeed teensy 4.1 question..RGBW screen saver

    nevermind, I (EDIT: DID NOT) figured it out. It was the line of code containing the modulo operator (0-9). I eliminated this and randomSeed() works fine now.... :) randomSeed still not 'random".... :(
  28. XRAD

    XRAD'S randomSeed teensy 4.1 question..RGBW screen saver

    I know there is an entropy lib, but I want to use randomSeed() as the necessary randomness is minimal. The basic arduino sketch reading teensy A2 does generate different numbers on boot. But when I apply the arduino sketch to my screen saver, the randomness goes away (and the boot sequence...
  29. XRAD

    Teensy 4.1 and adafruit breakout ATWINC1500... parsing data issue

    Yes, I have tried out that tool, really cool! TY for the string education! 3072 works for both the CURRENT and FORECAST strings buffers...3000 does not....That seems pretty close.....so I left it at 4000...I knowwwwwwwwww......lol.... why? in case openweather changes its reply length...maybe?
  30. XRAD

    Teensy 4.1 and adafruit breakout ATWINC1500... parsing data issue

    I tried a few other things like changing client timeout and string terminators and length. I wonder why teensy (Stream) readStringUntil only has a length of 120? seems odd...doubt it's a memory issue...maybe left over from older Stream arduino processor requirements? . I read through some of...
  31. XRAD

    Teensy 4.1 and adafruit breakout ATWINC1500... parsing data issue

    Thx Manitou. i will try out ardinojson 6.....
  32. XRAD

    How to protect a Teensy 4.1 pin from higher voltages?

    Great thread! So I'm curious at the reaction speed of the zenner or schottky diodes in the above diagrams as everyone posted. PO describes a possible 24v overvoltage, but does not say if it is a fast or slow rising change...... PO asks about 'bypassing' the diodes... which leads me to...
  33. XRAD

    Teensy 4.1 and adafruit breakout ATWINC1500... parsing data issue

    Never Mind! All good now. THX Manitou, your code snippet worked fine. I just had a '}' in the wrong spot, which I think made my code save only a partial string to the buffer. Thanks Again! Now I will try to find out why your logic worked and readStringUntil('\n') does not.....
  34. XRAD

    Teensy 4.1 and adafruit breakout ATWINC1500... parsing data issue

    Hi Manitou! thank you for reply. I followed your instruction but on the T4.1, I am still getting: You're connected to the network Starting connection to server... connected to server current: parsingValues parseObject() failed hmmmmmm.... Do you have a T4.1 to try my code on? Did my...
  35. XRAD

    Teensy 4.1 and adafruit breakout ATWINC1500... parsing data issue

    Maybe it's a wifi library compatibility issue? Anyone have an idea?
  36. XRAD

    Teensy 4.1 and adafruit breakout ATWINC1500... parsing data issue

    i guess i found two issues. 1st: I'm am NOT getting a good reply to my call (missing lots of data)using teensy 4.1, and reply is different than with the M0 so on teensy call, I GET this reply for current weather...
  37. XRAD

    Teensy 4.1 and adafruit breakout ATWINC1500... parsing data issue

    I have this sketch working perfectly with adafruit feather M0 wifi ATWINC1500, but I want to use my teensy 4.1 for my project. I can connect to wifi and openweather.com with my API and 'GET' my data string using adafruit ATWINC1500 breakout...but I can't seem to parse it. I am using arduinojson...
  38. XRAD

    XRAD'S Can someone help me exit this SD function ?

    THX! BriComp. I will try your suggestion. I think I also have to check my SD library again and do some more simple read write tests...had some issues with it recently... I thought that the SD data was in char form? I can print out to sercom all 483 'lines' from SD using something like...
  39. XRAD

    XRAD'S Can someone help me exit this SD function ?

    see attached sercom image... I run my function in setup but I can't find a way to exit it to get back to the loop. I tried many different ways and ran out if ideas....What am I doing wrong? The SD file does not appear to be closing....Thx in advance for any suggestions! //teensy 4.1 with...
  40. XRAD

    Teensy 4.1 BUILTIN_SDCARD Not defined error...one possible fix here:

    Hi defragster and PaulS, THX for replies! Very helpful. But it's interesting because the adafruit fork which WAS located in {Documents}/Arduino/libraries was (I thought?!) loaded there from the arduino 'update' libraries which I performed back in september 2021 or so.... I did update the...
  41. XRAD

    Teensy 4.1 BUILTIN_SDCARD Not defined error...one possible fix here:

    So my new Teensy 4.1 was reading and writing to onboard SD data just fine using good old SD.h ...until I updated my SDFat lib to newest version using arduino library update..then I started getting the error "BUILTIN_SDCARD Not defined".... so I ended up having to delete all my SD libs out of...
  42. XRAD

    Recommended board fastLED project

    What's your programming environment? You can find cheaper boards than Teensy. However, Teensy 3.2 is my go to board for small and large projects. perfect for fastLed code/led projects. I use arduino IDE. Teensy has Plenty of speed and storage. Small size. 5V tolerant on just about every pin...
  43. XRAD

    XRAD'S Teensy 3.6 read write to SD x/y integer coord pairs

    I can store my D.D. GPS converted to x/y integers to SD that look like this: 214,123 215,122 etc... I can draw them at original scale (of approx 1 pix per m). Or I can scale them with several scales (x/100,x/500.etc..) and draw the new scale, but I am not able to redraw the saved x/y SD pairs...
  44. XRAD

    XRAD'S Teensy 3.6 read write to SD x/y integer coord pairs

    Thank you mjs513! I can add to the SD file each read of the GPS (1 read per second). And I can read the complete SD file. But now I have to get all these lines from the SD myfile and draw pixels with them. But I have no idea how... should I try to save the entire newest set of SD data lines...
  45. XRAD

    XRAD'S Teensy 3.6 read write to SD x/y integer coord pairs

    so I can save x,y integers to SD now and it looks like this in the SD file (and read them back as a batch to Serial.print) : 221,120 234,123 etc,,, or I can save x,y to SD like this: x=221,y=120 x=234,y=123 etc... What is the best strategy to read back these lines of data in order to draw...
  46. XRAD

    XRAD'S Teensy 3.6 read write to SD x/y integer coord pairs

    XRAD'S Teensy 3.6 How to read write to SD x/y integer coord pairs? Hello, I have a GPS point set which is converted to x/y points (integers) for tft pixel display. I have the display points showing up just fine for a walk around the area within the bounds of my TFT 'map.' But when I want to...
  47. XRAD

    How to use multiple Adafruit TSL2591 light sensors with teensy 3.2?

    EDIT: yes the LUMINOSITY data is 16 bit....
Back
Top