Hello . . . I'm posting to verify (or not) that on a 5V Micro board, a nominal 5V will appear at the pin when probed with a high impedance oscilloscope or digital multimeter input ? This is not happening on my Micro, and if I should see 5V, I will need to submit another post to see if the issue can be resolved - Thanks to all who may reply !
Gramps
Loaded to a 5V Pro Micro:
void setup() {
pinMode(9,INPUT_PULLUP);
}
void loop() {
}
Measured 4.64V on Vcc pin.
Measured 4.43V on pin 9.
Close enough for me.
Why would it be a problem one way or another?
Hello . . . Thanks for the reply ! . . . This is what I anticipated. On two of of Micros I have (not the pro), Uploading a sketch with the same pinMode code does not actually enable the internal pullup for some reason - Thanks again for verifying the way it should work.
Micro, Pro Micro, Leonardo, they're all 32u4 boards. The sketch won't behave differently.
@gramps_golden
welcome to this forum.
You might want to look at this How to get the best out of this forum before you proceed any further.
If the micros you have are not the pro, then what micros are showing this?
It is important you provide these details.
it is against the forum rules to create another topic about the same problem.
If you mean another post within this thread then yes it is OK, in fact you need to reply to forum members questions.
Do you know that there are some processors that work with a power supply of 3V3 (three point three volts) only. Maybe that is your problem?
Can I see your codes that you have uploaded. And also, the picture of your board?
Well - it depends. What do you call a "nominal" 5V? What voltage ate you supplying? - and what are you actually seeing?
You should expect a bit less than 5V - or the supply voltage if that is lower.
Then if there is nothing else connected to the pin (such as an on-board LED indicator) I'd expect it to be above Vss *2/3.
as @van_der_decken says they are all 32U4 and should behave the same
Hello - Upon further investigation, I have determined the issue was my fundamental misunderstanding of how Arduino Pin Assignments function. I was mapping the assignments incorrectly to the MEGA uC IC pins, not the Arduino Pins. This is now corrected. Thank you for spending time responding to this post, it is most appreciated.
Regards;
=> Gramps