
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
j5-rc-receiver
Advanced tools
RC Receiver component plugin for Johnny-Five.
The Receiver class constructs objects that represent a single RC Receiver component.
var receiver = new Receiver();
receiver.on("change", function() {
console.log(this.x, this.y);
});
| Property | Type | Value(s)/Description | Default | Required |
|---|---|---|---|---|
| address | number | Address for I2C device * | 0x0A | no |
| channels | number | Number of channels | 6 | no |
| channels | array | Array of channel names ** | ** | no |
// Example of explicitly specified address
var receiver = new Receiver({
address: 0x04
});
* The I2C address defaults to 0x0A, however digital pins 10 & 11 can be used to configure the address, according to the following table:
| D11 | D12 | Address |
|---|---|---|
| 0 | 0 | 0x0A |
| 0 | 1 | 0x0B |
| 1 | 0 | 0x0C |
| 1 | 1 | 0x0D |
** The built-in channel names are derived from the most commonly used names in the most common order:
throttleaileronelevatorruddergearaux1aux2aux3When channels: [...] are specified, the length is used to set the channel count and the names provided are used to override the above listed names.
| Property | Type | Value(s)/Description |
|---|---|---|
| 1-n | number | Each channel value is accessible via numeric channel property. These are NOT zero-indexed |
For code running in Node.js 4.2.x or newer, Receiver objects implement the Iterable Protocol.
var receiver = new Receiver();
// Create a zero-indexed array of receiver's current values:
var array = Array.from(receiver);
change Fired whenever any channel value changes.
change:[name] Fired whenever the channel matching [name] changes.
receiver.on("change", function(change) {
console.log("Channel(%d): %d", change.channel, change.value);
});
receiver.on("change:throttle", function(change) {
console.log("Throttle: %d", change.value);
});
data Fired as frequently as the hardware can be read.
Using the Arduino IDE, install the firmware to your AVR based microcontroller of choice.

var five = require("johnny-five");
var Receiver = require("j5-rc-receiver")(five);
var board = new five.Board();
board.on("ready", function() {
var receiver = new Receiver();
receiver.on("change", function(change) {
console.log("Channel(%d): %d", change.channel, change.value);
});
});
var five = require("johnny-five");
var Receiver = require("j5-rc-receiver")(five);
var Tessel = require("tessel-io");
var board = new five.Board({
io: new Tessel()
});
board.on("ready", function() {
var receiver = new Receiver({
// Tessel-IO allow omitting the bus when using Port A,
// but for illustrative purposes, we specify it here...
bus: "A"
});
receiver.on("change", function(change) {
console.log("Channel(%d): %d", change.channel, change.value);
});
});
var five = require("johnny-five");
var Receiver = require("j5-rc-receiver")(five);
var Edison = require("edison-io");
var board = new five.Board({
io: new Edison()
});
board.on("ready", function() {
var receiver = new Receiver();
receiver.on("pointermove", function() {
console.log({ x: this.x, y: this.y });
});
});
Coming soon?
The examples shown here are provided for illustration and do no specifically indicate platform support. This component class is expected to work with any platform that has I2C support.
FAQs
Nintendo RC Receiver component class plugin for Johnny-Five
The npm package j5-rc-receiver receives a total of 11 weekly downloads. As such, j5-rc-receiver popularity was classified as not popular.
We found that j5-rc-receiver demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.