afterware
Resources
Saved
Hardware · build

Crankfruit: a Playdate-style console on Fruit Jam

Original

A CNC handwheel encoder stands in for the Playdate's crank. The Adafruit Fruit Jam runs Lua games in one-bit graphics with synth sound over HDMI.

Build sheet
Base
Adafruit Fruit Jam
Crank
100-pulse handwheel encoder
Output
HDMI, one-bit graphics
Language
CircuitPython, Lua games
Can I build this?Intermediate · AI 4/5 · $80–130
Difficulty
Intermediate
AI-buildability
4/5

Most of the work is CircuitPython and Lua runtime code on an off-the-shelf board, with light soldering for the encoder and a printed mount for the crank.

Time
A weekend
Cost
$80–130
Tools
soldering iron3D printer
Starter prompt

Based on "Crankfruit: a Playdate-style console on Fruit Jam" on Afterware: https://afterware.xyz/p/crankfruit-a-crank-driven-game-console-on-fruit-jam

Write a CircuitPython program for the Adafruit Fruit Jam that outputs video over HDMI at a one-bit resolution and plays synth tones. Read input from a USB game controller and from a 100-pulse quadrature handwheel encoder used as a crank, mapping encoder pulses to a crank angle value. Structure the code so a simple Lua game loop can call update and draw functions each frame.

Estimates based on the original write-up. How AI-buildability is scored. Building with an AI assistant? Connect it to Afterware (free MCP server).

Story

The crank is the whole point. Crankfruit bolts a 100-pulse CNC handwheel encoder onto an Adafruit Fruit Jam, so Playdate-style games get the physical turning control they expect instead of just buttons. It's an unofficial, experimental player, and it's written in CircuitPython.

It runs Playdate-style Lua games straight from source. Output goes over HDMI as crisp one-bit graphics with synth audio, and a USB game controller handles the rest of the input. Adafruit's Learn guide walks you through building your own.

More like this
More like this