

Optopod
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
3BC817
SOT-231 NPN 100nA 150MHz 300mW 40 45V 500mA 5V 700mV NPN SOT-23 Bipolar (BJT) ROHSShikuesBipolar (BJT)APTD3216F3C-P22
1206-40℃~+85℃ 1.2V 40° 50mA 50nm 5V 90mW 940nm 1206 Infrared LED Emitters ROHSKingbrightInfrared LED EmittersAPTD3216P3C-P22
1206-40℃~+85℃ 100mW 100nA 30V 940nm 1206 Phototransistors ROHSKingbrightPhototransistors
README
README.mdPurpose
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.

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

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.
| Item | Qty | Reference(s) | Value | Price | Ext Total |
|---|---|---|---|---|---|
| 1 | 2 | D1, D2 | IR LED Kingbright APTD3216F3C-P22 | $0.147 | $0.29 |
| 2 | 1 | J1 | right angle 6pos hdr, 2.54mm | $0.105 | $0.11 |
| 3 | 2 | Q1, Q5 | IR phototrans Kingbright APTD3216P3C-P22 | $0.140 | $0.28 |
| 4 | 4 | Q2, Q3, Q4, Q6 | TRANS NPN 45V 0.5A SOT23, BC817-40 | $0.049 | $0.20 |
| 5 | 2 | R1, R6 | 0402 SMD resistor 2.2K | $0.019 | $0.04 |
| 6 | 2 | R2, R7 | 0402 SMD resistor 330 | $0.019 | $0.04 |
| 7 | 2 | R3, R8 | 0402 SMD resistor 5.1K | $0.019 | $0.04 |
| 8 | 2 | R4, R9 | 0402 SMD resistor 91 | $0.019 | $0.04 |
| 9 | 2 | R5, R10 | 0402 SMD resistor 1.5K | $0.019 | $0.04 |
| 10 | 1 | board | Custom PCB | $1.550 | $1.55 |
Rendered board image

Schematic
Parts
19| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | BC817 | Package_TO_SOT_SMD:SOT-23 | Q2, Q3, Q4, Q6 |
| 2 | 1.5k | Resistor_SMD:R_0402_1005Metric | R5, R10 |
| 2 | 2.2K | Resistor_SMD:R_0402_1005Metric | R1, R6 |
| 2 | 330 | Resistor_SMD:R_0402_1005Metric | R2, R7 |
| 2 | 5.1k | Resistor_SMD:R_0402_1005Metric | R3, R8 |
| 2 | 91 | Resistor_SMD:R_0402_1005Metric | R4, R9 |
| 2 | APTD3216F3C-P22 | opticalport:LED_Kingbright_APTD3216 | D1, D2 |
| 2 | APTD3216P3C-P22 | opticalport:LED_Kingbright_APTD3216 | Q1, Q5 |
| 1 | Conn_02x03_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Horizontal | J1 |
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 mm

- 2 layers72 × 42 mm

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 mm

Ardumower mega shield svn
Ardumower/ardumower
Develop an open source robotic lawn mower (HW+SW reference platform)
426 parts282 - 2 layers65 × 56.5 mm

RPiG3iMac
qbancoffee/imac_g3_ivad_board_init
iMac G3 IVAD board initialization with an arduino
44 parts240LGPL-3.0 - 6 layers83.5 × 56 mm

- 2 layers87.9 × 98.7 mm

Bitdoglab smd
BitDogLab/BitDogLab
Open-source educational hardware for embedded systems, programming, electronics, and physical computing.
138 parts203 - 2 layers77 × 100 mm

- 2 layers84.2 × 52 mm
