Ero sivun ”RuuviTag” versioiden välillä

Kohteesta Helsinki Hacklabin wiki
Loikkaa: valikkoon, hakuun
(Installing Espruino)
(RuuviTag)
Rivi 37: Rivi 37:
 
[[Tiedosto:RuuviTag Buttons.jpg|400px|Buttons on the RuuviTag]]
 
[[Tiedosto:RuuviTag Buttons.jpg|400px|Buttons on the RuuviTag]]
  
The red light should turn on and stay on.
+
The red light should turn on and stay on. After the RuuviTag is ready for uploading, you should see a RuuviBoot device show up on nRF Connect. Press the DFU icon, select the zip package option and select the Espruino zip you downloaded. Wait for the upload to complete.
  
After the RuuviTag is ready for uploading, you should see a RuuviBoot device show up on nRF Connect.
+
<gallery>
 
+
Tiedosto:NRF Connect RuuviBoot.png|nRF Connect - Scanning For Devices
[[Tiedosto:NRF Connect RuuviBoot.png|300px|nRF Connect Scanning]]
+
Tiedosto:NRF Connect DFU.png|nRF Connect - DFU
 +
Tiedosto:NRF Connect Uploading.png|nRF Connect - Uploading
 +
</gallery>

Versio 13. toukokuuta 2017 kello 12.42

RuuviTag

Helsinki Hacklab has a set of the RuuviTag open source Bluetooth sensor beacons donated by Ruuvi Innovations.

RuuviTag Internals

Quickstart Guide

This is a quickstart guide on how to install the Espruino Javascript interpreter for RuuviTag.

Preparing the RuuviTag

Use your fingernails or a screwdriver to pry the case open. There's a small indentation in the seam that makes it easier.

Side view of RuuviTag

Remove the piece of plastic that separates the battery from the terminals. Make sure the battery is fully in contact with the terminals.

Side view of RuuviTag

The RuuviTag should now work. A red led should have turned on for a while when the plastic strip is removed.

Testing That RuuviTag Works

To test that the RuuviTag works, use a new-ish smartphone with Bluetooth and location services turned on and the nRF Connect or nRF Toolkit app installed. The device show show up as a Physical Web Beacon device.

By default, the RuuviTag broadcasts a weather app address so your phone should receive a notification about an available Bluetooth beacon. You can open the notification to see the default app that shows the sensor information of the beacon.

Installing Espruino

The official Firmware Update page has a link to the Espruino zip. Download it on your phone/other Bluetooth equipped device.

Next step is to prepare RuuviTag bootloader.

  • Press and hold the B button
  • Press the R button
  • Release B button

Buttons on the RuuviTag

The red light should turn on and stay on. After the RuuviTag is ready for uploading, you should see a RuuviBoot device show up on nRF Connect. Press the DFU icon, select the zip package option and select the Espruino zip you downloaded. Wait for the upload to complete.