3v3 and GPIO output is only 1.75v
Posted: Sun Apr 10, 2016 12:33 am
Hello everyone. I am working through the book called "Hello Raspberry Pi" By Ryan Heitz. I have been doing well with the code till chapter 6 the blinking LED. Here is a list of my parts.
RPi 3
2 amp P/S
Adafruit T-Cobbler Plus
jumper wires
180 ohm resistor
LED
14x64 breadboard.
So I set up the led off pin 21 and the negative side of the led to the resistor from there to a gnd pin. as for the code
Now as the print in idle shows it works. But the Led would not turn on at all.
I took my meter and at pin 21 to gnd pin and I read -1.75 volts. I have read lead on 21 and black on gnd. Then I tested 3v3 to gnd. and it bounces from -5v to -1.75 when the program is running. I read 5v to gnd. it also is -5v. I'm at a loss for the readings. Any help would greatly appreciated.
Thank you.
RPi 3
2 amp P/S
Adafruit T-Cobbler Plus
jumper wires
180 ohm resistor
LED
14x64 breadboard.
So I set up the led off pin 21 and the negative side of the led to the resistor from there to a gnd pin. as for the code
Code: Select all
import RPi.GPIO as GPIO
import time
# Variable for the GPIO pin number
LED_pin_red = 21
# Tell the Pi we are using the breakout board pin numbering
GPIO.setmode(GPIO.BCM)
# Set up the GPIO pin for output
GPIO.setup(LED_pin_red, GPIO.OUT)
# Loop to blink our LED
while True:
GPIO.output(LED_pin_red, GPIO.HIGH)
print ("ON")
time.sleep(1)
GPIO.output(LED_pin_red, GPIO.LOW)
print ("OFF")
time.sleep(1)I took my meter and at pin 21 to gnd pin and I read -1.75 volts. I have read lead on 21 and black on gnd. Then I tested 3v3 to gnd. and it bounces from -5v to -1.75 when the program is running. I read 5v to gnd. it also is -5v. I'm at a loss for the readings. Any help would greatly appreciated.
Thank you.