Professional Documents
Culture Documents
com/print/51824
BLOG Microcontrollers
This demo demonstrates a procedure for image acquisition from a camera equipped with serial interface on
CMOS levels using FLEX.
FLEX [1]is a platform board for embedded modular systems that exploits the potential of Microchip family’s dsPIC
DSC microcontroller. It is an ideal board for developing real-time applications because the onboard
dsPIC33FJ256MC710 microcontroller supports advanced real-time kernel, such as the Evidence Srl’s Erika
Enterprise.
The software is divided in two parts: an MPLAB application to be loaded on the FLEX micro-controller
(dsPIC33FJ256MC710); and a Win32 application for serial data acquisition and image visualization.
For PC Side Application the requirements are: the program uses cygwin1.dll (included in the distribution), that can
either be shared through the
windows PATH environment variable or be placed in the executable directory.
The program must be executed in Microsoft/Cygwin.
Requirements for the Flex Side Application: the list of hardware components required to reproduce the demo:
FLEX Base Board (Light or Full), home made PCB for serial RS232 voltage conversion, capacitors and
connectors, a CAMVGA100 module
Using the Project Wizard, create a new MPLAB project in the Flex -side directory and build the executable file. Or
alternatively, using the $ makefile to create the project. Then program the microchip device by means of an ICD2
programmer.
[2]
Let's see a piece of the code:
Trademarks
Links:
[1] http://dev.emcelettronica.com/Flex
[2] http://www.evidence.eu.com/images/stories/flex_image_acquisition/conceptual_diagram.jpg
[3] http://www.evidence.eu.com/content/view/266/266/