Search results

  1. D

    Custom PCB with Teensy4.1, ESP32 and SIM7600

    actually i dont know the difference between the buffered-sd-audio for PR and EVR, i just used it and it works like charm 😂
  2. D

    Custom PCB with Teensy4.1, ESP32 and SIM7600

    i used the buffered-sd-audio-evr branch
  3. D

    Custom PCB with Teensy4.1, ESP32 and SIM7600

    Acknowledgements I want to extend my sincere gratitude to @PaulStoffregen, creator of the Teensy platform, for his guidance and valuable support throughout the development and testing of this project. His expertise and contributions to the Teensy ecosystem have been instrumental in making this...
  4. D

    Custom PCB with Teensy4.1, ESP32 and SIM7600

    PAGASA Custom Environmental Datalogger (Revision 0) After months of research, hardware design, firmware development, and testing, I am proud to present Revision 0 of our custom-built environmental datalogger, engineered specifically for the operational requirements of the Philippines' Weather...
  5. D

    Connecting external amp to teensy audio shield's headphone jack

    I want to share details of my audio project in relation to the topic of connecting an external amplifier to a Teensy. In my setup, I interfaced the Teensy 4.1 with an external amplifier using its MQS output pins. This implementation may also be relevant for others exploring similar configurations.
  6. D

    Porting Teensy 3 library to Teensy 4

    hi sir, any update? thanks
  7. D

    Teensy 4.1 Serial (USB port)

    Thank you very much, sir. I will try this after I receive the breakout board.
  8. D

    Teensy 4.1 Serial (USB port)

    I can use this breakout board, right? Same pin config with Teensy 4.1 USB host so I can solder it directly with header pins to Teensy's USB host port
  9. D

    Teensy 4.1 Serial (USB port)

    one more question, can the 5v pin from this USB host pin power the Teensy 4.1? Or this 5v will power the device connected here? Thanks
  10. D

    Teensy 4.1 Serial (USB port)

    Yes, sir, it works with data transfer. Same as the micro USB cable. If I understand this correctly, the only way for this to work is through CR350 right sir, and not in Teensy programming?
  11. D

    Teensy 4.1 Serial (USB port)

    From CR350, I connected a Type-C cable going to the Micro-USB port of Teensy 4.1. To be honest with you, I don't have any idea about this 😥
  12. D

    Teensy 4.1 Serial (USB port)

    Can serial data be read on Teensy's USB port without opening any serial terminal emulator? I'm trying to interface an industrial datalogger (CR350) with Teensy 4.1. I'm trying to send data from CR350's USB port to Teensy's USB port. However, I cannot read any of the serial data coming from...
  13. D

    relay module with Teensy 4.1

    Update. I received the relay today. The relay changes state when the "IN" pin is connected to GND, not 5V. Better than expected result, so no need to use some logic converter in using the above-mentioned relay module.
  14. D

    relay module with Teensy 4.1

    Thanks sir, I will also check this option. For now i bought some 74AHCT125 in Adafruit store to test the relay module.
  15. D

    relay module with Teensy 4.1

    Hi, I'm planning to drive this relay using Teensy 4.1, but the specs says the nominal coil voltage is 5v. Is it possible to drive this relay using Teensy? or do I need to use some logic converter like BS1338? Thank you
  16. D

    Tools > Optimize.

    After uploading CoreMark, on 5th upload using the Smallest Code, my Teensy 4.1 suddenly stopped working. It says USB not connected so I replug the USB. After unplugging, a red LED starts flashing for 9 times. Is my teensy dead?
  17. D

    Tools > Optimize.

    Hi, I have some questions regarding what to choose from optimization options. I compiled my program with different optimizations and these are the results Faster Opening Teensy Loader... Memory Usage on Teensy 4.1: FLASH: code:195272, data:24772, headers:8304 free for files:7898116...
  18. D

    Serial.readstring() and Serial.setTimeout()

    okay already solved the problem by using Serial1-8.addMemoryForWrite(). I noticed that the tx buffer of Serial 2-8 is only equal to 40 and Serial 1 is equal to 64 thus the difference in received String length.
  19. D

    Serial.readstring() and Serial.setTimeout()

    I'm trying to test the UART port if all of the sent data is received. I connected Serial1 Tx with Serial1 Rx and Serial8 tx with Serial8 Rx. Upon testing, not all data is received/transmitted.
  20. D

    Serial.readstring() and Serial.setTimeout()

    Hi, I encountered some errors in using Teensy's Serial ports. String DebugSerial; String SerialString; void setup() { // put your setup code here, to run once: Serial.begin(9600); Serial.setTimeout(10); Serial1.begin(9600); Serial1.setTimeout(10); } void loop() { // put your main...
  21. D

    Teensy 4.1 MQS

    Thank you very much sir @PaulS
  22. D

    Teensy 4.1 MQS

    What do I need to put in between Teensy board and my speaker sir @PaulS?
  23. D

    Teensy 4.1 MQS

    Hi, follow-up question. When using Teensy's MQS, is it safe to connect directly to an 8ohm speaker? I noticed that after 2 weeks of testing, my teensy suddenly stopped working when the speaker was connected to the MQS port.
  24. D

    Teensy 4.1 MQS

    okay thank you sir @KurtE
  25. D

    Teensy 4.1 MQS

    Hi, I have a little question. I'm using Teensy 4.1's MQS to have an input on my digital power amplifier. These ports use the MOSI MISO and CS port of Teensy 4.1 (SPI_1). My question is, can I the MQS port and use the SPI port at the same time or do I need to use the 2nd SPI port? Thank you.
  26. D

    Adafruit MAX98357A - Teensy 4.1

    Hi, I'm trying to use this module with Teensy 4.1. The problem I encountered is when I'm trying to output an audio, sometimes Teensy reboot itself. I thought the problem is the power supply because Vin and GND is connected to 3.3v and GND of Teensy 4.1 so I used a separate power supply and tied...
  27. D

    Crash Report

    hi again sir @h4yn0nnym0u5e, I already tested the library, just had some problems installing it earlier but now I have it. Thank you for the modification of the Audio Library. I just had some questions, for the createBuffer(****, AudioBuffer::inHeap), how to compute the most optimal value I can...
  28. D

    Crash Report

    Hi sir @h4yn0nnym0u5e , I will check and try this new library tomorrow and I hope it can solve my problem with audio library. Thank you very much
  29. D

    Crash Report

    Hi, I'm trying to use the Audio Library for Teensy 4.1. During testing, my board stacks, and watchdog resets it. Then this is the crash report I'm getting. CrashReport: A problem occurred at (system time) 16:57:36 Code was executing from address 0x2C8C CFSR: 82 (DACCVIOL) Data Access...
  30. D

    Teensy 4.1 to 600w amplifier

    Hi, I'm trying to use my Teensy 4.1 board to output wav files coming from the built-in SD card to a speaker. Upon checking the teensy audio library, Teensy can be connected using I2S to an audio board available for teensy 4x and another available option is using Adafruit Max98357a breakout...
  31. D

    Porting Teensy 3 library to Teensy 4

    Hi sir @duff, I'm very happy to hear that from you. I thank you for making this library for SDI-12 communication.
  32. D

    HardwareSerial problem_Teensy 4.1

    Thank you very much for your feedback. Now I don't see any phantom data coming from Serial8, but is it possible to add this line of code after setting the Serial Hardware? Does it clear any data from Serial Hardware during setup()? Serial8.begin(9600); Serial8.setTimeout(2)...
  33. D

    Porting Teensy 3 library to Teensy 4

    okay sir @PaulStoffregen, I think my last option is to port sir @duff's library.
  34. D

    HardwareSerial problem_Teensy 4.1

    And if I may add, I use 150mhz to reduce the internal temperature. My project is to be installed outside, to monitor the weather condition in our Country (huge project for next year, using Teensy 4.1 if I can port all of my program from Arduino Mega to Teensy 4.1). Based on some documents, using...
  35. D

    HardwareSerial problem_Teensy 4.1

    Hi sir thank you for your feedback, on my original program, i use Teensy's internal RTC, and every 5seconds, i feed the watchdog. I will try your suggestion and post it here. Thank you very much
  36. D

    HardwareSerial problem_Teensy 4.1

    My Teensy is connected only to a breadboard, with no wires attached. I'm just trying to test my Teensy board using 150mhz nonstop to monitor the internal temperature but I noticed yesterday it started to reboot non-stop.
  37. D

    HardwareSerial problem_Teensy 4.1

    I encountered some errors using the hardware serial of Teensy 4.1. When Teensy boot, my code always checks if Serial (in my case, Serial8) is available, but when I'm parsing the received data, it shows no value, and it will stock my Teensy until watchdog resets, and it will continue until...
  38. D

    Porting Teensy 3 library to Teensy 4

    Update, I tried to measure Pin 12 (SDI-12 pin connected to Arduino Mega 2560) using a voltmeter, it measures 1v during idle, and when I hit enter, it registers 2v. Based on SDI12 standard it should be 0v and 5v for mark and space but either way, I tried to directly connect my sensor to Pin 1 of...
  39. D

    Porting Teensy 3 library to Teensy 4

    Good day sir @PaulStoffregen , I already tried the library but first, I tried to test TXB0108 if it will work with 5v to 3v3 so I tried to test it first with Arduino Mega UART 1. Connected Arduino Mega2560 Serial3 TX RX to TXB0108 2. Connected TXB0108 to Serial1 of Teensy 4.1 for Arduino Mega...
  40. D

    Porting Teensy 3 library to Teensy 4

    Yes sir @PaulStoffregen , I will use this module from adafruit. I will give you my feedback today. Thank you again sir
  41. D

    Porting Teensy 3 library to Teensy 4

    Thank you very much sir @PaulStoffregen , I will now try to connect a working sensor with Teensy 4.1 and I will feedback you as soon as possible if it works.
  42. D

    Porting Teensy 3 library to Teensy 4

    hi sir @PaulStoffregen sorry for the other thread. That thread is for the same application but a different library. Either way, can I ask how to use the timer control register of Teensy 4.1? #if defined(__AVR_ATmega168__) || defined(__AVR_ATmega328P__) || \ defined(__AVR_ATmega1280__) ||...
  43. D

    Porting Teensy 3 library to Teensy 4

    Thank you very much for the help sir @KurtE , I will try to add check which library is better for Teensy 4.1, this library which uses softwareserial , or sir @duff's library which uses Hardware serial. This is the last library that hinders me from porting all of my programs from Arduino to...
  44. D

    Timer Control Register Teensy 4.1

    Hi, I'm trying to add support for Teensy 4x with this library, but I'm not good at tweaking libraries. I'd notice that it uses timer control registers and pre-scalers to define the board. #if defined(__AVR_ATmega168__) || defined(__AVR_ATmega328P__) || \ defined(__AVR_ATmega1280__) ||...
  45. D

    do..while inquiry

    Hi, i have a simple question regarding the do whle loop using teensy board. int x; void setup() { // put your setup code here, to run once: Serial.begin(9600); do { Serial.println(x); x++; delay(1000); } while (x < 5); } void loop() { // put your main code here, to run...
  46. D

    Porting Teensy 3 library to Teensy 4

    Hi, I'm trying to port this library SDI-12 for Teensy 3 to Teensy 4.1. My problem is almost all of the components are from Kinetis.h of Teensy 3, while Teensy 4 is using imxrt.h. One component of the library from kinetis.h is IRQ_UART0_STATUS to IRQ_UART3_STATUS, then looking back to imxrt.h...
  47. D

    DigitalPin 6 inquiry

    Thank you sir but I have another question. I define in the setup to use INPUT_PULLUP, do I still need to add an external pull-up resistor to pin6 and GND?
  48. D

    DigitalPin 6 inquiry

    hi sir Paul, for the button or in my case, a reed switch sensor, i connected one side to Pin6 and the other side to the GND pin of Teensy4.1. And while testing, i noticed that the pin6 sometimes detects pin changes. Am I doing something wrong with the connection?
  49. D

    DigitalPin 6 inquiry

    Hi, I have a question. I'm using the bounce library connected to Pin6 of Teensy 4.1, but I noticed that sometimes it detects pin changes (going from on to off and vice versa). The program I'm testing is the provided example by the Bounce Library. As I look at the pin configuration, it labels...
  50. D

    Usiing SDI12_T3-master library for Teensy4.1 board

    Thank you very much. This week I will try to connect one SDI-12 sensor and test if I can read some output and reply to this thread again for the output.
Back
Top