NanoC6 dev kit. Code only runs when attached to IDE
-
Good afternoon,
I'm pretty much a complete hardware noob. I spent yesterday getting a Nano c6 board to activate a relay after 2 seconds of powering on (and when the button is depressed.)
The code works fine while attached to the computer on which I'm running the arduino ide.
But when I plug it in to simple usb power, it's dead as a doornail. If I plug it back into the computer, everything's fine.
I know I'm missing something silly. But...what?
I can paste the code if you'd like. But I'm not sure what difference it would make.
The thing I'm trying to get done is "Turn on this relay for 1 second when the nano gets power." So it's nothing too complicated.
What am I missing?
Thanks.
- M
-
This post is deleted! -
@madwilliamflint
You can check whether the problem is related to the relay or the nano itself: for example, connect the nano to a specified Wi-Fi after powering it on, and see if there is any difference when plugging it into a computer or a USB power source.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login