8000 GitHub - machcarrot/rcute-cube
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

machcarrot/rcute-cube

 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 80.9%
  • C 12.4%
  • HTML 3.8%
  • JavaScript 2.2%
  • Python 0.7%
0