Speed screen

Official

The Speed mode of earlier UPAN: start, stop, direction and speed in revolutions per minute for a turntable or a mixer. The motor runs while the page is open and stops smoothly if the phone loses Wi-Fi. To run for hours without a screen, put start/stop and direction on buttons at the machine.

Hardware
UPAN Core · 1 axis
Contains
Controller screen, Phrases for an agent
Version
0.1.0
Minimum firmware
not released yet

Controller screen

How the controller draws this screen on a phone, next to the machine it drives. Tap the presets and the buttons: the machine moves at the speed of a demo machine. The gear in the top bar opens the settings.

Speed
rpm10.0
Ready

Buttons without a screen: UIN1 start/stop, UIN2 direction (Settings → Inputs).

Turntablestopped · 10 rpm

Demo machines with their own limits. Your machine checks against its own; the screen only changes what you see, the device checks every move.

Layout (upan.layout/1)

{
  "format": "upan.layout/1",
  "name": "speed",
  "title": "Speed",
  "units": "deg",
  "rows": [
    [
      {
        "w": "run",
        "display": "rpm",
        "speeds": [
          1,
          5,
          10,
          30
        ],
        "max": 60
      }
    ],
    [
      {
        "w": "home",
        "label": "To the sensor"
      },
      {
        "w": "status"
      }
    ],
    [
      {
        "w": "note",
        "text": "Buttons without a screen: UIN1 start/stop, UIN2 direction (Settings → Inputs)."
      }
    ]
  ]
}

Layout data (upan.layout-data/1)

The file also carries the layout data the device starts with: presets, offsets and form values.

{
  "format": "upan.layout-data/1",
  "layout": "speed",
  "presets": {},
  "offsets": {},
  "selected": {},
  "fields": {}
}

The agent opens with this preset's code and your values already in the message: add what you want to change.

Install

Install codeP-1SPD

  1. On the device's control page: enter P-1SPD.
  2. Without internet: download the file and drop it on the control page.
  3. With an agent: ask it to install preset P-1SPD.

Not final: installing by code needs controller firmware that is still in development. The file and the API work today.

Phrases for an agent

  • Spin at 10 rpm clockwise.