Raspberry Pi 1B DIN Mount controller by amyren 3d model
Warning. This content is not moderated and could be offensive.
naked
3dmdb logo
Thingiverse
Raspberry Pi 1B DIN Mount controller  by amyren

Raspberry Pi 1B DIN Mount controller by amyren

by Thingiverse
Last crawled date: 3 years, 3 months ago
I made this because I needed to replace a faulty PLC controller og wanted to build my own.
My old Raspberry Pi model 1B was not being used anymore, so I figured it would be suitable for this task.
I purchased the output board from Bangood, a cheap 8 channel solid state relay board that can control 230VAC/2A and only need 3.3V DC to trigger.
The input board is self made, from an empty soldering board, 8 low voltage LED's, 300Ohm resistors and some terminals.
Everything is connected to the GPIO header on the Pi, and the IO's are also powered from the GPIO.
The control application is made with the Hollywood programming language, which use a few python scripts to communicate with the GPIO's.
As might see from the pictures, all parts are printed in same colour, exept for the DIN-lock. This is because that part was reused from som other scrapped equipment. I did still make a STL file for it, to make this complete.
Also that metal spring for the lock is obviously not 3D printed. Here you will need to find a thin, suitable piece of metal.
I have just finished this print myself, and might add a lid for it later, just for the looks.
Relay board:https://www.banggood.com/no/8-Channel-5V-Solid-State-Relay-Low-Level-Trigger-DC-AC-PCB-SSR-In-5VDC-Out-240V-AC-2A-p-1558902.html
For the input board I used a prototype PCB, similar to this item:https://www.ebay.com/itm/5PCS-5x10cm-DIY-Multi-Hole-Prototype-Paper-PCB-Universal-Matrix-Circuit-Board-WM/163356760021
Ribbon cable 26 pin:https://www.ebay.com/itm/Flat-Ribbon-Cable-wires-26-pin-2-54mm-picth-200mm-Raspberry-Pi-GPIO-Header/172334334671
For 40 pin headers:https://www.ebay.com/itm/16CM-40-PIN-IDE-ATA-MOTHERBOARD-TO-DRIVE-RIBBON-CABLE-DATA-TRANSFER-UK-SELLER/362618699533
You can split the ribbeon cable and connect it directly to the I/O-boards, but I actually did use a male header to connect to my ribbon cable. similar to this:https://www.ebay.com/itm/Right-Angle-Pin-PCB-Box-Male-Header-2-0mm-IDC-JTAG-Socket-DC3-6-8-10-14-16P-50P/123804534693
Then I soldered the green, blue, red, orange and black wires to that header. This way I could use a longer ribbon cable in the testing phase of the I/O board. Later I changed to a shorter cable.
If I didnt have a spare old Raspberry pi 1b, I would probably go for the Raspberry Pi Zero. Order model W or WH if you want onboard WiFi. The WH model comes with the GPIO header pre-soldered.
I have included a wiring diagram. This is for RPi model 1B, which have a 26 pin GPIO header. Newer models have 40 pin GPIO headers with different pin numbers for the GPIO's.

Tags