/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Connecting Siemens IQP 500 camera to Primer1 / Primer 2

Username:     
Password:     
             

Forum

# 1   2009-01-23 12:07:59 Connecting Siemens IQP 500 camera to Primer1 / Primer 2

sjoerd
Member
From: Stad aan het Haringvliet
Registered: 2008-09-04
Posts: 65

Connecting Siemens IQP 500 camera to Primer1 / Primer 2

Hi,

Has anybody tried connecting the Siemens IQP 500 camera to a primer?
This should be relatively easy because it's a UART interface with AT commands controlling the camera.

Description of the AT commands: http://www.mikrocontroller.net/attachme … IQP500.pdf
Schematic of how to connect the camera: http://pandatron.cz/?169&kamera_s_jpg_kompresi
Example code in Python: http://mitschang.net/s55cam.py


RTS/CTS configuration:

1. CTS und RTS with 10k Ohm connected to VCC
2. RTS shortly connect to ground
3. Camera will send AT@F
4. send "OK" back to camera

I'm not sure if the heart of this camera is the C328 UART camera. If not, that would also be worth trying wink


more to come (i'll try it this weekend)

Offline

 

# 2   2009-01-30 05:19:01 Connecting Siemens IQP 500 camera to Primer1 / Primer 2

FR4
Member
Registered: 2008-11-09
Posts: 26

Re: Connecting Siemens IQP 500 camera to Primer1 / Primer 2

Jap, was also thinking about using a mobile cam for taking snapshots. Together with your filesystem this could be a nice gadget.

But i think transmitting the data from webcam to sd-card by serial connection could take a rather long time. If you have a resolution of 640x480 and 115kBaud transmitting the data can take roughly 10sec i guess. Am i wrong?

Offline

 

# 3   2009-01-30 07:11:52 Connecting Siemens IQP 500 camera to Primer1 / Primer 2

sjoerd
Member
From: Stad aan het Haringvliet
Registered: 2008-09-04
Posts: 65

Re: Connecting Siemens IQP 500 camera to Primer1 / Primer 2

Images from the IQP-500 are around 30-40k (with JPEG compression). I think it takes about 3 seconds to download it and store it on the sd card.

I'm also working on porting a lightweight jpeg decompressor to the primer2 so we can also display the images taken with the camera.

Offline

 

Board footer