ESP32 with Camera and TFT Display (OV7670, FIFO)

  Рет қаралды 375,899

bitluni

bitluni

Күн бұрын

Пікірлер: 188
@owlsight4499
@owlsight4499 7 жыл бұрын
D/C, or data/command - as far as I know, this line is usually used as a flag (i.e. as an indicator) by the master device, and gets toggled on or off depending whether if it's data (e.g. image/pixel values) or a command that is currently being sent.
@bitluni
@bitluni 7 жыл бұрын
thanks!
@owlsight4499
@owlsight4499 7 жыл бұрын
My pleasure! Thank YOU - for creating these informative, top quality & highly enjoyable videos! :)
@resetcoder
@resetcoder 5 жыл бұрын
(And in a parallel universe it is RS aka Register Select, so you can select the i.e. command or data registers You want to write or read)
@HenrySjen
@HenrySjen 7 жыл бұрын
Great to have you back Bitluni!
@AlanMedina314
@AlanMedina314 7 жыл бұрын
I ordered one on ebay, I had no idea about the FIFO memory was not common to all OV7670 models. Good thing you pointed that out. Well see when it arrives. - Good Video
@ytfp
@ytfp 7 жыл бұрын
Happy that you are back and feeling better! :) Such detailed work. Thank you so much for this channel and your humor.
@Hukkinen
@Hukkinen 3 жыл бұрын
4:04 So does the ESP32 have some (internal) pull-up resistors (that are too "high"/small for fast I2C operation).. So ESP32 has pins for these internal resistors? Or what?
@the-matrix-has-you
@the-matrix-has-you 5 жыл бұрын
I Hope you get well soon Bitluni take care
@praschr
@praschr 6 жыл бұрын
Hi. Can you send the real time video (images) to another esp32 that has the TFT display?
@razeric
@razeric 6 жыл бұрын
Can you help me? I don't have a TFT SPI screen. And image I'm receiving on Web page is low pixel and low fps.
@jordangray8912
@jordangray8912 6 жыл бұрын
opening clip was funny, sound effect + foot out the door + facial expression. nice. subscribed.
@СергейС-н2ю
@СергейС-н2ю 7 жыл бұрын
молодец мужик, полезные вещи делает
@shlemkin
@shlemkin 4 жыл бұрын
медленная херня вышла. по wifi такой фпс -- и то медленно было бы. есть у чувачка на ардуино камера с дисплеем 120*160 показывает 10 фпс, а тут блять полтора... криворукие пздц
@kingearwig
@kingearwig 7 жыл бұрын
Very cool. I would like to see this implemented as a video doorbell with MQTT and HomeAssistant and an Android app that allows 2 way audio communication.
@bitluni
@bitluni 7 жыл бұрын
me too :)
@peterv1602
@peterv1602 7 жыл бұрын
Glad to see another new video. Get well soon.
@Hasitier
@Hasitier 7 жыл бұрын
Schön wieder was von dir zu hören. Ich hatte mich schon gewundert was los ist mit dir. Gute Besserung.
@bitluni
@bitluni 7 жыл бұрын
danke
@divanshudodeja2822
@divanshudodeja2822 6 жыл бұрын
Sir, can you please tell me what could be the frame rate that is being displayed on the screen, as you have mentioned it a limitation of using a single wire data line using SPI protocol. Also, is there any alternative to using the camera, example a serial interface camera instead of a parallel interfaced one? Thanks for your reply in advance.
@arjunalwe7697
@arjunalwe7697 6 жыл бұрын
Can you do it wirelessly?
@balasemalisawi5196
@balasemalisawi5196 4 жыл бұрын
use esp32-cam
@LucreBem
@LucreBem 2 жыл бұрын
Can I use a laptop camera instead? It has a USB connection.
@akhilatalanjeri6503
@akhilatalanjeri6503 5 жыл бұрын
Is there anyway we can transmit images from ov7670 to a display device wirelessly??
@hermanhermitz9101
@hermanhermitz9101 7 жыл бұрын
Is it possible to save the output into an SD card attached to the Arduino board, or is this a stupid question?
@last-zura8899
@last-zura8899 Жыл бұрын
Can you make an additional video about ESP32 connecting with the OV2640 module?
@milhistorical2238
@milhistorical2238 5 жыл бұрын
İs it possible to receive video stream and play on the nextion display over wi-fi??
@Jarni1979
@Jarni1979 6 жыл бұрын
7:24 STR is strobe signal, you can use it for light a LED or a flash
@Colhoon
@Colhoon 6 жыл бұрын
What version of the app note do you have ? I noticed yours was a 28 page pdf, mine is 64 pages. a year ago I found the 1.0 version has more information on some registers that were removed from the datasheet (which also had some more added), I have the datasheet version 1.3 and 1.4 and app note version 1.0 and ended up getting the OV7670 (non FIFO) working on an arduino Due by reverse engineering some linux code. Let me know if these might help and you cannot find them elsewhere and which would help.
@Wuety06
@Wuety06 6 жыл бұрын
I can't get my ili9341 with xpt2046 touch chip to share the spi interface (daisy chained with separate cs lines) same esp used in video. Anyone have any advice?
@mikeandrew443
@mikeandrew443 4 жыл бұрын
Hi, I want to put a camera in the hidden part of a model railway layout and want it to stream to a 1.8 or slighty bigger TFT screen using an Arduino. Which is your videos would you sugest to provide a solution for me. At the moment I have a non fifo Az brand OV7670 and a Az brand 1.8 TFT. many thanks in anticipation.
@JaydevDavemsdian
@JaydevDavemsdian 6 жыл бұрын
That is a data/command pin. SPI has no formal standard and there are lots variations on it. Instead of separate CS pins for data and command, they use one CS pin and the D/C to toggle between them.
@deangreenhough3479
@deangreenhough3479 6 жыл бұрын
Cool project. You have another subscriber, looking forward to working through your playlists
@czarhansjericho
@czarhansjericho 4 жыл бұрын
Does the OV7670 Cam module have IR Filter? If there is, I will try to remove it because I'm going to make a night vision cam. 😅
@shubhamshukla167
@shubhamshukla167 6 жыл бұрын
sir i was trying to make it & i found out my esp 32 doesn't have pin 21 on it so i used pin 33 instead of 21 and in the end my tft only refreshing and it only display plain background with different colors it seems like i t is just providing a plain background with some random color and refesh it and display get filled with another random color again please help me out why it is happening? is this the i2c or the camera?
@kamalkumar-ww5kn
@kamalkumar-ww5kn 7 жыл бұрын
sir in my country ov7670 with fifo is not available so let us know how to use the without fifo version to stream images.
@bitluni
@bitluni 7 жыл бұрын
ok
@G6EJD
@G6EJD 7 жыл бұрын
D/C - Data or Command selector
@mishie_ark
@mishie_ark 5 жыл бұрын
Hello, I have a question. If I have ESP32 lite, OV7670(FIFO) but no TFT display, Can I still use your code? Thank you.
@uchaila9935
@uchaila9935 3 жыл бұрын
how do you record audio and save it for mp4 file ? Thank you so much
@waggledanceterrafirma1706
@waggledanceterrafirma1706 7 жыл бұрын
the I2S port on the esp32 is also a camera interface, no fifo needed
@Archimedes75009
@Archimedes75009 7 жыл бұрын
What would it take to get 30 fps ? I read the camera can handle that frequency.
@ccamacho
@ccamacho 6 жыл бұрын
Do you know if its possible to increase the frame rate and reduce the latency when showing the image?
@RaadYacu
@RaadYacu 7 жыл бұрын
awesome project
@MaxintRD
@MaxintRD 7 жыл бұрын
Nice to see you back in one piece! Keep up the good work and good luck releasing all those video's. I'm looking forward to see the rest of the series! (Unfortunately I only have the cheap OV7670 without the memory). BTW. D/C stands for Data/Command. That pin is used to specify that your giving a command such as set x-position or writing actual pixel data to show on the display. PS: on your website the menu states "SIMPLE MQTT BORKER SETUP" (is BORKER a typo or a joke? ;-)
@bitluni
@bitluni 7 жыл бұрын
lol... typo
@summerfun6114
@summerfun6114 2 жыл бұрын
Hi, nice job. is it OK to use ESP32CAM + TFT? Thx.
@kavindugilshan
@kavindugilshan 7 жыл бұрын
Get well soon !! Is ESP32 powerful enough for image processing ??
@bitluni
@bitluni 7 жыл бұрын
sure, the second core is idle...
@chuchumb3r918
@chuchumb3r918 2 жыл бұрын
Hi is it possible to make the display wireless with another arduino esp32 ? If so how ?
@nunu4692
@nunu4692 5 жыл бұрын
Your entrance is so sick 😂😂😂😂😂😂😂
@osvalojimenez4937
@osvalojimenez4937 7 жыл бұрын
thanks for your video but the programming with the IDE of arduino is only to do it with that same or where can I find for the NODE MCU ??
@bitluni
@bitluni 7 жыл бұрын
node mcu is esp8266 based and has too few pins.. try the vc0706 camera instead
@kokoscom
@kokoscom 7 жыл бұрын
Very interesting!! can you add a camera with a better resolutions (i.e. instead of RGB) to connect a 5mp or 8 mp camera and lower the frame rate (i.e. take photo every 1 minute) + transfer it via wifi etc
@bitluni
@bitluni 7 жыл бұрын
Any suggestion which camera I could take?
@doctorweile
@doctorweile 6 жыл бұрын
The OV5640, please. I'll donate one to you, if you're interested
@bluesyra
@bluesyra 6 жыл бұрын
Hy, super Sache. Nachgebaut und funzt :) Ich bin noch nicht so firm und würde die ov7670 gerne im Night Mode bei 1/2 der normalen Fragerate betreiben...Wo kann ich das ändern?
@latiplatip4648
@latiplatip4648 Ай бұрын
Apakah bisa menambahkan crosshair pada lcd? Untuk mengubahnya menjadi riflescope.
@massacrestarts1673
@massacrestarts1673 Жыл бұрын
What happens if you dont solder the jumper on the tft display?
@bobyZhao
@bobyZhao 6 жыл бұрын
good job! it can shot a picture?
@derekflynn6431
@derekflynn6431 9 ай бұрын
The webpage implementation works for me but the ST7735 TFT display is coming out all garbled. Looks like it is just showing a bunch of lines in different colors. I tested w/ another sketch to check display was working and it does. Anyone else run into something like this?
@suryaraju2827
@suryaraju2827 5 жыл бұрын
The second link "OV7670(newer version)" is showing a 404 error do mind sharing a copy of the data sheet
@ЭдуардСухарев-ш9ч
@ЭдуардСухарев-ш9ч 7 жыл бұрын
is it possible to stream camera output as with IP camera?
@bitluni
@bitluni 7 жыл бұрын
Working on a solution, but don't expect too much within few days :-)
@chinmoyghosh7952
@chinmoyghosh7952 7 жыл бұрын
Get well soon..
@denzelbrown1177
@denzelbrown1177 6 жыл бұрын
Hi. Please can I connect my esp8266 to ov7670 for streaming pictures/ videos. Thanks in advance. By the way, great job!!
@jasonarg1997
@jasonarg1997 6 жыл бұрын
@bitluni'slab could something like this accept an analog image in and transmit over wifi
@delusiongaming2506
@delusiongaming2506 7 жыл бұрын
Can you explain me what is the use of esp32 please?
@ferijalll
@ferijalll 4 жыл бұрын
if i use without fifo, the code are still same? thankyou
@azimalif266
@azimalif266 4 жыл бұрын
Can you do it with a raspberry pi zero? Will it have fasterframe rate.
@tinker7722
@tinker7722 7 жыл бұрын
is it possible to use your code with Arduino Zero and to send image data over LoRaWAN?
@bitluni
@bitluni 7 жыл бұрын
I don't have any experience with that, but the base code should be independent of the microcontroller..
@viniciusmay6580
@viniciusmay6580 7 жыл бұрын
Hi, thanks for your patience to teach us. I need to connect 3 serial ports on my esp32. Hw Serial 0 -> fw update and logs Hw Serial 2 -> gps Sw Serial -> gsm I already know that Serial 1 is connected to flash memory. So I need to emulate a serial port through GPIO's. I tried using an Arduino "Serial Software" library, but unfortunately on a compilation error. Reading in some forums and making some changes in the library, I was able to compile the "Sketch"; but the communication of my GSM modem via SoftwareSerial did not work. Note: By connecting the GSM modem separately to a USB / SERIAL converter the communication worked as expected. That is, the problem really is in SoftwareSerial emulation. Could you help?
@Olfox2
@Olfox2 7 жыл бұрын
Nice video !!! nice project. Do you think this screen is sun readable ?
@bitluni
@bitluni 7 жыл бұрын
I'd rather not expect that
@jontech_Lab
@jontech_Lab 4 жыл бұрын
Awesome bitluni,i like your hardworking.but you did not provide the codes on that 4array Rgb Matrix you've ever made,i wrote to you but you didn't respond.
@neko8391
@neko8391 3 жыл бұрын
Wow, this is much better than what is on russian KZbin
@km5405
@km5405 6 жыл бұрын
that's awesome! ... shows well how powerfull the ESP32 is ;)
@Gabonidaz
@Gabonidaz 6 жыл бұрын
without fifo it can be done?
@robertamberwich1368
@robertamberwich1368 5 жыл бұрын
Cool project but very low FPS. Is there any chance to built based on Arduino something with a live video with about 50fps ... or more ?
@Talaxianer
@Talaxianer 5 жыл бұрын
Yes, with a redolution of 4x8
@robertamberwich1368
@robertamberwich1368 5 жыл бұрын
@@Talaxianer Redolution .. maybe :P Cool 50FPS text mode. Change your attitude mate and stop ironising. It wasn't even funny and my question was actually a serious one ;)
@Talaxianer
@Talaxianer 5 жыл бұрын
Cheers!
@ironman5034
@ironman5034 2 жыл бұрын
Don't know if this is valid but there is an esp32 cam board from aithinker
@codebeat4192
@codebeat4192 7 жыл бұрын
Is the lag a result of the camera or the processor (esp) or the wifi chip?
@bitluni
@bitluni 7 жыл бұрын
sum of unoptimized code and the SPI TFT. the SPI is the biggest bottle neck I think
@c0r0y
@c0r0y 7 жыл бұрын
Would be cool if you build an ESPcam for surveillance which sends a picture to e.g. IFTTT when a door opens or motion is detected.
@slavonix
@slavonix 7 жыл бұрын
Hi! Is it posible with WEMOS D1mini ? (need to use all FIFO pins?)
@bitluni
@bitluni 7 жыл бұрын
wemos d1 mini will not work.. we need those pins. but vc0706 could work.. mine is unfortunately broken
@slavonix
@slavonix 7 жыл бұрын
OK, thank you for replying, I already ordered ESP32 :-) Is it possible to create on the ESP32 webserver with stream OV7670 video?
@dekipet
@dekipet 4 жыл бұрын
Any way to store it on sd card?
@samozturk8276
@samozturk8276 6 жыл бұрын
My ovp7670 is without FIFO. Are there any solution you can suggest?
@bitluni
@bitluni 6 жыл бұрын
Try this: kzbin.info/www/bejne/iWPchYR-gp1loMU
@abdullahumar5627
@abdullahumar5627 7 жыл бұрын
Is there any way I could face the camera and the screen to the same side? Like: ---------Camera facing this way ------> ---------TFT module facing this way----> Also, is there a PCB for sale that hooks these two components together?
@bitluni
@bitluni 7 жыл бұрын
I don't know of an available pcb, but it should not be a problem to face it in the same direction
@jeffhan1239
@jeffhan1239 6 жыл бұрын
Hi! Great video as usual! Can you do a speed or frame rate comparison between the versions with FIFO and With no FIFO ?
@dashamjot6240
@dashamjot6240 4 жыл бұрын
Hiii sir can u make a video of spi tft with ov7670 and arduino!!!Actually I need the system for some project
@JackZimmermann
@JackZimmermann 7 жыл бұрын
Doesn't ESP32 have hardware I2C?
@bitluni
@bitluni 7 жыл бұрын
as far as I remember did the wire implementation of the esp32 return a bus error... no clue why. scoped the output... it was complete silence
@murraymacdonald4959
@murraymacdonald4959 6 жыл бұрын
Yes it does.
@JS7457
@JS7457 7 жыл бұрын
What camera are you using for filming ?
@bitluni
@bitluni 7 жыл бұрын
GH5 with leica lens amzn.to/2C7liYw
@FrankWolfe
@FrankWolfe 7 жыл бұрын
Maybe you already considered this, but can you use the ESP32 to create an ONVIF stream? This would create a foundation to begin building a cheap DIY WIFI security camera.
@bitluni
@bitluni 7 жыл бұрын
actually, I didn't yet.. have to read in.. do you have experience with it?
@bitluni
@bitluni 7 жыл бұрын
just took a look. onvif will be too complicated. it does only support compressed stream formats like h.264 mpeg jpeg.. but I saw other modules supporting compression. I'd rather use some simple uncompressed stream/image format for now if you don't know of any finished implementations of the standard
@JuanVelez517
@JuanVelez517 Ай бұрын
Tienes todo mi respeto Stark
@bayuaria2102
@bayuaria2102 6 жыл бұрын
what camera you use to record?
@bitluni
@bitluni 6 жыл бұрын
GH5 amzn.to/2KOrvfo
@andre_sich
@andre_sich 7 жыл бұрын
Bitluni, you have any information about connecting the OV7670(w/o FIFO) on a Raspberry Pi Zero? I think with the faster processor of the Pi(compared to Arduino) the amount of frames per second will increase, and there is also much more possibility of customization and integration with OS, like being able to create applications using GPIO directly, without having a transmission interface in the middle. Great video!
@bitluni
@bitluni 7 жыл бұрын
I don't own are respi0 yet. but check out the last part of the series which doesn't use FIFO
@vaioskaliakoudas6388
@vaioskaliakoudas6388 7 жыл бұрын
If I remove the oscilator of the camera module, what will exactly happen?
@bitluni
@bitluni 7 жыл бұрын
you will get no image since it's needed to clock the pixels. you would have to provide the clock yourself
@Giblet535
@Giblet535 7 жыл бұрын
Glad you're walking again! Nice first test. Ya know, that ESP32 has TWO cores, right? FreeRTOS is on there... Your code uses just the one core. It has enough RAM to double-buffer, too. And you can run an ESP32 faster than the default. For 120 FPS, you'll have to make a PCB, but 29 FPS should be fairly easy.
@bitluni
@bitluni 7 жыл бұрын
I don't know what's happening to the ram when using the arduino core, but it stops working when I make the buffer the size to store QVGA. Probably some configuration needed. To get higher frame rates I need to configure the I2S. Did you try anithing with the cam already?
@Giblet535
@Giblet535 7 жыл бұрын
No work with the cam yet. I've done other related video work though, and using that other core will make a noticeable difference. Maybe, try implementing a pipeline from the camera to the display: begin scanning the cam into a ring buffer on cpu0, then start flushing the ring buffer to the display on cpu1. It should be possible to calculate the maximum possible frame rate and ring buffer's optimal size from the cam's maximum-read-speed, and lcd's maximum-write-speed.
@hamedsalehian4111
@hamedsalehian4111 7 жыл бұрын
would you please do a video for a fifo less model ? pleaseeeeeeeeee
@ronaldronald8819
@ronaldronald8819 6 жыл бұрын
Thanks! Gone try to build it.
@pirateman1966
@pirateman1966 7 жыл бұрын
PiZeroW and a RaspiCam would cost $10 more to build a kick-ass camera. ESP32 + OV7670 is so 90's.
@lazyh-online4839
@lazyh-online4839 5 жыл бұрын
Kick-Ass is relative
@rajeshkumbhakar271
@rajeshkumbhakar271 4 жыл бұрын
epic intro!
@tablatronix
@tablatronix 7 жыл бұрын
Best intro ever
@truth-ud2ck
@truth-ud2ck 7 жыл бұрын
you are very creative.
@refo6806
@refo6806 6 жыл бұрын
Dude can i ask something ?
@yusuf120581LED
@yusuf120581LED 7 жыл бұрын
amazing...
@shubhamshukla167
@shubhamshukla167 7 жыл бұрын
sir i wanna stream video over nodemcu from ov 7670 fifo, please enlighten me how i can do that?
@adhdaka4057
@adhdaka4057 6 жыл бұрын
Me too!
@delusiongaming2506
@delusiongaming2506 7 жыл бұрын
Why is the screen of the camera is bad?
@bitluni
@bitluni 7 жыл бұрын
its slow because it's only one data line and shows artifacts on bright colors
@delusiongaming2506
@delusiongaming2506 7 жыл бұрын
bitluni's lab what i need to to do to make it good?
@JerryEricsson
@JerryEricsson 7 жыл бұрын
Thanks for the great video. I have a few ESP32's but I nave never figured out how to program them using the Arduino IDE or even the ESP8266 programmers. I have done a lot of playing around with various ESP8266's from the first one out to the last great device, and made several projects that I still play with nearly every day, but for some reason I can't figure out how to inter-phase with the 32. Probably just a mental block, I am getting older and my brain cells seem to be slowing down a bit when it comes to learning new things.
@bitluni
@bitluni 7 жыл бұрын
I know what you mean... I took on it and must admit I fell in love with the esp32. it's a pity there is no convenient way to set up the environment
@thepvporg
@thepvporg 7 жыл бұрын
Nice project.
@MrShivamgautam1
@MrShivamgautam1 7 жыл бұрын
It's cool! But it would be cooler, if you can make it publish the photo to web or email maybe.
@bitluni
@bitluni 7 жыл бұрын
that's the target for this week... I'll add some code, so you can access the frame remotely
@dardanshatri
@dardanshatri 6 жыл бұрын
Great video 😎, can you make a "door peephole wifi camera" with esp32 a camera and how to transmit video over wifi or connect the video to openhab or mqtt
@KDM-Reloaded
@KDM-Reloaded 7 жыл бұрын
It would be good to see without FIFO version ! Thank you for your educational videos
@bitluni
@bitluni 7 жыл бұрын
it's coming!
@tharanithotta6015
@tharanithotta6015 6 жыл бұрын
Hi... This video is nice.. Can you make it wireless...
@VegasStreets
@VegasStreets 7 жыл бұрын
TFT link is broken on webpage
@bitluni
@bitluni 7 жыл бұрын
thanks.. seem to have discontinued. I replaced the link to similar module form another supplier
@SinanAkkoyun
@SinanAkkoyun 6 жыл бұрын
Sehr schön!
@FlexxVision
@FlexxVision 6 жыл бұрын
nice work
I made a VGA card that blew my mind
15:44
bitluni
Рет қаралды 436 М.
БАБУШКА ШАРИТ #shorts
0:16
Паша Осадчий
Рет қаралды 4,1 МЛН
번쩍번쩍 거리는 입
0:32
승비니 Seungbini
Рет қаралды 182 МЛН
Jaidarman TOP / Жоғары лига-2023 / Жекпе-жек 1-ТУР / 1-топ
1:30:54
High speed DC motor overvoltage!
6:14
Cskirt
Рет қаралды 4,1 М.
Details on OV7670 with FIFO Programming
19:34
bitluni
Рет қаралды 28 М.
The Best 20 ESP32 Projects of 2024!
14:44
ToP Projects Compilation
Рет қаралды 59 М.
DIY sonar scanner (practical experiments)
14:30
bitluni
Рет қаралды 1 МЛН
DIY Laser Image Projector (100ft+ Range!)
20:08
Ben Makes Everything
Рет қаралды 508 М.
I made a fake CRT TV with a LASER
16:05
bitluni
Рет қаралды 661 М.
Satellite Hacking Cyberdeck v2.0
17:47
saveitforparts
Рет қаралды 250 М.
Getting started with ESP32 development using the TTGO T-DISPLAY
16:08
Retro Tech & Electronics
Рет қаралды 117 М.
GC9A01 Round LCD with ESP32 & Arduino
45:46
DroneBot Workshop
Рет қаралды 315 М.
БАБУШКА ШАРИТ #shorts
0:16
Паша Осадчий
Рет қаралды 4,1 МЛН