Prepare Firefox

Please download Firefox.

ADB installation

https://developer.mozilla.org/ja/Firefox_OS/Debugging/Installing_ADB

if windows

please install Rockchip driver

Hardware setup

  1. Connects CHIRIMEN and a monitor by HDMI.
  2. Connects CHIRIMEN and a distance sensor.

Connects to HDMI


Connects to a distance sensor

Now I'm using this sensor via i2c.
Please connect using jumper cable for through hole as following.
  • sensor pin name, CHIRIMEN pin name
  • +5v Vcc, VCC_5V
  • SDA, I2C0_SDA
  • SCL, I2C0_SCL
  • 0v Ground, GND
You can refer SRF02 Ultrasonic sensor.

CHIRIMEN pins


Run Firefox OS App on CHIRIMEN

  1. Prepare source code
  2. Boot WebIDE of Firefox
  3. Open the downloaded source as "New Package type Application"
  4. Choose CHIRIMEN as runtime
  5. Start

Prepare source code

Please download the source code..
Then unzip the source to dir that you want.

Boot WebIDE of Firefox

Open Tool > Web Development > WebIDE item of Firefox.


Open the downloaded source as "New Package type Application"


Choose CHIRIMEN as runtime


Start

Push start button( triangle button )