Search results

  1. A

    multi-denominational Xmas tree topper?

    Hello All, This is a tough one in formative stages, I'm needing some creative help fast. The goal is to get a Teensy based Christmas tree star that will display the symbols of at least Christianity, Islam, Judaism, and non-denominational. A sort of Christmas tree version of the popular...
  2. A

    Teensy 4.1 Native Ethernet max SocketSize lower than set?

    Formatting JSON HTML Posts Hello All, Having trouble finding the right thread for this question..... I'm trying to modify the WebClient example for Teensy 4.1. The google connection worked...this gave me enough joy to jump in way over my head. Moving on a bit, I'm having an enormously...
  3. A

    T4.1 Ethernet Library

    Hello All, I've just got my first Teensy 4.1 here with the PJRC magjack kit. updated Teensyduino to 1.54 Beta #9, and have compiled the WebServer example. But.....I get a message. My guess is the Ethernet.init call needs to be made. Is this a pin number you pass to Ethernet.init...
  4. A

    Mimxrt1062dvj6a

    Not exactly the place to post this, but how are global supplies of the MIMXRT1062? i.e. what would happen if we ordered 1000 Teensy 4.0's per month for the next 10 months? And, we are considering the 4.1 for a next generation product. Sheesh, Paul, you made it too easy to bring serious...
  5. A

    Future Teensy features & pinout

    What about 0.050 pins with a pin out where every other pin gives you a Teensy 4.0 pin out and the pins between bring out extra signals? Cut off the even pins and the 0.050 device goes in a breadboard. OK, throw stuff now.
  6. A

    Fast Convolution Filtering with Teensy 4.0 and audio board

    Wow, that's a good one. My first guess would be errors in the FFT get passed back through the iFFT. I'd use a good signal generator and feed the FFT with various sine waves, examining the FFT output for anything not at the frequency of your incoming sine wave. The filter windows might...
  7. A

    Fast Convolution Filtering with Teensy 4.0 and audio board

    Are Inverse FFT tools available? Hello All, This post was the closest thing I've found to confirm that there is inverse FFT out there for the Teensy/Arduino environment. Does anyone know if there is a bit of an introduction or tutorial? I'm a newbie to audio DSP, but having just done the...
  8. A

    New Teensy 4.1 DIY Synthesizer

    Very nice sounding Rolf. I will be getting a PJRC audio shield in a project in the coming weeks and look forward to following your path.
  9. A

    Teensy & LoRa Beelan library

    Yes, it compiles. Poking around for how to map the SPI pins to the Teensy4.0 It looks like the default LoRa transceiver is this one https://webshop.ideetron.nl/Nexus?Lng=en
  10. A

    Teensy & LoRa Beelan library

    Hello All, Could anyone comment on the feasibility of Teensy 4.0 compatibility with the https://github.com/BeelanMX/Beelan-LoRaWAN#arduino-lorawan-library-by-beelan library for LoRa? Thank You, John
  11. A

    I made a Teensy LoRa board

    This is a bit of an old thread, but what has become of this project? I would like to explore a LoRa/Teensy solution for a commercial product. Thank You.
  12. A

    Reading strings of floats and saving in Teensy EEPROM

    Thanks Luni, Right, actually 7.22 decimal places..... https://en.wikipedia.org/wiki/IEEE_754 I'm just looking at the discrepancy cited above. I may have to ignore this small error and move on, which would not cause a significant loss of sleep. ;-) Thanks Pilot, Oh, I'm sure we have...
  13. A

    Reading strings of floats and saving in Teensy EEPROM

    String of floats reader and store to array and EEPROM. Luni, Pilot, Defragster, et al.... Please let me know if this rabbit-hole adventure is appropriate for the PJRC forum, of if it might be better to move it. Thank You. The attached .ino is an improved version of the 'float string reader...
  14. A

    Reading strings of floats and saving in Teensy EEPROM

    Thank You luni, You are correct about what the code does. It reads a string of comma delimited floats. The parameter after the $IS, is how many floats to expect. The next int (addr) is a sort of array index. The end use is to fill a table with coefficients from a cluster analysis. Thanks...
  15. A

    Reading strings of floats and saving in Teensy EEPROM

    Thanks luni. I'm assuming the Teensy 4.0 represents an internal 32 bit float as IEEE-754 and a bytewise copy will preserve the components of 754. That said..... input strings like $IS,4,0,987654.12345678,23456.65432,3456.6543,4.9876543* do not store and recall at the expected resolution...
  16. A

    Reading strings of floats and saving in Teensy EEPROM

    Thanks Pilot...... I will need to let the sophistication there sink into my caveman brain a while. In the meantime, this is just merged from the EEPROM.get & EEPROM.put examples... #include <EEPROM.h> struct MyObject{ float field1; byte field2; char name[10];}; MyObject customVar = { 3.14f...
  17. A

    Reading strings of floats and saving in Teensy EEPROM

    Thank you Defragster. Looking at that now.
  18. A

    Reading strings of floats and saving in Teensy EEPROM

    Hello All, This code reads in a string of floating point numbers to the Teensy and places it it an array. What I am having trouble with is then storing the values in EEPROM, so they don;t have to be updated every time new firmware is pushed to the Teensy. Internally, it appears a float is 32...
  19. A

    teensy_loader_cli and serial port

    Hello Defragster, Do you know if the Teensy 4.0 gets put in program mode (PGM LED is dim, waiting for code state) and no code ever arrives, if the loader on the Teensy will eventually time out and restart the previous code?
  20. A

    ms timestamp since 2020.

    I also feel like I'm missing something obvious, and you may be on to it. The apparent wrap around issue. But even if that is the issue, I would think the 3 LSbits in the epochTime variable after the multiplication would be 000. Thank You, John
  21. A

    ms timestamp since 2020.

    Hello All, Been futzing with making a millisecond resolution timestamp for data logging. Thought a good approach would be a millisecond timer since Jan 1, 2020, a sort of 'covid epoch', but in milliseconds. This is running on a Teensy 4.0, but in the step where I multiply times 1000 (to make...
  22. A

    Remote reboot / user code update

    Hello Paul, Sorry this is so late, 8 years after your post. We're running into an issue with the Teensy 4.0 on a new project. in the above 'simple & cheap' version, should you catch the Teensy program with interrupts disabled, would it be possible to retry & succeed? Also, if your Teensy...
  23. A

    Teensy 4.0 command line loader

    Sorry Paul, That's what's got me. I'm not sure where the problem is, all looks good. Right up till the loader stops and asks you to hit the Teensy button. I guess I need to dig into just what 49-teensy.rules does and go from there. Get out the linux bible. Thanks, and keep going. These...
  24. A

    Teensy 4.0 command line loader

    This is more of a linux question wrt. the Teensy command line loader. Using the 4.0, and we've recompiled to loader for a Tordex Colibri environment. Had it working great for 3.2. Now, getting this... root@[111902180103]:~#teensy_loader_cli -mmcu=TEENSY40 -s -v -w Blink.ino.hex Teensy...
  25. A

    Wire, I2C & Teensy 4.0

    Hello All, Are there any thoughts out there on any of the enhanced versions of Wire.h? This is for a Teensy 4.0 based product we wish to deploy for road testing soon. I made the mistake of going from 2 lidars on a Teensy 3.2 to 4 lidars on a Teensy 4.0. So, i2c_t3.h also went back to...
  26. A

    COVID-19: A thread to share some thoughts and events

    If she doesn;t hum it whilst soldering, send her a link to "Soldering" a reggae song by Hall & Oats. Definite nice earworm when you flick on the Weller. :)
  27. A

    COVID-19: A thread to share some thoughts and events

    Thanks KurtE, Will check in on them. Enjoy the jellybeans!
  28. A

    COVID-19: A thread to share some thoughts and events

    Just to chime in with bigboosted here...... Good to know Paul. I'm sure you'll get PJRC's people and business through this. Who'd have thought?
  29. A

    COVID-19: A thread to share some thoughts and events

    Semi-Covid related question? I hate to patronize any business that are stayng open (no matter how vital) which are not seriously stepping up their game wrt. their employees, and the general public safety. That said, does anyone know of any PCB vendors who have already implemented all the...
  30. A

    teensy_loader_cli and Teensy 4.0?

    Thanks blackletter..... I was wondering if that were the problem, because I think the version we have installed was last summer. Teensy 4.0 was fall 2019 I think. Will check that out, Again, Thanks.
  31. A

    teensy_loader_cli and Teensy 4.0?

    Teensy 4.0 loader on Linux SBC Hello All, I'm trying to load a hex file for Teensy 4.0 on a ubuntu IoT SBC. This worked great on the 3.2, but I get an unknown MCU type "imxrt1062" when I modify the command for Teensy 4.0 like so: root@colibri-vf:~# teensy_loader_cli -mmcu=imxrt1062 -v -w -s...
  32. A

    Dual Teensy Dual LIDAR IoT Frankenstein project

    Reply to defragster's post above..... If I understand what you suggest then, I'd set an IRQ timer at say 50mS, and in the IRQ just quickly check SerialX.available and pull out of the serial buffer into the circular buffer. Sort of just While(SerialX.available){ CircBuffer[head] =...
  33. A

    Dual Teensy Dual LIDAR IoT Frankenstein project

    Thanks Defragster.... Here's how I'm looking at this at the moment... Teensy 4.0 has 5 serial ports. It's a generic case..... suppose one wished to really use that capacity at 'high' data rates AND not lose data. The data is coming in completely asynchronously and continuously at some...
  34. A

    Dual Teensy Dual LIDAR IoT Frankenstein project

    Thanks defragster. Good to know TeensyDuino 1.5 is out. Also that calling and passing over the loader is normal. I have a bit of a program design question I've been thinking about.....how to structure continuous reads of the serial ports. It's 9 bytes of data coming in at 100Hz from two...
  35. A

    Dual Teensy Dual LIDAR IoT Frankenstein project

    OK, that's interesting....I closed the teensy loader, and hit the Verify/Compile checkmark (ctrl-R) at the upper left of the IDE, NOT the upload arrow next to it. The result was that the loader did open! AND, it compiled normally, no errors! So, I hit the LOAD arrow (ctrl-U) and indeed it...
  36. A

    Dual Teensy Dual LIDAR IoT Frankenstein project

    Another update... Sure enough, it did appear to link and write the hex file But the other directories were empty. I opened the .hex file and it looked OK (as near as one can tell unless you're at a super-deep machine language level!) Dunno, thought it a good clue. Am I posting in...
  37. A

    Dual Teensy Dual LIDAR IoT Frankenstein project

    continued from above...... Follow-up: It appears to be an environment problem? Blinky.ino gives the same error. Namely Teensy Loader could not find the file Blinky2.ino quitexit status 1 Error compiling for board Teensy 4.0. BUT, Why would the Teensy Loader complain, as I didn't even...
  38. A

    Dual Teensy Dual LIDAR IoT Frankenstein project

    Hello All, Apologies in advance, I know this is something simple stupid. Just received the first run of some new PCB's which hold two Teensies, and have connectors for Benewake LIDARS. It feeds an IoT board underneath with a linux system, and has a cell modem sandwiched in. I'm just past...
  39. A

    Teensy 4.0 not compiling Teensy 3.2 code

    Thanks KurtE. Great context to move ahead. BTW, you're right on the 400KHz. Playing with that and using 2.5K external pullup resistors I was able to run the Garmin LL3's at 1MHz, But not 1.2Mhz! Again, thanks, and Regards.
  40. A

    Teensy 4.0 not compiling Teensy 3.2 code

    Hmmmm.... closer..... I included Wire.h, but am getting errors like: error: 'I2C_PULLUP_INT' was not declared in this scope Wire.begin(I2C_MASTER, 0x00, I2C_PINS_18_19, I2C_PULLUP_INT, I2C_RATE_400, I2C_OP_MODE_DMA ); and error: 'class TwoWire' has no member named 'resetBus'...
  41. A

    Teensy 4.0 not compiling Teensy 3.2 code

    Garmin did get the I2C address issue fixed in March 2019, so as you mention, there's great flexibility with the T4 to solve this. Startup hiccups from when Garmin bought the LL3 design from the startup that developed it. Thanks for the help MJS513, KurtE and defragster. I'm glad Paul...
  42. A

    Teensy 4.0 not compiling Teensy 3.2 code

    Thanks for looking it over. Very good stuff defragster & mjs513! Including Arduino.h did the trick wrt the serial errors! Why did it compile for the T32 and not the T4? You're right, the TFmini is all serial, and that's the LIDAR (actually not a LIDAR) and that's the one I'm most...
  43. A

    Teensy 4.0 not compiling Teensy 3.2 code

    Right files now included..... Sorry guys, I did indeed zip & upload the wrong file(s) is the monster messy version. I've since put together a combination of the two, bringing over a bit of code at a time to get a handle on this. To that end, I added another .cpp and .h file to the...
  44. A

    Teensy 4.0 not compiling Teensy 3.2 code

    Hello All, Apologies to professional programmers for how nasty the attached project code will appear. This project compiles without error for Teensy 3.2 under Arduino IDE 1.8.9 and 1.8.10. And though I can compile 'blinky' for Teensy 4.0, the attached code generates multiple errors...
  45. A

    Future Teensy features & pinout

    How to start a thread? Drop one level under the main forum to one of the sub-groups there and a new thread can be started there.
  46. A

    teensy 4.0 and pn532.

    Having a similar problem here migrating working code from T3.2 to T4, except that I get compiler errors like: error: 'Wire' was not declared in this scope Wire.begin(I2C_MASTER, 0x00, I2C_PINS_18_19, I2C_PULLUP_INT, I2C_RATE_400, I2C_OP_MODE_DMA ); So I'm wondering if the i2c_t3 library...
  47. A

    Future Teensy features & pinout

    This is probably not the best place for this question...... I'm migrating a project from Teensy 3.2 to Teensy 4.0. The compiler is generating a lot of errors like TFmini.cpp:13: error: 'Serial3' was not declared in this scope NumBytesAvail = Serial3.available(); and error: 'interrupts'...
  48. A

    LIDAR Lite address move

    Problem solved: After some work with the I2C calls & a memory dump to Garmin, they did a firmware update to get the I2C alternate addressing to work. If you wish to run dual LL3 LIDARS on a single I2C bus, i2c_t3 works great but get LIDARS with date codes after May 2019.
  49. A

    Attach a Teensy onto a PCB vs raw chips - production?

    Hello All, Going through this now..... using Teensy 3.2 soldered on to a carrier PCB. Got here through: https://www.pjrc.com/store/ic_mkl02.html But what I was hoping to find when I came across the MK04 bootloader was an idea of the error checking the MK04 implemented. We're uploading the...
Back
Top