Search results

  1. B

    Teensy 4.0 Audio Project Multiplexer Wiring Help

    hey paul, i believe i may have pinpointed the problem. running the following code: #include <Audio.h> #include <Wire.h> #include <SPI.h> #include <SD.h> #include <SerialFlash.h> #include <Bounce.h> //MUX int mux1 = A0; int s0 = 1; int s1 = 2; int s2 = 3; int s3 = 4; float vals[16] =...
  2. B

    Teensy 4.0 Audio Project Multiplexer Wiring Help

    ok, so it seems to kind of work now. every two channels are tied together though (1+2, 3+4, 4+5...) and giving the same reading. and every other potentiometer doesnt effect any of the readings. so every other potentiometer is working but the channels are tied together in pairs for some reason. i...
  3. B

    Teensy 4.0 Audio Project Multiplexer Wiring Help

    here's my wiring for potentiometers, both 20k and 100k currently not working. if i wire the second pin of the potentiometer into A2 instead of the mux signal pin, it works normally. i dont think its a problem with the code, as im using the same code for the working buttons mux you guys just...
  4. B

    Teensy 4.0 Audio Project Multiplexer Wiring Help

    @kallikak: i made a mistake in the diagram, i had kept the EN pin on GND because i saw that in a lot of wiring diagrams online and tutorials for this multiplexer thanks guys for all the replies! with the pull down resistors it works for buttons. not sure about this ceramic cap stuff but it...
  5. B

    A subharmonic synthesiser and polymetric sequencer with Teensy 4 and audio library

    sweet project man!!! it looks like you used the same multiplexer that i did, any chance you could take a look at my wiring and help with my issues? https://forum.pjrc.com/threads/62957-Teensy-4-0-Audio-Project-Multiplexer-Wiring-Help
  6. B

    Teensy 4.0 Audio Project Multiplexer Wiring Help

    It looks like I'm getting pretty similar behaviour whether or not I add the resistor to this wiring. Sometimes the readings go crazy, sometimes the readings are 0 on all channels but when my hands go near the circuit the readings start going crazy. do i not need a resistor setup like the...
  7. B

    Teensy 4.0 Audio Project Multiplexer Wiring Help

    sniffing the surroundings for voltage is a great way to put the behaviour i'm seeing hahahaha. how do i know what value resistor to use? do i need to do a bunch of circuit math because that was my worst subject in uni :mad: :mad: :mad:
  8. B

    Teensy 4.0 Audio Project Multiplexer Wiring Help

    i had thought floating meant that something wasn't connected to ground. Am I misunderstanding this term? This project uses 4 multiplexers, 2 for buttons and 2 for potentiometer knobs. i'll switch to the INPUT_PULLUP for this example Going to switch to the 3.3v as well and give it a try
  9. B

    Teensy 4.0 Audio Project Multiplexer Wiring Help

    oops! sorry i've tied the EN pin to gnd, a mistake on my part in the diagram. i'll swap to the 3.3v pin from the 5v. I have multiple multiplexers, is it a problem if they're connected to the same ground line?
  10. B

    Teensy 4.0 Audio Project Multiplexer Wiring Help

    heres my code: #include <Audio.h> #include <Wire.h> #include <SPI.h> #include <SD.h> #include <SerialFlash.h> #include <Bounce.h> //MUX int signalPin = A2; int s0 = 1; int s1 = 2; int s2 = 3; int s3 = 4; float vals[16] = {0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0}; int...
  11. B

    Teensy 4.0 Audio Project Multiplexer Wiring Help

    thanks for the quick reply, i'm using a delay of 5000 microseconds, does that sound too fast?
  12. B

    Teensy 4.0 Audio Project Multiplexer Wiring Help

    Hey guys, not specifically related to the Audio stuff with the Teensy, but everyone here has been super helpful in the past so I was wondering if anyone could help with my multiplexer wiring: I can't really explain the behaviour I'm seeing, but the values being read from the multiplexer are...
  13. B

    Question about minimal required pin hookups between Teensy 4.0 and audio adapter

    Thanks for the help. So along with 23,21,20,8, and 7 I'll also need GND(between 3.3 and Vin), 3.3V, 18, 19. Awesome, thanks.
  14. B

    Question about minimal required pin hookups between Teensy 4.0 and audio adapter

    Hey guys, I'm working on an audio project with a bunch of inputs and just wanted to make sure my research was correct on which pins I'll need to connect to make this function. I don't need to use the SD card or anything, I just need to use the output audio jack to play sounds generated from...
  15. B

    Teensy 4.0 will receive USB power but won't connect to a computer as a USB device

    The only thing soldered to my board is the Audio Adapter, but I had tested that to be working long before I had any of these issues arise. I haven't added any external power to my setup either. I don't think I would've accidentally touched the running 5V to the 3V pin since my Teensy was...
  16. B

    Teensy 4.0 will receive USB power but won't connect to a computer as a USB device

    I'm not seeing any activity when clicking the pushbutton whether all my pins are connected/disconnected or whether or not the Teensy loader is in Auto mode or not. My computer is not recognizing a new USB device when I plug in or unplug the board across any of my USB ports (which work fine with...
  17. B

    Teensy 4.0 will receive USB power but won't connect to a computer as a USB device

    1. LED strip is powered just using the USB power. The Teensy is plugged into USB, the Vin pin is connected to the +5V pin on the LED strip. 2. The Teensy isn't recognized as a USB device whether the LED strip is connected or not. It still draws power though for some reason. 3. Nothing happens...
  18. B

    Teensy 4.0 will receive USB power but won't connect to a computer as a USB device

    Yea did I do something wrong from my description above to suggest I fried it!!! Im worried hahaha
  19. B

    Teensy 4.0 will receive USB power but won't connect to a computer as a USB device

    On my teensy I had the following pin connections: GND > breadboard ground Vin > +5V pin on LED strip Digital Pins 0,1,2 > R,G,B on LED strip I just saw a notification about a power surge on my USB port, but after repairing them via a little pop-up notification they seem to all work, and I'm...
  20. B

    Teensy 4.0 will receive USB power but won't connect to a computer as a USB device

    Thanks for the quick reply! Auto mode is off, and the Program/Reboot buttons are greyed out. Tools > Port in the Arduino editor is also greyed out and it is not a connected USB device. Pressing the button on my Teensy does nothing and the red light does not turn on
  21. B

    Teensy 4.0 will receive USB power but won't connect to a computer as a USB device

    When I plug my Teensy into my computer with a USB cable (I know its not the cable or USB port because my other Teensy works fine) it will receive power and it will power my LEDs (super basic code) but my computer will not recognize it as a USB device. Hoping there's a quick fix to this, not sure...
  22. B

    What is the current state of Audio Library support for the Teensy 4.0?

    hey thanks everyone for all the info :)
  23. B

    What is the current state of Audio Library support for the Teensy 4.0?

    Howdy everyone, I've been doing a bit of digging on the forums and am a bit confused by the extent of the Audio Library I can utilize with my Teensy 4.0 with the Audio Shield. Is there any up to date documentation about which parts of the library I can use with my current hardware and which...
  24. B

    Teensy 4.0 - On Program/Reboot Teensy loses power & disconnects! (Beginner)

    Thanks for the help Paul. Using the hex file for the 4.0 worked! I must have been using an old version of the blink code that wasn't working. I'm trying to make sure I soldered the Audio Shield correctly, now attempting to run code that will help me test this. Right now I'm trying to load this...
  25. B

    Teensy 4.0 - On Program/Reboot Teensy loses power & disconnects! (Beginner)

    When I first connected it to my computer it did. Somewhere during the course of me attempting to switch between the fast blink and slow blink programs is when I began to experience the issue noted above. I've only been trying to power it with the USB port so far, including it with a 5V power...
  26. B

    Teensy 4.0 - On Program/Reboot Teensy loses power & disconnects! (Beginner)

    Thanks for the reply Paul. I'm not seeing a slow red LED blink. Also the Teensy is showing up as a USB device when its plugged in (Teensy USB Serial). What is happening is as follows: When I press the button on the board, the red light comes and stays on and my computer will once again make the...
  27. B

    Teensy 4.0 - On Program/Reboot Teensy loses power & disconnects! (Beginner)

    Hello PJRC! I got a Teensy 4.0 and soldered on the audio shield, following this tutorial: https://www.youtube.com/watch?v=UJcZxyB5rVc Everything seemed fine, I plugged it in to my computer, the driver automatically was installed and the red light on the Teensy began flashing, running what I...
Back
Top