Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: PaulS

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. The nice thing about the open-collector outputs...

    The nice thing about the open-collector outputs of the OMRON E6B2-CWZ6C Rotary Encoder 1024P/R, is that you don't need 10K pullups resistors and/or logic level shifters.
    Just connect the output pins...
  2. Replies
    6
    Views
    139

    Google found this thread on this forum:...

    Google found this thread on this forum: https://forum.pjrc.com/threads/57411-Get-Board-Info-does-not-work-under-Teensy-Ports
    It says that it worked if you choose a port under "Serial ports", but not...
  3. Which serial port to choose in the Arduino IDE?

    Hi,

    I'm wondering which serial port to choose in the Arduino IDE [from Teensy Ports or Serial ports] and why. As far as I can tell it doesn't matter for the serial port functionality?

    18569
    ...
  4. Replies
    6
    Views
    139

    How does "Get Board Info" work?

    Hi,
    How does "Get Board Info" work? I recall that I have seen it work a long time ago: a popup showing board and serial number.

    18568

    I tried Serial, RawHID, No USB for USB type, but I keep on...
  5. I wonder whether the original poster used the...

    I wonder whether the original poster used the Omron E6C2-CWZ1X encoder. That one has a 5V powersupply and 5V outputs.
  6. Replies
    3
    Views
    108

    No problem, glad it works! Paul

    No problem, glad it works!
    Paul
  7. Hi, The spec page...

    Hi,
    The spec page of the Omron rotary encoder shows this:
    18564 18565

    You stated


    Since the encoder output pin is an open collector, I don't think it actually outputs 5V.
    You only need to...
  8. Replies
    3
    Views
    108

    Hi, Perhaps there is something wrong with the...

    Hi,
    Perhaps there is something wrong with the PCB (or soldering)?
    Is it possible to isolate the T3.6 pin37 from the PCB such that you can measure pin37 itsself for correct level with the above...
  9. Replies
    1
    Views
    62

    Hi, the answers to both your questions are no....

    Hi, the answers to both your questions are no.
    The 100uF capacitor would be too much capacity to meet the USB spec as a USB slave. According to the pinout card it's supposed to be added for USB Host...
  10. Thanks for the explanations! Yes, I can...

    Thanks for the explanations! Yes, I can understand the USB complexity.
    Paul
  11. Arduino 1.8.10 & Teensyduino 1.49b3: no audio library yet?

    Just did a fresh install of Arduino 1.8.10 & Teensyduino 1.49b3.
    Selected Teensy 4.0. And then tried to select "Audio".

    18467

    Did I miss somehow that the Audio library is not yet supported on...
  12. Thinking this switch may be useful for one of my...

    Thinking this switch may be useful for one of my future projects, I searched further on the internet.
    Is this the switch? ALPS RKJXT1F42001.
    The circuit diagrams on that page may help you in...
  13. Hi Semaj4712, Did you perhaps measure the...

    Hi Semaj4712,

    Did you perhaps measure the encoder pins to see what is happening? A scope is very useful to see the voltages and timing relation between those pins.
    With respect to the external...
  14. Hi Semaj4712, When I looked at the product...

    Hi Semaj4712,

    When I looked at the product webpage you linked to, I saw that the pinout in silkscreen on the shown switch differs from the switch pinout that you showed in the diagram.
    Look at...
  15. Replies
    15
    Views
    6,203

    Encoders encore

    @ Theremingenieur: thanks, this is by far the best way to read those cheap 75 cent encoders! Running a T3.2 @ 96MHz never gave a wrong readout.
    It took me a while to figure out what you did in that...
  16. Replies
    4
    Views
    399

    Probably that module will work as well. There is...

    Probably that module will work as well.
    There is a datasheet and an app but that's about it. I do prefer Adafruit's module though since more information is available.
    But if you feel confident,...
  17. Replies
    4
    Views
    399

    Successfully used this module on a Teensy 3.1:...

    Successfully used this module on a Teensy 3.1: Adafruit Bluefruit LE UART.

    Paul
  18. Questions answered

    While printing member "volume" of structure "usb_audio_features_struct" [in C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3\usb_audio.h] to the serial monitor, I noticed the same...
  19. After further digging I found a number of...

    After further digging I found a number of references to USB volume in C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3\usb_audio.h & usb_audio.c.
    But I'm still in the dark where the...
  20. Audio library, USB audio interface, volume setting

    Hooked up a PCM5102 board to a Teensy 3.1 to form a USB audio interface.

    16337

    With the code below, my windows PC sees a USB Teensy Audio device and outputs audio via the PCM5102 board as...
  21. Replies
    8
    Views
    474

    I messaged Github member Soonuse, whether he...

    I messaged Github member Soonuse, whether he could update the downloadable democode on the Waveshare website.
    He did and now the democode for the different displays contains the correct SPI.begin();...
  22. Replies
    8
    Views
    474

    Hi Stirling, Glad to hear this worked out for...

    Hi Stirling,

    Glad to hear this worked out for you!



    My guess is it has to do with the different SPI libraries that are used for compilation for Arduino and Teensy.
    Arduino is using...
  23. Replies
    8
    Views
    474

    While I was thinking along about your issue, I...

    While I was thinking along about your issue, I recalled that I filed an issue for the epd library last year: https://github.com/soonuse/epd-library-arduino/issues/2.
    Github member Soonuse is...
  24. Replies
    8
    Views
    474

    Hi Stirling, My 2-color display is strapped...

    Hi Stirling,

    My 2-color display is strapped from the factory at 3-line SPI. Not really sure that would make a difference since 4-wire SPI also includes MISO [which is not used for this display].
    ...
  25. Replies
    8
    Views
    474

    Hi, Just uploaded my code to a Teensy 3.1 and...

    Hi,

    Just uploaded my code to a Teensy 3.1 and can confirm that it's working fine:

    16226

    16227

    Since you are using a 3-color display, the demo code is different and may have an issue....
  26. @ Frank, Thanks for the confirmation. I was just...

    @ Frank,
    Thanks for the confirmation. I was just curious how to use the lower 16 bits of the AudioSynthWaveformSineHires object.

    @ Paul,
    Yes, I have read the threads you mention. Personally I'm...
  27. PCM5102 DAC, can the Audio System Design Tool output 32 bit over I2S?

    Been playing with a sub-$10 PCM5102 DAC board and it works well using the Audio System Design Tool.

    15918

    With this minimal code I was able to output a decent sinewave:

    // PCM5102 bd ...
  28. Thread: New Scope

    by PaulS
    Replies
    25
    Views
    2,804

    Hallo Frank, I think you're better off by...

    Hallo Frank,
    I think you're better off by spending a little more and don't get disappointed. A few months ago I had the same thoughts and ended up with this scope:
    Siglent-SDS1202X-E.
    The feature...
  29. Replies
    7
    Views
    434

    You may want to check the datasheet of the...

    You may want to check the datasheet of the particular decoder you used.
    Another version ALPS decoder from the series I used has the following switching diagram:

    15744

    Paul
  30. Replies
    7
    Views
    434

    You're welcome. Please let us know how it works...

    You're welcome.
    Please let us know how it works out for you.

    Paul
  31. Replies
    7
    Views
    434

    Hi Lamikam, When I tried your code, and...

    Hi Lamikam,

    When I tried your code, and rotated the encoder fast, I got the same issue.
    But when I rotated the encoder very slowly [<1 click/sec], the output nicely counted up & down as expected....
  32. From the Hookup Guide...

    From the Hookup Guide of this display:

    15305

    I know you want to use the SPI interface to talk to the display but connecting the RX pin to 3V3 doesn't harm and may solve the garbled display....
  33. Replies
    9
    Views
    1,751

    Hi Paul, It's kind of fundamental: if you...

    Hi Paul,



    It's kind of fundamental: if you do not use a low-pass filter, you will always see the intermodulation frequency a.k.a. alias [sample frequency minus intended frequency, e.g. 25MHz -...
  34. From the photo, it's not clear [to me] how the...

    From the photo, it's not clear [to me] how the LED strip is powered. From an external power supply? Which pin of the T3.2 connects the red wire to?
    Anyway, I'm suspecting a power issue.
    What...
  35. Replies
    9
    Views
    1,751

    Hi Paul, That's interesting. In the above code...

    Hi Paul,

    That's interesting. In the above code I only modified one line to "unsigned long freq = 10000000; // set initial frequency", compiled it and ran it on a Teensy LC.
    The oscilloscope...
  36. Replies
    9
    Views
    1,751

    Hi Paul, Here is the basic code to generate a...

    Hi Paul,

    Here is the basic code to generate a 1000Hz sine wave:

    #include <SPI.h> // pin 13 (SCK), pin 11 (MOSI), AD9833 generator
    const int FSYNC = 10; //...
  37. Replies
    9
    Views
    1,751

    Take a look here for an AD9833 project:...

    Take a look here for an AD9833 project: http://www.vwlowen.co.uk/arduino/AD9833-waveform-generator/AD9833-waveform-generator.htm

    A cheap $1.38 board:...
  38. Replies
    2
    Views
    518

    Hi LunarEclipse57, The function tone() outputs...

    Hi LunarEclipse57,

    The function tone() outputs a square wave, not a sine wave, see this page: https://www.pjrc.com/teensy/td_pulse.html [scroll down to the bottom of the page].

    For a sine wave...
  39. Replies
    35
    Views
    7,446

    Hi Frickelpiet, You may want to have a look at...

    Hi Frickelpiet,
    You may want to have a look at my post earlier this year.
    By using a 2 different LUTs you can use partial refresh on the epaper display to show a clock without refreshing the whole...
  40. Replies
    12
    Views
    2,216

    Hi propa, What is your hardware setup? A...

    Hi propa,

    What is your hardware setup? A Teensy 3.2 does not have a 5V output at pin 17 like a Teensy LC. Most Neopixels need a 5V driving signal to work reliably.

    Paul
  41. Replies
    12
    Views
    2,248

    Hallo Michael, You may want have a look at the...

    Hallo Michael,
    You may want have a look at the attached code. It runs on a TeensyLC. Not much RAM left, but at least you can display a scalable font.


    Sketch uses 26392 bytes (41%) of program...
  42. Replies
    6
    Views
    1,115

    Not sure whether I understand you correctly. Do...

    Not sure whether I understand you correctly. Do you mean to say that the MIDI USB sequencer will consume ~400mA so that only ~100mA is left over for the 16x WS2812B LED's?

    Anyway, powering 16x...
  43. Replies
    22
    Views
    6,642

    The latest rev datasheet...

    The latest rev datasheet states, on page 2, that the MK64FX512VMD12 has 256KB SRAM.
    Do you happen to have other documentation?

    Interesting discrepancy...

    Paul
  44. One more remark Each RGB LED consumes about...

    One more remark

    Each RGB LED consumes about 60mA at full brightness. Having 288 leds means ~17 Amp at 5V... you will need an external powersupply.
  45. Thinking it all over again, the problem may be...

    Thinking it all over again, the problem may be related to the 2 strips in parallel.
    With this line

    FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // power strip from USB port you tell FastLED...
  46. Hmm, now it's getting interesting... I just ran...

    Hmm, now it's getting interesting...
    I just ran your code on a Teensy LC connected to a 144leds W2812B strip. The Teensy LC has a special output pin that drives 5V out [effectively the same as the...
  47. Glad to hear it's working [almost]. With respect...

    Glad to hear it's working [almost].
    With respect to the dropping brightness: would you mind posting your current code so that I can have a look at it again? You can use the [CODE] tags to insert...
  48. Hi, The problem is that you use pin 7 as the...

    Hi,
    The problem is that you use pin 7 as the DATA_PIN whereas this pin is an enable pin for the LED data. See the schematic on this page.
    Here is a piece of code that should do the trick:

    ...
  49. Replies
    6
    Views
    1,843

    Driving this 1306 OLED display...

    Driving this 1306 OLED display with hardware SPI on a Teensy 3.1, I was able to run the display at 862 fps.
    See this thread.

    Regards,
    Paul

    PS: I measured the SPI clock to be 8MHz in the...
  50. Thread: Vl53l0x

    by PaulS
    Replies
    7
    Views
    1,949

    This library should work on Teensy:...

    This library should work on Teensy: https://github.com/pololu/vl53l0x-arduino

    Regards,
    Paul
Results 1 to 50 of 122
Page 1 of 3 1 2 3