Skip to content

A sample Apache Cordova application that connects arduino car using Johnny Five via BLE.

Notifications You must be signed in to change notification settings

elin-moco/browser-j5-car

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cordova Johnny Five RC Car Demo

This is a Cordova RC Car demo app that connects Arduino Car using Johnny Five via BLE.

Prerequisites

You need to have git and node.js installed on your computer, also bower and cordova are required.

For platform-specific dependencies, see Cordova Platform Guides.

Initialization

To initialize necessary plugin and platform files, you'll need to run following command for the first time:

cordova prepare

Configurations

Currently you'll need to manually specify your BLE device address, change your device connection settings in www/js/config.js. Will use scanning UI to select BLE device in the future.

Build and Run

on Firefox OS device:

$ cordova prepare firefoxos 

To run your app on Firefox OS device, open WebIDE in Firefox and choose "Open Packaged App", select platforms/firefoxos/www relative to the project path, and you are ready to go!

on Android device:

$ cordova build android 
$ cordova run android --device

on iOS device:

$ cordova build ios 
$ cordova run ios --device

Demo Videos

Running on Firefox OS
J5 Car Firefox OS Demo

Running on Android
J5 Car Android Demo

Running on iOS
J5 Car iOS Demo

About

A sample Apache Cordova application that connects arduino car using Johnny Five via BLE.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published