Tutti gli articoli di Marco

Teleport Gold modem reconversion

A few years ago I bought a Global Village Teleport Gold II fax/modem for my personal vintage collection. I had been always fascinated from old stuff used to communicate in the world wide web of that era but today they are almost useless except as an ornament accessory for my Macintosh Classic.

I don’t why but these days I started thinking when I was younger and I was moving my first steps into the Internet. No many years ago, really, but there weren’t broadband connections, wifi and social networks. To navigate I had to plug my serial modem to the telephone outlet, dialing to my internet provider and start the PPP session, wait for the complete loading of every web page keeping an eye to the minutes counter or my father would have scolded me! Now everything is changed, we are always connected, social networks are became the usual way to communicate each other. So that old serial modems are became useless, even for fax messages (who’s still use them?).

So I got this idea: why don’t try to reconvert my Teleport Gold modem to allow at least a wifi connection to my Macintosh? I had already known the amazing Bo Zimmerman’s Zimodem project buying an adapter for my Commodore C64 and I’d liked to get something similar for my Classic also.

The first goal was to keep the aesthetic of the original modem. In addition I wanted to use the Macintosh modem port. So I started to search informations about the RS-422 interface and how it could be connected to the UART of a ESP32 MCU. I discovered that the RS-422 is very similar to the more standard RS-232 and that I could use a MAX3232 IC as signal converter.

Top view of the modem board I built. I’ve used and ESP32 MCU controller. Near the DB9 connector you can see the TTL<-> RS-232 converter. I use the same IC for both DB9 (RS-232) and Mini DIN 8 (RS-422) connectors.

At this point I built the circuitry needed for my project. I pulled up from the original logic board the serial cable, switch and power plug . I replaced the telephone plugs with a DB9 connector in case I would use this modem with my Amiga. Since Zimodem firmware supports an SD card on ESP32, I put it one. I added also an internal speaker in case I want to simulate the old dial-up sound (do you remember that Pshhhkkkkk krrrrka kingkakingkakingtsh chchchchchchchcch dingdingding ?) or if I’d wanted to add some extra features.

Then I got a copy of the Zimodem firmware and I added some changes to drive the LEDs on the front panel of the Teleport Gold modem: one green led for the power on, another green one when the wifi connection is active and a yellow led for the serial activity.

After flashed an ESP32 and made the final checks (I didn’t want to blow my Classic, of course) I started the Terminal program – no, it’s not the Mac OS X one 😛 – and input some AT commands.

Here following some picture of my work. Any feedback is appreciated.

LED Library

Comincio a prenderci gusto… ecco un’altra libreria per comandare un led su Arduino. La mia versione permette di far lampeggiare un led oppure di accenderlo e spegnerlo lentamente con un effetto respiro in modalità non bloccante.

Trovate sorgenti ed esempi sul mio GitHub. Commenti e contributi sono ben accetti!

Terminale migliorato in Mac OS X

Un piccolo consiglio per migliorare il Terminale in Mac OS X. Prima di proseguire vi prego di notare che non ho scritto “macOS” di proposito in quanto questo trick è consigliato per chi usa bash come interprete dei comandi nelle versioni meno recenti del sistema operativo con la mela.

Innanzitutto assicuriamoci che esista il file ~/.bash_profile nella propria home e che contenga quanto segue:

if [ -r ~/.bashrc ]; then
source ~/.bashrc

Quindi andiamo a personalizzare il prompt dei comandi editando il file ~/.bashrc e inserendo quanto segue:

export PS1="[\033[36m]\u[\033[m]@[\033[32m]\h:[\033[33;1m]\w[\033[m]\$ "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
alias ls='ls -GFh'
alias ll='ls -lah'

Sulla rete si trovano molti esempi di personalizazzione. Queste sono le mie impostazioni preferite.

Crostino nero toscano al vinsanto

Questo post è veramente off-topic dal momento che in questo blog non tratto di cucina, ma volevo condividere la ricetta per preparare l’impasto del crostino nero toscano, nella versione con il vinsanto, scritta di suo pugno da mia mamma.

La ricetta scritta di suo pugno da mia mamma