Skip to the content
PCBKitNew board
2 layers87.2 × 122.6 mmPiLC, the printed circuit board in 3D

Give your Raspberry Pi muscles

Size
87.2 × 122.6 mm
Copper layers
2
Thickness
1.6 mm
Parts
54
Nets
82
Pads
230
Tracks, vias
617, 87
Pours
3
Routed
Yes
KiCad
KiCad 4
Created
6 Aug 2018
Updated
13 Aug 2018

Overview

PiLC is an open-source printed circuit board by MatterOfTechnologies, from the MatterOfTechnologies/PiLC repository on GitHub. It is a 2-layer board of 87.2 × 122.6 mm with 54 parts on 82 nets, routed with 617 tracks and 87 vias.

It is built around the MCP3204-CI/P, G3VM-61GR2 and LTV-814. Its parts include 24 resistors, 17 ICs, 5 capacitors and 4 connectors.

Main components

3

README

README.md

PiLC

Give your Raspberry Pi muscles

PiLC is a Raspberry Pi adapter board that gives your Pi muscles

Just like video game power armor which protects the soft wearer from the dangerous outside world, PiLC surrounds your Pi with opto-isolated inputs and outputs so you can confidently control and interact with high voltage systems.

Industry Inspired

Inspired by industrial PLCs (which is where PiLC gets its name), PiLC has been designed to interact with 24 volt systems with the digital inputs and analog inputs, and up to 60 volt systems with the digital outputs. Both types of inputs can be configured for higher or lower voltage ranges by selecting appropriate resistors.

Additionally, one of the robust ways signals are sent in industrial lines is through the use of 4 - 20 ma current loops. The analog input on PiLC can measure these signals when configured for it. For example, temperatures from thermocouples, or flow meter rates are often sent as 4 - 20 ma currents.

Some assembly required - Or Not!

Choose between a kit version of PiLC and a fully-assembled and tested board (for an additional service fee). Both have their merits.

If you want to enhance your soldering skills with a first dive into surface mount soldering, the kit version is perfect for you. The kit version is also your best bet if you anticipate wanting to configure the digital and analog inputs for specific voltages.

Alternatively, if you want to get up and running as soon as the delivery man knocks on your door, choose the fully-assembled option. Before we ship the assembled board, we will test each of the digital outputs with continuity checks, and apply the maximum-rated voltage to each of both analog and digital inputs, making sure that values are accurately read into our test program.

Electrical Features

  • 6 Opto-isolated Digital Inputs (24 volt, 12 volt, or 5 volt)
  • 4 10-bit Analog Inputs (24 volt, 12 volt, 5 volt, or 4-20ma loop current)
  • 5 or 10 Opto-isolated Digital Outputs (60 volt, 0.7 amp)
  • Screw Terminals for Easy Connection
  • I2C, Serial, and 2 GPIO broken out in expander pins

Squeeze every drop of electrical goodness out of your Raspberry Pi pin header

PiLC is efficient. It utilizes 38 of the 40 Raspberry Pi pins. Besides the pins used to interact with the on-board hardware, 2 dedicated I2C pins, 2 additional GPIO pins, and the Serial rx and tx pins are broken out on a standard 2.54mm through-hole pin header.

Perfect for Secret Underground Lairs

In your lair you need a few staples. You need a prominent Red, Yellow, Green light to display DEFCON levels.

You need a Big Red Button that you tell people to never press. Then later you ask the same person if they remember that button? - yes - good, I want you to press the Big Red Button. In such a situation, you'll need a loud siren to alert your team to action.

Depending on the DEFCON level and other safeguards which may or may not be in place, pushing the Big Red Button can also begin the countdown sequence to dump the core. Because dumping the core is catastrophic to you and surrounding citizenry (Why oh why is this even an option?!) - and because it is most often initiated by your enemies - you simply must have a core-dump-disarming Big Blue Button hidden behind an elaborate set of interlocks and vault doors which should have really been guarding the Big Red Button, but let's not forget that drama is as much a part of being a hero as hygiene is.

Last, but not least, you need a house plant to cheer the place up. Of course, you are a (you.alignment == GOOD) ? "good" : "evil" genius, and you are constantly on the go at a moment's notice, so it would only makes sense that your plant waters itself.

PiLC is Open Source

