Coder Social home page Coder Social logo

muhmz / mmwave_script Goto Github PK

View Code? Open in Web Editor NEW

This project forked from esonjohn/mmwave_script

0.0 0.0 0.0 40.17 MB

Scripts to capture raw data from TI's DCA1000EVM+IWR1642BOOST without mmWave Studio.

JavaScript 0.16% C++ 6.18% Python 0.06% C 33.93% CSS 1.74% Makefile 0.50% HTML 0.04% XS 57.35% Batchfile 0.04%

mmwave_script's Introduction

## Sorry that I'm no longer available for any issues related to this repository. ##

This repository contains scripts to capture raw data without mmWave Studio from TI's DCA1000EVM+IWR1642BOOST mmWave sensors.
You may custom your own data capturing and processing applications based on this repo.
Enjoy~

Prerequisites:
++ OS: Windows 10 or higher;
++ Devices: TI IWR1642BOOST + DCA1000EVM;
++ Device connection: Figure 19 in DCA1000EVM User Guide (./Doc/DCA1000EVM_User_Guide.pdf);
++ IWR1642 Firmware: Flash the mmWave_Demo image into IWR1642 (refer to page 8-9 Section 3.2 in ./Doc/mmWave_Sdk_User_Guide.pdf);
    (the firmware file is also provided in our repo at ./IWR1642/firmware/xwr16xx/mmw/xwr16xx_mmw_demo.bin)
++ IWR1642BOOST mode: Adjust the jumpers on IWR1642 board to put it into SOP mode 4 (functional mode)
    (refer to Table 4 in ./Doc/IWR1642BOOST_User_Guide.pdf, note that mmWave Studio requires SOP mode 2 (debug mode) to work);
++ MinGW tool installed (http://www.mingw.org/);
++ Build your own DCA1000 executable in ./DCA1000/Custom-build with MinGW tool;


Files Description:
./DCA1000/Custom-build/Release: executable for DCA1000 build on your own PC;
./Python4IWR/cfg/profile.cfg: IWR1642BOOST configuration file (the meaning of fields are described in page 18-31 of ./Doc/mmWave_Sdk_User_Guide.pdf);
./Python4IWR/config_and_wait_key.py: Config IWR1642BOOST with profile.cfg and wait for ENTER key to toggle sensors;
./Python4IWR/start_frame.py: Demo code to start IWR1642BOOST;
./Python4IWR/stop_frame.py: Demo code to stop IWR1642BOOST;
Others: DO NOT modify or delete;

Build ./DCA1000/Custom-build with MinGW tool:
1. Download and install mingw-get-setup.exe from http://www.mingw.org/wiki/Getting_Started;
2. Add C:\MinGW\bin to system path (suppose your mingw is installed in C:\MinGW);
3. Install mingw32-make, gcc, g++ with the following command (users from China should bypass the Great Firewall (GFW)):
"mingw-get install mingw32-make gcc g++"
4. Open cmd prompt as Admin and switch to ./DCA1000/Custom-build directory;
5. Run "mingw32-make clean";
6. Run "mingw32-make";
7. Check out ./DCA1000/Custom-build/Release for the files DCA1000EVM_CLI_Record.exe and DCA1000EVM_CLI_Control.exe;

Usage:
0. Make sure you meet all the requirements in the Prerequisites part;
1. Connect and power on DCA+IWR devices;
2. Open cmd prompt and change to ./DCA1000/Custom-build/Release/ (make sure that you have built ./DCA1000/Custom-build with MinGW);
3. Run 'DCA1000EVM_CLI_Control.exe fpga cf.json';
This script will automatically connect and configure DCA1000;
If success, then:
4. Create Data/ folder in ./DCA1000/Custom-build/Release/, which will be used to store the captured data;
5. Run 'DCA1000EVM_CLI_Record.exe start_record cf.json [file_prefix]';
[file_prefix] should be sustituted with your own file prefix, e.g., 'DCA1000EVM_CLI_Record.exe start_record cf.json Alice';
If success, then:
6. Open another cmd prompt and change to Python4IWR/;
7. Run config_and_wait_key.py with python3;
This script will automatically connect and configure IWR1642BOOST with ./Python4IWR/cfg/profile.cfg configuration file, and wait for ENTER key to toggle sensor;
8. Press Enter key to start mmwave sensor;
9. Press Enter key again to stop mmwave sensor;
10. Check ./DCA1000/Custom-build/Release/Data folder for captured data;

Cheers!

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.