D21G Proto power issue

Hi,

Using the USB connector, I'm able to power up the D21G and run my sketch.

But as soon as I use the VIN with a 12V power supply, the board do not seem to boot.

Nothing appear on the screen and the back light is ligthing slowly.

Is there some pin configuration to be able to turn it on correctly with the external power supply ?

Best regards.

Masse Olivier
Masse Olivier
4
| 0 0 0
Asked on 10/24/18, 7:04 PM
0
vote
57 Views

Hi, maybe you have a line in your code that says:

while (!SerialUSB()) {};

This will effectively halt the sketch at that point, waiting for a USB connection such as the Serial Monitor of the Arduino IDE. Useful for debugging but probably not what you want for normal operation.

Let us know if that is not it.

Tom
Tom
5280
| 0 0 1
Answered on 10/24/18, 11:24 PM
0
vote

Great, it's booting now. Thanks.

Masse Olivier
Masse Olivier
4
| 0 0 0
Answered on 10/25/18, 6:35 AM
0
vote

Your answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

Ask a Question

Keep Informed

About This Forum

This community is for professionals and enthusiasts of our products and services.

Read Guidelines

Question tools

50 follower(s)

Stats

Asked: 10/24/18, 7:04 PM
Seen: 57 times
Last updated: 10/25/18, 6:17 PM