Thanks Mike, very interesting material as always. You are my top TH-cam channel since I first discovered your vids! You seem to have the ultimate EE job from my perspective!
I always enjoy your videos very much, Mike. You don't waste time repeating yourself nor babble on-and-on about nothing. Also, you assume a fair bit of technical background from your audience which I find great. I'm already looking forward to your next video.
Loved you on the Amp Hour! I have no idea what you guys were talking about because I am not in the electronics business. Still loved it. I just like to listen to people talk technical.
I find your videos fascinating. Having a 4 channel scope does help in seeing the relevant signals, how I long for one of those. Dave Jones seems to be backing off from making videos, especially like this one, so these are all the more special. You do go through things at a hell of a rate of knotts and going into more detail of how you get there would be great. Keep going Mike.
Thank you for taking your time to make, and upload, this! It's a golden resource for all us tinkerers out there with less knowledge about camera modules etc, and to be able to interface a sensor without an FPGA is exciting imho. :)
I think defocusing is an effective 2D convolution with a circular image kernel, as point sources of light turn into blurred circles, and by extention other more complex images are also transformed the same way! A perfect solution would be to have a square lens so it ends up being like a square convolution or blur! refocusing even does the flip and rotate of convolution!
Wow thanks for being probably the only person on youtube to go to this depth about how image sensors work! Amazing information!! I've watched this about 12 times, initially knew nothing about electronics at all, done a heap of googling in between, but now understand everything of what your are talking about. At first I wondered how a "Piano" fits in with electronics, but now I do know what a "PLL" actually is! I feel confident enough to try and design/build my very first ever electronic circuit using one of the optical LVDS variants .. this'll be fun ..
As someone who is in the position you were in, were there any particular websites or Google searches that made finding everything easier for you? I want to figure this all out but I am struggling to know even where to start.
Wow, how do you know this stuff, I'm amazed. You should write a book, just on this project alone, best seller guaranteed, I for one would be buying it especially if you put for dummies in the title. That's my level of electronics I'm afraid, but having said that I still enjoy your video's, it shows what can be done.
Thanks Mike, I noticed that you kinda focused around maintaining frames rates and therefore DMA management and general memory consumption where clearly important. I question, did you ever experiment with very low pixel clock rates. The reason I ask is that I don't need full frame rate video, but rather still capture. ( In fact even the still capture does not need to be fast per frame, as the image content will also be almost entirely static as I'm looking for monitoring leaks in roof spaces). I was hoping to use of a bag full of old phone modules that I have lying around to capture surveillance remote monitoring images and slowly dump out from the location using NB-IoT. Its simply a reasonably cheap CMOS sensor with a usable interface that I need. Do you know is these devices continue to work if you push the limits of low speed operation?
It is very lovely to see the possibilities with limited RAM and a single core micro. You should be optimizing down to each CPU cycle (regardless of DMA and interrupts). After listening to you on the previous episode of TheAmpHour, bought a PICKIT 3 and installed the damn MPLAB X (I'm on Linux). I will be playing with few PICs I bought together with the PICKIT 3.
At the start, if you squint your eyes and lean out of your screen, you can see Mike pretty well, which i found to be neat. Funny how our eyes work sometimes. On a side note it's really nice that phone cameras are getting more and more used in projects like this one. I saved 12 mp one for later.
is there a way i can use this smartphone cams from old samsungs to reuse for some sort of arduino base mcu ? i have not come across any tutorials or breakdowns, and tho you was giving out a lot of useful information im left in the dark as i dont have your technical background to understand half of what you was saying, but i did hear something about 6mb per pixel? or raw data thru the serial ? and most mcu dont have that type of memory ? maybe you can expand on this for me please Mike? im not looking for High RES im simply looking to find edges and blobs using OpenCV for Processing and my trusty arduino UNO or NANO but my background thus far is in C# & C++ so i tend to stick to this mcu since they understand my lingo or what not but this is for a humanoid application and im simply trying to turn those small cmos cams into eyes for my androids face and i just dont want to get a webcam and tare it down just to implement into the size factor im looking for you know what i mean ? well Mike hope to hear from you !
Great! As it so happens, I was given some of these "Sunny" branded camera modules recently. Not that I know what to do with them, I can barely write a few lines of code. I can't find any info on them. On one side of the flex, it says "8806Z Sunny", on the back side "806Z Sunny" The model is 8806Z-200, apparently... ;( I'll see if I can find a breakout board you mentioned.
MT9M001 also can skip columns/rows internally, so you can down-sample image and at the same time, get higher FPS. If you need slow that down, you could simply increase shutter width, and that will slow it down as much as you need
ten years, wow. people have been able to document almost all the registers of the raspberry pi camera, dunno exactly how, maybe fuzzing, but they've found crop and timing registers that let them do really silly things, like getting x000fps at 128x64 crop. imo omnivision is paranoid about documentation *because* the asics are so similar. they get to do binning and market segmentation pretty much entirely in 'software', and especially with phone sensors the spec bumps are based on reduced duty cycles. found out about that because sony is actually explicit about it in their documentation
1:52 can you make a tutorial on that? I'd like to make a night vision goggle and that seems to be very lightweight. Can you make a video showing how to make that?
I was making a pixel led strip light-saber load pov images from sd card, but I was completely out of memory, had to do similar; read file for 32x3 bytes, spi out the pixels in rgb, continue reading file. If I buffered the whole file I would quicly be out of memory. Very clever stuff!
What was the connector @17:07? I've been looking at readily available smd board to board connectors with low insertion force (such as ffc) and not having much luck.
hello my question is how do the sync with the PCLK of the camera's pixel clock entering the timer, each time the clock enters the timer makes it lights and generate an interrupt? in a given time so you can capture the byte from the port dma?
i connected MT9M001 to STM32F429i in no time via DCMI and using SRAM as frame buffer, not only that, i am using SPI DMA for sending 200x200x8 image to computer my question, how can i load data to computer at 30fps/HD ?
Hi I wanna do something similar to this I wanna know how to go about doing it I wanna get a IR photochrome camera from a one plus 8 pro and make a basic video and picture camera
i own several small cellphone cams, can i buy some of this drivers i've seen on this video to use as a webcam? i need something this small for usb pc use, any advise ?
nRADRUS Even with GUI frameworks such as QT, most times it's completely impractical to write GUI applications in ANSI C. VB6 blows everything out of the water for rapid development, especially for test applications
mikeselectricstuff I am trying to build a small cheap video transmitter to mount on a quadcopter. All the cameras i can find are at least ten times more expensive than the ones you've got. fpvhobby.com/83-1-gram-nano-camera.html By the way great video as always
katelikesrectangles wouldn't the decoding create too much lag ? Keep in mind this is for piloting remotely. Plus i haven't got a clue on how to adapt my video transmitter to digital
Rodrigo A. H The decoding would be done on the receiver which can use bigger batteries to get more power. My last quadcopter build used a pair of STM32F427 MCUs with DCM Interface, one ran the camera and did JPEG encoding, the other did the decoding and LCD control.
Is it possible to extend rear 13 mega pixel camera module of a smartphone , by connecting it by a longer ribbon cable to the phone? So that it acts as a normal rear camera?
hey I'll have an idea that you can make you can make a suit out of screens and cameras so that the cameras in the back of the suit puts the image behind you in front of you and the cameras in front of you puts the image behind you so you make a invisible suit if you read this comment me back so me and you can get credit for it also we can be partners in making a invisibility suit i also have an idea of what kind of screens that will help you with the curve of the suit
I wanted to use my old phone's camera module with Arduino but i abonden it after not finding anything on youtube other than this video which bouces of my head.
It's kinda sad seeing the real tech Master talking great getting just 150k views and others with very shit content getting 5 M views......one just connected a camera to phone via a type C port
Ok its time to change my brain,lol for a second i forgot where i was and my cat name. it got filled up by the first minute of the video. Man your brain must work on over drive. They say we only use a fraction of our brain power, well mike imagine if you could use even 60% or 70% of yours. Lol you prob see eveything like the matrix. a Very very informative video as always mike. Lol is there anything you dont know ? Keep it up man.
Repeats himself too much, I gave up at 1min because in that time all I got was low res display camera blue & white LED's about 5 times. Why don't they write a script that they read/follow so they don't sound like a drongo.
David Williams Thanks, I started from 2 minutes, much better. I should have been more patient I guess. Very interesting. So what's the slowest rate you can clock the pixels out? for a robot I'm thinking may 1 frame per second or even every 2 seconds would be good for obstacle avoidance.
Mike, one of the best things about this video is squeezing it all into 26mins but still covering all the ground and making it legible. Great stuff!
Thanks! Very informative, as always.
Thanks Mike, very interesting material as always. You are my top TH-cam channel since I first discovered your vids! You seem to have the ultimate EE job from my perspective!
I always enjoy your videos very much, Mike. You don't waste time repeating yourself nor babble on-and-on about nothing. Also, you assume a fair bit of technical background from your audience which I find great. I'm already looking forward to your next video.
Loved you on the Amp Hour! I have no idea what you guys were talking about because I am not in the electronics business. Still loved it. I just like to listen to people talk technical.
I find your videos fascinating.
Having a 4 channel scope does help in seeing the relevant signals, how I long for one of those.
Dave Jones seems to be backing off from making videos, especially like this one, so these are all the more special.
You do go through things at a hell of a rate of knotts and going into more detail of how you get there would be great.
Keep going Mike.
Thank you for taking your time to make, and upload, this!
It's a golden resource for all us tinkerers out there with less knowledge about camera modules etc, and to be able to interface a sensor without an FPGA is exciting imho. :)
SincereFirst Camera Modules is great.
De-focus as analog antialiasing, I love that as a quick solution!
quantization baby!
I think defocusing is an effective 2D convolution with a circular image kernel, as point sources of light turn into blurred circles, and by extention other more complex images are also transformed the same way!
A perfect solution would be to have a square lens so it ends up being like a square convolution or blur! refocusing even does the flip and rotate of convolution!
Wow thanks for being probably the only person on youtube to go to this depth about how image sensors work! Amazing information!! I've watched this about 12 times, initially knew nothing about electronics at all, done a heap of googling in between, but now understand everything of what your are talking about.
At first I wondered how a "Piano" fits in with electronics, but now I do know what a "PLL" actually is! I feel confident enough to try and design/build my very first ever electronic circuit using one of the optical LVDS variants .. this'll be fun ..
As someone who is in the position you were in, were there any particular websites or Google searches that made finding everything easier for you? I want to figure this all out but I am struggling to know even where to start.
Amazing! I learned so much watching this. I REALLY appreciate you taking the time to make videos.
What a beautiful result Mike, you 're an artist! As always, thanks for educating the whole world !
Awesome Mike, Thanks for this late night video :) Good luck to You mate, my #1 Channel without a doubt.
Wow, how do you know this stuff, I'm amazed. You should write a book, just on this project alone, best seller guaranteed, I for one would be buying it especially if you put for dummies in the title. That's my level of electronics I'm afraid, but having said that I still enjoy your video's, it shows what can be done.
Thanks Mike, I noticed that you kinda focused around maintaining frames rates and therefore DMA management and general memory consumption where clearly important. I question, did you ever experiment with very low pixel clock rates. The reason I ask is that I don't need full frame rate video, but rather still capture. ( In fact even the still capture does not need to be fast per frame, as the image content will also be almost entirely static as I'm looking for monitoring leaks in roof spaces). I was hoping to use of a bag full of old phone modules that I have lying around to capture surveillance remote monitoring images and slowly dump out from the location using NB-IoT. Its simply a reasonably cheap CMOS sensor with a usable interface that I need. Do you know is these devices continue to work if you push the limits of low speed operation?
EXCELLENT job. very good teacher.
It is very lovely to see the possibilities with limited RAM and a single core micro. You should be optimizing down to each CPU cycle (regardless of DMA and interrupts). After listening to you on the previous episode of TheAmpHour, bought a PICKIT 3 and installed the damn MPLAB X (I'm on Linux). I will be playing with few PICs I bought together with the PICKIT 3.
SincereFirst Camera Modules is great
Once in a while, videos like these remind me how much of a noob i am.!!! Damn it!!
At the start, if you squint your eyes and lean out of your screen, you can see Mike pretty well, which i found to be neat. Funny how our eyes work sometimes.
On a side note it's really nice that phone cameras are getting more and more used in projects like this one.
I saved 12 mp one for later.
SincereFirst Camera Modules is great.
Great video. Perfect level of detail. Awesome visuals.
is there a way i can use this smartphone cams from old samsungs to reuse for some sort of arduino base mcu ? i have not come across any tutorials or breakdowns, and tho you was giving out a lot of useful information im left in the dark as i dont have your technical background to understand half of what you was saying, but i did hear something about 6mb per pixel? or raw data thru the serial ? and most mcu dont have that type of memory ? maybe you can expand on this for me please Mike? im not looking for High RES im simply looking to find edges and blobs using OpenCV for Processing and my trusty arduino UNO or NANO but my background thus far is in C# & C++ so i tend to stick to this mcu since they understand my lingo or what not but this is for a humanoid application and im simply trying to turn those small cmos cams into eyes for my androids face and i just dont want to get a webcam and tare it down just to implement into the size factor im looking for you know what i mean ? well Mike hope to hear from you !
Same here .....did u find anything...????
I'm also trying the same.
Is there a video where you go over how you made the circular LCD display? And also how you achieve the variable "per pixel" brightness?
Very nice video, never knew this small modulles just use a standard vga interface, kind of logical, but never looked into it
Great! As it so happens, I was given some of these "Sunny" branded camera modules recently. Not that I know what to do with them, I can barely write a few lines of code.
I can't find any info on them. On one side of the flex, it says "8806Z Sunny", on the back side "806Z Sunny" The model is 8806Z-200, apparently... ;( I'll see if I can find a breakout board you mentioned.
SincereFirst Camera Modules is great. 8806Z
very good work and well explained! I shall check out the rest of your videos.
MT9M001 also can skip columns/rows internally, so you can down-sample image and at the same time, get higher FPS. If you need slow that down, you could simply increase shutter width, and that will slow it down as much as you need
Did you code up that GUI with the sliders to change the settings on the pic yourself, or is that some sort of readily available tool?
ten years, wow. people have been able to document almost all the registers of the raspberry pi camera, dunno exactly how, maybe fuzzing, but they've found crop and timing registers that let them do really silly things, like getting x000fps at 128x64 crop. imo omnivision is paranoid about documentation *because* the asics are so similar. they get to do binning and market segmentation pretty much entirely in 'software', and especially with phone sensors the spec bumps are based on reduced duty cycles. found out about that because sony is actually explicit about it in their documentation
1:52 can you make a tutorial on that?
I'd like to make a night vision goggle and that seems to be very lightweight. Can you make a video showing how to make that?
I was making a pixel led strip light-saber load pov images from sd card, but I was completely out of memory, had to do similar; read file for 32x3 bytes, spi out the pixels in rgb, continue reading file. If I buffered the whole file I would quicly be out of memory. Very clever stuff!
Very cool! I love electronics, but I know zero about that small stuff!
Dude you rock! please keep teaching us.
Yesss yess exactly what I was looking for you've earned a well honest subscribe
What was the connector @17:07? I've been looking at readily available smd board to board connectors with low insertion force (such as ffc) and not having much luck.
sir can i get some information on how to interface a smartphone camera module unlike this one , mine has a different amount of pins !
How can i power and use a tiny screen like the one you are using from the ipod nano with a camera like you are doing
hello my question is how do the sync with the PCLK of the camera's pixel clock entering the timer, each time the clock enters the timer makes it lights and generate an interrupt? in a given time so you can capture the byte from the port dma?
SincereFirst branded camera modules is great.
i connected MT9M001 to STM32F429i in no time via DCMI and using SRAM as frame buffer, not only that, i am using SPI DMA for sending 200x200x8 image to computer
my question, how can i load data to computer at 30fps/HD ?
SincereFirst branded camera modules is great.
Wow I was thinking you could passively average the data from pixel zones, but simply defocusing the lens does exactly the same thing.
hey can you interface an old phone camera module to ESP 32
Great video! Thank you for putting it together. Do you have a source code for the firmware published someplace?
Hi I wanna do something similar to this I wanna know how to go about doing it I wanna get a IR photochrome camera from a one plus 8 pro and make a basic video and picture camera
i own several small cellphone cams, can i buy some of this drivers i've seen on this video to use as a webcam? i need something this small for usb pc use, any advise ?
It boggles my mind how you are at 95 and not 950K subs
Excellent video, Mike. Very informative. Thanks.
Hi
I want to ask something.
I have old mobile parts and I would like to connect mobile camera with display
Is that possible?
So its not like lego blocks? Very in depth.
can u tell me that how to get graphical display by using camera with Arduino connection interfaced with LCD display
I have a broken Galaxy S6 with a wonderful camera. I'd love to do something like this with it
Brilliant work! What language did you use to write the PC-side GUI? 6Mbit via serial is insane!
It looks like a Visual Studio based app, so likely VB, C# or C++.
stonent VB6. Sorry!
mikeselectricstuff VB6 is more useful than most of new versions
Miloš Lazović
when you program microcontroller with ANSI C it's useful to program PC-side with ANSI C too ? is it not ?
nRADRUS Even with GUI frameworks such as QT, most times it's completely impractical to write GUI applications in ANSI C. VB6 blows everything out of the water for rapid development, especially for test applications
Is our for use on the starship enterprise?
Very interesting crash course. Many thanks.
as you worked with OV7670?????
SincereFirst branded OV7670 camera modules is great.
Is it possible to overclock the micro controller?
Very detailed explanation. Thank you for sharing!
Mike wich is the easiest way to interface one of theese cameras to a composite video output?
Why bother - there are plenty of cheap composite cameras out there.
mikeselectricstuff I am trying to build a small cheap video transmitter to mount on a quadcopter. All the cameras i can find are at least ten times more expensive than the ones you've got.
fpvhobby.com/83-1-gram-nano-camera.html
By the way great video as always
Rodrigo A. H
Why not transmit digital video data?
katelikesrectangles wouldn't the decoding create too much lag ? Keep in mind this is for piloting remotely. Plus i haven't got a clue on how to adapt my video transmitter to digital
Rodrigo A. H The decoding would be done on the receiver which can use bigger batteries to get more power. My last quadcopter build used a pair of STM32F427 MCUs with DCM Interface, one ran the camera and did JPEG encoding, the other did the decoding and LCD control.
Hi Mike, thanks for sharing...great videos
That's an awesome mirror!
Bro can u make a video on how to make a camera which showed at the starting of video with mobile screen please bcoz i have all that u attached
Ye device kaha liya tumne
can you use an iphone 4 camera with it?
Same question. I have an iPhone 5s and I want to use that camera
can i make a spy camera from keypad mobile
Is it possible to extend rear 13 mega pixel camera module of a smartphone , by connecting it by a longer ribbon cable to the phone? So that it acts as a normal rear camera?
what is the small fpga chip on 1.50 ?
it is probably from lattice. check out his earlier videos
Help me please I want library pic16f887 for mikroc.
Are you still using Windows XP?
Well if you're using the readypos registry hack on XP, you can still get updates until 2019.
Yes, but why anyone wants to use a obsolute OS when there is many better options..
pappkopp A few electronics guys I know prefer XP as it'll play with parallel ports which is useful for playing with old hardware.
.... it was you that killed McGuyver!
hey if you're still active please respond.
hey I'll have an idea that you can make you can make a suit out of screens and cameras so that the cameras in the back of the suit puts the image behind you in front of you and the cameras in front of you puts the image behind you so you make a invisible suit if you read this comment me back so me and you can get credit for it also we can be partners in making a invisibility suit i also have an idea of what kind of screens that will help you with the curve of the suit
Sergio Navarro already exists
This Tech could be used to help the blind see!
Lol after seeing this....I might as well forget trying to switch out my spy pen camera with an android camera.
I wanted to use my old phone's camera module with Arduino but i abonden it after not finding anything on youtube other than this video which bouces of my head.
Thanks Mike
Great vid.
Nice! Thanks mike.
It's kinda sad seeing the real tech Master talking great getting just 150k views and others with very shit content getting 5 M views......one just connected a camera to phone via a type C port
SincereFirst branded camera modules is great.
who wants to buy a whole esp32 when you can get the camera module by itself for $3. :)
Maybe if you could talk more slowly, one would be able to understand what you'e saying... just a suggestion
Great movie
You sound like Shashi Taroor😂
The wife killer
Ok its time to change my brain,lol for a second i forgot where i was and my cat name. it got filled up by the first minute of the video. Man your brain must work on over drive. They say we only use a fraction of our brain power, well mike imagine if you could use even 60% or 70% of yours. Lol you prob see eveything like the matrix. a Very very informative video as always mike. Lol is there anything you dont know ? Keep it up man.
We use 100% of our brain nearly all the time... But yeah, I agree! xD
Justo Talkalottashit I have no idea...
This is not in English
yak yak bunny bunny jabber jabber
Really hard to understand for people who are not english... You speek too fast
Repeats himself too much, I gave up at 1min because in that time all I got was low res display camera blue & white LED's about 5 times. Why don't they write a script that they read/follow so they don't sound like a drongo.
etmax1 Minutes 2 - 26 were very dense and non-repetitive. Worth a watch.
David Williams
Thanks, I started from 2 minutes, much better. I should have been more patient I guess. Very interesting. So what's the slowest rate you can clock the pixels out? for a robot I'm thinking may 1 frame per second or even every 2 seconds would be good for obstacle avoidance.