Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: multiplexer with teensy 3.6 - 5V or 3,3V ?

  1. #1
    Junior Member
    Join Date
    Dec 2018
    Posts
    5

    multiplexer with teensy 3.6 - 5V or 3,3V ?

    Hello,

    I have designed a midi controller with 144 pads. I use twelve CD74HC4067 multiplexers to drive my pads, plus pots and switches.
    Result is fine with fast response.

    My pads are pressure sensitive to retrieve velocity parameter. Each of them are wired with a resistor to form a regular tension divider. I have connected the 3,3V teensy output pin to every tension divider.

    Do you think I could use the 5V out pin ?
    This would give me a bigger range of values, without exceeding 3,3V max input of analog pins.

    I have enclosed diagrams to make it clear. Diagram shows the wiring for 1 pad connected on the first mix channel.

    Thanks
    Emmanuel
    Attached Files Attached Files

  2. #2
    Senior Member oddson's Avatar
    Join Date
    Feb 2013
    Location
    Isle in the Salish Sea
    Posts
    1,201
    https://www.sparkfun.com/datasheets/...e/fsrguide.pdf

    Final pages show interface circuits.

    If you go with a higher upper voltage make sure you limit the output or use a 5v tolerant Teensy like T3.5

    Your option 2 is hazardous if R2 is not sufficiently large.

  3. #3
    Junior Member
    Join Date
    Dec 2018
    Posts
    5
    Thank you for your answer. It makes sense.
    Thanks a lot also for the link.

  4. #4
    Senior Member oddson's Avatar
    Join Date
    Feb 2013
    Location
    Isle in the Salish Sea
    Posts
    1,201
    Some/most of the circuits have an op amp post divider as the impedance is very high when little or no pressure is applied.

    Given that you can use 3.3 volt as VCC on a rail-to-rail op amp and it will limit the voltage for you and provide a more stable voltage for the pin to read when lower pressures are present.

    At least I think so... not an EE and I've only had limited experience with FSRs.

    (Edit - somehow I didn't really register the multiplexer part in this. I think it may limit the output voltage to it's Vcc... if so that would protect the T3.6 pins but you would want more than my 'I think' before you try it.)

    (Edit 2 - given it's analog and specs give maximum on resistance it may not limit to Vcc on outputs... did I mention I'm not an engineer )
    Last edited by oddson; 10-08-2019 at 05:24 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •