Skip to content

belkone/xiaomi-1080-360-motor-control

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 

Repository files navigation

xiaomi-1080-360-motor-control

Provides a way controlling the motor directly on the MJSXJ02CM camera.

Getting started

  1. Is it the same as mine?

MJSXJ02CM camera

  1. Get a shell

Install these mods to get a shell from within your camera:
https://github.com/telmomarques/xiaomi-360-1080p-hacks

Install the hacks

  1. Download the latest release from releases

  2. Copy the contents of "hacks" folder to the hacks folder in your SD Card

  3. Power off the camera and insert the SD Card

  4. Power on the camera

  5. Open the web interface on the camrea on your browser http:8080//<your-camera-ip/

How to build

  1. Install docker
 sudo apt-get install -y docker.io
  1. Clonning the repo
 git clone https://github.com/thewh1teagle/xiaomi-1080-360-motor-control.git
  1. Build the container
sudo docker build -t motor .
  1. Run docker container with current directory mounted
sudo docker run -it -v $(pwd):/src motor
  1. Cross compile (in every different module e.g web_control)
make cross

You can also build it for your pc to test it without the camera.

make test
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd) ./motord
  1. Clean everything!
sudo docker image rm motor --force
sudo apt autoremove docker.io

Enjoy!

About

Provides a way controlling the motor directly.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 39.6%
  • HTML 31.6%
  • Go 24.9%
  • Dockerfile 2.0%
  • Makefile 1.9%