Giter Site home page Giter Site logo

muyuuuu / reversing-radar-by-arduino Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 53.45 MB

https://www.bilibili.com/video/BV1Za4y1s7Ay/ ,基于Arduino倒车雷达系统的设计与实现。

Home Page: https://www.bilibili.com/video/BV1Za4y1s7Ay/

License: GNU General Public License v3.0

C++ 28.11% Python 71.89%
arduino pyqt5 hc05 hcsr04 l298n

reversing-radar-by-arduino's Introduction

介绍

涉及的内容为:Arduino、外设、倒车雷达和PC端上位机。按照正常驾驶到倒车结束的流程,设计了Arduino端软件层和PC端上位机软件层。

  • 对于Arduino端软件层,分为控制功能、感知功能和通信功能。
    • 控制功能负责读取并解析用户指令,完成控制车辆的前进、后退等功能,并在倒车时减速;
    • 感知功能在进入倒车模式后开始,探测与后方障碍物的距离,当距离低于安全距离时,系统紧急停车;
    • 通信功能由蓝牙模块组成,将Arduino端发送的距离信息传送到PC端,将PC端发送的指令传送到Arduino端;
  • 对于PC端软件层,分为显示功能和通信功能。
    • 显示功能负责创建场景、控件等,以及倒车影像的实时显示;
    • 通信功能负责发送指令与读取数据,完成和Arduino端的通信。多个功能模块叠加,以此实现最终的倒车雷达系统。

演示

把演示视频放bilibili了:https://www.bilibili.com/video/BV1Za4y1s7Ay/

Intro

  1. code/Reverse-radarview.py是上位机软件,Reverse-radar.inoArduino端的代码;
  2. code其他文件夹都是测试代码;
  3. CircuitSch 文件夹下是电路连接图;
  4. 文档.pdf是毕业设计说明书,非毕业论文。

缺陷

  1. 倒车时开启雷达,雷达检测到阈值后车辆仍在移动,有一定误差;
  2. 超声波测距的误差很大,这不是我努力能解决的;
  3. 每次使用必须重启,必须重新连接蓝牙;
  4. 倒车雷达的实时动画不够细腻;
  5. 无法根据当前倒车场景的车库实时调整动画中的车辆的大小、方向(确切来说,没有标准的正向,所以也没有实现斜方向的倒车,但在rotation-test.py中有所体现);
  6. 其他功能均实现,所以 85 分,毕设结束。

设计与实现的步骤

https://muyuuuu.github.io/2020/04/18/reverse-radar-begin/

reversing-radar-by-arduino's People

Contributors

muyuuuu avatar

Stargazers

 avatar  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.