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

Search:

Type: Posts; User: tedm

Search: Search took 0.00 seconds.

  1. Replies
    87
    Views
    2,320

    Yep. it sure sounds like you have a wonky or...

    Yep. it sure sounds like you have a wonky or badly adjusted switchhook / hook switch. Try bending the metal parts that operate the switch and maybe change the bounce value to be bigger.
  2. Replies
    87
    Views
    2,320

    Ferrite bead might help, no harm in trying.

    Ferrite bead might help, no harm in trying.
  3. Replies
    87
    Views
    2,320

    The reverse wiring on the mic did cure all my...

    The reverse wiring on the mic did cure all my buzzing but I had already taken great care to route the mic wires away from all the others, especially the wires to the buttons. You can also try...
  4. Replies
    87
    Views
    2,320

    I'm new to Teensy and not very familiar with...

    I'm new to Teensy and not very familiar with Arduino but am good with PSoC Creator. Seems to me that, rather than use the in line coding of the buttonxxx functions, I could set up a timer ISR called...
  5. Replies
    87
    Views
    2,320

    So the latest full code is at the bottom of this...

    So the latest full code is at the bottom of this post. I still have a small issue that may be to do with the way the wav player works. Here's the issue (see snippet below).


    case...
  6. Replies
    87
    Views
    2,320

    Update. I investigated the handset wiring and...

    Update. I investigated the handset wiring and found that there was an electret condenser mic in it but the black wire was not ground (never assume!) so the polarity of the supply to the mic was...
  7. Replies
    87
    Views
    2,320

    Rats, I have it all put together now and I get a...

    Rats, I have it all put together now and I get a high pitched buzzing on all my recordings, I've tried screening the mic cables but it hasn't gone away. Any ideas?
  8. Replies
    3
    Views
    135

    Just to help anyone following in my footsteps......

    Just to help anyone following in my footsteps...

    To get documentation on SDFAT, go to this github page, download the zip file and expand it to a location of your choice, then look for the file...
  9. Replies
    3
    Views
    135

    Thanks Kurt, I'll dig into that. Ted

    Thanks Kurt, I'll dig into that.

    Ted
  10. Replies
    3
    Views
    135

    Using SD Fat on Teensy 4.1

    I'm starting a project that uses the SD card slot on the Teensy 4.1. Can anyone please provide:

    1. An example of code that's written to use the SD Fat code on a Teensy 4.1 and using the SD slot...
  11. Replies
    15
    Views
    509

    In case anyone reads through this thread and...

    In case anyone reads through this thread and wants to know how to make this project work, I made this same project following the linked Youtube video above but found that the code was buggy,...
  12. Replies
    87
    Views
    2,320

    A single pole changeover is just what you want,...

    A single pole changeover is just what you want, it's the same as SPDT. If you connect the common (center) connection to the switch input, one end will be normally closed and the other normally open.
  13. Replies
    87
    Views
    2,320

    All the system needs is a switch that operates...

    All the system needs is a switch that operates correctly; your edit shows that you have proved it's the switch.

    A microswitch will not require any code changes. Microswitches are usually single...
  14. Replies
    87
    Views
    2,320

    It's almost certainly a bad switch. Things you...

    It's almost certainly a bad switch. Things you could try:

    1. Bend the metal arm slightly (we did this all the time when I worked for POTS company)
    2. Squirt some contact cleaner inside the switch...
  15. Replies
    87
    Views
    2,320

    I didn't install the C++ Workload first as the...

    I didn't install the C++ Workload first as the VisualMicro instructions ask for (they also ask for English to be installed but I haven't done that yet). After C++ Workload was installed, I did get...
  16. Replies
    87
    Views
    2,320

    So I already had Arduino installed under mt...

    So I already had Arduino installed under mt Users/Documents folder. I installed Visual Studio 2022 and then used Extensions to install the Arduino plugin. Then I was able to open and edit the .ino...
  17. Replies
    87
    Views
    2,320

    Hmmm, I wasn't aware of VisualMicro ...

    Hmmm, I wasn't aware of VisualMicro but reading their page, it isn't clear how it relates to Arduino, is it like a wrapper layer GUI?
  18. Replies
    87
    Views
    2,320

    It should be pretty simple to add #ifdef...

    It should be pretty simple to add #ifdef conditional compilation statements to the code so that the user just sets the logic for the switch hooks in one place and then the code is changed throughout...
  19. Replies
    16
    Views
    568

    Excellent. Now I recall, the problems I had were...

    Excellent. Now I recall, the problems I had were related to use with an audio Amp IC that had to run as a slave and there was a BT module in the mix that could run at 2 different clock rates so I had...
  20. Replies
    16
    Views
    568

    I like the TLV320AIC23BPWR...

    I like the TLV320AIC23BPWR because a) it's available as an SOIC (PW package) which means that a PCB that can be self-assembled (by me) for prototypes. Once the bugs are ironed out, it can shift to...
  21. Replies
    16
    Views
    568

    How about the TLV320AIC27 ? Although Digikey says...

    How about the TLV320AIC27 ? Although Digikey says they are obsolete, they are <$3 each and are available. I can design an audio PCB for this or some other coded IC if there's enough interest?
  22. Replies
    87
    Views
    2,320

    You're welcome. It sounds like your switch hook...

    You're welcome. It sounds like your switch hook (the switch that operates when you lift your phone) is faulty. Try putting another switch in the circuit and test that it operates correctly; if it...
  23. Replies
    87
    Views
    2,320

    finalcut There are SIGNIFICANT changes between...

    finalcut
    There are SIGNIFICANT changes between the switch statement in your code and mine. I've updated the code to handle the sending of the recorded message and then wait until that message has...
  24. Replies
    87
    Views
    2,320

    OK, so I made the code changes suggested by...

    OK, so I made the code changes suggested by h4n0nnym0u5e and, as far as my limited testing has gone, the logic works fine. The problem I have now is a buzzing noise on the recorded audio which I...
  25. Replies
    87
    Views
    2,320

    A quick question on Teensy code functionality...

    A quick question on Teensy code functionality concerning when the buttons are tested for a rising or falling edge.

    If the user lifts the handset then the function buttonRecord.update(); that's at...
  26. Replies
    87
    Views
    2,320

    I think your connections are correct, it is the...

    I think your connections are correct, it is the tip and sleeve for audio playback.

    I'm working on this today; have you increased the volume of the greeting playback - the level for the tones are...
  27. Replies
    87
    Views
    2,320

    Thanks for confirming that the switch statement...

    Thanks for confirming that the switch statement is not well written and especially thanks for your suggestion on how it should be written; I'll try a code tweak tomorrow.
  28. Replies
    87
    Views
    2,320

    It seems that the while (playWav1.isPlaying())...

    It seems that the while (playWav1.isPlaying()) code works the first time it's called but doesn't work the second (and subsequent) time(s) it's called. In the code section below, it should wait until...
  29. Replies
    87
    Views
    2,320

    Hmmm, so the test I just did had this effect: ...

    Hmmm, so the test I just did had this effect:

    1. The bootup was normal, phone down and I hear the power up beep from the earpiece as I power up.
    2. Lift phone and hear the outgoing message then...
  30. Replies
    87
    Views
    2,320

    I've been married for over 23 years (3rd time...

    I've been married for over 23 years (3rd time lucky), the wedding Ion Jul 29th is for my youngest son; hope your wedding goes well. I've just retired (Aug 2021) and electronics is a great hobby for...
  31. Replies
    87
    Views
    2,320

    There's a comment under the Youtube video by...

    There's a comment under the Youtube video by Surreylic, and one of the answers says...

    nevermind, had enough time to figure it out myself. But thanks for your hint, saved the wedding today! For...
  32. Replies
    87
    Views
    2,320

    Teensy 4.0 - based Audio Guestbook

    I built the project shown under this Youtube entry using a Teensy 4.0 and the 4.0 Audio card and a Sandisk Ultra 32 GB micro SD card; it sort of works but there are issues that I see have been...
  33. Replies
    14
    Views
    523

    Thanks, I know what a codec is but I was thrown...

    Thanks, I know what a codec is but I was thrown by the column in the list that says the PCMxxxx chips have 2 outputs - I should look at the actual datasheets I guess.
  34. Replies
    14
    Views
    523

    Thanks JayShoe, that is a big list of supported...

    Thanks JayShoe, that is a big list of supported Codecs. For the PCMxxxx ICs you suggested, how do they work as pedals if they only have 2 outputs?
  35. Replies
    14
    Views
    523

    One dream I've had for a while is the idea of a...

    One dream I've had for a while is the idea of a guitar pedal that's on the floor but the controls are remoted to an iPad - ideally wirelessly. A long time ago, I briefly worked on a project that...
  36. Replies
    14
    Views
    523

    Thanks, I have designed, made PCBs for, and built...

    Thanks, I have designed, made PCBs for, and built a few guitar effects pedals plus an entire guitar amp (presently at Vn 2) so I do have some experience on handling guitar signals but I don't claim...
  37. Replies
    14
    Views
    523

    Thanks for the steer to a VERY relevant thread :D...

    Thanks for the steer to a VERY relevant thread :D

    I have a Teensy 4.0 running with a Rev D audio board (my first Teensy project) plus I have a Teensy 4.1 on the way to me. It strikes me that the...
  38. Replies
    14
    Views
    523

    Thanks for all the input and ideas so far. I...

    Thanks for all the input and ideas so far. I managed to order a Tennsy 4.1 from Adafruit and the audio PCB that goes with it from Amazon. I thought about using RAM to store the loop data but the...
  39. Replies
    14
    Views
    523

    Teensy 4.1 Guitar Looper

    I'm a (just) retired embedded engineer (hardware design and some coding e.g. drivers) but just starting on Teensy. I have this idea for a looper based on the Teensy 4.1 but, to have useful loop...
Results 1 to 39 of 39