Skip to main content

A PHAL plugin for mycroft

Project description

ovos-PHAL-plugin - Mark1

handles integration with the Mycroft Mark1 hardware

the firmware for mark1 arduino that controls the eyes and faceplate can be found here

utits to interact with the faceplate pixel by pixel can be found in ovos-mark1-utils

Serial Port Protocols

See the file protocols.txt for a description of commands that can be sent to the faceplate.

Commands can be sent from the command line on a Raspberry Pi, such as this:

$ echo "eyes.blink" > /dev/ttyAMA0
$ echo "eyes.color=16711680" > /dev/ttyAMA0
$ echo "mouth.text=I am angry!" > /dev/ttyAMA0

Which will blink the eyes, turn them red, then display the phrase on the faceplate.

Graphics

The mouth.icon= command takes a custom format for it's black and white images. You can use the HTML editor to create the image strings that can be sent.

IO pins

When looking at the device from the back, pins are laid out as:

             -----------------------------------------------------------------------------------------------
RCA Port    | 2 | 4 | 6 | 8 | 10 | 12 | 14 | 16 | 18 | 20 | 22 | 24 | 26 | 28 | 30 | 32 | 34 | 36 | 38 | 40 |
            | 1 | 3 | 5 | 7 |  9 | 11 | 13 | 15 | 17 | 19 | 21 | 23 | 25 | 27 | 29 | 31 | 33 | 35 | 37 | 39 |
             -----------------------------------------------------------------------------------------------

 HDMI                         Ethernet                        USB     USB

Where:

Pin Description
1 GND
2 +12V
3 GND
4 +5V
5 GND
6 +3.3V
7 Arduino Reset
8 Arduino D5
9 Arduino D6
10 Arduino D10
11 Arduino A2
12 Arduino A3
13 +3.3V
14 +3.3V
15 +3.3V
16 GND
17 GND
18 GND
19 +5V
20 +5V
21 +5V
22 +5V
23 GND
24 GND
25 Raspberry Pi ID_SC
26 Raspberry Pi ID_SD
27 Raspberry Pi GPIO 4
28 Raspberry Pi GPIO 5
29 Raspberry Pi GPIO 6
30 Raspberry Pi GPIO 7
31 Raspberry Pi GPIO 8
32 Raspberry Pi GPIO 9
33 Raspberry Pi GPIO 10
34 Raspberry Pi GPIO 11
35 Raspberry Pi GPIO 12
36 Raspberry Pi GPIO 16
37 Raspberry Pi GPIO 25
38 Raspberry Pi GPIO 26
39 GND
40 GND

WARNING: This is not the same as the standard Raspberry Pi GPIO headers!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ovos_phal_plugin_mk1-0.1.4a5.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ovos_phal_plugin_mk1-0.1.4a5-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file ovos_phal_plugin_mk1-0.1.4a5.tar.gz.

File metadata

  • Download URL: ovos_phal_plugin_mk1-0.1.4a5.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ovos_phal_plugin_mk1-0.1.4a5.tar.gz
Algorithm Hash digest
SHA256 01e16773bb7988b2dc544ab2fe8f8fc92002f51da366c7e6b229d8e1523e8ce8
MD5 f541aa5e04fd4ccce56874a96205c14d
BLAKE2b-256 5e96f0aa2733efb4f3ffedd8a3278e8f57e02b4e556bfcc85bc4ae31d0c87ba9

See more details on using hashes here.

File details

Details for the file ovos_phal_plugin_mk1-0.1.4a5-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_phal_plugin_mk1-0.1.4a5-py3-none-any.whl
Algorithm Hash digest
SHA256 c2dd3742d81f42823aa51b2686ebb56cd7f83cb4a64ff4921ec45f0060db01cf
MD5 15a699ab4b7e8edc18a9bd0f841ad38b
BLAKE2b-256 97fe2e247d7a87927406ff9ed27c7085caa14932bda5a5ca27427248a6476c47

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page