Sewing Machine

Loading GUI...

The Sewing Machine demo shows the stitch console of a sewing machine, with a color touch display for choosing a stitch pattern and setting the needle position, stitch width, stitch length, and speed. It runs directly in your browser, generated with the JavaScript/WebGL Platform Package. It was designed for PennyPixel-based platforms.

What the Sewing Machine Demo Shows

  • Six stitch patterns: Straight, Zigzag, Overlock, Blind Hem, Buttonhole, and Scallop
  • A preview of the selected stitch
  • Needle position left, center, or right
  • Stitch width and length in millimeters
  • A speed slider
  • Start and stop, a reset button, and a lock that blocks the controls until you tap the lock again

How the Sewing Machine Demo Is Built

Every control is a small component of its own: the stitch tiles, the needle position buttons, the steppers for width and length, the speed slider, the icon buttons, and the lock banner. They are built only from basic views: image views, text views, rectangles, and borders. The stitch preview is drawn with line views, and simple touch handlers react to taps.

Designed Within the PennyPixel Rules

On PennyPixel-based platforms, a standard microcontroller drives the display directly, without a display controller or graphics memory of its own. That sets clear rules for the GUI design, and the demo follows each of them:

  • Few colors per display line: the demo uses white text, gray for secondary labels, and a single accent color on a black background. Black is the natural background on these platforms and does not count as an extra color.
  • No anti-aliasing: fonts have sharp edges without smoothing, and icons and stitch patterns are single-color bitmaps that take the color of their current state. All digits have the same width, so changing values such as width, length, and speed stay in place.
  • No gradients: every area is a solid color.
  • Black on color: black text on a colored area adds no extra color. A selected stitch, needle position, or the start button is therefore filled with the accent color, with the text and icon in black.
  • Only small, local animation: values, states, and the stitch preview update in place, without screen transitions or animated effects.

GUI Development for Sewing Machines

People who sew want to change the stitch or adjust the width without searching through a manual. A color display helps here: the selected stitch, the needle position, and the current values stand out at a glance, and a preview shows the stitch before the first seam. For many household sewing machines, cost is just as important as ease of use, so a color interface has to fit a tight budget for the electronics.

The Sewing Machine demo shows that both can go together. Its interface runs on a standard, cost-efficient microcontroller with no display controller, no external graphics memory, and no GPU, and it was designed in Embedded Wizard Studio just as for any other target. More demos built for PennyPixel-based platforms: the Welding Panel with sliders and selection fields, and the Solar Home Control energy overview.

Start Your Sewing Machine GUI

Explore the Platform Packages for PennyPixel and Embedded Wizard Studio, or get started right away with the free version for a PennyPixel board.

Need more inspiration?