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

Search:

Type: Posts; User: KD0RC

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    799

    The pinouts can be found on the Adafruit website....

    The pinouts can be found on the Adafruit website. They show you how to connect using SPI or the parallel interface.
  2. Replies
    201
    Views
    44,155

    The library that you need is: #include...

    The library that you need is:
    #include "NativeEthernet.h"

    I don't think you need the init. Here is a chunk of what I do:

    In setup(), I call getIpAddress. addr is a String variable and...
  3. Replies
    1
    Views
    674

    Nicely done!

    Nicely done!
  4. Replies
    2
    Views
    340

    Cutting the pads apart then requires that you...

    Cutting the pads apart then requires that you power the Teensy from a separate (not USB) supply. The idea is to allow you to have USB connectivity while powering the board separately using Vin...
  5. Replies
    4
    Views
    625

    You might want to try bypassing pin 34 with a .01...

    You might want to try bypassing pin 34 with a .01 or .1 uf capacitor (10 or 100 nf). It may be RF interference riding in on your ground line.
  6. Replies
    3
    Views
    441

    Hi Cliff, where do you declare chipSelect? It...

    Hi Cliff, where do you declare chipSelect? It should be declared in the first part of your program before anything that needs it. If that is not it, post a more complete example of your code so...
  7. I had a similar problem with my Teensy 4.1 and...

    I had a similar problem with my Teensy 4.1 and Adafruit HX8357 display. It went to inverse colors and a mirrored image. It turned out to be a loose connection. I reseated the connectors and the...
  8. Humble beginnings... 23593 Rat's nest (hey -...

    Humble beginnings...
    23593

    Rat's nest (hey - it works...)
    23594
  9. TeensyMaestro - Teensy 4.1 Controller for Flex 6000 ham radios

    Here is a GitHub link to my Teensy 4.1 based ham radio controller. It controls a Flex 6000 series Software Defined Radio over TCP/IP. My version of the radio has no front panel controls except for...
  10. Replies
    11
    Views
    738

    @Sprool You may want to move up to a Teensy 4.1. ...

    @Sprool You may want to move up to a Teensy 4.1. I am running 9 mechanical and two optical encoders as well as 19 buttons (using two MUX boards from SparkFun). All encoders use interrupt pins and...
  11. Replies
    19
    Views
    1,385

    Good to know that you support multiplexed...

    Good to know that you support multiplexed encoders. I got that question recently from a guy who is considering replicating my controller. I will pass the EncoderTool information on to him. Thanks...
  12. Replies
    19
    Views
    1,385

    Hi luni, Thanks for the information. On the unit...

    Hi luni, Thanks for the information. On the unit that I built, I use 1:1 encoders from Leo Bodnar in England. My buddy built one with Bourns PEC-11 4:1 encoders. No problem with encoder jitter...
  13. Replies
    19
    Views
    1,385

    @Micki, you get two value increments per detent...

    @Micki, you get two value increments per detent click because your encoder is a 2:1 encoder. There are also 4:1 encoders that jump 4 values per click. To solve this problem, I multiply or divide by...
  14. Replies
    15
    Views
    1,120

    Not a C fan either... I grew up on a mainframe...

    Not a C fan either... I grew up on a mainframe using PL/I, Fortran and COBOL...
    The main working components of your program need to be either within the braces of setup, or within the braces of...
  15. Replies
    19
    Views
    1,385

    @Micki What kind of encoder do you have? Is it...

    @Micki What kind of encoder do you have? Is it an incremental or absolute? When you show a data and clock line, that implies an absolute position encoder. If it is a mechanical switch type, then...
  16. Replies
    8
    Views
    961

    Hi Frank, Yep, it looks like the times are preset...

    Hi Frank, Yep, it looks like the times are preset as I look at your library code. The trick is that by using a null callback, you can cheat and get an immediate shutdown (can't remember where I...
  17. Replies
    8
    Views
    961

    Well, I found something very interesting. If I...

    Well, I found something very interesting. If I put these statements in setup, I get the elusive reset button! A push of the on/off button turns the T4 off and then right back on. If I set...
  18. Replies
    8
    Views
    961

    It looks like there are 4 possible button hold...

    It looks like there are 4 possible button hold down times for powering off the T4 - 5 sec, 10 sec, 15 sec or turn off the ability to power off using the on/off button. I am able to set these and...
  19. Replies
    310
    Views
    45,408

    The problem with my method is that rapidly...

    The problem with my method is that rapidly changing values can induce flicker. Another approach is to save the current value of each character or characters to be updated. At update time, rewrite...
  20. Replies
    310
    Views
    45,408

    I think the problem you are having is that new...

    I think the problem you are having is that new characters just overlay what is already on the screen. Here is a typical thing that I do to clear the portion of the screen in preparation for new...
  21. Replies
    29
    Views
    2,345

    Thanks Frank, I appreciate it! It is the...

    Thanks Frank, I appreciate it! It is the aluminum panel that came with the box. I drilled it and cut the display window with an old-school nibbling tool. The graphics are just printed on plain...
  22. Replies
    29
    Views
    2,345

    Very cool, thanks Paul. I'm not sure how much...

    Very cool, thanks Paul. I'm not sure how much attention my project will ultimately get, but the simple, straightforward operation of the Teensy.exe loader is priceless in terms of support time...
  23. Replies
    29
    Views
    2,345

    Thanks everyone, I appreciate the help. Now that...

    Thanks everyone, I appreciate the help. Now that I understand the symptoms, I will be better prepared to help others with this project going forward. I will add this to the troubleshooting section...
  24. Replies
    29
    Views
    2,345

    hex file too large message

    I recently completed a project using a Teensy 4.1. Works great. A friend of mine duplicated it. Also works great. Another person is duplicating it but can't get the hex file to load. Hovering...
  25. Replies
    8
    Views
    961

    Thanks @defragster! I finally have a way to...

    Thanks @defragster! I finally have a way to software reset the Teensy! I have been looking for this for a while so that people don't have to keep unplugging to reset the Teensy if they power cycle...
  26. Replies
    8
    Views
    961

    Hi Neal, This thread should have the info you...

    Hi Neal,
    This thread should have the info you need.

    https://forum.pjrc.com/threads/65716-Teensy-4-x-where-to-find-documentation-about-the-throughhole-contacts-in-the-middle

    Len
  27. Replies
    2
    Views
    623

    Hi Scott, not being familiar with the encoder you...

    Hi Scott, not being familiar with the encoder you are using, it looks like QuadEncoder myEnc1(1, 1, 0, 0, 4); does not have enough parameters. You are on channel 1, Phase A pin 1, Phase B pin 0...
  28. Replies
    18
    Views
    2,497

    My T 4.1 has been running non-stop for a little...

    My T 4.1 has been running non-stop for a little over 10 hours in a 70-ish degree F room. At 528 MHz, it ran about 58 deg C. At 150 MHz it looked to stabilize around 54 deg C (not too scientific - I...
  29. Replies
    18
    Views
    2,497

    Thanks for the information. My Teensy is indeed...

    Thanks for the information. My Teensy is indeed in its permanent location in an enclosure. I will add some code to look at temps over the course of a day. Even when in heavy use, the MCU is mostly...
  30. Replies
    18
    Views
    2,497

    Very interesting discussion... I just moved my...

    Very interesting discussion... I just moved my clock speed down to 528 MHz, and for my application (provides buttons and knobs for a Flex SDR radio), I see no difference in performance. Since my...
  31. Replies
    11
    Views
    1,119

    Have you tried increasing the SPI clock speed? I...

    Have you tried increasing the SPI clock speed? I did that with an HX8357 display by passing the SPI clock speed in the begin. tft_Track.begin(30000000) to set it to 30MHz for example. You will need...
  32. Hi Michael, I think the pin you have as Reset is...

    Hi Michael, I think the pin you have as Reset is actually the programming button. It does not reset (the on/off does that sort of...) but puts the 4.1 into programming mode. If held for 15 seconds,...
  33. Hi Jimmie, in my app, I set up the serial port,...

    Hi Jimmie, in my app, I set up the serial port, then the SD Card, then the ethernet (using NativeEthernet.h), so I don't think that is it. I do it in this order to allow me to get ethernet config...
  34. HX8357 SPI frequency with Teensy 4.1 (re-post from Adafruit forum)

    I am trying to understand the proper SPI frequency to use with an Adafruit HX8357 and a Teensy 4.1. I am using the Teensy libraries and currently have SPIClock set to 40 MHz. This works great on my...
  35. Replies
    3
    Views
    799

    Nevermind, I solved it. After adding the tft...

    Nevermind, I solved it. After adding the tft reset that I thought fixed the problem, it started happening again. I began to suspect the SPI clock speed, and changed my tft.begin(); to...
  36. Excellent, glad you found the issue!

    Excellent, glad you found the issue!
  37. Hi Leonardo, have you tested it without the...

    Hi Leonardo, have you tested it without the sensor attached? If the sensor is damaged, that may cause the issues you see.

    Len
  38. Replies
    3
    Views
    799

    Teensy 4.1 with HX8357 display issue

    Hi Kurt E, I have a Teensy 4.1/Adafruit HX8357 project that uses your excellent HX8357_t3n.h library. My project is nearly done and working well (I'm at the code clean-up and documentation...
  39. Hi grinch, Here is how I deal with it: ...

    Hi grinch,
    Here is how I deal with it:


    /***************************** GetConfigFile ***************************/
    void GetConfigFile()
    {
    if(MenuActive)
    {
    tft.fillScreen(HX8357_NAVY);
  40. Replies
    7
    Views
    1,107

    Seems like a 5.1 V zener diode would take care of...

    Seems like a 5.1 V zener diode would take care of the problem.
  41. Replies
    22
    Views
    2,038

    @borogove, I have had that same problem, and in...

    @borogove, I have had that same problem, and in every case it has been a poor connection. You might want to be sure that your wiring is solid on the encoders causing issues.
  42. Replies
    13
    Views
    1,670

    Thanks for all the discussion and ideas. It...

    Thanks for all the discussion and ideas. It sounds like the easiest thing is to just live with it. Seems like a funny limitation...
  43. Replies
    13
    Views
    1,670

    I edit and compile from the Arduino (Teensyduino)...

    I edit and compile from the Arduino (Teensyduino) IDE. It gives me quick access to everything, including the serial console. My technique is to code a little, test a little, so I like staying in the...
  44. Replies
    13
    Views
    1,670

    Thanks for the response BriComp. I am not trying...

    Thanks for the response BriComp. I am not trying to compile one program for multiple boards. Each of my boards has its own code. I was hoping that there was a compiler directive that would allow...
  45. Replies
    13
    Views
    1,670

    Compiler directive to select board

    Lately, I have been playing with several Teensy boards (3.6, LC, 4.0, 4.1), often hooked together. Tweaking code back and forth means having to remember to set the board correctly every time. Is...
  46. Replies
    18
    Views
    2,829

    Hi Sean, data can be stored in flash memory. ...

    Hi Sean, data can be stored in flash memory. Look up PROGMEM in the Arduino reference to see how it works. I don't know the relative speeds of SD card vs flash memory, but you could write a quick...
  47. Replies
    11
    Views
    1,547

    Hmmm... So the fillTriangle without the canvas...

    Hmmm... So the fillTriangle without the canvas works? I am unfamiliar with the canvas, but maybe that is the place to look. Could the x and y parms be backwards in the canvas?
  48. Replies
    11
    Views
    1,547

    On the fillTriangle, change 272 to 320 and see if...

    On the fillTriangle, change 272 to 320 and see if that helps.
  49. Replies
    5
    Views
    920

    I use my Teensy to control a Software Defined...

    I use my Teensy to control a Software Defined Radio (Flex 6400 Ham Radio). I am active on the ham bands from 1.8 MHz up to 54 MHz. I found the 24 MHz clock in the Teensy with the receiver, but it...
  50. Replies
    5
    Views
    1,073

    Hi Tim, yes, you can measure the Din voltage with...

    Hi Tim, yes, you can measure the Din voltage with a multimeter. I saw your video, and it looks like your Teensy is working properly. The ten second reset reloads the demo blink program, so you are...
Results 1 to 50 of 82
Page 1 of 2 1 2