Git Product home page Git Product logo

web3d-mpu6050's Introduction

Web3D-MPU6050

ESP8266使用MPU6050解算欧拉角,发送至MQTT服务器,Web端展示3D实时姿态

MQTT服务端使用EMQX。

Web端

引用JS库:

基础功能:JQuery.js
订阅MQTT消息:MQTT.js
3D渲染:Three.js

参考代码:

https://github.com/emqx/MQTT-Client-Examples/blob/master/mqtt-client-WebSocket/ws-mqtt.html

https://github.com/mrdoob/three.js/blob/master/examples/webgl_geometry_cube.html

ESP8266端

使用PlatformIO IDE开发

引用库:

MQTT消息发布:knolleary/PubSubClient@^2.8
SSD1306显示相关:
	adafruit/Adafruit GFX Library@^1.10.12
	adafruit/Adafruit SSD1306@^2.5.0
	adafruit/Adafruit BusIO@^1.10.0
MPU6050相关:
	I2CDevLib
	I2CDevLib -> MPU6050

参考代码:

https://github.com/jrowberg/i2cdevlib/tree/master/Arduino/MPU6050/examples/MPU6050_DMP6_ESPWiFi

硬件线路:

web3d-mpu6050's People

Contributors

bochili avatar

Stargazers

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