GithubHelp home page GithubHelp logo

wall.e's Introduction

前言


​ 项目的灵感来自皮克斯动画《机器人总动员》的主角瓦力(wall.e)。一个在末日的废墟中幸存并日复一日清洁着地球的可爱机器人。

​ 这是一个十分有趣的物联网项目!它运行在基于arm架构的raspiberry(树莓派)开发板上。借助性能出色的node和多平台兼容的硬件框架johnny-five,我们创建了这个项目。 此项目包括了服务端到前端程序,开发语言选用javascript,功能上包括了视频监控,温度数据采集,远程遥控,距离测量,gps定位等功能。 欢迎对物联网感兴趣的开发人员Issues

技术栈

  • johnny-five
  • vue
  • express
  • chart.js
  • mongoDB

目标功能

  • 支持视频实时监控 (完成)
  • 支持摄像头转动(完成)
  • 支持手动控制电机运行(完成)
  • 支持温度采集(完成)
  • 支持gps定位
  • 支持距离探测
  • 支持循迹功能
  • 支持自由巡航

环境配置和依赖

  • 树莓派开发板(Raspberry Pi 3 Model B)
  • ubuntu mate16.0.4操作系统
  • node && npm
  • MJPG-streamer

运行项目

项目下载

git clone https://github.com/zexiplus/WALL.E.git

cd WALL.E

npm install

开发模式运行web界面程序

npm run dev

// then open the browser at http://localhost:1234

生产环境运行web界面程序

npm run build

npm run local

//then open the browser at http://localhost:2999

运行服务端程序

npm run board

材料准备

模块 价格 数量
树莓派开发板 ¥200 1
履带底盘 ¥350 1
AD转换器 ¥15 1
红外传感器 ¥3 6
SG90舵机 ¥15 1
树莓派摄像头 ¥80 1
电池 ¥30 1
gps模块 ¥50 1
MPU6050集成传感器模块 ¥20 1

接线说明

接线参考图如下

接线图例

目前接入电路的模块有电机驱动模块,mpu6050集成模块,servo伺服电机模块,摄像头模块。

电机驱动模块接收io引脚发出的高低电平,输出12v的电压从而驱动电机。

servo伺服电机模块用来转动摄像头,摄像头固定于伺服电机支撑的转轴上。

mpu6050模块可以感知周边温度,测量加速度等。

由于gps模块的通信信道与wifi冲突,暂时无法引入,gps定位会在之后的版本中完成。

本项目树莓派io引脚采用wiringPi编码,如图

raspi引脚图

接线描述:

伺服电机的信号线接树莓派开发板 1引脚(wiringPi编码,下同)

mpu6050传感器SCL接树莓派开发板 3引脚,SDA接 2引脚

电机驱动模块四个输入端分别接树莓派 21,22,23,24 引脚

项目展示

web控制页面

温度模块

视频模块

control

实物展示1 实物展示2

项目维护人

协议

GPL

wall.e's People

Contributors

zexiplus avatar

Watchers

James Cloos 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.