I have in the back of my mind an extension to my current steampunk camera, and I was wondering about feasibility.
I have cameras (Olympus E-5 and E-P2) whose live view output is fixed at 320x240, that I'm starting to look at doing some control with Adruinos. I have a standalone MP4 player (JXD 696) that takes QVGA input and displays it on the screen. I have on order a 16x2 shield for doing output from the Arduino and limited input based on the arrow buttons with the shield. I can just use the two separately, but I was wondering about combining the two. I've seen some other steampunks with a wrist controller that I would like to move the display and arduino control to such a display.
As an example of what I'm talking about, here is the camera setup I used in 2011 (the setup changes every time I go out, but this one shows the video):
And I have the painter squirrel act like she's painting the scene (the live view of the camera goes into the lcd):
What I would like is to have a common screen. This could be done by having the Arduino output a QVGA signal and multiplex it on the JXD. In terms of commercial products there is the Video Game Shield and Gameduino shields that are sold. I can't tell from the descriptions whether they have a mode to emit QVGA or not.
- Video Game Shield Kit : ID 311 : $22.50 : Adafruit Industries, Unique & fun DIY electronics and kits -- Video Game Shield
- Gameduino shield : ID 384 : $53.00 : Adafruit Industries, Unique & fun DIY electronics and kits -- Gameduino Shield
So the first question, can either of these drive a QVGA (320x240) display using an analog RCA connection? I don't care about graphics of any sort. All I want is to display text on a QVGA drive.
The second question is if all I care about is text and not graphics, is there some other add-on processor that does the text and outputs it to the monitor, maybe using I2C or SPI connections so I can save Arduino pins?
The third question is what kind of relay would I need to be able to control via the Arduino, whether the camera displays on the screen or the Arduino via the QVGA connection. Obviously, I can use a passive VGA switch you can get in electronics stores, but I would prefer when I press a button to bring up a menu, for the Arduino to take over the screen and use it, and then return back to the display from the camera.
Alternatively, I could see the Arduino taking the video in, and feeding it to one of the QVGA video touch screens for Arduinos that are showing up, such as:
- 2.8 18-bit color TFT LCD with touchscreen breakout board [ILI9325] : ID 335 : $40.00 : Adafruit Industries, Unique & fun DIY electronics and kits -- 2.8" TFT 320x240 LCD with touchscreen
The fourth question is it feasible for the Arduino to do the processing and send the data to the screen in real time? Is there an existing library to do this? I suspect if I go this route, I would need to upgrade my UNO to a Mega or similar processor to get more pins.
Assuming that the Arduino is too slow to do this, the fifth question would be is there a way to have QVGA input go straight to the LCD screen without filtering by the Arduino in real time under program control from the Arduino (i.e. when I want to display stuff on the screen, it would turn off the image from the camera, otherwise, image from the camera would go straight to the screen without going through the Arduino).
Assuming the answer to question 4 and 5 is no, the sixth question is there an alternative microprocessor/cpu that would be able to do this?
I really would prefer not to have to learn about analog video encoding, etc.
I may also want to incorporate the TTL serial camera producing NTSC that adafruit and other distributors sell to focus on the E-5's viewfinder, rather than running the E-5 in live view mode, and optionally display that output either the external VGA screen or TFT. It looks like the camera already can go to external VGA, but I didn't know if it could go straight to a TFT screen.
Thanks in advance for any light you can share.