Meshtastic 64 – 适用于 Commodore 64 的 Meshtastic 无线电
Meshtastic 64 – A meshtastic radio for the Commodore 64

原始链接: http://64jim64.blogspot.com/2025/09/meshtastic-64-meshtastic-radio-for.html

## Meshtastic Commodore 64:复古网状网络设备 这个项目为经典的Commodore 64电脑带来了长距离、去中心化的短信功能,使用了Meshtastic无线电模块。目标是在VCF Midwest展会前准备好一个可用的设备,这个期限在经过多次迭代后勉强达成! 开发者通过串口将Heltec LoRa V3模块连接到C64,并开发了一个BASIC程序来通过Meshtastic网络发送和接收短信。设计了一个定制的PCB,用于容纳模块、显示屏和电池,并巧妙地安装在复制的C64卡带外壳内。 挑战包括需要二次订购的镜像PCB设计,以及在PETSCII图形和标准文本通信之间取得平衡——最终优先支持完整的ASCII字符。最终产品具有可从C64控制的LED和使用亚克力棒的独特按钮界面。 在VCFMW上,Meshtastic C64成功加入了展会的专用网络,与200个其他节点一起处理了高流量。该项目受到了好评,展示了将复古计算与现代网状网络技术相结合的乐趣。预制设备可通过提供的链接获得。

## Meshtastic 与 Commodore 64:摘要 一个新项目将 Meshtastic(一种使用 LoRa 无线电的长距离、离网通信平台)带到 Commodore 64 上。该项目在 VCF 上展示,允许在不依赖传统基础设施的情况下进行通信。虽然令人兴奋,但 Hacker News 上的讨论显示出对项目安全性的担忧——特别是缺乏应用层消息加密。 用户还辩论了 Meshtastic 生态系统本身。一些人认为它在技术上仍处于测试阶段且不可靠,存在路由和消息传递问题,而另一些人则指出了 MeshCore 等替代方案。 还有关于社区动态的评论,一些人将 Meshtastic 的开发描述为“有毒”,专注于自我宣传而非实际功能。 尽管存在这些批评,许多人仍然认为 Meshtastic 是一个有趣的 LoRa 技术入门点,也是早期业余无线电精神的现代演绎。 持续的开发包括对遥测和路由算法的改进,旨在解决当前可靠性问题。
Hacker Newsnew | past | comments | ask | show | jobs | submitloginMeshtastic 64: A meshtastic radio for the Commodore 64 (64jim64.blogspot.com)8 points by ingve 1 day ago | hide | past | favorite | discuss Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact Search:
相关文章

原文

For this project I designed and built a meshtastic radio that plugs directly into the Commodore 64. My goal was to release this at the VCF Midwest show (VCFMW) in Chicago on September 13th and 14th. I barely made it!

The idea

I had heard some things about meshtastic, but I was no expert. As I looked into it, I learned that it is an open source, decentralized, peer-to-peer, text messaging network designed for long-range mesh communication.

This seems to attract people that are either interested in the technology, interested in a decentralized / non-monetized communication system, interested in emergency communication - or any combination. My take was a nerdy 8-bit project to get a 1980s computer on the mesh.

I bought some modules off Amazon and started getting results with the Heltec LoRa V3, so that became my platform.

Prototyping

I then started working on a proof-of-concept version. I wanted to connect using a serial port which the meshtastic supports. I did need to find two IO pins to use and after some investigation settled on pins 45 and 46 of the Heltec.

The meshtastic typically communicates using protobuf commands. I spent some time untangling these, but soon shifted to the SERIAL>MODE>TEXT_MODE setting. This focuses on simply sending and receiving text through the meshtastic primary channel.

Soon I had a proto board which was sized to fit in a reproduction Commodore 64 cartridge shell. The shell's recessed label area is untextured and made a perfect lens over the little display.

Coding on the Commodore 64

I worked on a program for the Commodore 64. I chose to write the program in BASIC because it was quick for me to develop with, very retro, and the speed needed for text input and printing to the screen was acceptable. I did much of the programming on an actual Commodore 64, but transitioned to CBM Program Studio on my laptop while traveling.

Interface PCB design

Then I laid out the PCB. I worked hard to get the display lined up with the "window" in the reproduction cartridge cases and position the Heltec so that the USB C would be accessible to the side. I also added a big rectangular cutout to the center of the PCB for an internal battery. I even added some fun LEDs that could be controlled by the Commodore 64.

When I got the boards, they looked great, fit well, but all the connections were mirrored. Ugh!

An ugly twisted wiring of the connector did prove it worked. I experimented with options of soldering the Heltec to the PCB. A cut cross-section of the plastic cartridge shell confirmed a method where the Heltec module was aligned right below the top bezel. So, it was off to design and order round two of the boards.

Refining the program

I worked further on the Commodore 64 code, now having two commodore 64s that could talk to each other. I experimented with PETSCII images for emojis and custom images, however the full PETSCII graphic character set trades off the lower case characters on a Commodore 64.

   
In the end, I favored upper and lower case text communication between the Commodore 64 and others on the meshtastic network. To do this, the program must convert between ASCII and PETSCII. I used the commodore Upper and Lower case character set and provided no support for PETSCII graphics in the standard text messages.

But I couldn't resist getting some PETSCII art in this project, so implemented a separate commodore only PETSCII graphics message and include an editor, eight slots to hold graphics, SAVE and LOAD commands, and even a method to save incoming PETSCII graphics for editing or resending.

Finishing the case

To finish the case design and build, I cut slots for the USB C on the side, drilled holes to mount the antenna on top, and worked on how to get button presses to the front surface of the cartridge shell. My solution used acrylic rods cut to length for use as extended button actuators. I used my drill press to drill corresponding holes in the front bezel for the rods to protrude through. To hold the rods straight and in place, I glued in O-rings inside the shell which worked great and did not muffle the button click.

Race to the VCFMW 2025 show

Like any good hobby project, time was running out. The corrected PCBs arrived just 10 days before the show. I worked on building 20 units to take to the show. A couple of my buddies came to town a day before the show. I quickly finished a manual, a disk with the software, made a table info stand, and then made my buddies fold boxes and label disks. (We did have a nice BBQ dinner first) We completed 19 units for the show - which I was very happy with.

At the Show

The show went great. Many friends brought separate c64s to help test and play with the meshtastic 64 during the show. VCFMW had set up a special meshtastic channel for the show and there were up to 200 nodes all talking at once! The Commodore 64s were right in there, sending and receiving all the messages. Lots of people stopped and discussed the project with me.

Because the meshtastic 64 modules have a built-in rechargeable 1000mAh battery, they can operate independently from the c64 like a typical meshtastic radio. That meant I was able to keep up with the conversations when I wasn't on the show floor - even catching up on overnight messages over my Sunday morning breakfast.

Final thoughts

I think the meshtastic 64s worked very well. The BASIC program was able to keep up with the heavy traffic at the show. My tester friends were able to find a few software bugs which were easy enough to fix. We were able to have some fun sending small PETSCII artwork back and forth but it did look like lots of garbage to everyone else.

Overall the response at the show was great - seems others enjoyed seeing this as much as I enjoyed putting it together.

-----------------------------------------------------------------------------------

PS - If you want a fun project, make your own! If you are looking for a prebuilt unit, see this link:

联系我们 contact @ memedata.com