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

Thread: How do I stop the DAC from going HIGH when re-uploading code? (Teensy 3.6)

  1. #1
    Junior Member
    Join Date
    Feb 2020
    Posts
    6

    How do I stop the DAC from going HIGH when re-uploading code? (Teensy 3.6)

    I'm working on a project with a somewhat expensive actuator and don't want to damage it. The teensy DAC output is multiplied by over 20x. Also I would like to implement a linear down-tapering of the voltage for the DAC, which I just realized I can probably do by jumping the DAC out to an analog read pin, deducing the position and tapering down from there.

    Thanks

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    23,027
    Have to tried a resistor to GND or AGND? The pin should go high impedance, so a resistor should bring it low. A value between 4.7K to 22K is probably a good place to start.

  3. #3
    Junior Member
    Join Date
    Feb 2020
    Posts
    6
    Quote Originally Posted by PaulStoffregen View Post
    Have to tried a resistor to GND or AGND? The pin should go high impedance, so a resistor should bring it low. A value between 4.7K to 22K is probably a good place to start.
    Thanks Paul! An 8.2k to GND seems to be working just fine.

Posting Permissions

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