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

Search:

Type: Posts; User: pwd847

Search: Search took 0.00 seconds.

  1. Thread: Teensy 4 ADC

    by pwd847
    Replies
    6
    Views
    62

    Teensy 4 ADC

    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...
  2. Replies
    23
    Views
    769

    So I'm trying to understand your circuit here...

    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...
  3. Replies
    23
    Views
    769

    Oh cool thanks! All of the code that I have...

    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....
  4. Replies
    23
    Views
    769

    Oh. Some other students who have worked with...

    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...
  5. Replies
    23
    Views
    769

    According to this video...

    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...
  6. Replies
    2
    Views
    101

    So this code (with some edits) works when I back...

    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...
  7. Replies
    2
    Views
    101

    Setting interrupt priority

    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.

    19414

    But when I run this...
  8. Replies
    23
    Views
    769

    I try to isolate different modules and get them...

    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...
  9. Replies
    23
    Views
    769

    Interrupts are new to me. I have done some...

    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...
  10. Replies
    13
    Views
    347

    I am working on a project for school. We plan to...

    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...
  11. Replies
    23
    Views
    769

    At the same time you posted your reply I was...

    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...
  12. Replies
    23
    Views
    769

    I need a 132.3KHz clock. 44.1KHz per channel. ...

    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() {
  13. Replies
    23
    Views
    769

    After reading this thread...

    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...
  14. Replies
    4
    Views
    252

    I require this info as well for my senior design...

    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.
  15. Replies
    23
    Views
    769

    Level shifter works great! LEDs are acting...

    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.
  16. Replies
    23
    Views
    769

    So I tried to use some buffer chip from the...

    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...
  17. Replies
    23
    Views
    769

    So if I call analogread() it will read at 1Msps?

    So if I call analogread() it will read at 1Msps?
  18. Replies
    23
    Views
    769

    I just noticed the schematic and that doesn't...

    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...
  19. Replies
    23
    Views
    769

    I doubt we would be allowed to utilize another...

    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...
  20. Replies
    23
    Views
    769

    To be clear, I split the analog signal into 3...

    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
  21. Replies
    23
    Views
    769

    Senior design project UIUC

    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...
Results 1 to 21 of 23