CURRENT ISSUE

Contests

bottom corner

Feature Article



Issue #203 June 2007
Video-Based Motion Sensor
Third Prize Atmel AVR Design Contest 2006
by Naubert Aparicio

Start | System Overview | System Design | Hardware Design | Software Design | Sources & PDF

 

Table 1—This table shows the different commands available in the motion controller. The sensor starts in Continuous Detection mode. Sending any character through the serial port will stop the motion detection function enabling the Command mode.

Command Description
? Help
M Run motion detection continuously until interrupted with any character through the serial port. This is the default mode at start-up.
M1 Run motion detection until any valid motion is detected.
D Dump current frame.
D1 Dump base frame.
H0 Disable highlighting.
H1 Enable highlighting.
I0 Disable the ignore bitmask.
I1 Enable the ignore bitmask.
IC Clear the ignore bitmask.
IF Completely fill the ignore bitmask so all movement is ignored.
I:se:vvvv Set the ignore bitmask from line start to the line end with the value “vvvv”.
IS Show the ignore bitmask.
Wnn:xx Write to register nn the value xx. These parameters change different limits to adjust the detection sensitivity.
Rnn Read parameter nn.
EC Clear the EEPROM.
ER Set the parameters from the EEPROM values.
EW Write the value of current parameters to the EEPROM area.
ZZ Reset the device. Parameters are read from EEPROM if they were saved with EW.

 

 


bottom corner