

8pin adapter
:hand: Driver for Metec Braille-line 20 Cell module for Arduino & Raspberry PI
- Size
- 29.2 × 24.1 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 3
- Nets
- 8
- Pads
- 18
- Tracks, vias
- 19, 0
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 19 Oct 2018
- Updated
- 10 Nov 2021
Overview
8pin adapter is an open-source printed circuit board by bertrandmartel, from the bertrandmartel/metec-braille-driver repository on GitHub, published under the MIT licence. It is a 2-layer board of 29.2 × 24.1 mm with 3 parts on 8 nets, routed with 19 tracks and 0 vias.
It belongs with the home automation and IoT and interfaces and adapters boards of this library.
README
README.mdMetec Braille cell driver
Driver for Metec Braille-line 20 Cell standard module for Arduino & Raspberry PI
This module is composed of 20 B11 Metec Braille cells driven by piezo-actuators which also feature one interaction button per cell (eg 20 buttons for this module). The module also needs a DC/DC converter (5V to 200V)
This library is compatible with :
- Arduino (tested on Uno & Mini)
- Raspberry PI Linux & wiringPi library
- Rapsberry PI Windows IoT core OS
This repo also includes an example using this driver and liblouis altogether on Raspberry PI (Linux/wiringPi)
Wiring
Arduino Uno

Arduino Mini

Raspberry PI

Setup
git clone git@github.com:bertrandmartel/metec-braille-driver.git
cd metec-braille-driver
git submodule update --init --recursiveProject structure
.
├── src # library source
├── include # library includes
├── arduino
│ ├── arduino-makefile # makefile for arduino (build environment)
│ ├── examples # examples containing one folder per example
│ └── Makefile # library Makefile (each sample call this Makefile)
├── raspberry
│ ├── linux-wiringpi # Linux build with wiringPi library folder
│ │ ├── examples # examples folder
│ │ ├── raspberry-dev # toolchain & wiringPi build using cmake
│ │ ├── out # library output directory
│ │ ├── out_liblouis # liblouis output directory
│ │ ├── CmakeList.txt # cmake config for building MetecDriver and liblouis
│ │ ├── liblouis_install.sh # liblouis table install script (to run on Raspberry PI)
│ │ ├── run.sh # build script
│ │ └── clean.sh # clean raspberry pi folder (remove cache, output dir etc...)
│ ├── windows-iot # Windows IoT core folder
│ │ └── MetecDriver
│ │ ├── MetecDriverLibrary # library project compiling C++/CX into Windows Runtime Component
│ │ ├── ExampleButtonSimple # buttons input example in C#
│ │ ├── ExampleButtons # buttons input + write pattern example in C#
│ │ ├── ExamplePatternChange # change pattern every x sec example in C++
│ │ ├── MultiCellsExample # write multiple pattern example in C++Library Usage
- Go to Arduino README
- Go to Raspberry PI Linux + wiringPi README
- Go to Raspberry PI Windows IoT Core README
8 Pin Adapter
The 8 pin adapter 2.00mm to 2.54mm was created on KiCad EDA, files are available under 8pin-adapter :


Protocol
Braille pattern
3 signals are used :
- STRB (OUTPUT)
- CLK (OUTPUT)
- DIN (OUTPUT)
A shift register is used to write the Braille pattern, the data is written to DIN between each clock transition (data is written on CLK falling edge). All bit are latched on STRB falling edge.
The bit order for the Braille cell is the following XORed :

You can use this tool to test values
For example the following write letter "V" aka ⠧ which is BRAILLE-1236 in unicode :

explanation for above : ⠧ gives 11000011 (XORed), bit order is 6/7/2/1/0/5/4/3 so it gives : 11011000, and XORed : 00100111
Interaction buttons
3 signals are used :
- STRB (OUTPUT)
- CLK (OUTPUT)
- DOUT (INPUT)
The buttons can be read when strobe is high between each clock transtion (falling edge). B11 module can have 2 buttons so we need to read 20 * 2 times each time we check for button state :

explanation for above: the 2 last bit read are 01 which means the first button has been pressed
More resources
-
This amazing post on Arduino forum : https://forum.arduino.cc/index.php?topic=236677.0 special thanks to metec_ab
-
dot converter tool written in React JS is useful to quickly test a Braille pattern
-
liblouis the open source Braille translator which can be used on Raspberry PI along with this driver (see Raspberry PI library usage)
-
raspberry-dev : a quick development environment to develop for Raspberry PI
-
arduino-dev for developping Arduino using a single Makefile
-
Fritzing parts I've made for README aesthetics
License
The MIT License (MIT) Copyright (c) 2018 Bertrand Martel
Parts
3| Qty | Value | Footprint | References |
|---|---|---|---|
| 1 | Conn_01x02_Male | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J3 |
| 1 | Conn_01x08_Female | Connector_PinSocket_2.00mm:PinSocket_1x08_P2.00mm_Vertical | J1 |
| 1 | Conn_01x08_Female | Connector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_Vertical | J2 |
Similar boards
- 2 layers40 × 30 mm

- 2 layers51.9 × 16 mm

Passive2-rpi non standard adapter
hzeller/rpi-rgb-led-matrix
Controlling up to three chains of 64x64, 32x32, 16x32 or similar RGB LED displays using Raspberry Pi GPIO
3 parts4.4kGPL-2.0 - 2 layers16.3 × 16.3 mm

- 2 layers

Sub
atopile/atopile
Design circuit boards with code! ✨ Get software-like design reuse 🚀, validation, version control and collaboration in hardware; starting with electronics ⚡️
3 parts4kMIT - 2 layers85 × 30 mm

- 2 layers124.5 × 33.7 mm

- 2 layers10.5 × 83 mm

- 2 layers21.2 × 51.3 mm

Pico reset
hackclub/sprig
🍃 Learn to code by making games in a JavaScript web-based game editor.
3 parts1.1kMIT
Questions
How big is the 8pin adapter PCB?
It measures 29.2 × 24.1 mm and has 2 copper layers, 1.6 mm thick.
What parts does the 8pin adapter use?
3 parts. 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 8pin adapter KiCad files?
From the bertrandmartel/metec-braille-driver repository on GitHub, at the commit this page was made from: the board is 8pin-adapter/8pin-adapter.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the 8pin adapter 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).