Go Down

Topic: Serial ports missing - Arduino Nano Windows 7 (Read 650 times) previous topic - next topic

septillion

No way they become output if you don't set that in software ;) You can check the datasheet if you want to. But uninitialized pin (aka, if you don't call pinMode() or digitalWrite(), or mess with the registers) the pin is INPUT (without pull up).

This because it's the only save option for the micro. If it would be an (HIGH) OUTPUT connected to closed switch to GND (valid option), it would directly give a short and at least cause the uC to reset.

Yes, it can float to 5V but the current it can provide will be very very very limited. The 10k will probably pull it <1V aka draw less then 100uA. Probably even just 10uA because I think it will even drop below 0,1V.
Use fricking code tags!!!!
I want x => I would like x, I need help => I would like help, Need fast => Go and pay someone to do the job...

NEW Library to make fading leds a piece of cake
https://github.com/septillion-git/FadeLed

rynd2it

#31
Jul 10, 2018, 09:52 am Last Edit: Jul 10, 2018, 10:06 am by rynd2it
I have no idea why you will not believe what I observed - 5vdc on the pin when not switched on by my switch. It fluctuates as illustrated by the servo 'hunting' from one position to the other per the code - changing 'status' - you have the original code, pins declared as INPUT.

Anyway, new Nano connected, drivers installed and up comes COM3 and I can communicate with it Serial Monitor shows message from supplier.

This is a success!



septillion

Congratulation! :D

And the voltage indeed sounds like a coupled voltage. Pull down fixes that.
Use fricking code tags!!!!
I want x => I would like x, I need help => I would like help, Need fast => Go and pay someone to do the job...

NEW Library to make fading leds a piece of cake
https://github.com/septillion-git/FadeLed

Go Up