Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

The code controls the pan/tilt motors of Mijia 720p 360 degree version

NotificationsYou must be signed in to change notification settings

mrgsts/mijia-720p-ctrl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The code controls the pan/tilt motors of Mijia 720p 360 degree version, and includes control of IR cut filter, IR led, ISP daynight mode and LED indicator. UDP server is set up to receive commands.

Example

Motor

# echo -n "MOVE,[xsteps],[ysteps]" | nc -4u -q1 [camera-ip] 8888

Moves the motors relatively by number of steps, returns the absolution position:motor x: 0 to 31motor y: 0 to 15

IR LED

# echo -n "IRLED,[val]" | nc -4u -q1 [camera-ip] 8888

Set the brightness of IR LED, value ranges from 0 to 255

IR-cut filter

# echo -n "IRCUT,[val]" | nc -4u -q1 [camera-ip] 8888

0: turns off IR-cut filter1: turns on IR-cut filter

DAYNIGHT mode

# echo -n "DAYNIGHT,[val]" | nc -4u -q1 [camera-ip] 8888

0: color video output1: grayscale video output

LEDSTATUS

# echo -n "LEDSTATUS,[led],[val]" | nc -4u -q1 [camera-ip] 8888

led: 0 = blue, 1 = orangeval: 0 = on, 1 = off, 2 = blink

GETSTAT

# echo -n "GETSTAT" | nc -4u -q1 [camera-ip] 8888

returns the EV and IR(g_bg_ratio) values

About

The code controls the pan/tilt motors of Mijia 720p 360 degree version

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C96.4%
  • Makefile3.6%

[8]ページ先頭

©2009-2025 Movatter.jp