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
    293
    Views
    26,257

    Hi, it's me again, Ted. Thanks to all that have...

    Hi, it's me again, Ted. Thanks to all that have moved this forward in my absence, especially Frank; I will try Frank's revised code soon.

    As many have found, most issues are with wiring.
    I did...
  2. Replies
    293
    Views
    26,257

    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.
  3. Replies
    293
    Views
    26,257

    Ferrite bead might help, no harm in trying.

    Ferrite bead might help, no harm in trying.
  4. Replies
    293
    Views
    26,257

    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...
  5. Replies
    293
    Views
    26,257

    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...
  6. Replies
    293
    Views
    26,257

    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...
  7. Replies
    293
    Views
    26,257

    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...
  8. Replies
    293
    Views
    26,257

    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?
  9. Replies
    3
    Views
    310

    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...
  10. Replies
    3
    Views
    310

    Thanks Kurt, I'll dig into that. Ted

    Thanks Kurt, I'll dig into that.

    Ted
  11. Replies
    3
    Views
    310

    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...
  12. Replies
    15
    Views
    1,115

    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,...
  13. Replies
    293
    Views
    26,257

    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.
  14. Replies
    293
    Views
    26,257

    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...
  15. Replies
    293
    Views
    26,257

    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...
  16. Replies
    293
    Views
    26,257

    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...
  17. Replies
    293
    Views
    26,257

    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...
  18. Replies
    293
    Views
    26,257

    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?
  19. Replies
    293
    Views
    26,257

    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...
  20. Replies
    16
    Views
    1,122

    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...
  21. Replies
    16
    Views
    1,122

    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...
  22. Replies
    16
    Views
    1,122

    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?
  23. Replies
    293
    Views
    26,257

    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...
  24. Replies
    293
    Views
    26,257

    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...
  25. Replies
    293
    Views
    26,257

    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...
  26. Replies
    293
    Views
    26,257

    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...
  27. Replies
    293
    Views
    26,257

    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...
  28. Replies
    293
    Views
    26,257

    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.
  29. Replies
    293
    Views
    26,257

    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...
  30. Replies
    293
    Views
    26,257

    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...
  31. Replies
    293
    Views
    26,257

    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...
  32. Replies
    293
    Views
    26,257

    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...
  33. Replies
    293
    Views
    26,257

    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...
  34. Replies
    14
    Views
    1,281

    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.
  35. Replies
    14
    Views
    1,281

    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?
  36. Replies
    14
    Views
    1,281

    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...
  37. Replies
    14
    Views
    1,281

    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...
  38. Replies
    14
    Views
    1,281

    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...
  39. Replies
    14
    Views
    1,281

    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...
  40. Replies
    14
    Views
    1,281

    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 40 of 40