| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| blocks:nexmosphere [2026-11-02 12:10] – mattias | blocks:nexmosphere [2026-11-02 13:52] (current) – [Nexmosphere Drivers for PIXILAB Blocks] mattias |
|---|
| | ''Nexmosphere'' (legacy) | The original all-in-one driver | Serial or TCP | **Deprecated** and no longer maintained. Use a controller driver. | | | ''Nexmosphere'' (legacy) | The original all-in-one driver | Serial or TCP | **Deprecated** and no longer maintained. Use a controller driver. | |
| |
| Verified with an XN-180 controller on the USB serial port of a PIXILAB Player (Blocks 8.0, October 2026), with XT-B4N6, XDW-A50, XSW-X36, XT-EF30, XY-240, XZ-L20, XR-DR1 and XW-L56 elements connected and reporting. | Verified with an XN-185 controller on the USB serial port of a PIXILAB Player (Blocks 8.0, October 2026), with XT-B4N6, XDW-A50, XSW-X36, XT-EF30, XY-240, XZ-L20, XR-DR1 and XW-L56 elements connected and reporting. |
| |
| ==== Source files ==== | ==== Source files ==== |
| |
| ^ Driver ^ Ports ^ Transports ^ | ^ Driver ^ Ports ^ Transports ^ |
| | ''NexmosphereXN115'' | 1 | Serial, TCP | | | ''Nexmosphere_XN115'' | 1 | Serial, TCP | |
| | ''NexmosphereXN125'', ''NexmosphereXN135'', ''Nexmosphere_XN135M3'', ''Nexmosphere_XN135M8L'', ''Nexmosphere_XN165'' | 2 | Serial, TCP | | | ''Nexmosphere_XN125'', ''Nexmosphere_XN135'', ''Nexmosphere_XN135M3'', ''Nexmosphere_XN135M8L'', ''Nexmosphere_XN165'' | 2 | Serial, TCP | |
| | ''NexmosphereXN180'', ''NexmosphereXN181'', ''NexmosphereXN185'' | 8 | Serial, TCP | | | ''Nexmosphere_XN180'', ''Nexmosphere_XN181'', ''NexmosphereXN_185'' | 8 | Serial, TCP | |
| | ''Nexmosphere_NEO'' | 4 | Serial, TCP | | | ''Nexmosphere_NEO'' | 4 | Serial, TCP | |
| | ''Nexmosphere_XC720'', ''_XC741'', ''_XC748'', ''_XC760'', ''_XC820'', ''_XC847'', ''_XC860'', ''_XC937'', ''_XC938'', ''_XC947'', ''_XC948'' | 4 | Serial, TCP; each also as ''_UDP'' | | | ''Nexmosphere_XC720'', ''_XC741'', ''_XC748'', ''_XC760'', ''_XC820'', ''_XC847'', ''_XC860'', ''_XC937'', ''_XC938'', ''_XC947'', ''_XC948'' | 4 | Serial, TCP; each also as ''_UDP'' | |
| | ''Nexmosphere_XC101'', ''_XC841'', ''_XC931'', ''_XC941'' | 8 | Serial, TCP; each also as ''_UDP'' | | | ''Nexmosphere_XC101'', ''_XC841'', ''_XC931'', ''_XC941'' | 8 | Serial, TCP; each also as ''_UDP'' | |
| | ''Nexmosphere_XC102'' | 12 | Serial, TCP; also as ''_UDP'' | | | ''Nexmosphere_XC102'' | 2 | Serial, TCP; also as ''_UDP'' | |
| |
| ===== 2. Device setup ===== | ===== 2. Device setup ===== |
| ===== 6. Behaviour ===== | ===== 6. Behaviour ===== |
| |
| **Commands are queued.** The controllers lose messages that arrive too close together, so every command waits its turn, with **100 mS** between commands by default (''setCommandDelay()'', 50-500 mS; the callable's own description still says 75 mS). The log warns when more than 20 commands are waiting. Discovery queries go to the front of the queue. | **Commands are queued.** The controllers lose messages that arrive too close together, so every command waits its turn, with **100 mS** between commands by default (''setCommandDelay()'', 50-500 mS). The log warns when more than 20 commands are waiting. Discovery queries go to the front of the queue. |
| |
| **Discovery polls each port in turn**, one every 500 mS, including the port ranges of XM shop-bus systems. If no element answers within ten full rounds, polling stops; it starts again when the connection is re-established. An interface list in the driver options turns discovery off altogether. | **Discovery polls each port in turn**, one every 500 mS, including the port ranges of XM shop-bus systems. If no element answers within ten full rounds, polling stops; it starts again when the connection is re-established. An interface list in the driver options turns discovery off altogether. |
| **A disabled device does nothing.** It sends no commands and creates no elements. | **A disabled device does nothing.** It sends no commands and creates no elements. |
| |
| ===== 7. Example blocks ===== | ===== 7. Application note ===== |
| |
| A set of demonstration blocks shows the typical applications, each in the same design. Each block's sensor wiring is done with Tasks as in //Using the elements in Blocks//. | A set of demonstration blocks shows the typical applications, each in the same design. Each block's sensor wiring is done with Tasks as in //Using the elements in Blocks//. |
| |
| ^ Block ^ Element ^ What it shows ^ | [[.:app-note:nexmosphere_v2|See the application note.]] |
| | ''Nexmophere/Applications'' | n/a | Three pages: presence sensing, Lift and Learn, personalised storytelling. | | |
| | ''Nexmophere/PresenceDemo'' | Time of flight | An Attractor: an invitation page, and content when a visitor steps closer. | | |
| | ''Nexmophere/ObjectDemo'' | RFID | A TagSelector: a "place a box" page and one page per tagged box. | | |
| | ''Nexmophere/ButtonDemo'' | Push buttons | An Attractor that wakes on a press, with one content per button. | | |
| | ''Nexmophere/AirButtonDemo'' | Air gesture | An Attractor playing a short film, returning when the film ends. | | |
| | ''Nexmophere/VolumeDemo'' | Analog input | A slider and a level meter bound to the spot volume, with a song and synchronised subtitles. | | |
| | ''Nexmophere/LightDemo'' | Light | Lift & Learn: lifting a product shows its story. | | |
| | ''Nexmophere/SensorDashboard'' | All | A technical view: one card per element, bound to its live properties. | | |
| |