Vintage Tech: Le Minitel
![IMG_20190303_125302_resized_20190303_095202652.jpg](/proxy/?url=https://content.instructables.com/FK7/RWMG/JSSTZPD5/FK7RWMGJSSTZPD5.jpg&filename=IMG_20190303_125302_resized_20190303_095202652.jpg)
Minitel is this super fancy terminal introduced in France in the 80's (see the full story). I used Minitel when I was a kid and it crossed my path again recently.
Since it is indeed "just" a terminal, it can be connected to the console of your favourite linux machine, including your Pi. I have a couple Orange Pi myself...
It turned out not to be completely straight forward to connect my Orange Pi One and my Minitel, so I thought I would make a record of the aventure on instructables !
Hardware
![IMG_20190303_205756_resized_20190303_095205251.jpg](/proxy/?url=https://content.instructables.com/FSE/APOG/JSSTZPDK/FSEAPOGJSSTZPDK.jpg&filename=IMG_20190303_205756_resized_20190303_095205251.jpg)
Le Minitel levels can go up to 15v which way too much for an Orange Pi ! A solution is to adapt said signals through a Logic Level Converter.
You want to look for a "Logic Level Converter Bi-Directional Module 5V to 3.3V".
You will also need a "MIDI 5 Pin DIN Cable" to connect to Le Minitel. The Image above shows the 3 pins to need to note: Rx, Tx and GND.
Connect Everything
![IMG_20190303_213113_resized_20190303_095203213.jpg](/proxy/?url=https://content.instructables.com/F5P/QGQL/JSSTZPH8/F5PQGQLJSSTZPH8.jpg&filename=IMG_20190303_213113_resized_20190303_095203213.jpg)
![IMG_20190303_213404_resized_20190303_095204861.jpg](/proxy/?url=https://content.instructables.com/FRX/UGBJ/JSSTZPJ2/FRXUGBJJSSTZPJ2.jpg&filename=IMG_20190303_213404_resized_20190303_095204861.jpg)
![IMG_20190303_211651_resized_20190303_095204071.jpg](/proxy/?url=https://content.instructables.com/FDV/TQYV/JSSTZPFE/FDVTQYVJSSTZPFE.jpg&filename=IMG_20190303_211651_resized_20190303_095204071.jpg)
![IMG_20190303_213440_resized_20190303_095204470.jpg](/proxy/?url=https://content.instructables.com/FMK/WIUR/JSSTZPKW/FMKWIURJSSTZPKW.jpg&filename=IMG_20190303_213440_resized_20190303_095204470.jpg)
![IMG_20190303_213541_resized_20190303_095203628.jpg](/proxy/?url=https://content.instructables.com/FZ4/989M/JSSTZPLQ/FZ4989MJSSTZPLQ.jpg&filename=IMG_20190303_213541_resized_20190303_095203628.jpg)
![IMG_20190303_213522_resized_20190303_095205668.jpg](/proxy/?url=https://content.instructables.com/FIU/APIS/JSSTZPLB/FIUAPISJSSTZPLB.jpg&filename=IMG_20190303_213522_resized_20190303_095205668.jpg)
Pictures should be self explanatory.
Keep in mind:
- Tx, Rx and GND from the Minitel connect to the logic level converter.
- Tx, Rx, GND, 3v and 5v from the Orange PI connect to the logic level converter.
- Minitel Rx is connected to Orange Pi Tx on the logic level converter.
- Minitel Tx is connected to Orange Pi Rx on the logic level converter.
Software: Build It With OSX
![Capture d’écran 2019-03-03 à 23.11.48.png](/proxy/?url=https://content.instructables.com/FB7/NMW6/JSSTZZDD/FB7NMW6JSSTZZDD.png&filename=Capture d’écran 2019-03-03 à 23.11.48.png)
I have tried many distro for this project and here is the score: if you want a (working) wifi connection through a usb dongle, settle for Armbian, no more, no less.
You may need to install brew and 7za to unzip .7z archives
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/instal...
brew install p7zip
Download image and unzip
wget <a href="https://dl.armbian.com/orangepione/archive/Armbia..."> https://dl.armbian.com/orangepione/archive/Armbia...>
7za x Downloads/Armbian_5.75_Orangepione_Ubuntu_bionic_next_4.19.20.7z
Identify your usb card (mine is disk1) and burn Armbian image onto it
diskutil list diskutil unmountDisk /dev/disk1 sudo dd bs=1m if=Armbian_5.75_Orangepione_Ubuntu_bionic_next_4.19.20.img of=/dev/rdisk1 conv=sync
Insert the sd card into your Orange Pi and connect to it
user: root password: 1234 tip: change the password to "orangepi"
Configure a Wifi Connection (optional)
![Capture d’écran 2019-03-03 à 23.03.14.png](/proxy/?url=https://content.instructables.com/FV9/6UWA/JSSTZZ0P/FV96UWAJSSTZZ0P.png&filename=Capture d’écran 2019-03-03 à 23.03.14.png)
Your dongle (assuming it is Realtek RTL8188CUS based) should be working out-of-the-box. All you need to do is to launch raspbian-config.
Configure Your Orange Pi Console (4800 Baud, Minitel1b-80 Terminal)
![Capture d’écran 2019-03-09 à 15.24.03.png](/proxy/?url=https://content.instructables.com/F0C/1Q0Q/JSYZ8GUU/F0C1Q0QJSYZ8GUU.png&filename=Capture d’écran 2019-03-09 à 15.24.03.png)
![Capture d’écran 2019-03-09 à 15.15.31.png](/proxy/?url=https://content.instructables.com/FM3/NO4X/JSYZ8G1V/FM3NO4XJSYZ8G1V.png&filename=Capture d’écran 2019-03-09 à 15.15.31.png)
![Capture d’écran 2019-03-09 à 15.16.24.png](/proxy/?url=https://content.instructables.com/FKH/C76N/JSYZ8G2W/FKHC76NJSYZ8G2W.png&filename=Capture d’écran 2019-03-09 à 15.16.24.png)
![Capture d’écran 2019-03-09 à 15.16.10.png](/proxy/?url=https://content.instructables.com/FKU/H9YR/JSYZ8G3L/FKUH9YRJSYZ8G3L.png&filename=Capture d’écran 2019-03-09 à 15.16.10.png)
Here is my exact situation:
root@orangepione:~# cat /etc/lsb-release <br>DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.04 DISTRIB_CODENAME=bionic DISTRIB_DESCRIPTION="Ubuntu 18.04.1 LTS" root@orangepione:~# uname -a Linux orangepione 4.19.20-sunxi #5.75 SMP Sat Feb 9 19:02:47 CET 2019 armv7l armv7l armv7l GNU/Linux
I enabled uart1 (c.f. pictures):
root@orangepione:~# armbian-config
I changed lib/systemd/system/serial-getty@.service:
#ExecStart=-/sbin/agetty -o '-p -- \\u' --keep-baud 115200,38400,9600 %I $TERM ExecStart=-/sbin/agetty -c %i 4800 minitel1b-80
I installed ttyS1 with systemd:
ln -s /etc/systemd/system/serial-getty@.service /etc/systemd/system/getty.target.wants/serial-getty@ttyS1.service systemctl daemon-reload systemctl start serial-getty@ttyS1.service
I installed a better version of minitel1b
wget http://canal.chez.com/mntl.ti
tic mntl.ti -o /etc/terminfo
Use Your Minitel
![IMG_20190303_232122_resized_20190303_112331393.jpg](/proxy/?url=https://content.instructables.com/F5L/TLE8/JSSU00B6/F5LTLE8JSSU00B6.jpg&filename=IMG_20190303_232122_resized_20190303_112331393.jpg)
![IMG_20190303_232229_resized_20190303_112330505.jpg](/proxy/?url=https://content.instructables.com/FWU/BW06/JSSU0033/FWUBW06JSSU0033.jpg&filename=IMG_20190303_232229_resized_20190303_112330505.jpg)
![IMG_20190303_232247_resized_20190303_112330038.jpg](/proxy/?url=https://content.instructables.com/FRD/SF78/JSSU003T/FRDSF78JSSU003T.jpg&filename=IMG_20190303_232247_resized_20190303_112330038.jpg)
![IMG_20190303_232301_resized_20190303_112330910.jpg](/proxy/?url=https://content.instructables.com/FTG/CA55/JSSU0038/FTGCA55JSSU0038.jpg&filename=IMG_20190303_232301_resized_20190303_112330910.jpg)
Switch on Le Minitel, then
- switch Le Minitel to 4800 baud: Fnct+P, then 4
- choose 80-column mode: Fnct+T, then A
- disable echo: Fnct+T, then E
Voila.