Search results

  1. J

    Teensy 4.0 what does the orange LED mean?

    Right now it's not connected to anything/I'm not trying to use it (Pin 13). It just randomly turned on today after several months of use... that's why I'm concerned thinking maybe I shorted something while I was screwing around with the pins going to 14/15 (serial 3). But I could write some code...
  2. J

    Teensy 4.0 what does the orange LED mean?

    I have not seen this LED turn on before, and I've been using the Teensy 4.0 for a while. This is not the same LED that turns on while programming/resetting/blink. It's by pins 13/14 (by the reset button). It just came on and I'm wondering does it mean something like the Teensy 4.0 was...
  3. J

    Weird issue where serial comms stop working after USB is disconnected and rebooted

    Oh yeah I definitely don't have a reason for my choices other than trying to get it to work/hobby. I will work on making those changes where everything is driven from the transmitting side. Thanks. If there was one more i2c bus I would have been set ha... no having two was great I didn't have...
  4. J

    Weird issue where serial comms stop working after USB is disconnected and rebooted

    Oh there is one thing I wasn't sure yet if it was obvious. When you do Serial.readString(); does that clear the serial buffer/I don't have to immediately call a clearSerial() function? It seems to be doing a lot better now. I wonder if it was just those stray wifi connect serial print calls on...
  5. J

    Weird issue where serial comms stop working after USB is disconnected and rebooted

    So it looks like I just had to wait long enough for the first super-long-concatenated serial print to make it and then it starts working normally. I have restarted it a few times so it's not that issue where it hasn't fully reset yet from when it was last plugged into a USB. Teensy code...
  6. J

    Weird issue where serial comms stop working after USB is disconnected and rebooted

    I have seen that mentioned in some threads but I don't have one of those lines, not one that I added anyway. Both sides have a delay of some form. Oh man I don't have an O-scope ha, one thing I'm missing, need to add it to the list. I'm going to read up on that. I could look into the "started...
  7. J

    Weird issue where serial comms stop working after USB is disconnected and rebooted

    I stripped out a bunch of my code. Also for good measure added a direct ground wire connection between the ESP-01 and Teensy 4.0 I also used the #define name Serial5 approach not sure if it matters. Tried different baud rates (didn't matter). I think the main issue is serial buffer build up due...
  8. J

    Weird issue where serial comms stop working after USB is disconnected and rebooted

    I wonder if it's related to the buffer somehow. I did notice if I speed up the main loop delay on the Teensy, it just doesn't work at all. There was one time I saw this message across the serial monitor that I haven't seen before said something like "decode exception" long dashes across the...
  9. J

    Weird issue where serial comms stop working after USB is disconnected and rebooted

    I can, it's just a lot. Well a lot of parts anyway. I'm really trying to avoid that classic XY problem. Context on ESP01, it's a websocket, it sends data to the Teensy from the web and vice versa. The Serial.begin(115200); line on Teensy side was not originally there/just a thought maybe...
  10. J

    Weird issue where serial comms stop working after USB is disconnected and rebooted

    I have a Teensy 4.0 connected to an ESP01 via the Teensy 4.0 Serial 5 (20, 21) and ESP01 Tx/Rx pins. The Teensy and ESP-01 share the same ground. They're both turned on at the same time (not sure if that matters). Using 115200 baud rate on both sides. If the Teensy is plugged into the computer...
  11. J

    Another Teensy 4.0 and MPU9250 thread

    We're good, the matrix is flowing. I just had a dunce move trying 69 over 68... I remember that was way to use another device vs. as you said the Wire/Wire1. Thanks for the help, now I can figure out what a quaternion is. I updated the wiring, the IMU is powered from the Teensy's 3V out, and...
  12. J

    Another Teensy 4.0 and MPU9250 thread

    > I wrote that library. Haha that's really cool. I hope to get to your level some day. I'm just an npm install script kiddie. Anyway, yeah after I just installed your libraries through the Arduino search it did just work. vs cloning it directly into my VSC editor. Here's my wiring that I...
  13. J

    Another Teensy 4.0 and MPU9250 thread

    Yeap that was it. I just installed everything on Arduino by Boulder Flight (MPU9250, units, eigen) and then now I'm onto the next error lol IMU comm error but this is good. I did have to take out those full path edits I did. edit: Saw your post above On a side note, I was doing C++ stuff in...
  14. J

    Another Teensy 4.0 and MPU9250 thread

    That is the one I'm using. I think I just need to do as it says and bring the repos into the Teensyduino editor. I'm doing this on a 2015 MBP. I will post an update once I try it, that might be my issue is just including those libraries. Thanks edit: I wonder if I have to undo those full paths...
  15. J

    Another Teensy 4.0 and MPU9250 thread

    I'm going to try and install the libraries into Arduino itself as the README says (look at that) and that will probably fix this. What I tried to do was clone these into my VS Code editor that Teensyduino is linked to. Then compile the test file that's using these libraries I guess it doesn't...
  16. J

    Another Teensy 4.0 and MPU9250 thread

    Alright hopefully this is short, my background is web developer type, trying to get into hardware so far just using Arduino/Raspberry Pi. Know some C++ but it's not a daily driver. I have started a blank repo, I cloned an MPU9250 repo along with this Eigen thing it needs. I'm trying to run one...
Back
Top