Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Interfacing a camera with a microcontroller

Status
Not open for further replies.
An 8051 can run a stack but it has none of the RF interface necessary to do wifi. That
has to be added or do it all with ESP8266 or ESP32. An 8051 is a 40 year old architecture,
but some people cannot let go of it. Kind of like some people still looking for the pony express
to deliver mail.....:(


Clearly need a camera you can communicate with over SPI or I2C that can
be configed to take low resolution pictures and transmit to 8051 over a
moderate speed interface.

Or do the whole thing in FPGA (with that ever state of the art 8051 core), still need RF interface.

Good luck.

Regards, Dana.
 
An 8051 can run a stack but it has none of the RF interface necessary to do wifi. That
has to be added or do it all with ESP8266 or ESP32. An 8051 is a 40 year old architecture,
but some people cannot let go of it.

I think it's simpler than that? - it's Universities (usually in India or Pakistan) still using outdated antique equipment.
 
I think it's simpler than that? - it's Universities (usually in India or Pakistan) still using outdated antique equipment.
Only because the newer tech isn't available... All these electronic wannabe's have the same issue..

FWIW.. The 8052 expands to a very capable chip indeed... You can even get them running over 40Mhz nowadays..

I had a VGA camera linked to a phillips XA-G49 ( 16 bit version of the 8052 ) transmitting 160 x 160 serially.. res was too low and speed was Blugh!

Wasn't even good enough for time lapse... But I got a freeze frame.. I was stuck at 115200 and the coax was hindering my every move..
We just got a wireless camera and a small digital picture display.. only cost about £140... I know this is a project and yes it can be done...

You'll need the right camera.. Mine was a JPEG but it could send raw data ( which is what I did, but a jpeg decoder would have been great! )
 
(AVR or PIC) to collect the image bit by bit every x-seconds and, process the images to send over the internet via a Wi-Fi module
The little micros you say can not see a whole picture at one time. I think you can only process one line at a time. Probably don't have enough memory for one line. Send one line over the internet at at time, 1 second=60 lines. About one picture in 12 seconds. The 0v7670 is easy.

Now you need a "internet" interface which will have a much bigger computer than the 8051.
 
it's Universities (usually in India or Pakistan) still using outdated antique equipment.
Some current EE textbooks used at US schools still use the 741 op amp in examples and end-of-chapter questions.
 
He must use a through hole device
There are a number of large computers on boards like this. This one is a 600mhz ARM computer. Will it count as a through hole micro-computer?
1625247218405.png
 
If you can use ANY through hole microcontroller, look at a DSPIC33EP512GP502-I/SP - a small dual in line MCU with 48K internal RAM & 768K flash, running at 60 - 70 MHz instruction rate with a 16 bit instruction set and DSP capabilities.

That should work well with an SPI interfaced camera.

You can get MPLab/X development environment and a suitable C compiler free from the Microchip site.

You can also eg. add a little PCB module with a 28J60 Ethernet interface that connects via another SPI port and use the Microchip TCP/IP stack if you want networking.

And/or a small SPI colour screen to display the images you are capturing?
This type of thing works fine with them:
 
Here's the finished circuit design.
 

Attachments

  • IMG_20210904_133703.jpg
    12.9 MB · Views: 295
  • IMG_20220205_151152.jpg
    20.6 MB · Views: 275
Could you show the schematic?
 
Below is the schematic diagram as requested.
 

Attachments

  • PROGRAMMABLE TIMER CCT.PDF
    22.7 KB · Views: 300
  • PROGRAMMABLE TIMER REMOTE CCT.PDF
    14.9 KB · Views: 292
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top