Search results

  1. P

    pretty sure i let out the smoke

    TEA 1 0505 won’t be able to power Teensy4.1 + ESP32. 200mA max output current is not enough.
  2. P

    Help with Memory Allocation - Teensy 4.1 + LVGL + SquareLine Studio

    The online LVGL image converter adds more attributes to large constant arrays: #ifndef LV_ATTRIBUTE_IMAGE_IMG_NAME #define LV_ATTRIBUTE_IMAGE_IMG_NAME #endif const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMAGE_IMG_NAME uint8_t image_name_map[] = { ... }...
  3. P

    Teensy Amazon Products

    Yes, AGND and GND can be connected. VGND (ground terminal of the headphone jack) and either GND or AGND must not be connected. When you install both T4.0+AudioBoard on your board, does the Teensy work fine for some time until the voltage regulator overheats? Measuring the current would tell...
  4. P

    Help with ESP32 PSRAM

    use ps_malloc, it checks if the PSRAM is initialized. Also check if the returned pointer is not NULL before using it.
  5. P

    1.0mm breakout connector for the Teensy 4.0 uSD pads ?

    Not the ideal solution, but in some situations might be enough - made this some time ago and have been using for over a year now. T40 SDIO << link to github repo
  6. P

    Teensy 4.1 PSRAM and flash

    To add another potential failure source of the PSRAM chips, in my case it was Lyontek bought few years ago at LCSC: if the chips were stored for a longer period of time and not backed to remove any moisture they can fail while reflowing, either with hotair or in an oven. I've had this happen a...
  7. P

    Universal MIDI Expression Pedal

    What Bill said, i forgot to change the comments on the schematic. My bad. Will fix the repo asap. LOW (Exp pedal mode) should be the default setting even if there is no logic signal applied at TRCTRL, R12 keeps it low if the input is floating.
  8. P

    Teensy4.1 with SGTL5000 REV D Audio Shield

    Could be the wiring. Can you try the board plugged directly ontop the Teensy instead of using jumper wires? Normally, when the AudioBoard is plugged directly, the path between the red and yellow GND points is shorted within the Teensy. Looking at the traces the Volume pot GND is routed to the...
  9. P

    New polyhonic Teensy DIY Sampler

    Lots of fun! :) The LFO depth control works a bit different from the usual one Depth knob version. Top + Bottom sets the boundaries, the LFO will be shifted to operate in the Top-Bottom region (they can be flipped). Setting the Bottom to 0 and the Top to 100 will result in maximum modulation...
  10. P

    New polyhonic Teensy DIY Sampler

    It's not missing, Reverb&Delay internal mix is fixed to 1.0 (full Wet) because there is an external Dry/Wet mixer for the Delay/Reverb combo. Main tab has controls for the mix ratios. Having too many mix controls would be confusing. Also the Bypass function for the reverb and delay is set to...
  11. P

    New polyhonic Teensy DIY Sampler

    There was an update for the Phaser in the library, click Dependencies/Update in the Platformio, it will pull the changes from github. The Feedback control for the Phaser has 0 at value 50 (CC value 63), with negative maximum at 0 and positive max at 100. Positive & Negative feedback gives a...
  12. P

    New polyhonic Teensy DIY Sampler

    Hi Rolf, if you'd like to play more with effects, i have just created an example project including: Plate Reverb, Ping Pong delay and Phaser. https://github.com/hexeguitar/Teensy40-FX-Module This is the signal path: The parallel Delay/Reverb path allows to use the Freeze functions, ie...
  13. P

    Stereo Plate Reverb for Teensy4.x

    Oh, i forgot about the mix. Fixed. You can build your own html interfaces by adding buttons (sending Midi NoteON/Off) or dials sending ControlChange. The part where the code starts is here. For example: adding <midi-encoder label="Mix\n%p" chan="1" cc="52" colour="#FFF9C4"...
  14. P

    Stereo Plate Reverb for Teensy4.x

    PCM5102 is configured using hardware pins. It doesn't need any software driver, so just remove any SGTL5000 related includes and functions. The "control" objects are required only in cases where the chip has to be configured via I2C or other means to match the Teensy I2S settings.
  15. P

    Stereo Plate Reverb for Teensy4.x

    Thanks! Should be fixed now.
  16. P

    Stereo Plate Reverb for Teensy4.x

    I see git added the branch name to the directory, try renaming it to: c:\Users\rolfd\Documents\Arduino\libraries\hexefx_audiolib_i16
  17. P

    Stereo guitar/bass cabinet emulation

    I've been using a stereo I/Os for most of the effect components, even if the internal processing is mono. This way i can build a stereo rig, when using effects like reverb/delay only or combine mono/stereo. There is a SignalSelector component in the lib, placed at the input, it can route L->LR...
  18. P

    Stereo Plate Reverb for Teensy4.x

    I am following your sampler project with great interest. Hope you will find the new effects useful :)
  19. P

    Stereo Plate Reverb for Teensy4.x

    You are mixing a floating point (_F32) component with stock 16bit Audio Library. Use this version: https://github.com/hexeguitar/hexefx_audiolib_i16 The "_i16" version is compatible with the stock Teensy audio. Gui with the extension components is available here...
  20. P

    Teensy4.X I2C issues if using Audio.h

    Do you really need two I2S busses for the T4.0? The master (T4.1) provides all I2S clocks, both T4.0 and the DAC could be I2S Slaves with T4.0 put in series in the data line, something like this: I have just run a test using ESP32 as I2C master, repeatedly sending 20 and 55 to addr. 40 T4.0...
  21. P

    Teensy4.X I2C issues if using Audio.h

    I2S + I2C master has been tested and works, since even the SGTL5000 codec needs the I2C for configuration or parameter change on the fly. Based on that i think we can assume the issue is with the T4.0 running the I2S + I2C slave? Have you checked what happens if you disable the Audio on the...
  22. P

    New polyhonic Teensy DIY Sampler

    Really nice project Rolf! Besides, just wanted note how elegant and intuitive the schematic drawing is. Beauty! For the FX module, perhaps this could be an inspiration. Some time ago i started to work on an adaptation of the Jeannie Synth, with most components being SMT, AUX in (using codec...
  23. P

    2 Mono mics (repost from Project Guidance Forum)

    The linked electret microphone modules already have the preamps built in, based on MAX4466 as the name of the offer implies. I see no output DC blocking capacitors, but the Teensy audio board have them installed on both Line inputs, so these modules can be connected directly to the Line inputs...
  24. P

    Introducing the T-DSP TAC5212 Pro Audio Module – Help Needed Getting Clock Sync on Teensy 4.1

    1 bit delay is specified in the I2S format. MSB justified mode is similar, but has no delay. FSE should be set to 0 to remove the delay. Looking at the code for the TDM output, that bit it set by default, same for the receiver side. What i would do is as usually, approach the issues step by...
  25. P

    Help bringing up WM8904 on Teensy 4.1

    By default it starts in slave mode, which is also correct. With the ADC data internally routed to DAC it won't work if the externally supplied clock signals (Teensy) do not match the default i2s settings, hence the loopback mode also doesn't work. That's how i understand it.
  26. P

    Help bringing up WM8904 on Teensy 4.1

    Looking at the Datasheet listing the startup seq, i see a bunch of power up commands and clk enabling, the I2S config holds the default values, i guess. These values are almost correct, except the word length, which is by default set to 24bit reg 19h: 3:2 AIF_WL [1:0] 10 Digital Audio...
  27. P

    Guitar input to Audio Shield.

    A guitar with active pickups will have the buffer is already built in. Otherwise, i'd recommend a HiZ buffer. Plenty projects are available online. I've made a simple stereo buffer project which can be soldered on a perf board: https://github.com/hexeguitar/TGX4/blob/main/diy_buffer.md Since...
  28. P

    Teensy audio - Mic IN interférence

    If this means that you are connecting the jack on the AudioAdaptorBoard to an external device, like an amplifier or an audio interface, then it might be the problem. This Jack is a headphone output, referenced to a virtual ground (which is not the same as normal signal GND). This output should...
  29. P

    Universal MIDI Expression Pedal

    It is not that bad as it sounds. Understanding what the capacitor does and which parameters are critical allows to use the X7Rs without problems. They work in millions of devices. To test, i've picked up two 0603 caps made by muRata, both available via EasyEda library: 0603 100nF X7R...
  30. P

    Universal MIDI Expression Pedal

    Schematic: got last small changes: in the gain setting area I've moved the digital pot to the feedback loop of the opamp. This way the gain control will be linear with the correct range. Switched all decoupling caps to 0603 1uF to minimize the BOM. No need to chage them if you insist of using...
  31. P

    Universal MIDI Expression Pedal

    One small thing: according to the simulation the max gain needed when the Expression Pedal pot is 10k is 11x. Right now U1 provides the 11x gain when the digital pot is fully shorted (1+(R4/R5)). In practice the digital pot will have some series resistance, plus there are pot value variations...
  32. P

    Universal MIDI Expression Pedal

    Latest schematic:
  33. P

    Universal MIDI Expression Pedal

    Looks like it's the same part, different manufacturer. Should work fine.
  34. P

    Universal MIDI Expression Pedal

    This way: It's a fun project, close to what i have been doing for the last ~30 years. Happy to help or just throw ideas in. Hope you will document it with nice pictures! :)
  35. P

    Universal MIDI Expression Pedal

    The built in zener diode is rated for 5V, with 3.3V it will work below the reverse breakdown voltage, maybe pulling a tiny current only. The two pairs of clamping diodes (instead of 2xBAT54S) will work. I'm trying to use parts available at LCSC, but their parametric search is not the best. Found...
  36. P

    Universal MIDI Expression Pedal

    There are dual footswitches with stereo TRS jack output, like the Hotone Ampero FS-1 Making one is also trivial. The dual jack ones would have to use an 2xTS -> TRS adapter. With the TRctrl signal low: Plugging a dual footswitch using a TRS cable: Footswitch 1 Tip-Sleeve, read with...
  37. P

    Universal MIDI Expression Pedal

    D1 clamps the voltage coming into the opamp. For the ring, you are right, RC filter does provide some protection for the Teensy GPIO, combining R9 + Teensy's internal clamping diodes. I think, since there are two signals, i could throw an USB ESD protection chip there. The built it Zeners are...
  38. P

    Universal MIDI Expression Pedal

    A few points about the PCB design: Layers and stack up. This is a simple circuit, it is possible to route it on 2 layers only. Using 4 layers and with unconventional stack up - no dedicated ground plane, but the whole bottom layer is 3.3V, internal layers used to route a few tracks only is not...
  39. P

    Fast debounce needed

    Another option could be a HW Timer + Input Capture, which often already have glitch filters built in. Chapter 56 in the https://www.pjrc.com/teensy/IMXRT1060RM_rev3_annotations.pdf The quadrature decoder logic can be bypassed (bit 9 in the CTRL register). It has a configurable glitch filter...
  40. P

    Universal MIDI Expression Pedal

    Is the "PEDAL" connector keyed, like the JST ones? Or just a pin header? Having the Vcc and GND as 1st and last pin will create short of someone accidentally plugs the cable backwards. Putting GND right after VCC will be safer. I can take a look at the layout if you share it. I have an EasyEda...
  41. P

    Universal MIDI Expression Pedal

    Bottom row of 10k resistors + MCP4018 needs power. Add VCC to the left side of C4. C4 should be placed close to the pin1 of U3.
  42. P

    Universal MIDI Expression Pedal

    Here is a new, updated with the suggestions version, KiCad8. I haven't touched the PCB or footprint associations. It's schematic only. I have used a simpler variant of this circuit in the 1st prototype of the TGX4 pedal. Using it on daily basis to control the WAH section. Works great without...
  43. P

    Universal MIDI Expression Pedal

    Looks good. Ring will be exposed to the outside world, i would add at least a simple RC protection (1k + 100n, same as R3+C2) plus an internal pull-up enabled. The ADC2 can be any logic input, not an ADC one. You can use ADC to sense digital signals, but it's not necessary. With SW1 open the...
  44. P

    Noise Issue with Teensy 4.1, Audio Shield, and PAM8403 Amplifier

    Maybe it will provide some inspiration. In one of my projects i've used an adjustable power distribution switch (BL2555) + comparator to limit the inrush current while charging a 1000uF cap: https://github.com/hexeguitar/4WD_UART BL2555 internally blocks the reverse current, discharges the...
  45. P

    Universal MIDI Expression Pedal

    You can actually omit the R7 + R8 if minimizing the part count has a high priority. I tend to use an external pull up + one small series resistor for signals that connect to the outside world. Sure. it's not directly connected, the S -switch gets disconnected from the ground if a plug is...
  46. P

    Universal MIDI Expression Pedal

    Opamp is powered from the same 3.3V as the Teensy. If the gain is too high the signal will be simply clipped at that level. The amp can't produce an output voltage that is higher than it's power rail. At least not in this application. In practice it will make the expression pedal reach the max...
  47. P

    Universal MIDI Expression Pedal

    Mono jack will not work with this socket configuration. A mono jack has the Sleeve+Ring as one contact. The jack socket in the circuit above has the T+R shorted = all three contacts will be shorted to GND, no matter what the switch position is. AD5246 would work. MCP4017/18/19 is cheaper.
  48. P

    Universal MIDI Expression Pedal

    R+T tied together - this is what i have been trying to explain in the previous posts. Maybe this picture will explain it better. Let assume we have the Exp pedal jack configured as: T=signal/wiper, R=toe position/pot top setting, S=heel position/min setting. Plugging a pedal with a reversed R+T...
  49. P

    Universal MIDI Expression Pedal

    with the input connection as in the posted schematic, where R+T are tied together, there is no need to swap the polarity. The pot acts as a single variable resistor in both configurations. I would advice against it. It looks like the MCU used in Teensy4.1 has a few selectable pull up/down...
Back
Top