Jump to content

Marcomarco

Members
  • Posts

    6
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Tegoleto Italy

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Yes, I changed the VCC pin from 5v (no.2) to 3.3v (no.1). I always use this relay in 5v in the raspberrypi and it works proprely, we can read the stamp on the relay 05vdc so I think that the right power is 5v. In the orange pi is different: I didn't know that, I changed the pin and everything works. Thanks
  2. I'm very happy, the relay works perfectly. I used for the power the pin 1 (VCC 3.3v) and the relay opens/closes the contact.
  3. Thank you for your reply martinayotte. I don't know my Opi 1+, I used the pin 2 for Vcc 5v, the pin 6 for GND and the pin 8 PD21 for the comand. This is a simple relay module 5v bought 2/3 years ago that I use for tests. Tomorrow I'll try with a different relay module.
  4. Marcomarco

    Marcomarco

  5. I used the same wires on Rpi2 and on the opi 1+. I attached a picture
  6. Thank you Igor for the reply, but I'm not solving the problem. The relay doesn't open or close the contact, the pin is PD21 number 117 (d-1)*32+21 root@orangepioneplus:/home/pi# ls /sys/class/gpio export gpio117 gpiochip0 gpiochip352 unexport root@orangepioneplus:/home/pi# ls /sys/class/gpio/gpio117/ active_low device direction power subsystem uevent value root@orangepioneplus:/home/pi# echo out >/sys/class/gpio/gpio117/direction root@orangepioneplus:/home/pi# cat /sys/class/gpio/gpio117/direction out root@orangepioneplus:/home/pi# echo 0 >/sys/class/gpio/gpio117/value root@orangepioneplus:/home/pi# cat /sys/class/gpio/gpio117/value 0 root@orangepioneplus:/home/pi# echo 1 >/sys/class/gpio/gpio117/value root@orangepioneplus:/home/pi# cat /sys/class/gpio/gpio117/value 1 root@orangepioneplus:/home/pi# Everything seems to work but the relay doesn't open/close the contact. I checked the relay and it worked perfectly through my Rpi 2 gpio
  7. Hello, I have read a lot of posts, but I can't control the gpio pins on my orange one+ (Armbian buster-Linux 5.4.28-sunxi64). Currently I open/close the gate and other doors of my home through my Rpi 2 gpio and a 8 relay module, I would like to replace this with the opi, but I can't find the way. Could you help me? Thanks, Marco
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines