Wow this really is an active community. Cheers for the replies all.
I don't know if anyone has tried an "Eye-Fi" card (2 GB SD card with WiFi interface):
Eye-Fi » Home
I missed this one, that truely is amazing and perfect for most robotics which normally remain within range of an access point. (also it looks as though theres a fair push to port linux to it too). The microcontroller interface I have in mind is for a UAV (unmanned aerial vehicle). The project's here
uavdev.com So I need low power and long range. The proceessor I intend on using for the camera controller wont have usb or ethernet so i probably wont go to far towards a generic mass storage device but could perhaps fake some simplified twain driver or pictbridge(ptp) to make it more generic. I dont have onboard wifi but i could use a wifi to spi oem module for $100-200 but it seems a bit wasteful to spend up to $300 on the interface (that would be more than the camera
) and i wouldnt be sure it'd work till the linux port is up and running for the wifi sd card. So essentially i want to do what that card is doing but transmitting and receiving via spi to the world.
This brings up another question (sorry im in the research stage for this) can I boot the camera and then remove the sdcard and put in one which doesnt use CHDK? i didnt think you could but then i found something in the forum saying that to reset the card back to factory default you needed to take out the batteries.
That said, emulating an SD/MMC card or spying on one in parallel would need less knowledge of the camera. I doubt you'll be able to use the SPI interface unless the camera already uses the cards in that mode but that's just a guess (it's been a while since I've played with those, am I right if I remember that SD/MMC cards perform significantly slower in SPI compared to the MMC interface?)
Yeah I'm running through cameras at the moment from friends trying to see if any of them can transfer using spi mode or 1-bit mode. what I'm doing is using a sd card and covering the 8 and 9 pins with cellotape to see if the camera can still transfer an image to it.
the SD card pins are numbered a little funny, they're labeled:
/----------------------------\
/ [1][2][3][4][5][6][7][8] |
|[9] |
| |
| |
| |
---------------------------------
from the table available at
Secure Digital (SD) card pinout and signals @ pinouts.ru you can see that what I'm trying to do is cover the pin 9 and pin 8 contacts. If the camera is transferring data to the card using the spi protocol then the pin 8 and 9 will not be used and therefore covering them wont effect its operation. If its using the SD mode then they will be used and the camera will report this as an error with the memory card.
If any one would like to help out:
try the above test and post your results along with camera type. I'll buy a camera once I find one that'll play nice, since a less parrellel bus will be easier to start with.
the sd card bus has a write/read success check each time so i might be able to request retransmissions and burst the data out.
believe you can. You should probably use a photodiode instead of a phototransistor for receiving as the latter may be too slow. AFAIK, there are watchdogs to worry during transmit but I'd think that just means that you need to pass control to the firmware every now and then. Of course, this way you only have output. Data input is limited to something like one bit per 10 ms or slower using the USB supply voltage method.
Has anyone actually achieved this (a full photo transmission through the led) I cant find it on the site
.
No I assume not, cause in that case the camera is the controller, and this means that you will almost certainly have to change the firmware.
Nothing is impossible, but easier would be boring.
I'm looking at getting an A550 to have a go with the source code I'll try to return the A470 I brought before I found CHDK.
Thanks all, great replies.
I'll maintain a list here for the cameras that have been tested and what the results were from the above test:
Brand: Model: Chipset: MemoryCardInterfaces: MinDataLines: SuspectedMode: SPI?:
Cannon A470 digicIII SD/SDHC 4 SD mode No