PaulS
Reaction score
38

Latest activity Postings About

    • 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
    • PaulS
      PaulS replied to the thread BlueFruit LE Virtual COM Port?.
      If I'm correct, the Serial Port Profile is not part of the BLE spec. See this answer. Found this too. Paul
    • PaulS
      PaulS replied to the thread Teensy 3.2 End Of Life.
      Mouser even has 15K+ pieces on stock. I would buy Teensy 3.2 if they are available - I have actually never needed the processing power of the T4 [and the related power consumption]. Paul
    • PaulS
      PaulS replied to the thread Schematic different.
      Agree. Like his other post. Paul
    • PaulS
      PaulS reacted to WMXZ's post in the thread Schematic different with Like Like.
      @AndyA. The prev message (WillimamsimC) seems ChatGPT generated an should, MHO, be considered Spam
    • PaulS
      It's related to the SdFat library. Syscall::yield and SysCall::halt were apparently removed in V2.1.1 of the library. Paul
    • PaulS
      Thanks a lot! Wish I would have known this feature long time ago... Paul
    • PaulS
      A 1920x1200 PNG file can be uploaded without problem. So perhaps shrink your photo? Paul
    • PaulS
      Reviewing the board files and the schematic, I think the power supply to the Teensy is fundamentally not correct. In the schematic, the Vin pin is labeled "+3.3V". That 3V3 comes from a regulator mounted on JP13. 3V3 is too low to power the...
      • 1712687894392.png
    • PaulS
      In Eagle, you can [1] "Print to File (PDF)" which looks very readable, or [2] File > Export > Image. Choose resolution '300dpi' and it will output a very readable PNG image. Your design seems to be done in Eagle 9.7 which I can not open in...
    • PaulS
      OK, took me a while to figure out you meant BOB-10124... This board. It is indeed not really clear from the schematic and silkscreen on the PCB but the RTS signal should be connected to pin 4 of J9: The LED will be ON when transmitting and OFF...
      • 1712512699737.png
    • PaulS
      PaulS replied to the thread GPS not working when integrated.
      Had a look at your code but nothing obviously wrong stood out. What if you integrate only 2 sensors at a time [BME680 & MQ135 or BME680 & GPS or MQ135 & GPS]? Any combination that works? I guess it is a matter of commenting out parts of your...
    • PaulS
      PaulS replied to the thread Using Waveshare 1.14" w/Teensy 4.1.
      Welcome to the forum. You may want to share more and higher resolution pictures. I tried to see where the wires go from the display to the Teensy, but it's not discernible. Please share a schematic and your simplest code that shows the issue...
    • PaulS
      I think it changed here. I assume it was for a good reason then - hope it's not going to bite us somewhere else now. Anyway, thanks very much to @PaulStoffregen and @jmarsh after indepth sleuthing! Paul
    • PaulS
      Could it be a timing issue with the one-wire interface? Teensy 4.x is pretty fast so perhaps some timing could get on the edge. Heating and/or cooling the IMXRT1062 chip carefully might reveal something. Paul
    • PaulS
      I had a quick look, I think I know what the cause is but I'm not sure of a few details. If you look at the memory allocated immediately before the ClocklessController there should a 4-byte guard variable. Guards are generally used for local...
    • PaulS
      Yes, sounds good to me. I'm running it now and FastLED seems to be working. Committed the fix just now! https://github.com/PaulStoffregen/cores/commit/638a2079d290e3d6683aeceb07b6dfd8b09151a9
    • PaulS
      PaulS replied to the thread Teensy 4.1 fuse location.
      Did you measure that 2.5V on the Teensy VIN pin? Is the Teensy powered over USB? Paul
    • PaulS
      PaulS replied to the thread MODBUS TCP.
      I suppose you are trying to read out these registers? Not sure whether I can be of any help here. I think you just have to fiddle with the settings until you read something that looks valid. Paul
      • 1712258201143.png
    • PaulS
      PaulS replied to the thread MODBUS TCP.
      This is a bare PT100 “Resistance Temperature Detector”. It's basically a resistor so it does not output a current. You can not hook up such a resistor to a 4-20mA current loop. Whatever circuit you will be using to measure the resistance [and...
    • PaulS
      PaulS replied to the thread MODBUS TCP.
      Do you have a datasheet or part# for that transmitter? Paul
    • PaulS
      PaulS replied to the thread Sampling voltage with Teensy 4.1.
      It may well be a worn-out or low quality breadboard. Breadboards vary a lot in quality. A lot of chinese breadboards are very cheap but low quality - you get what you pay for! Two brands stand out: 1. BPS [BusBoard Prototype Systems]. I have...
    • PaulS
      PaulS replied to the thread MODBUS TCP.
      Did you check the sub-settings as well? See the manual, paragraph 5.7.4 Analog Output (AO) and 5.7.4.1 AO Detail Settings. OK, but what voltage did you actually measure then? You said "it doesn't match the intended 2V" so I'm curious what...
  • Loading…
  • Loading…
Back
Top