The ethos of Open Source in undeniable. Both in fame and failure, more information about a project is better. It gives us all options. Maybe PiLC isn't your Golden Ticket, but you can use part of the circuit it uses. Please do! Maybe you have a better idea for how to implement the ADC after reviewing the schematic, send it our way so we can incorporate your brilliance into a later version (with full credit to you, of course).

Whatever reasons you may have for looking at, modifying, or distributing the source materials, we fully support your efforts. The purpose of PiLC, and Matter of Technologies as a company, is to create useful products, resources, tools, and ideas to make us all more powerful Makers.

What you'll find here on GitHub

Documentation

  • More complete technical specifications
  • How to configure inputs for different voltages
  • How to hand-solder the kit version
  • BOM

Source Files

  • KiCAD schematic
  • KiCAD PCB file

Useful Code

  • Python library with many convenient classes for I/O, multimedia, counters, and timers
  • Useful Python scripts
  • Node Red example flows [Coming Soon!]

Buy it on Tindie.com!

PiLC

Parts

54
QtyValueFootprintReferences
15200Resistors_SMD:R_0805_HandSolderingR2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15, R16
10G3VM-61GR2omron:omron_g3vm_61gr2U1, U2, U3, U4, U5, U6, U7, U8, U9, U10
8RResistors_SMD:R_0805_HandSolderingR17, R18, R19, R20, R21, R22, R23, R24
6LTV-814Housings_DIP:DIP-4_W7.62mmU12, U13, U14, U15, U16, U17
5CCapacitors_SMD:C_0805_HandSolderingC1, C2, C3, C4, C5
2CONN_01X20PiLC:screw_terminal_regular_20x1_5.08mmJ1, J3
1330Resistors_SMD:R_0805_HandSolderingR1
1CONN_01X09Pin_Headers:Pin_Header_Straight_1x09_Pitch2.54mmJ4
1MCP3204PiLC:mcp3204U11
1Raspberry_Pi_2_3PiLC:ras_pi_less_silkJ2

The 50 most common of 54 parts.

Questions

How big is the PiLC PCB?

It measures 87.2 × 122.6 mm and has 2 copper layers, 1.6 mm thick.

What parts does the PiLC use?

54 parts, built around the MCP3204-CI/P, G3VM-61GR2 and LTV-814. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the PiLC KiCad files?

From the MatterOfTechnologies/PiLC repository on GitHub, at the commit this page was made from: the board is KiCAD/PiLC.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the PiLC design in my own project?

Its repository states no licence, so its author keeps all rights: ask MatterOfTechnologies before reusing the design.

Similar boards

  • 2 layers99.1 × 76.2 mmSsr, the printed circuit board in 3D

    Ssr

    Miceuz/triac-bloc

    An universal power block based on triac. In essence this is a solid state relay with some bells and whistles

    39 parts54
  • 2 layers65 × 56 mmDebounce shield, the printed circuit board in 3D

    Debounce shield

    MayaPosch/DebounceHat

    Fully isolated, input debounce Hat for Raspberry Pi, for up to 6 switches, relays and powered devices

    83 parts24BSD-3-Clause
  • 2 layers25.4 × 26 mmWirelessTeleInfo, the printed circuit board in 3D

    WirelessTeleInfo

    Domochip/WTeleInfo

    Un D1 Mini et quelques composants pour envoyer votre Téléinfo (Compteur EDF) sur votre Domotique

    9 parts22
  • 2 layers21.9 × 17.1 mmAlimTeleinfoMySensors, the printed circuit board in 3D

    AlimTeleinfoMySensors

    tdouez/TeleinfoMySensors

    Interface Téléinfo pour compteur Linky avec MySensors

    14 parts14
  • 2 layers45.8 × 40.2 mmGoProControl, the printed circuit board in 3D

    GoProControl

    synfinatic/GoProControl

    GoPro WiFi controller board using an ESP8266 allowing easy integration with other circuits

    27 parts13GPL-3.0
  • 2 layers100 × 67 mmLed controller, the printed circuit board in 3D

    Led controller

    markus-k/led-controller-hardware

    KiCAD schematics and design files for my LED controller.

    91 parts5
  • 2 layers62.7 × 87.8 mmLinky TEMPO, the printed circuit board in 3D

    Linky TEMPO

    tdouez/Linky_TEMPO

    Module de récupération des sorties relais pour le compteur Linky avec un contrat TEMPO Compatible en TIC historique et standard

    34 parts3Apache-2.0