Kinoma Tech Notes

This is a collection of articles covering specific hardware and software features of interest to developers.


Realtime Cross-Device Communication with PubNub

September 23, 2016

This Tech Note explains how to connect Kinoma applications to the PubNub Data Stream Network and provides links to samples and an API reference for the PubNub modules for Kinoma Create and Kinoma Element.

Prototyping Peripherals with Kinoma Create

June 29, 2016

You can now build peripherals using your Kinoma Create Version 2 with the newly introduced KinomaJS HID library.

The Mystery of THEME

February 8, 2016

What should you do if, after creating an application project based on KinomaJS sample code, you encounter a mysterious THEME: undefined global variable error when you run the application? This Tech Note gives you the answer.

Kinoma Create Command-Line Tool

January 6, 2016

This Tech Note discusses the Kinoma Create command-line tool kct6, which is used to install, delete, and run JavaScript applications on Kinoma Create.

Garbage Collection in KinomaJS

October 27, 2015

The Kinoma team regularly receives questions from developers who are considering adopting JavaScript but are concerned the user experience of their product will suffer because of unpredictable interruptions by the garbage collector. KinomaJS, with its XS6 JavaScript virtual machine, addresses this challenge in a way that is simple for developers and efficient on resource-constrained hardware.

Using JavaScript 6th Edition Features in KinomaJS

October 15, 2015

JavaScript 6th Edition (often referred to as ES6) brings many new features to the JavaScript language. We have updated KinomaJS to use some of these new features, including classes, generators, and promises. This Tech Note describes how you can use these new capabilities in KinomaJS.

Using Fractional Coordinates for Animation in KinomaJS

October 9, 2015

This Tech Note explains how to use fractional pixel coordinates in KinomaJS to create smooth animations, especially for slow-moving objects.

KinomaJS and Open Source Licensing FAQ

July 15, 2015

KinomaJS is available as source code through our repository on GitHub. Our goal in publishing the source code is to allow developers to incorporate KinomaJS into their hardware and software products. This Tech Note addresses frequently asked questions about related KinomaJS and open source licensing issues.

Embedding an HTTP Server in Your Application

April 16, 2015

It is often necessary for an Internet of Things device to include an HTTP server, for setup or for retrieving information gathered by the device. A KinomaJS app can easily create an HTTP server and advertise its presence on the local network. This Tech Note describes how to start, stop, and customize your app's HTTP server.

CoAP Client and Server in KinomaJS

April 13, 2015

Use of network connections by Internet of Things devices is increasingly common. HTTP is a popular protocol for these connections, but there are many problems with it, such as efficiency and speed, and these factors have an impact on the device battery life. CoAP is a lightweight, fast, and reliable protocol designed to be used for constrained devices commonly found in the Internet of Things.

Playing Audio with KinomaJS

April 3, 2015

There are three different ways to play audio in KinomaJS, each appropriate for a different situation. This Tech Note explains the characteristics of the three ways (including using the audio output hardware pin for synthesizing audio in real time) and provides guidance on how to select the right method for your application.

Specifying Color in KinomaJS

April 1, 2015

KinomaJS has several ways to specify color and transparency, which are based on the variety of methods available in CSS. This Tech Note provides details about each supported method, including examples and things to watch out for.

Getting Started with Your Kinoma Create Sensor Pack

March 15, 2015

The Kinoma Create Sensor Pack contains three sensors from SparkFun: Tilt Sensor, Triple Axis Accelerometer, and Digital Temperature Sensor. This Tech Note walks you through the simple process of connecting each of these sensors to your Kinoma Create.

Viewing KinomaJS Native Source Code in Kinoma Studio

March 12, 2015

This Tech Note demonstrates an example app that causes an exception to be thrown in native code, and explains how to configure the debugging source path to locate the native code from the KinomaJS open source repository downloaded from GitHub.

Introducing KinomaJS Dictionary-Based Constructors and Templates

March 10, 2015

This Tech Note introduces how to use dictionary-based constructors and templates to build KinomaJS content, container, skin, and style objects. Using dictionaries helps simplify the coding of KinomaJS applications in JavaScript, and templates provide mechanisms similar to those provided by XML elements and attributes in a KinomaJS XML document.

Using Dictionary-Based Constructors for KinomaJS Behaviors

March 10, 2015

This Tech Note covers the use of dictionary-based constructors and templates to build KinomaJS behavior objects, and presents a shortcut to bind KinomaJS handler and behavior objects.

Introducing the KinomaJS Open Source Implementation

March 2, 2015

This Tech Note is a starting point for your exploration of the KinomaJS code. It gives an overview of what is there, why it is there, how the pieces fit together, and what to expect going forward.

Using DIAL to Launch Apps Remotely

February 24, 2015

Most Internet of Things devices work together with a mobile app, enabling the user to monitor, configure, and control the device using a phone or tablet. The DIAL protocol created by Netflix is a great solution for connecting your mobile app to your IoT project running on Kinoma Create. This Tech Note introduces the DIAL protocol, how to discover DIAL-compatible devices using Net Scanner, and how to add DIAL support to your KinomaJS app.

Pins Simulators

February 14, 2015

This Tech Note explains how to build your own pins simulators, both data-driven and fully custom. Pins simulators enable you to develop your Kinoma Create application entirely on your computer by simulating the inputs and outputs of one or more hardware modules.

Importing Existing Source Code into Kinoma Studio

January 27, 2015

This Tech Note explains how to import existing source code files into a new Kinoma Studio application project.

Contributing KinomaJS Sample Code Using GitHub

January 26, 2015

This Tech Note shows how you can publish your sample apps to the Kinoma GitHub repository using GitHub pull requests.

Power and Charging

December 20, 2014

Power can be provided to Kinoma Create from either of the two USB ports or from the battery. This Tech Note provides full details on power source requirements for Kinoma Create.

Power Button

December 18, 2014

Kinoma Create has just one button: the power button. Yes, you use the power button to turn Kinoma Create on--but it has other useful functions as well.

Net Scanner

December 10, 2014

The Net Scanner application on Kinoma Create is a utility that shows you devices and network services available on your local network. Net Scanner looks for devices that announce their presence using the two most widely used discovery protocols: SSDP and Zeroconf.