Change search
CiteExportLink to record
Permanent link

Direct link
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Development of a USB camera using a general purpose microcontroller
2009 (English)Independent thesis Advanced level (professional degree), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

The aim for this project has been to develop a low cost USB camera, that uses a general purpose microcontroller to control the image sensor. The camera is intended to be used in a general purpose development platform at Optronic AB. The development platform is designed to be used in many various projects and thus the camera also has to be as flexible as possible. The origin of the project is an existing product that needed improvements. The predecessor of this camera employed a Complex Programmable Logic Device (CPLD) to generate the control signals to the image sensor, an IBIS5-B-1300 from Cypress semiconductor. In this design, an EZ-USB FX2LP microcontroller, also from Cypress semiconductor, will be responsible for generating the necessary control signals for the image sensor. The microcontroller was chosen mainly because it is a high-speed USB microcontroller and that it has a General Programmable Interface (GPIF). The GPIF excludes the need for any additional logic that interfaces the microcontroller to the image sensor. This reduces the total cost of the camera. The microcontroller also has up to four large endpoint First In - First Out (FIFO) queues. The endpoint FIFOs and the GPIF makes the microcontroller suitable for controlling peripheral devices and handling high speed data transfers. The GPIF of the EZ-USB FX2LP microcontroller has never been used to control this kind of image sensor before and therefore the aim of the project is also to examine if the microcontroller is up for the task. In case of success the construction will become more cost effective than its predecessor. The switch from CPLD to microcontroller should not have an impact on the quality of the images produced, but will reduce the cost and increase the flexibility of the system. Even though only one main component is replaced it is necessary to develop a completely new design, for both hardware and software. Mainly in software since code for a CPLD is written in hardware description language such as VHDL or Verilog, and the code for a microcontroller is written in C. But also the hardware is an entirely new design using only small blocks such as power supply from the old design. The work done and considerations made during development of this camera is treated in detail in this report. To facilitate this work a development kit from Cypress semiconductor have been used (CY3684). The kit includes a development board that employs the EZ-USB FX2LP microcontroller and a software development environment including example code.

Place, publisher, year, edition, pages
Keyword [en]
Technology, USB, Camera, Image sensor, Microcontroller, GPIF
Keyword [sv]
URN: urn:nbn:se:ltu:diva-50664ISRN: LTU-EX--09/058--SELocal ID: 7e778ac4-d180-4d9a-b0c8-da3da37478f4OAI: diva2:1024026
Subject / course
Student thesis, at least 30 credits
Educational program
Electrical Engineering, master's level
Validerat; 20101217 (root)Available from: 2016-10-04 Created: 2016-10-04Bibliographically approved

Open Access in DiVA

fulltext(2134 kB)