cameras88
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
cameras88 [2015/01/04 11:16] – yaasan | cameras88 [2015/01/04 11:36] (現在) – [Place web cam on the visible point of layout. Connect web cam to PC] yaasan | ||
---|---|---|---|
行 31: | 行 31: | ||
You need to check the visible point of your layout. Of course, you can select the monitor area which you want to sense the locomotive. | You need to check the visible point of your layout. Of course, you can select the monitor area which you want to sense the locomotive. | ||
- | {{http:// | + | [[http:// |
===== Prepare DSmain or DCC/MM2 shield (assembled with Arduino). ===== | ===== Prepare DSmain or DCC/MM2 shield (assembled with Arduino). ===== | ||
行 70: | 行 69: | ||
Please check the recognition of the locomotives. Then, you need to check the S88 sensor status in the event script window on the Desktop station. | Please check the recognition of the locomotives. Then, you need to check the S88 sensor status in the event script window on the Desktop station. | ||
+ | When the locomotive is on the Address 3 area on the CameraS88, the address 3 shows green on the Desktop Station. | ||
[[http:// | [[http:// | ||
+ | When the locomotive is on the Address 1 area on the CameraS88, the address 1 shows green on the Desktop Station. | ||
[[http:// | [[http:// | ||
+ | |||
+ | ===== Edit an event script with Desktop Station ===== | ||
+ | |||
+ | You can edit an event script which controls your locomotives and turnouts triggered by S88 sensor. | ||
+ | Please see the following instruction video. | ||
+ | |||
+ | {{http:// | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | ===== Example scripts ===== | ||
+ | |||
+ | Sensor 1 (STATION-1): | ||
+ | DESKTOPSTATION, | ||
+ | SPEED, | ||
+ | WAIT,2,,0 | ||
+ | SPEED, | ||
+ | WAIT,2,,0 | ||
+ | DIRECTION, | ||
+ | WAIT,20,,0 | ||
+ | SPEED, | ||
+ | |||
+ | Sensor 2 (STATION-2): | ||
+ | DESKTOPSTATION, | ||
+ | SPEED, | ||
+ | WAIT,2,,0 | ||
+ | SPEED, | ||
+ | WAIT,2,,0 | ||
+ | ACCESSORY, | ||
+ | DIRECTION, | ||
+ | WAIT,20,,0 | ||
+ | SPEED, | ||
+ | |||
+ | |||
+ | Sensor 3 (STATION-3): | ||
+ | DESKTOPSTATION, | ||
+ | SPEED, | ||
+ | WAIT,2,,0 | ||
+ | SPEED, | ||
+ | ACCESSORY, | ||
+ | WAIT,2,,0 | ||
+ | DIRECTION, | ||
+ | WAIT,20,,0 | ||
+ | SPEED, | ||
+ | |||
+ | {{http:// | ||
+ | |||
+ | {{http:// | ||
+ | |||
+ | ===== Technical issue about recognition ===== | ||
+ | |||
+ | You can adjust the reaction level of CameraS88' | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | Matching value: | ||
+ | This value means the threshold of color difference between registered image and present image. Default value is 32. This value means the threshold of color difference is 12.5%. This value can set 0 to 255. When the value is more bigger than default value, the recognition area will be decreased. | ||
+ | |||
+ | Block value: | ||
+ | This value means the recognized border line of the blocks. The block is showed box on the window. You can set it 0 to 255. 128 means that the 50% of the box is reacted. |
cameras88.1420337776.txt.gz · 最終更新: 2015/01/04 11:16 by yaasan