Skip to content

Commit

Permalink
add schematics, block diagram and pcb photo, update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
edy555 committed Feb 3, 2017
1 parent ee6f5a9 commit 807afd8
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 13 deletions.
39 changes: 26 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@ NanoVNA - Very tiny handheld Vector Network Analyzer

# About

NanoVNA is very tiny handheld Vector Network Analyzer, works as
standalone, portable with battery and lcd display. This project aim
to provide an RF gadget but useful measuring tool for enthusiast.
NanoVNA is very tiny handheld Vector Network Analyzer (VNA). It is
standalone with lcd display, portable device with battery. This
project aim to provide an RF gadget but useful instrument for
enthusiast.

This repository contains source of NanoVNA firmware.


## Prepare ARM Cross Tools

Install cross tools and dfu-util.
Install cross tools and firmware updating tool.

$ brew tap PX4/px4
$ brew install gcc-arm-none-eabi
Expand All @@ -26,29 +27,33 @@ Otherwise, use toolchains included inside LPCxpresso. Like this.

$ PATH=$PATH:/Applications/lpcxpresso_7.8.0_426/lpcxpresso/tools/bin

## Building firmware
## Build the firmware

Fetch ChibiOS submodule into tree.

$ cd nanovna
$ git submodule update --init --recursive

Enter firmware directory and make it.
Just make in the top directory.

$ make

## Burn it
## Burn the firmware

Boot MCU in DFU mode. To do this, jumper BOOT0 pin at powering on.
And then, burn firmware using dfu-util via USB.
Boot MCU in DFU mode. To do this, jumper BOOT0 pin at powering device.
Then, burn firmware using dfu-util via USB.

$ dfu-util -d 0483:df11 -a 0 -s 0x08000000:leave -D build/ch.bin


# Control NanoVNA from Host PC
# Control from PC

NanoVNA is able to work standalone, but also be controlled from host
PC. python folder contains some sample scripts to control NanoVNA.
NanoVNA is able to work standalone, but also be controlled via USB serial interface from PC. There are sample scripts in python directory.

Preparation.

$ pip install numpy
$ pip install scikit-rf

Plot reflection LOGMAG.

Expand All @@ -67,6 +72,14 @@ Show usage.

$ ./nanovna.py -h

To use nanovna module in Jupyter, see [this page](/python/NanoVNA-example.ipynb).
To use NanoVNA from Jupyter notebook, see [this page](/python/NanoVNA-example.ipynb).

## Reference

* [Schematics](/doc/nanovna-sch.pdf)
* [PCB Photo](/doc/nanovna-pcb-photo.jpg)
* [Block Diagram](/doc/nanovna-blockdiagram.png)
* Kit available from http://ttrftech.tumblr.com/kit/nanovna
* Credit: @edy555

[EOF]
Binary file added doc/nanovna-blockdiagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/nanovna-pcb-photo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/nanovna-sch.pdf
Binary file not shown.

0 comments on commit 807afd8

Please sign in to comment.