Search results

  1. M

    Custom teensy 3.2

    Shouldn't the crystals have some load capacitors nearby?
  2. M

    PlatformIO Config Options

    I use platform.io all the time. Usually the platformio.ini file which gets generated is ok, it would look like this: [env:teensy41] platform = teensy board = teensy41 framework = arduino
  3. M

    Single click build with Visual Studio Code and Visual Teensy?

    Have a look at platform.io. It can be used with Visual Studio Code and has one-click build and upload buttons.
  4. M

    Oled onPin 24 and 25 Teensy 4.1

    Sample code? 24/25 are not the standard i2c pins (which are 18/19) so i think you would need to do Wire.setSDA/setSCL to use that pins. Multiple I2C devices are possible, pullup resistors (2k2 / 4k7) are recommended.
  5. M

    Can't find other device with i2c

    Teensy 4.x as master and the other board as slave. Huzzah 8266 not working, Feather M4 working.
  6. M

    Can't find other device with i2c

    I think i have proof, that it is Huzzah related. As i mostly use Adafruit Feathers it is very easy to swap boards around, as the pinout is the same. So i took the non working huzzah code and changed the board type in platformio.ini to FeatherM4 and swapped the huzzah physically with a...
  7. M

    Can't find other device with i2c

    On the Adafruit product page it is mentioned, that they use bit banging for i2c on that board. On the thread Kurt posted are people which mention that the 80Mhz of the huzzah might be too slow for slave mode. If it works with swapped roles the setup is likely ok. I also just tried with a Teensy...
  8. M

    Custom / DIY Teensy 3.2 board files

    Thanks for sharing, actually i also like the FeatherWing proto in your Github repo. :)
  9. M

    problem compiling teensy 4.0 with platformio

    The code from the first post compiles fine here for teensy and platformio (latest). What might cause the issue is some old globally installed library. My experience shows that using 3rd party libs globally installed likely causes issues. If you need a lib you can always use lib_deps = in...
  10. M

    problem compiling teensy 4.0 with platformio

    Try to add: #include <Arduino.h> as the first include in main.cpp. If this does not help, post your platformio.ini of the project and the errors.
  11. M

    Teensy Organ

    Very cool!
  12. M

    Loader crashes, Monitor closed, Linux

    Good to hear that the issues are solved now.
  13. M

    code generation bug? multiply affects later shift? (Teensy 4.0) can loop?

    Try to put the code without the serial setup stuff in some testfn. Call testfn from setup. Compile and objdump -D firmware.elf, look at testfn. Here it is like this: 0000008c <_Z6testfnv>: 8c: b508 push {r3, lr} 8e: 2205 movs r2, #5...
  14. M

    Loader crashes, Monitor closed, Linux

    If the other programs don't use the AMA driver they will not crash if there is a race condition or bug in this driver. If you google for kernel oops cdc_ama you find some issues, so upgrading to a kernel > 4.15 might help if it is not a big issue for you. My opinion is, a user level program...
  15. M

    Loader crashes, Monitor closed, Linux

    If you ask me, looking at the kernel oops, this might be a bug in the cdc_acm driver, any chance that you update the kernel and try again? There might be a 5.x kernel available on 18.04, i think
  16. M

    Teensyduino 1.53 Released

    Platformio update went seamless. To me it looks like the code is now running faster as 1.52.
  17. M

    New (possibly yet another) SLIP framing library, a Stream decorator

    Hi, i bit old this thread, nevertheless i find this interesting. Adding one example how to use to the repo would be helpful i think.
  18. M

    Teensy 4 RTOS

    I want to reaffirm that. I killed a 4.0 by mistakingly touching a Teensy Pin with the red one. After that, i did cut the red one.
  19. M

    Teensy 4.0 strange "resets/reboots" driving a Pololu DRV8825

    No issue, i'm thankful for the hints and tips and someone actually trying it out. Appreciate that.
  20. M

    Teensy 4.0 strange "resets/reboots" driving a Pololu DRV8825

    What do you mean with "powered the DRV8825"? You connected Teensys VIN to RESET and SLEEP of the DRV? I'm just wondering because in the polulu's diagram i used there is no VDD to the DRV8825. Just RESET/SLEEP. Did i miss something here?
  21. M

    Teensy 4.0 strange "resets/reboots" driving a Pololu DRV8825

    Thanks for testing. Interesting fact is, i switched the Teensy with an ESP32 and it works without issues so far. :confused:
  22. M

    Teensy 4.0 strange "resets/reboots" driving a Pololu DRV8825

    Thanks for all for the help. I'm thinking about ordering some cheap optocouplers and experiment with these. Unfortunately i have no T 3.2 at hand but don't mind ordering one for experimentation. I will have a look at the two motors.
  23. M

    Teensy 4.0 strange "resets/reboots" driving a Pololu DRV8825

    Thanks, very good hints. I think some GND potential issue causes the Teensy to brownout / reboot. @luni: I did not connect Motor GND to Digital GND but according to https://forum.pololu.com/t/drv8825-ground-pins/7785 they are connected internally. Is there a better motor you could recommend...
  24. M

    Teensy 4.0 strange "resets/reboots" driving a Pololu DRV8825

    Further debugging with Serial4 and debugPrint revealed that in fact the Teensy is just rebooting. (Without any "error" message before). Unsure why it gets into that flash loop sometimes if a simple restart would do. Root cause i think might be a bad GND. Currently i'm unsure if i should use a...
  25. M

    Teensy 4.0 strange "resets/reboots" driving a Pololu DRV8825

    Hi, i have a Teensy 4.0 attached to a DRV8825 Stepper Driver using the minimal wiring diagram from here: https://www.pololu.com/product/2133 The driver is connected to the Teensy using the pins 3V/GND/5/6. Motor is a SM-42BYG011-25 (SparkFun / others) 12V/0.33A using it's own wall plug psu...
  26. M

    Howto analogRead accumulator voltage on Teensy 4.1 w. Teensy Feather Adapter

    Good idea, so A7 reads 1.75V and the 3.3Pin reads 3.28V. Then i had the idea that maybe some internal pull-something is enabled and did a pinMode(A7, INPUT) before. Now the values read: raw: 570.000000, vbat: 3.677419, which i think is quite ok. This is the code now: void loop() {...
  27. M

    Howto analogRead accumulator voltage on Teensy 4.1 w. Teensy Feather Adapter

    Thanks for your answer. It arrived today from the store and is a big one (6600mAh). I don't think it is fully charged. If i understand you correctly i have to double the raw value, divide by 1023 and multiply by 3.3 (reference voltage). This gives me: raw: 688.000000, vbat: 4.438710. Isn't...
  28. M

    Howto analogRead accumulator voltage on Teensy 4.1 w. Teensy Feather Adapter

    Hi, i am trying to read the voltage of a lipo accumulator attached to a Teensy Feather Adapter on a Teensy 4.1. Reading works, but i have no clue how to calculate the voltage from the values read. What i do: setup() { } uint32_t last = 0; void loop() { float vbat = analogRead(A7)...
  29. M

    TeensyTimerTool

    Ok, thanks, i will have a look.
  30. M

    TeensyTimerTool

    Hi Luni, i think the lib could benefit from a #ifndef YIELD_TYPE #define YIELD_TYPE YIELD_STANDARD #endif So that you can #define the YIELD_TYPE before you include the library.
  31. M

    Amiga emulation on Teensy 4.1

    This is just amazing.
  32. M

    Is it possible to boot from SD Card?

    According to the docs: https://www.pjrc.com/store/teensy40.html it is indeed copied to RAM. -Michael
  33. M

    T4.1 Ethernet Library

    Today i learned that. Very cool, will have a look.
  34. M

    FTP client to SD card

    I think it should be not that hard to write a file to the sd card using http/https. I am not aware of a ftp thing.
  35. M

    Who has ESP8266 (WiFi) working with Teensy 4.0?

    I posted a more or less guide these days: https://forum.pjrc.com/threads/61297-Teensy-4-1-WiFi-(Howto) Actually it is now even easier, as you can just use the Adafruit WifiNINA repo if you use master. That one scan networks sketch should work, if not i can assist. I have it running now for...
  36. M

    Teensy 4.1 WiFi (Howto)

    More investigation reveals, that you can in fact use the Adafruit library https://github.com/adafruit/WiFiNINA but you should use master and add this on top of the sketch: #if defined(TEENSYDUINO) #define SPIWIFI SPI // The SPI port #define SPIWIFI_SS 5 // Chip select pin...
  37. M

    Teensy 4.1 WiFi (Howto)

    I forked the lib fresh from master which looks better than the 1.3.0 version and applied a new patch to make it work out of the box. https://github.com/gounselor/WiFiNINA So please replace the github.com url in the first posting an report if it works for you.
  38. M

    Teensy 4.1 WiFi (Howto)

    PS: I think that issue with the SPI pullups might actually be true. I remembered that the FeatherWing Logger has pull-ups, so i stacked another module. It looks gross now but worked at the first try.
  39. M

    Teensy 4.1 WiFi (Howto)

    Hi all, today my new parts arrived including an Adafruit Airlift Feather so i decided to connect the Teensy 4.1 to my WLAN. (I think this would also work with Teensy 4.0) Here is a bit of an advanced howto, proceed at your own risk, soldering skills are required! Hardware needed: AirLift...
  40. M

    TeensyDMX and FastLED - cant get them to work simultaneously

    You could do a quick test and add __disable_irq(); before FastLED.show(); and __enable_irq(); after. In my experiments it has shown that the WS2815 strips are very timing sensitive.
  41. M

    Please recommend soldering iron / equipment

    Thanks again for all your suggestions.
  42. M

    Are there other stores that sell the psram chips?

    Today it looked like exp-tech.de has the chips available again. https://www.exp-tech.de/plattformen/teensy/9947/psram-chip-for-teensy-4.1?c=1168
  43. M

    Teensy 3.2 and ESP8266 communications

    Another possibility - as i am a big fan of that Adafruit Feather system - is to use their airlift feather wing and their teensy feather adapter. This would then use SPI to communicate between them, and it would be an ESP32 basically. But i did not try this and it would require to buy more...
  44. M

    Teensy 3.2 and ESP8266 communications

    I would do this via i2c. Teensy as slave and define my own "protocol" to do that. Here is a thread about i2c: https://forum.pjrc.com/threads/35500-Teensy-3-2-Master-and-Slave-I2C-communication-problem
  45. M

    Please recommend soldering iron / equipment

    Thanks for all the suggestions so far. I ordered some stuff after having spend some time searching for a shop which has a Hakko in store. Hopefully the stuff arrives before the weekend.
  46. M

    Please recommend soldering iron / equipment

    Thank you all for your suggestions, they are very helpful.
  47. M

    Please recommend soldering iron / equipment

    Thanks for the answers so far. One question, what is a TS100?
  48. M

    Please recommend soldering iron / equipment

    Hi, today i managed to "glue" the psram chips to the new teensy 4.1. No, i will not show pictures how it looks. It is a wonder that the teensy and the chips still seem to be ok. I have the impression that my soldering equipment could be updated, so please suggest equipment or just write what...
  49. M

    Are there other stores that sell the psram chips?

    Mine arrived today with the Teensy 4.1. Seems that they did not have many in stock after all. I ordered only 4.
Back
Top