I am having a problem measuring the voltage with a multimeter. I am not sure if arduino is even sending out a voltage from the Pin.
I will try to create a really basic circuit drawing for reference. (Drawing attached).
What I am trying to do is to measure with a Multimeter the Voltage (or current) across the alligator clips.
I will attach the code below:
//Code Section Start//
int ledPin = 13; // LED connected to digital pin 13
void setup()
{
pinMode(ledPin, OUTPUT); // sets the digital pin as output
}
void loop()
{
digitalWrite(ledPin, HIGH); // sets the LED on
delay(10000); // waits for a second
}
//Code Section End//
Typically the digital write I believe will out put 5 volts and with a 1k Ohm resistor that is only 5mA current. I have heard Arduino can take up to 40mA currents so I don't think I am frying something.
There are two weird things I have noticed. When I try other Pins like "int ledPin = 10;" The green light on the Arduino does not light up. It only lights up when I use pin 13. However, even using Pin 13 or any other pin, I cannot find a voltage or current with the Multimeter. I am using an Arduino Micro.
Can someone please help me identify what I am doing wrong or some method of how to check what is wrong? So that I can have a complete circuit with a voltage I can measure.