Hello,
I have an Arduino Uno with a CNC Shield
I would like to run my uno board by powering through the Jack plug and a 12v power supply.
The problem is that the program doesn't runs when it's powered with the 12v. The board seems to start, I have a green and orange led blinking but the program does nothing.
When I power the board with the USB plug the program runs correctly.
Do you have an idea of what happens ?
Does your program need to communicate with your PC?
No it doesn't need the PC but I have some debug prints on the serial port
And the program does not wait for you to reply?
no, it's just printing datas
I made a new test and power the uno board with the usb power of a phone. It does'nt work.
I also delete the debug code that prints on the serial but it still only works with the board plugged to the Mac.
To be sure, you are connecting the 5 volts to the 5 volt pin on the board.
No, I'm only connecting the 12v jack plug and the USB
Do you have " while (! Serial); " in your sketch?
If you remove the shield, does the Uno run ok?
If not, measure the voltage at Vin pin and 5V pin.
Does the regulator chip on the Uno get hot?
@Dozie this question is about the Arduino Uno board. while (! Serial);
has no effect on that board:
https://www.arduino.cc/reference/en/language/functions/communication/serial/ifserial/#_description
On the boards with native USB,
if (Serial)
(orif(SerialUSB)
on the Due) indicates whether or not the USB CDC serial connection is open. For all other boards, and the non-USB CDC ports, this will always return true.
Thank you guys
I tested with a new board and it works fine.
there should be some issue with the board.
Your post was MOVED to its current location as it is more suitable.
Could you also take a few moments to Learn How To Use The Forum.
Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum in the future.
Just cross-checked, mixed it up with another post regarding Due. Apologies!
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.