Can not power GIGA from anything except computer

I apologize if this has already been covered elsewhere, but I looked and didn't find anything.

I have a GIGA R1 WiFi and it works fine when powered through the USBC port from a computer.

But if I connect a 5V (3A) power supply to the USBC port it does not work. I also tried connecting a 9V power supply to VIN and a 24V power supply to VIN. Neither of those work either.

In all cases the green power LED comes on, but nothing else functions.

Is there something wrong with my GIGA or am I doing something wrong?

I use the same cable and power supplies to power UNOs with no issues, so they are not the problem.

Thank you for your help.

Hi @patrick406. Please post your full sketch.

I'll provide instructions you can follow to do that:

  1. If you are using Arduino IDE, select Tools > Auto Format from the menus to ensure your sketch code is correctly formatted.
  2. Click on the window that contains your sketch code.
  3. Press the Ctrl+A keyboard shortcut (Command+A for macOS users).
    This will select all the text.
  4. Press the Ctrl+C keyboard shortcut (Command+C for macOS users).
    This will copy the selected text to the clipboard.
  5. Open a reply here on this forum topic by clicking the "Reply" button.
  6. Click the <CODE/> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
  7. Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
    This will paste the copied code into the code block.
  8. Move the cursor outside of the code block markup before you add any additional text to your reply.
  9. Repeat the above process if your sketch has multiple tabs.
  10. Click the "Reply" button to publish the post.

I found the problem. All on me. Sorry to have waisted your time.

Maybe you should share the cause of the problem and the solution; that way others might benefit.

It's kinda embarrassing, but OK. It was the while loop waiting for the Serial connection.

3 Likes

I'm not familiar with the Giga but suspect that you will more than likely also have fun if you ever decide to use Vin.

  1. Your board is running on Vin.
  2. You connect the board to the PC for some debugging.
  3. You disconnect the board from the PC.
  4. Your board will come to a near grinding halt because it can no longer get rid of the serial output.

On the boards that use native USB that I'm familiar with (Leonardo, Micro, Pro Micro) this problem does exist. This might also apply to your Giga and other boards with native USB.

The solution is to use Serial.availableForWrite() to check if there is still space in the software buffer to print information.

Is there anything else connected to your Arduino GIGA board?

@lichurbagan

The topic was solved; see posts #3 and #5.