Skip to the content
PCBKitNew board
2 layers39.4 × 15.2 mmOptopod, the printed circuit board in 3D

Dual optical port for reading electric utility meters

Size
39.4 × 15.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
19
Nets
14
Pads
46
Tracks, vias
77, 4
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
25 Mar 2021
Updated
6 May 2021

Overview

Optopod is an open-source printed circuit board by beroset, from the beroset/Optopod repository on GitHub, published under the MIT licence. It is a 2-layer board of 39.4 × 15.2 mm with 19 parts on 14 nets, routed with 77 tracks and 4 vias.

It is built around the BC817, APTD3216F3C-P22 and APTD3216P3C-P22. Its parts include 10 resistors, 6 transistors, 2 diodes and 1 connector.

Main components

3

README

README.md

Purpose

The purpose for the Optopod is to allow a Raspberry Pi or other small microcontroller to communicate with a meter using either the ANSI C12.18 or IEC 62056-21 communications standard. Both standards use a very simple infrared (IR) optical communications protocol and the physical attributes of the port are nearly identical. In particular, there are only two significant differences: the IEC protocol has the transmit on the right and receive on the left with a round port, while the ANSI protocol has the transmit on the left and receive on the right with a flat at the bottom of the otherwise round port. The IEC version is shown in Figure 1.

IEC optical port

In addition to simply operating as a probe, the circuit will also have an intercept feature. That is, it is intended to be able to put the circuit between an optical probe attached to a computer and a meter. This will allow the Raspberry Pi to "listen in" to the communications between programming and/or reading software and the meter, allowing the circuit to be used to capture that communications for later analysis and/or alter it on the fly.

Design overview

The board is intended to be driven from a 3.3V power supply and communications. The serial RX and TX lines of a Raspberry Pi will be used to receive/transmit via the optical port circuits on opposite sides of the board. A six-pin connector will be used for +3.3V, GND, RX1, TX1, RX2 and TX2 lines. To make the assembly as simple as possible, only the IR LED and IR phototransistor will be on the opposite side of the board. All other parts will be on the front of the board, allowing reflow soldering of all but those two parts.

Transmit circuit

Transmit circuit

Receive circuit

Receive circuit

Board design

As mentioned earlier, the board actually has two separate transmit circuits and two separate receive circuits so that the board may be used between an optical probe and meter to allow it to "listen in" on the conversation between, say, proprietary programming software and a meter. For simplicity in manufacturing all of the surface mount parts are mounted on the front except for one of the IR diode/phototransistor pairs, designated D1 and Q1 on the schematic. The bill of materials shown in the table below. The total cost is $2.62.

ItemQtyReference(s)ValuePriceExt Total
12D1, D2IR LED Kingbright APTD3216F3C-P22$0.147$0.29
21J1right angle 6pos hdr, 2.54mm$0.105$0.11
32Q1, Q5IR phototrans Kingbright APTD3216P3C-P22$0.140$0.28
44Q2, Q3, Q4, Q6TRANS NPN 45V 0.5A SOT23, BC817-40$0.049$0.20
52R1, R60402 SMD resistor 2.2K$0.019$0.04
62R2, R70402 SMD resistor 330$0.019$0.04
72R3, R80402 SMD resistor 5.1K$0.019$0.04
82R4, R90402 SMD resistor 91$0.019$0.04
92R5, R100402 SMD resistor 1.5K$0.019$0.04
101boardCustom PCB$1.550$1.55

Rendered board image

3D-rendered board

Schematic

schematic

Parts

19
QtyValueFootprintReferences
4BC817Package_TO_SOT_SMD:SOT-23Q2, Q3, Q4, Q6
21.5kResistor_SMD:R_0402_1005MetricR5, R10
22.2KResistor_SMD:R_0402_1005MetricR1, R6
2330Resistor_SMD:R_0402_1005MetricR2, R7
25.1kResistor_SMD:R_0402_1005MetricR3, R8
291Resistor_SMD:R_0402_1005MetricR4, R9
2APTD3216F3C-P22opticalport:LED_Kingbright_APTD3216D1, D2
2APTD3216P3C-P22opticalport:LED_Kingbright_APTD3216Q1, Q5
1Conn_02x03_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_HorizontalJ1

Questions

How big is the Optopod PCB?

It measures 39.4 × 15.2 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Optopod use?

19 parts, built around the BC817, APTD3216F3C-P22 and APTD3216P3C-P22. 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 Optopod KiCad files?

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

Can I use the Optopod design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 2 layers26 × 38.5 mmPower monitor, the printed circuit board in 3D

    Power monitor

    Jon-C-McLean/power-monitor

    10 parts
  • 2 layers72 × 42 mmNRF24 jammer, the printed circuit board in 3D

    NRF24 jammer

    W0rthlessS0ul/nRF24_jammer

    The nRF24 jammer is a powerful tool that requires an ESP32 and configurable numbers of NRF24 modules to assemble.

    51 parts1kMIT
  • 2 layers271.8 × 114.3 mmArdumower mega shield svn, the printed circuit board in 3D

    Ardumower mega shield svn

    Ardumower/ardumower

    Develop an open source robotic lawn mower (HW+SW reference platform)

    426 parts282
  • 2 layers65 × 56.5 mmRPiG3iMac, the printed circuit board in 3D

    RPiG3iMac

    qbancoffee/imac_g3_ivad_board_init

    iMac G3 IVAD board initialization with an arduino

    44 parts240LGPL-3.0
  • 6 layers83.5 × 56 mmEspiff v3 1, the printed circuit board in 3D

    Espiff v3 1

    MDCservice/EsPiFF

    An ESP32 in the Raspberry Pi form factor

    172 parts223GPL-3.0
  • 2 layers87.9 × 98.7 mmBitdoglab smd, the printed circuit board in 3D

    Bitdoglab smd

    BitDogLab/BitDogLab

    Open-source educational hardware for embedded systems, programming, electronics, and physical computing.

    138 parts203
  • 2 layers77 × 100 mmBeamer1, the printed circuit board in 3D

    Beamer1

    shufps/diy-projector-clock

    DIY Projector Clock

    283 parts172
  • 2 layers84.2 × 52 mmPicoPico, the printed circuit board in 3D

    PicoPico

    DavidVentura/PicoPico

    Pico-8 Player

    57 parts141