PaulS's latest activity

  • PaulS
    I understand your frustration... Is this thread somehow applicable to your design? Paul
  • PaulS
    PaulS replied to the thread SD Cards getting corrupted.
    "to tape his SD card", does that mean taping the card such that it stays put in the SD card socket or...? I can imagine that when people are carrying the Vectra sequencer around, the Teensy and/or SD card are prone to shock and vibration. The SD...
  • PaulS
    PaulS replied to the thread U2 and D4 hot, 3.3v shorted to GND.
    In message #6 you stated: That's a bit confusing. I assume that the 3V3 is shorted to GND? Paul
  • PaulS
    Could it be that your loop is too fast and overloads the external hub? Perhaps try to sprinkle some delays in the loop like this? void loop(void) { Serial.print("loop:");Serial.println(i); MIDI.read(); delay(1); usbMIDI.read()...
  • PaulS
    Probably it doesn't matter but there is a double declaration of usbMIDI.setHandleNoteOn() and usbMIDI.setHandleNoteOff(). usbMIDI.setHandleNoteOn(handleNoteOn); // Put only the name of the function usbMIDI.setHandleNoteOff(handleNoteOff)...
  • PaulS
    Please be aware that there are a lot of fake NRF24L01 modules out there. I have been troubled by cheap inferior modules so I ended up buying modules of the brand RobotDyn. Google for "NRF24L01 fake" and you won't be happy to read... Paul
  • PaulS
    PaulS replied to the thread Best way to connect T4.1 To RPi5.
    Since the Teensy 4.1 USB port can comunicate at 480Mbps, I would go for the USB option. Search this forum for "USB transfer speed" and/or "USB data transfer" for more information. Paul
  • PaulS
    PaulS reacted to jmarsh's post in the thread Audio library depends on SdFat with Like Like.
    It should not pull in the SD library if those classes are never used. It's 40KB of wasted code space.
  • PaulS
    Here is the arduino-esp32 repository. You can file an issue here. And this is perhaps a usable library for OneWire on ESP32. Paul
  • PaulS
    PaulS replied to the thread multiple teensy's.
    Can you share the complete code that "stopped working"? Paul
  • PaulS
    This example perhaps? Paul
  • PaulS
    Not sure if it matters but I'm missing SPI.endTransaction(); while using SPI.beginTransaction(SPISettings(20000000, MSBFIRST, SPI_MODE3));. Paul
  • PaulS
    In case someone is looking for generating sin/cos lookup tables, here is a link to an online generator: Dr LUT. Paul
  • PaulS
    PaulS replied to the thread Teensy 3.2.
    Most probably for replacement. Teensy 3.2 and Teensy 4.0 are not fully pin-compatible, e.g serial ports, CAN bus ports, etc. And don't forget the higher powerconsumption that comes with a Teensy 4.0. Besides that, a Teensy 4.0 puts out higher...
  • PaulS
    Agree. I would have pulled out the logic analyzer if I had the module laying around. Paul
  • PaulS
    Thought about again and I wonder if you are just not missing the highest bit (D11) due to improper timing. This piece of code from SPIencoder.cpp is possibly not correct: digitalWrite(_csPin, HIGH); digitalWrite(_clkPin, HIGH); delay(1)...
    • 1713679425483.png
  • PaulS
    Could be a library issue. What if you change the line Serial.println(myAS5045.EncDeg()); to Serial.println(myAS5045.EncRaw());? You should see values between 0 and 4095 for a full rotation of the magnet. Paul
  • PaulS
    PaulS replied to the thread External Power Supply Issues.
    So the basic arrangement worked on USB, good. Did you try to power the basic arrangement also by an external 5V using a 7805? If so, did that work? If not, how did you connect the external 5V exactly? Paul
  • PaulS
    PaulS replied to the thread External Power Supply Issues.
    Just to be sure: are we talking about this module? Why not try to get the basic arrangement to work first as shown in the WIKI? (speakers connected directly to the module) And as @MarkT stated, how does your circuitry look exactly when powered by...
  • PaulS
    PaulS replied to the thread Freertos with teensy 4.0.
    If you mean by "extended can frame" the extended frame format with 29 identifier bits, you can use the FlexCAN_T4 library. It also supports CANFD mode. Paul
  • PaulS
    Yes, something like this: link Paul
    • 1713464613960.png
  • PaulS
    PaulS replied to the thread multiple teensy's.
    I think it's because of these lines: const int ledsPerStrip = 1200; // Maximum number of pixels per string int PixelCount = 4800; // Effective number of pixels 4800 LEDs divided by 1200 LEDs per strip is 4...
    • 1713463891671.png
  • PaulS
    PaulS reacted to mjs513's post in the thread New Camera Library for Teensy Micromod/4.1 with Like Like.
    @KurtE and I have been at it again. This time creating a library that supports a number Arducam/Arduino camera modules: Model FrameSizes Pixel Formats Omnivision OV2640 FRAMESIZE_VGA //640x480 FRAMESIZE_QQVGA, // 160x120...
  • PaulS
    PaulS reacted to KurtE's post in the thread New Camera Library for Teensy Micromod/4.1 with Like Like.
    Thanks @mjs513, As you mentioned we are having some fun with several of these cameras. I see you showed my quick and dirty (v2) version of a shield for the Sparkfun Micrmod ATP board. Sure is a lot easier than having to deal with lots of...
  • PaulS
    Since a Teensy 4.x is so fast, I would add a delayMicroseconds(1); after the clockpin going low as well, like so: uint32_t SPIencoder::readRegister(void){ // Initiate variables uint8_t inputstream = 0; int outputVal = 0; uint8_t...
    • 1713451284955.png
  • PaulS
    PaulS replied to the thread Servos Misbehaving.
    Looking at your code I noticed this line: servo1.attach(14, 500, 2400); Is there a reason why you deviate from the standard values of 1ms and 2 ms, like so? servo1.attach(14, 1000, 2000); Paul
  • PaulS
    PaulS replied to the thread Servos Misbehaving.
    More commonly known as XY-016 module. But still very limited in specs. Paul
  • PaulS
    PaulS replied to the thread Servos Misbehaving.
    Yes, I do mean the control signal pin. The specs of the Tower Pro MG90S do not mention a minimum voltage for the control signal amplitude. I also did not find any specifications of the WHS15024 boost/step-up converter. Do you happen to have specs...
  • PaulS
    PaulS replied to the thread Servos Misbehaving.
    Now I'm not familiar with the Tower Pro MG90s, but when you power them with 6Vdc, is the 3V3 output of the Teensy sufficient amplitude to reliably drive the PWM control signal? Paul
Back
Top