Giter Site home page Giter Site logo

wrightrocket / nanovna-web-client Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cho45/nanovna-web-client

0.0 1.0 0.0 15.59 MB

NanoVNA interface implementation with WebSerial/WebUSB/Android.

Home Page: https://cho45.stfuawsc.com/NanoVNA/

License: GNU General Public License v2.0

HTML 16.06% JavaScript 77.56% Makefile 0.64% Rust 3.15% Python 0.29% CSS 1.29% Java 0.65% Shell 0.36%

nanovna-web-client's Introduction

NanoVNA-Web-Client

Very alpha version.

https://cho45.stfuawsc.com/NanoVNA/

NanoVNA interface implementation with WebUSB.

Usage

RUN with WebSerial

WebSerial is more experimental feature than WebUSB on Google Chrome. But it may resolve driver issues around WebUSB.

  1. Enable flag: chrome://flags/#enable-experimental-web-platform-features
  2. Access to https://cho45.stfuawsc.com/NanoVNA/ .
  3. Connect your NanoVNA to USB port.
  4. Click [CONNECT] and select the device.

RUN with WebUSB

  1. Access to https://cho45.stfuawsc.com/NanoVNA/ .
  2. Connect your NanoVNA to USB port.
  3. Click [CONNECT] and select the device.

Some OSes are additional requirements:

Requirements

macOS

no requirements

Android

Connect device via USB OTG connector. (Type-C to Type-C cable may not be usable. I recommend using USB-A OTG adapter.)

Linux (Ubuntu)

Copy 99-nanovna.rules to your /etc/udev/rules.d.

BE CAREFUL: This rule disables cdc_acm driver for all STM32CDC devices (vid:0x0483, pid:0x5740). So, If you want to use device as usb cdc device, you must remove this file again.

Windows

Replace driver with Zadig.

Screenshots

Connect via USB OTG connector.

Build

This project uses Rust partially for DSP.

Install some tools

and install build tools as following:

$ cargo install wasm-pack
$ cargo install --force cargo-make

See also Compiling from Rust to WebAssembly

Android App

Install

Play Store: https://play.google.com/store/apps/details?id=net.lowreal.nanovnawebapp

Install latest nightly

https://github.com/cho45/NanoVNA-Web-Client/releases/tag/latest

Download *.apk from your android.

notes:

  • Uninstall release build before installing lastest nightly.

Open with Android Studio

$ make cap
$ npx cap open android

(relen)

  • Edit android/app/build.gradle and increment version
  • commit version
  • tag version
  • Build -> Generate Signed Bundle / APK
  • Android Build Bundle

nanovna-web-client's People

Contributors

cho45 avatar dependabot[bot] avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.