Look around for a small, embedded camera module, and you’ll find your options are rather limited. You have the serial JPEG cameras, but they’re rather expensive and only have VGA resolution. A Raspi, webcam, and power supply is a false economy. GoPros are great, but you’re still looking at some Benjamins used.
The guys at GHI Electronics are taking a different tack. They’re using image sensors you would normally find in cellphones and webcams, adding a powerful ARM processor, and are still able to sell it for about $50. It’s called the ALCAM, and they’ve stumbled upon a need that hasn’t been met by any manufacturer until now.
On board the ALCAM is an OV3640 3-Megapixel image sensor. On the back of the board is a STM32F4 and a microSD card slot. The board can be set up for time-lapse videos, stop motion animation, or all the usual serial board camera functions, including getting images over a serial connection.
The ALCAM operates either connected to a PC though a 3.3V serial adapter cable, through a standalone mode with pins connected to a button or sensor, to the SPI bus on a microcontroller, or a serial to Bluetooth or WiFi bridge. Images can be saved to the uSD card, or sent down the serial stream.
It’s a pretty cool board, and if you’re thinking it looks familiar, you’re right: there’s a similar DSI camera/STM32F4 board that was an entry to The Hackaday Prize. Either way, just what we need to get better cameras cheaper into projects.
47 thoughts on “Serial Camera, Courtesy Of The STM32F4”
This isn’t a hack. It’s two $3 parts, $1.50 worth of connectors on $3 of PCB doing exactly what they’re designed to do. The only link here is to a kickstarter.
Can we stop with all this constant kickstarted bullshit please?
Posts like these dilute the essence of what people love about hackaday, so if you can’t find the hack in this, I urge you, please remove this blog entry.
I think they already removed it, this page is “gone” and can only access it if you use the link directly
Why is it here? It is here because it is useful for the readers to incorporate into their own projects.
So they glued an STM32F4 to a camera that has onboard compression just for serializing the data? Why?
That SoC is perfectly capable of driving a cheaper camera and doing its own compression. The bells n whistles STM3240G devkit for this chip even has a 2MP cam onboard with source showing how.
STM32F427 is 8.5$ for a quantity of 10’000
You should change your estimations
I agree with Lucas, But also I’m struggling to see why a raspi camera is a false economy.
…Just wondering… I wonder if “Still Image Host” in LUFA means it can talk to webcams through USB. All of a sudden, I feel like I might be warming up to this tool.
How much does HaD get from ads for crowd-funding hidden as a news item? Just curious.
in the past nothing, but then they said no more kickstarters. But now they’ve been showing them more often (mostly scams being debunked) so I’d still assume nothing.
We receive nothing, so any complaint that this is advertising disguised as news is false. We also never said we wouldn’t be covering Kickstarters/Crowdfunding, so any claim of a change in editorial direction is false.
Five years ago, you would have seen something like this up on some guy’s blog, and you would have asked if he was ever going to take it to production. Now, you see it on a crowdfunding site and you’re complaining it’s all just an ad. That’s just an observation – I’m not calling specific people out for being inconsistent, merely the group mindset behind the complaints about Kickstarters being inconsistent.
There’s an excellent overview on some of the technical details of interfacing to cell phone cameras in resource constrained devices from mike here:
OK Its kickstarter, but a man’s gotta eat.. whoever is trying to produce this has decided to actually commercialise it rather than just do it for the heck of it, which isn’t a crime. Presumably the added value in this product will be the firmware. I agree its not really a hack in the strictest sense, but its still interesting none the less. As to the false economy of using or not using a pi.. I suspect the pi consumes way more power, and is pysically larger but in turn is way more flexible. If you want a camera to fit in a small space and run on batteries, but dont want to risk your GoPro this device makes some sense. If you want to incorporate a camera in a new or existing product, but have limited space, this makes sense. Other use cases may apply, but dont knock it simply because it is a kickstarter, or we are entering vi/emacs arduino/555/discreet transistors territory and no, I have no connection with this product, so no reason to defend it… but if they were to send me a free sample… }:¬). … I’m sure I could find many uses for it.
But what about the Raspi Camera Module? Has anyone tried using this with other hardware? It is a cheap serial camera.
If you only want a cheap camera for recording (but not need to be able to stream the data which this is supposed to have), you can buy $15 “HD Camcoder” from DX. Use analog mux to isolate the SD memory to your microcontroller to access the recorded data and GPIO to control the camera.
Doing a project like that would be more a hack than *buying* crap from a kickstarter.
Raspi B+ $36 + 5MP webcam $10 = $46. (and includes network interface)
$46 < $50 (alcam)
Insane. Worthy for $10, not $50.
What’s wrong with the price? If You do cheaper, please, kickstart it, I gonna support You. Any electronics device costs more than sum of parts soldered on it. BTW software is the most expensive part in such devices because You need to support and maintain it.
Wow, someone understands manufacturing! Cost = parts + labor + overhead
I disagree ! if you do a kickstart project you do it like you do some software under GNU linux: for free in your spare time because you love it ! so the goal is to provide cheaper than what a guy could buy alone. 10 000 cpus are cheaper than 1 and share knowledge.
Now if you want to make money as any capitalistic bast*** well kickstart shouldnt be where u go.
thats why you see all those negative comments about kickstart project. At the beginning people there were doing it as a project for a community without making money in the plan. Now there ‘s a bunch of gold digging bit**** on those sites.
Looks like the other projects from this company are going well… https://www.kickstarter.com/projects/secretlabs/agent-the-worlds-smartest-watch/comments
With all the pieces hackaday has done on ropey kickstarter projects it would be good if you checked these things before posting :)
Secret Labs != GHI Electronics
Secret Labs = Chris Walker = One Awesome Dude. He is the man behind Netduino and Control Think.
That still doesn’t change the fact that it’s two separate companies. :-)
but OpenMV for the win – seriously good.
:) Ibrahim and I will be launching the OpenMV KS in the next several weeks, details to be announced on the Google group http://bit.ly/omvgroup. Join and stay tuned.
OpenMV will be ~$50 with vision processing and Micro Python onboard; uSD, LED, SPI, I2C, Serial, USB. WiFi shield is in the works plus others. Fixed sensor with interchangeable M12 lens for better reliability. Enough backers means an upgrade to faster STM32F427 or ‘429 both with more memory thus capability. OpenMV is, well, fully open software and hardware. And hackable.
We already sold and shipped 18 hand-built (by me) OpenMV cams for folks willing to test.
FYI, OpenMV KS is live: http://bit.ly/openmvcam – thanks again for your confidence, folks!
I agree this kickstarter doesn’t really seem in the same class as OpenMV, which (apparently) can be bought for around the same price and seems significantly more capable.
Actual shipping product that you can buy is much better than a vaporware product that may turns out to be a scam. OpenMV with on-board image processing is a lot more interest than a serially attached camera.
These cellphone cameras are seductive. They’re cheap, good and small, perfect for someof our projects… I’d love to use them but OmniVision, in particular, is a difficult company to get information out of. They part with specs only after signing an NDA, and even then, there’s no apps assistance unless you’re Apple or another of their “first tier” customers.
If you’re looking for a source for a *super* cheap VGA resolution camera, Electronics Goldmine has ADCM-2700’s. The image quality isn’t the best (seems to have a short focal length). But for simple machine vision, video chat, etc, these are fine. Datasheets and example source code are hard to come by…but I was able to get them to work without too much fuss. No JPG output, but very flexible scaling options and push data out via 8bit parallel or synchronous serial.
They’re at http://www.goldmine-elec-products.com/prodinfo.asp?number=G19511.
Wish this was not vapourware. Also wish they would use a REAL lens mount instead of the super junky cellphone camera assembly.
I want a threaded security camera mount or better yet a C mount. that way you can change out to a fisheye or a telephoto if you need to as well as far better optics than the tiny glob of plastic.
ISTR the lens assembly is threaded on these and there are adaptors available.
Vapourware? GHI has working prototypes and their history and catalog of existing devices should give you plenty of confidence that this will happen. This is not their first Kickstarter. GHI doesn’t typically start a Kickstarter unless they have a product about 99% complete. Regarding lenses, the Kickstarter says they are adding various options for that.
The lens can be changed as long as the lens meets the M7 standard or you have an adaptor.
I’ve used this camera before but it had a parallel interface for raw YUV image data plus I2C for setting up a ton of internal registers. (And getting the relevant data out of OmniVision was an odious task.)
The article mentions this one is using MIPI DSI but how does that work with the STM32? Surely too fast to be bit banged and decoded on on the fly?
stm32f407 and other similar models have a dedicated camera interface with proper electrical conn and route through the chip. no bit banging, more like DMA.
you can get a decent wifi camera for ~$10 on ebay (used smartphone)
If you are going to go to the trouble of using STM32F4 then go “all the way” and support Ethernet and SSL, then the price will be worth it.
It’s not exactly an apples-to-apples comparison, but depending on your project, you might do better with the eval boards from ST directly. Their STM32F4 Discovery board plus the camera add-on is really flexible and it obviates the need for another micro.
I don’t mind seeing the Kickstarter stuff on here. I’m interested in projects like this so I’ll bookmark it and later when I have the need I’ll look it up. Even if I don’t buy the product I now have some information on what devices work together and how to take a general approach. It’s notable that this article has generated some useful comments, also worthy of bookmarking.
The value for me is the idea. Someone has done the basic R&D and even if someone else is just putting parts together and it’s new to me, it’s useful.
I’ll probably buy it but wait till someone writes energy efficient motion detection code so I don’t have to do it.. I want to use it on cell powered surveillance.. If you weather proof it, it’d be good for agriculture and RC aviation too.. Maybe even make optics for it..
you really should look at openMV…
I agree you should look at OpenMV, I did. You should also look at ALCAM and all other options out there to see what fits your needs the best.
No one has mentioned the even-more-capable CMUCAM5 (aka Pixy). $69 on Amazon, $75 on Adafruit:
Also for a lot of scientific applications, you need the highest quality signal, meaning you don’t want any compression. So for my purposes unless they added a RAW capture feature, the ALCAM is almost useless to me.
Also, the raspi camera suffers tons of digital noise in low light… so either someone messed up the board design (maybe I just have an early revision), the compression is set too high, or some combination of the two.
Looks cool, but it is a kickstarter, and I’m so tired of kickstarters, they are so 2013. I mean, it is getting to be that you can’t just buy anything anymore, you have to make a pledge, wait 30 days or whatever, hope it gets funded and then wait another 6 months, by which time you totally forgot why you wanted one in the first place. Then maybe you get it and maybe it is really cool. But I want to just to buy one now. ARGH!
Please be kind and respectful to help make the comments section excellent. (Comment Policy)