Joined January 2015
·

Bert Bekkema

Groningen Area, Netherlands
·

Hello everyone,

Hope I'm in the right place here.

I do have the exact same problem as Bloxlox.
Connecting a 12V 16 Relay Board to a Raspberry Pi B+.

Then i used following commands in terminal:

*> gpio mode 0 out // Relay switched

*> gpio write 0 0 // nothing happend

*> gpio write 0 1 // nothing happend

I also got a 16 channel relay board. Like the one here:
http://www.dx.com/nl/p/7034-16-channel-12v-relay-module-board-w-power-lm2576-light-coupling-protection-blue-183372

This board has a 12V power connection. There are 2 pins 5V and 2 pins GND.
Relay Board Pins: http://i.imgur.com/znhxSiK.png
RasPi GPIO Pins: http://i.imgur.com/bLAYYpN.png

I powered the board with an external 12V adapter.

Relay Name PIN <-> PIN Name RPI

5V 1 <-> 2 5V

5V 2 <-> 4 5V

1 3 <-> 11 GPIO 0

2 4 <-> 12 GPIO 1

3 5 <-> 13 GPIO 2

4 6 <-> 15 GPIO 3

5 7<-> 16 GPIO 4

6 8 <-> 18 GPIO 5

7 9 <-> 22 GPIO 6

8 10 <-> 7 GPIO 7

9 11 <-> 3 GPIO 8

10 12 <-> 5 GPIO 9

11 13 <-> 24 GPIO 10

12 14 <-> 26 GPIO 11

13 15 <-> 19 GPIO 12

14 16 <-> 21 GPIO 13

15 17 <-> 23 GPIO 14

16 18 <-> 8 GPIO 15

GND 19 <-> 6 Ground

GND 20 <->20 Ground

The strange thing is... when connecting the 5V Relay Bord pins to the 3.3V RasPi pins, it looks like it is working as it should be. I'm not sure this is the way it is supposed to work.

Achievements
1 Karma
0 Total ProTip Views