MVP Logo

Материализуя идеи

Не поднимешься в горы — не узнаешь высоты неба; не спустишься в бездну — не узнаешь толщи земли.

This example demonstrates ES Script capabilities when interfacing AD-7732 UART camera module. Source may be directly copied into ES Scripting console, and executed from there.

Sample hardware config used one AD-7732 module connected to FT232H interface board.
Sample hardware config used one AD-7732 module connected to FT232H interface board.

Cam module is a crap, but it's working crap. I managed to get only 640x480 frames, though programmer's guide stated otherwise, and smaller frames may be supported.

I did not get it working in non-packet transfer mode. The demo code contains quite comprehensive Camera class implementation + actual code to get frames from it, and save them as sequentially named files in User's document directory.

Camera module UART interface gets the baud rate from the first sync sequence after it's being powered. Though guide states, that baud change command is supported, it seem to break every other command which may follow. For instance, start in 9600, then set bau to 115200, the command gets proper ACK, then we change control uart baud to the new one, get proper sync on new baudrate OK. 
But, commands issued afterwards baudrate is changed, never get any response. If anyone wants to experiment with this module, you may try normal COM port, or, maybe, virtual, based on chip from another manufacturer.

Яндекс.Метрика

Сейчас 47 гостей и ни одного зарегистрированного пользователя на сайте

14.12.2019  ©2019 - ExactSoft - All rights reserved