Hello, i am building a semi-analog synth using the teensy 4.1 as the brains together with an audio shield.
I am sending my AC coupled (0v center) analog saw (1,7Vpp) and triangle (0,9 Vpp) to the line in pins and i can hear them quiet but clearly when the teensy is not plugged in yet when listening through the shields audio jack.
i dont have the shield stacked on top of the teensy but soldered male header pins all pointing upwards. I made the necessary connections:
3.3V and GND
Pin 7
Pin 8
Pin 18
Pin 19
Pin 20
Pin 21
pin 23
When plugging in and testing code for the first time i only mostly heard noise like R2D2 from starwars in my headphones and white noise.
Then after some changes in the code (which i lost) and i heard what i was supposed to hear together with the R2D2 noise.
Made some changes in the code and there was no sound at all. I checked with my multimeter with one end to ground and found that the ground on the AP7313 regulator had a bad connection. While Vout has a close to 0 ohm connection to ground. I am a total newbie to this stuff but that does not seem good at all.
Wrote something to test if the shield was being recognized with the i2c and it seemed fine.
Then wrote code to test it without my VCO plugged in and still no audio at all.
How did this happen? Is this a software issue or does the voltage regulator have something to do with this? Can i safely remove it or will that cause more issues.
Thank you!
I am sending my AC coupled (0v center) analog saw (1,7Vpp) and triangle (0,9 Vpp) to the line in pins and i can hear them quiet but clearly when the teensy is not plugged in yet when listening through the shields audio jack.
i dont have the shield stacked on top of the teensy but soldered male header pins all pointing upwards. I made the necessary connections:
3.3V and GND
Pin 7
Pin 8
Pin 18
Pin 19
Pin 20
Pin 21
pin 23
When plugging in and testing code for the first time i only mostly heard noise like R2D2 from starwars in my headphones and white noise.
Then after some changes in the code (which i lost) and i heard what i was supposed to hear together with the R2D2 noise.
Made some changes in the code and there was no sound at all. I checked with my multimeter with one end to ground and found that the ground on the AP7313 regulator had a bad connection. While Vout has a close to 0 ohm connection to ground. I am a total newbie to this stuff but that does not seem good at all.
Wrote something to test if the shield was being recognized with the i2c and it seemed fine.
Then wrote code to test it without my VCO plugged in and still no audio at all.
C++:
#include <Arduino.h>
#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
#include <SD.h>
#include <SerialFlash.h>
// GUItool: begin automatically generated code
AudioSynthWaveform sine1;
AudioOutputI2S i2s1; //xy=335,78
AudioConnection patchCord1(sine1, 0, i2s1, 0);
AudioConnection patchCord2(sine1, 0, i2s1, 1);
AudioControlSGTL5000 sgtl5000_1; //xy=240,153
// GUItool: end automatically generated code
void setup() {
Serial.begin(38400);
AudioMemory(15);
// Enable the chip
// This command AUTOMATICALLY turns on the Internal Regulator
// if the external one (AP7313) is missing.
sgtl5000_1.enable();
sgtl5000_1.volume(0.5);
Serial.println("Setup Complete. You should hear beeps.");
sine1.frequency(400);
sine1.amplitude(0.5);
}
void loop() {
// Beep On
Serial.println("Beep!");
sine1.amplitude(0.5);
delay(250);
// Beep Off
sine1.amplitude(0);
delay(750);
}
How did this happen? Is this a software issue or does the voltage regulator have something to do with this? Can i safely remove it or will that cause more issues.
Thank you!