Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, an initiative of Stroud Water Research Center designed to help people advance knowledge and stewardship of fresh water.
New to EnviroDIY? Start here

Reply To: 12 V External Power and Serial Viewer

Home Forums Infrastructure and Equipment 12 V External Power and Serial Viewer Reply To: 12 V External Power and Serial Viewer


    So, if I understand correctly, I should be able to use the USBC to Serial (CP2102N Friend, oriented properly)  via the FTDI port to upload sketches as well as access the serial monitor with the 12V to 5V DC converter plugged into the Mayfly’s USBC port (for the sensors that require 12V), but the DIP switch for the USBC on board chip needs to be off. With the exception that if I want to upload code via the Mayfly’s USBC port (not the FTDI), then I would need to turn that switch back on.

    With the CP2102N connected, correct com port selected, most recent UART drivers installed, the DIP switch for the USBC onboard chip set to off and the 12V to 5V dc converter connected through the Mayfly’s USBC port I get:

    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x3e error

    when trying to upload a sketch.  Turning the DIP switch to on gets the same response.

    As for the serial monitor all that comes up is a timestamp, and it is opening without any errors.  The code is running and writing data to the sd card and the code version is unchanged from the one I have been using with the 0.5v boards.  So I am not sure why nothing shows up on the monitor.  I also tried another new Mayfly board, just on the off chance that something was wrong with this one.  However, results were the same. Suggestions on what I should check next? 🙂