Go to advanced search

by sarahpi
Sat May 02, 2015 7:12 pm
Forum: Beginners
Topic: logic is working inverted
Replies: 7
Views: 6967

Re: logic is working inverted

thank you for the quick help.
Last doubt. The relay module works with 5V input and IN1 pins, IN2, IN3, IN4 according to manufacturer's specification is also 5V.
The raspberry sends 3.3V right? what can I do to avoid future problems?
by sarahpi
Sat May 02, 2015 6:56 pm
Forum: Beginners
Topic: logic is working inverted
Replies: 7
Views: 6967

logic is working inverted

http://itsbrent.net/images/RasperryPi-Garage.png Hello, recently I bought the raspberry2, and created my first progrma in python. My doubt is that the relay actuation occurs in LOW or 0, ie, it seems that logic is working inverted, or am I crazy? The relay module I'm using is similar, the mine has ...
by sarahpi
Sat May 02, 2015 6:52 pm
Forum: Português
Topic: Lógica invertida?
Replies: 1
Views: 750

Lógica invertida?

Olá, comprei recentemente o raspberry2, e criei meu primeiro progrma em python. Minha dúvida é que o acionamento do relé ocorre no LOW ou 0, ou seja, parece que a lógica está funcionando invertida, ou estou louco? segue o código: import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) #board #rl0...

Go to advanced search