Disable DTR Reset

Home Forums Mayfly Data Logger Disable DTR Reset

Tagged: ,

This topic contains 3 replies, has 2 voices, and was last updated by  Shannon Hicks 6 months ago.

  • Author
    Posts
  • #2141

    Matthew B
    Participant

    I’m interested in being able to attach a serial monitor to the Mayfly without it resetting.

    Following this

    and looking at the board schematic, I’m thinking about pulling the capacitor c4 (using the link’s Method 2).

    Thoughts?

  • #2144

    Shannon Hicks
    Keymaster

    That’s an interesting idea, I can try it with one of my testing boards later this week and let you know what happens (unless you’re good at removing (and replacing) SMD capacitors if it doesn’t work.)

  • #2148

    Matthew B
    Participant

    haha thanks Shannon! Don’t think I’ll be trying it until I know it’s going to work. I feel like I can remove it safely, but putting it back… not so sure. Interested so see how it works!

  • #2158

    Shannon Hicks
    Keymaster

    I have confirmed that removing capacitor C4 will let the board continue to run without resetting when you open the serial monitor window. HOWEVER — This only works if you’re using the FTDI connector on the Mayfly (and a separate FTDI interface device like the Adafruit “FTDI Friend”) to connect it to your computer.

    If you want to have this feature when connecting the Mayfly directly to your computer via the Mayfly’s microUSB port and a standard microUSB cable, then you need to remove capacitor C14 instead of C4. Or you could remove both caps and then the Mayfly will never reset on either type of connection.

You must be logged in to reply to this topic.