Author Topic: EEVBlog multimeter  (Read 869 times)

0 Members and 1 Guest are viewing this topic.

Offline jorisTopic starter

  • Contributor
  • Posts: 10
EEVBlog multimeter
« on: June 26, 2017, 05:03:40 am »
Hi David,

I heard you talk about some of the pains David2 has been going through to set up a cross platform setup for the multimeter app. There was mention of "ohhh wouldnt it be nice if we can just javascript it". Yes you can! There are various platforms that let you package a html/js app in a browser wrapper (for each platform, perhaps even desktop computers) that exposes additional api's that are normally not available in the browser.

I have some experience with Cordova and this plugin:
https://github.com/don/cordova-plugin-ble-central

It works pretty neat, you can just do stuff like:

ble.startScan([], function(device) {
    console.log(JSON.stringify(device));
}, failure);

// send 1 byte to switch a light on
var data = new Uint8Array(1);
data[0] = 1;
ble.write(device_id, "FF10", "FF11", data.buffer, success, failure);


Also it sounds like you guys are going for a old skool BLE module for the communication. It's probably a little late for this but I would recommend looking into the mbed platform in combination with a Nordic BLE module. This let's you run the application on the BLE SoC itself (Only 1 micro to flash/ota update, lower power, less space, lower cost, better control over the communication)
https://developer.mbed.org/platforms/?connectivity=3
https://redbear.cc/product/ble/mb-n2.html

The workflow to write firmware is super nice, and it has a very easy to use API:
https://github.com/ARMmbed/mbed-os-example-ble/blob/master/BLE_LED/source/main.cpp

Will it have a microcurrent range setting? :)

Cheers!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf