Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • pwd847's Avatar
    Yesterday, 05:28 AM
    pwd847 started a thread Teensy 4 ADC in Project Guidance
    I have researched this to death. Not sure what to do at this point. I am sending a 50Hz sine wave into A0 to be read by the ADC. I print the values to the serial monitor. The values don't make any sense. What is...
    6 replies | 62 view(s)
  • pwd847's Avatar
    03-26-2020, 03:39 AM
    So I'm trying to understand your circuit here, but I'm having a hard time figuring it out. When I modify the resistor values nothing really happens in terms of decreasing the amplitude of the signal. I know that the...
    23 replies | 769 view(s)
  • pwd847's Avatar
    03-24-2020, 01:37 AM
    Oh cool thanks! All of the code that I have found online uses FT's. I'm hesitant to use that because then my instructor could ask why I had the analog filters, if I was just gonna use an FT anyway. We are looking...
    23 replies | 769 view(s)
  • pwd847's Avatar
    03-22-2020, 10:08 AM
    Oh. Some other students who have worked with audio in the past told us that we may need 2nd order filters. I did ask them if we needed that even with the output being in the form of LEDs and not audio. We will...
    23 replies | 769 view(s)
  • pwd847's Avatar
    03-21-2020, 03:16 PM
    According to this video https://youtu.be/-2B4Dmy4J1Y?t=2m18s] (Go to time 2:18 in the video), This circuit should take care of having a proper voltage range for input to the Teensy direct from a phone or MP3 player: ...
    23 replies | 769 view(s)
  • pwd847's Avatar
    03-19-2020, 06:23 PM
    So this code (with some edits) works when I back off the timing. I am currently trying to call setAveraging(1). The Arduino IDE doesn't seem to recognize it. Additionally, when I include ADC.h and ADC_Module.h...
    2 replies | 101 view(s)
  • pwd847's Avatar
    03-19-2020, 04:40 PM
    Full project can be found here: https://forum.pjrc.com/threads/59860-Senior-design-project-UIUC. Using this function I am trying to poll 3 filtered audio signals. But when I run this code, nothing happens in...
    2 replies | 101 view(s)
  • pwd847's Avatar
    03-18-2020, 10:03 PM
    I try to isolate different modules and get them working before combining everything together. Here is the working Bass frequency LED code that just pulses the leds via a timer. The final product will pulse them via...
    23 replies | 769 view(s)
  • pwd847's Avatar
    03-18-2020, 03:38 AM
    Interrupts are new to me. I have done some research and testing though. I think I understand how to interrupt to do an ADC read, but what would the interrupt look like for copying the read value to a local variable? ...
    23 replies | 769 view(s)
  • pwd847's Avatar
    03-18-2020, 03:20 AM
    I am working on a project for school. We plan to use the ADC to read analog audio signals (3 of them). How do I disable the keeper on these pins? I have searched the net and can't really find anything. Also, what is...
    13 replies | 347 view(s)
  • pwd847's Avatar
    03-16-2020, 01:25 AM
    At the same time you posted your reply I was looking at https://www.pjrc.com/teensy/td_timing_IntervalTimer.html. That seems like it would be the way to go. Turns out we aren't using an external ADC. I spoke with...
    23 replies | 769 view(s)
  • pwd847's Avatar
    03-15-2020, 04:28 PM
    I need a 132.3KHz clock. 44.1KHz per channel. I'm looking at using this code to do that. #define interval 7; elapsedmicros delay; // interval int i = 0; void loop() { // Setup ADC to...
    23 replies | 769 view(s)
  • pwd847's Avatar
    03-12-2020, 04:05 AM
    After reading this thread https://forum.pjrc.com/threads/59993-How-many-inputs-can-be-processed, I decided to just buy an external audio 44.1kHz ADC. Our University just announced that we are moving to an...
    23 replies | 769 view(s)
  • pwd847's Avatar
    03-11-2020, 01:46 AM
    I require this info as well for my senior design project. I need to place female headers on a PCB that I will design myself to plug the Teensy into.
    4 replies | 252 view(s)
  • pwd847's Avatar
    03-10-2020, 04:09 PM
    Level shifter works great! LEDs are acting funny. I think I'll leave this thread for audio and adc issues and start another thread for fastled on ws2815's.
    23 replies | 769 view(s)
  • pwd847's Avatar
    03-06-2020, 11:18 PM
    So I tried to use some buffer chip from the university electronic services shop (74HCT244-2N) as a level shifter and it doesn't seem to work. The output from teensy looks ok on an oscilliscope, but the output of the...
    23 replies | 769 view(s)
  • pwd847's Avatar
    03-04-2020, 03:25 AM
    So if I call analogread() it will read at 1Msps?
    23 replies | 769 view(s)
  • pwd847's Avatar
    03-03-2020, 12:24 PM
    I just noticed the schematic and that doesn't look like something we should integrate into our PCB. I did hear an interesting idea yesterday, that since we are using 3 different signals with 3 different frequencies, we...
    23 replies | 769 view(s)
  • pwd847's Avatar
    03-03-2020, 12:16 PM
    I doubt we would be allowed to utilize another external pcb. We already got special permission to use the teensy (even with female header pins on our own pcb). Can the audio board be directly replicated on ours PCB? ...
    23 replies | 769 view(s)
  • pwd847's Avatar
    03-02-2020, 05:04 PM
    To be clear, I split the analog signal into 3 signals and then send those 3 signals into the adc. All 3 of those need to be sampled at 44.1kHz
    23 replies | 769 view(s)
  • pwd847's Avatar
    03-02-2020, 04:31 AM
    Hello, I am an EE student attending UIUC. I am in a group of 3. Our project proposal can be found here. We want to have a 3.5mm audio jack input. Convert that input to mono sound. use passive analog filters to...
    23 replies | 769 view(s)
No More Results
About pwd847

Basic Information

Statistics


Total Posts
Total Posts
21
Posts Per Day
0.66
Last Post
Teensy 4 ADC Yesterday 05:28 AM
General Information
Last Activity
Yesterday 05:15 PM
Join Date
03-02-2020