Code Monkey home page Code Monkey logo

iot-project's Introduction

声波信号模拟蓝牙通信

# 切换到相应分支
git checkout test-message

将项目在Android Studio打开,运行或者生成apk

首先在接收方设备上点击START RECV按钮,并在接收方设备上输入发送方要发送的文本(用于计算传输比特准确率),在发送方设备上最上方输入要发送的文本,然后点击SEND TEXT即可,接收方接收到后会在Recv Text文本框中显示收到的文本,并在下面的Accuracy文本框中显示传输比特正确率;点击STOP RECV可以停止接收,点击GENERATE TEXT可生成随机文本;发送方在发送时会在下面Time文本框显示当前时间(ms为单位),接收方接收完毕后也会在该位置显示当前时间,用于计算传输耗时

声波测距

git checkout master

将项目在Android Studio打开,运行或生成apk

首先在设备A上点击LISTEN LOCATE按钮,接着在设备B上点击RECV LOCATE按钮,然后在设备A上点击START LOCATE按钮,设备A会发送信号,设备B监听到后等待约1s,会发送信号,测距完毕后设备A和设备B会在TIME文本框中显示各自的时间差(ms为单位),通过时间差按照公式即可计算距离

iot-project's People

Contributors

jameslahm avatar lily97-deb avatar

Watchers

James Cloos avatar Haopeng Huang avatar  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.