https://github.com/GhettoBastler/gml2mt
Draw GML tags on a Minitel
https://github.com/GhettoBastler/gml2mt
gml graffiti minitel python raspberry-pi
Last synced: 10 months ago
JSON representation
Draw GML tags on a Minitel
- Host: GitHub
- URL: https://github.com/GhettoBastler/gml2mt
- Owner: GhettoBastler
- License: gpl-3.0
- Created: 2022-04-15T14:07:39.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-03T18:17:45.000Z (over 1 year ago)
- Last Synced: 2025-03-03T19:27:01.404Z (over 1 year ago)
- Topics: gml, graffiti, minitel, python, raspberry-pi
- Language: Python
- Homepage: https://ghettobastler.com/gml2mt.html
- Size: 3.7 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gml2mt
Draw GML files on a Minitel. Written in Python3
https://user-images.githubusercontent.com/100698182/163582119-9fff3aa1-d630-42d3-9983-df86574c8849.mp4
*[View tag on #000000book](https://000000book.com/data/67604)*
Details about this project can be found on [my website](https://ghettobastler.com/gml2mt.html)
## Requirements
1. A Minitel 1B or 2 (with a DIN-5 port on the back)
1. Python 3.10+ with the pyserial library
1. A logic level converter for adapting the voltages between the Minitel and the computer (this [tutorial by Pila (in French)](https://pila.fr/wordpress/?p=361) explains how to build your own USB adapter)
## Installation
Clone this repository :
```
git clone https://github.com/GhettoBastler/gml2mt.git
```
You will also need a GML file to display. You can download one from [#000000book.com](https://000000book.com/data)
## Usage
Connect to the Minitel using the DIN-5 connector on the back and power it on. I personally use a Raspberry Pi instead of a computer, but this is not required. Any computer with a USB port and the correct adapter should do the trick.

### On the Minitel
1. Switch to graphics mode by pressing **Fnct + T** followed by **V**
1. Change the baudrate to 4800 (the maximum) by pressing the **Fnct + P** followed by **4**.
### On the computer/Pi
Run gml2mt, passing the serial port to use and the GML file as arguments (if you are using a Raspberry Pi, the serial port should be /dev/ttyAMA0)
```
gml2mt.py SERIAL_PORT GML_FILE
```
The Minitel should start the animation after a few seconds
https://user-images.githubusercontent.com/100698182/163586065-db7536a1-450e-47ed-a80d-eba596f499ec.mp4
## License
The code for this project is licensed under the terms of the GNU GPLv3 license.