Giter VIP home page Giter VIP logo

rcute-cube's Introduction

rcute-cube

rcute-cube is an independent part of the Cozmars project

Upload pre-built bin files

  1. pip install esptool
  2. download rcute-cube.ino.generic.bin and spiffs.bin from release page, then
  3. python -m esptool --port [PORT] --chip esp8266 --baud 115200 write_flash 0x00 .\rcute-cube.ino.generic.bin 0x200000 .\spiffs.bin

Electronic parts

  • 3.7v 14500 battery
  • 112D on/off power button
  • MPU-6050
  • ESP12F

wiring

Simple debug

On power up, the rgb led should blink white once, any subsequent color blinks indecate different errors:

  • 2 red blinks: SPIFFS file system failed to start
  • 1 green blink: Unable to connect to pre-configured wifi, this usually happens when you start cube for the fist time, then a hotspot will be provided named rcute-cube-xxxx, xxxx being the last 4 digit of cube's mac address.
  • 1 blue blink: MPU6050 connection failed
  • 2 blue blinks: MPU6050 initial memory load failed
  • 3 blue blinks: MPU6050 DMP configuration updates failed

License

This project is open sourced for educational purpose, Commercial usage is prohibited.

Build from source with Arduino IDE

Output build bin files

  • set [Tools] -> [Flash Size] -> [4MB(FS:2MB)], then [Project] -> [Export bin files]

  • make spiffs image

    1. download mkspiffs, then
    2. .\mkspiffs.exe -c .\data\ -b 8192 -s 1835008 .\spiffs.bin
  • or, output bin files from Arduino IDE, link

Ref

rcute-cube's People

Contributors

hyansuper avatar

Stargazers

 avatar Sergey avatar

Watchers

 avatar

rcute-cube's Issues

better upgrade technique

problem: if v1.0 --both--> v1.1 --sketch--> v1.2, then upgrading from v1.0 to v1.2 won't change spiffs, but it should.
quick fix: make every version's UPDATE_PART == "both"

calibrate?

  1. how to calibrate gravity
  2. currently no calibration works better, why is that? and calibration differs from time to time

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.