ESP32-Cam Time Lapse

Sdílet
Vložit
  • čas přidán 20. 08. 2024
  • A $6 ESP32 camera is used to record time-lapse footage. It's controlled over a web interface and stores images to an micro SD card. ffmpeg is used to convert the Jpeg images to an mp4 video. While macro photography doesn't work great due to the fixed focus, landscape photography looks good.
    Project page with code and information:
    bitluni.net/es...
    Links to the parts (affiliate links):
    ESP32 Cam ($5-8):
    aliexpress.bit...
    ESP32-Cam Programmer:
    link.bitluni.n...
    My main camera and lens I used for the good ones (4k 60fps):
    amazon.bitluni...
    plz share :-)
    Check out my Tindie store to get some of my creations:
    www.tindie.com...
    Consider supporting my lab for some extras and frequent updates:
    github.com/spo...
    / bitluni
    paypal.me/bitluni
    Twitter: @bitluni
    reddit: u/bitluni
    #electronics #diy #maker

Komentáře • 268

  • @kyrrekar
    @kyrrekar Před 4 lety +181

    "I like to do timelapses from time to time" that's a good one

  • @IndraKurniawan-vk2qb
    @IndraKurniawan-vk2qb Před 4 lety +111

    when the Camera is cheaper than the microSD card xD

  • @Hackvlog
    @Hackvlog Před 4 lety +66

    Time lapse cameras won't get much cheaper than that. Great for risky applications, where camera might get damaged, stolen or lost.
    Awesome!

    • @jasonlisonbee
      @jasonlisonbee Před 4 lety

      Best acceptable excuse for why all supposed photos of beings and objects which existence of is questionable are so poor quality they're useless for evidence except to show something to be mistaken was there. Also masks otherwise obvious clues of being fake. Can't wait until FHD at least is that inexpensive.

    • @MaxC_1
      @MaxC_1 Před 2 lety +6

      @@jasonlisonbee you do realise that the camera that is used for ESP32 CAM is the OV2640 which supports a video resolution of 1600x1200 which is higher than HD and less than 10% lower than Full HD

    • @orange_tweleve
      @orange_tweleve Před 4 měsíci

      ​@@jasonlisonbeeyou can swap the base ov2640 to a ov5640 , it has way better image quality and higher resolution but the esp32 processing capability caps it. Plus it gets REALLY hot

  • @axelkagstrom4418
    @axelkagstrom4418 Před 4 lety +53

    Haha, I like the password!
    2:50

  • @NotSoCrazyNinja
    @NotSoCrazyNinja Před 4 lety

    Timelapses are great for showing how everything is in a constant state of change. Nothing stands still. Every second, the entirety of the universe/multiverse changes so dramatically that our feeble little brains can't even comprehend it.

  • @joelpearson8623
    @joelpearson8623 Před 3 lety +4

    Seems funny that I’ve been working on building a greenhouse for the past few days and I decided to take a break and play around with the esp32-cam I purchased a while ago. You’ve given me some good ideas! Thanks

  • @undefinednotfound
    @undefinednotfound Před 4 lety +7

    Short answer: yes it can be used. Any camera can be used for time-lapse

  • @damianomotta1809
    @damianomotta1809 Před měsícem

    thats a incredible project super well done, ill build one by myself in a minute

  • @Peter_S_
    @Peter_S_ Před 4 lety +15

    Great video!
    I would like to try taking 3 time lapse movies simultaneously with different exposure settings so that post processing could be used to grab the best data from each exposure and nice smooth fades can be made between exposure levels in the final file. Another approach might be to establish hard-coded exposures based on sun position rather than light readings.

  • @richardgreen9531
    @richardgreen9531 Před 3 lety +1

    Thank you bitluni for the two USB-serial boards. They are excellent!

  • @o0julek0o
    @o0julek0o Před 4 lety +3

    I am sure I'm not the only one in saying that we'd love to see your gardening projects too. Especially if you make anything electronics related.

  • @jayfraxtea
    @jayfraxtea Před 4 lety +2

    Awesome! I need that for all my greenhouse plants. Detecting pest and rot would be a great next step.

    • @kissingfrogs
      @kissingfrogs Před 4 lety +1

      And with a bit of AI thrown in detect and destroy pests.

  • @doOf3r
    @doOf3r Před 4 lety +5

    Some of those 'Board cameras' you can easily change the lenses by simply unscrewing them and replacing with another (Better!) Lens, even Wide-Angle/Fish-eye and mini-Zoom, easy to refocus too by screwing in/out.

    • @leef_me8112
      @leef_me8112 Před 4 lety

      Ditto.

    • @Svinogalya
      @Svinogalya Před 4 lety

      @@leef_me8112 Dildo.

    • @bardenegri21
      @bardenegri21 Před 4 lety +1

      You can do that to these, they aren't glued in. There's a video of a guy putting a mechanical IR filter as se over it after removing the lens. Lets you fit bigger lenses like for cctv cameras.

  • @PhG1961
    @PhG1961 Před 4 lety +1

    A very nice and cool project. Although cheap, quick and dirty a rather remarkable result. Thnxs for sharing.

  • @rickseiden1
    @rickseiden1 Před 4 lety +3

    Those are some pretty awesome time lapses. I'm surprised this hasn't shown up on Hackaday yet.

  • @Yury485
    @Yury485 Před 3 lety +3

    Very good! Thanks.
    I'm not a programmer, but I added a blinking red LED when connecting to a Wi-Fi and writing to a SD card.
    It would be nice to add a file with shooting parameters, date and time to the folder with images.

  • @asmolbean9300
    @asmolbean9300 Před 4 lety

    Came here for a project... Didn't expect to find a great new channel. Thx for the video

  • @thushararathnayake
    @thushararathnayake Před 4 lety +1

    Hi Luni your projects are just awesome

  • @mvl3713
    @mvl3713 Před 4 lety

    This is my new favorite channel. Cheers

  • @dekipet
    @dekipet Před 4 lety +39

    What a password!!! Great!

  • @Sysshad
    @Sysshad Před rokem

    Very nice timelapses, so beautiful

  • @middelbh
    @middelbh Před 4 lety +23

    Hi! I made a comparable system with the same camera, but added a small 0.96” oled screen and a button to allow changing the timelapse intervals. Do you think it is possible to also use the display to change the camera settings? I can give you my code if you want...

    • @cantinasongband
      @cantinasongband Před 4 lety +3

      with a screen that small and only one button, why not just use the esp as a wifi station and use the web interface?

  • @haraldh.9354
    @haraldh.9354 Před 4 lety

    GRatulation zu den 100k !!!!

  • @clonkex
    @clonkex Před 2 lety

    Wow you live in a beautiful area!

  • @besenyeim
    @besenyeim Před 4 lety +34

    Glue a lens salvaged from a CD/DVD player for macro.

    • @listerdave1240
      @listerdave1240 Před 4 lety +5

      Also, the lens can actually be focused manually. It has a screw thread but it is kept in place with a small blob of glue. It can be forced a little to break the glue bond and can then be focused even for a distance of just a few mm. If the lens is too loose after breaking the glue you may need to put a new blob of glue, preferably a weak glue that can easily be broken if you want to refocus.

    • @Dnxl03
      @Dnxl03 Před 4 lety +1

      I thought it was a laser

    • @sriyantra1939
      @sriyantra1939 Před 4 lety

      Pl explain thru video.

    • @jasonlisonbee
      @jasonlisonbee Před 4 lety

      @@sriyantra1939 The lens focuses the laser. Possibly more accurately, the pickup's view of a reflection of the laser. Seperate sub component.

    • @nkronert
      @nkronert Před 3 lety

      To make the camera more near-sighted, you can also by a EUR 2 pair of reading glasses and fix one glass in front of the camera.

  • @Digithalis
    @Digithalis Před 4 lety +1

    just awesome stuff for artist, great project as usual man, thumbs up!!! :-)

  • @hellwhichnickisfree
    @hellwhichnickisfree Před 4 lety

    Looks better than the 35 Euro Raspberry Pi camera. I'm in!

  • @youliantroyanov2941
    @youliantroyanov2941 Před 4 lety

    Bitluni ftw... You live in a beautiful place. Nice tomatoes.

  • @ashiksaleem360
    @ashiksaleem360 Před 4 lety

    Wow that are some nice shots

  • @MadLabZ
    @MadLabZ Před 4 lety

    looks great for a $6 addon, great work.

  • @Moondoggy1941
    @Moondoggy1941 Před 4 lety +1

    Thanks, I was thinking about doing this, we have flower fields in the spring that causes massive traffic jams, so I wanted to place a camera at an ideal spot and receive it a month later. I guess I would need a good battery.

  • @aimless3827
    @aimless3827 Před 4 lety

    This camera better than any 1000$ ++ banks security camera.

  • @pileofstuff
    @pileofstuff Před 4 lety +2

    Ok, you convinced me.
    I'm ordering one today!

    • @adlerweb
      @adlerweb Před 4 lety +3

      Huh? You can order items without taking 10 or more? ;)

    • @pileofstuff
      @pileofstuff Před 4 lety

      @@adlerweb My first order is one. Who knows how many will be in my second order...

  • @LC-ue6mp
    @LC-ue6mp Před 4 lety

    Thank you for your time and effort in teaching us about this. Awesome!!

  • @teabagNBG
    @teabagNBG Před 4 lety

    last time i checked wemos mini was kind of the best... but i never knew esp only had a cam version... this is nice

  • @Scootertuner420
    @Scootertuner420 Před 4 lety

    Cool. I like that this cam actually gets more developed with. Atm the ammount of sketches for noobs like me is very limited.

  • @sorer1
    @sorer1 Před 3 lety

    I needed to take photo once per day on specific hour. I modify your modification :) Also added ftp server, so now iam able to download captured images without removing sdcard. Now is exactly what i need. Thanks.

    • @Friendroid
      @Friendroid Před 3 lety

      DS3231 rtc with SQW pin connected to p-mosfet to connect the power supply to esp32-cam power input will make your batteries last a year.

  • @stefanhauschel4705
    @stefanhauschel4705 Před 2 měsíci

    genial Chef !!!!

  • @markopalikko6986
    @markopalikko6986 Před 4 lety +1

    Very nice video, thank you!

  • @wjhoogervorst
    @wjhoogervorst Před 4 lety

    Great video and instruction

  • @JeremyCook
    @JeremyCook Před 4 lety

    Congrats on 100k Subs! Looks pretty good at 1/2 meter IMO.

  • @KakYull
    @KakYull Před 4 lety +1

    Congrats for 💯 k Subs :)

  • @gotj
    @gotj Před 4 lety

    The esp32 is the dogs bollocks !

  • @henryjames4065
    @henryjames4065 Před 4 lety +3

    Great work ! But is there a way of getting this to work in server mode so that I can set it up without a router close by? I guess yes but the real question is how, maybe you could tweak the code a little ??? I'm kinda new to this and my attempts at tweaking have all failed.
    BTW: Mac Users you can easily use QuickTime 10.5 to join pictures to a video, works great.

  • @user-jt5vm3mi1w
    @user-jt5vm3mi1w Před 4 lety

    Very good

  • @xanamata5386
    @xanamata5386 Před 4 lety

    nice time lapses

  • @LemmyCaution66
    @LemmyCaution66 Před 4 lety

    Excellent video. Just bumped into your video/channel and was pleasantly surprised.
    I will subscribe after writing my comment and will watch some more.
    Have a nice Sunday afternoon. Greetings from Belgium 🇧🇪

  • @ThalysonGomes
    @ThalysonGomes Před 3 lety

    Very nice project. I'll do this :D thanks

  • @anycatdessai
    @anycatdessai Před 4 lety +9

    How did you power these?

  • @morganallen2272
    @morganallen2272 Před 4 lety +2

    I wonder if these boards changed recently. I tried building a reset circuit like yours early last year and encountered the LED connected to (IIRC) IO0, causing reset to be flaky at best and I just gave up on this model. Might be time to revisit.

  • @markusgaul8467
    @markusgaul8467 Před 4 lety

    perfect for 3d printing videos :D

  • @Fraseco
    @Fraseco Před 4 lety +4

    I've also had the ESP32Cam here for a while. Which SD card would you recommend? I've already destroyed some

  • @NeoAnthony
    @NeoAnthony Před 2 lety

    Best Password ever. XD

  • @kimfraga7957
    @kimfraga7957 Před 4 lety

    You save my day, tahnks

  • @jimd1617
    @jimd1617 Před 4 lety

    very cool. keep the vids coming :)

  • @mandarin1257
    @mandarin1257 Před 4 lety

    101k subs. Nice!

  • @RichardT2112
    @RichardT2112 Před 4 lety

    Time to go buy a few cameras! Cheers!!

  • @tinkmarshino
    @tinkmarshino Před 4 lety +1

    hummmm interesting channel you have here.. looks like I am gonna have to stick around a bit and learn some new tricks (which is kinda hard at 68.. But I never stop trying)

    • @clonkex
      @clonkex Před 2 lety +1

      are you 70 yet

    • @tinkmarshino
      @tinkmarshino Před 2 lety +1

      @@clonkex yup.. and learning new tricks is harder then it used to be... Sheesh! who knew...

  • @nortronics
    @nortronics Před 4 lety

    Nice informative video.
    Thanks

  • @Clem.E
    @Clem.E Před 4 lety +10

    What power source did you used for the timelapses?

  • @gaeldesmontagnesnoires1711

    Holly FAK your editing skills are next level... gat dayuum :/

  • @gridarmorfix
    @gridarmorfix Před 4 lety +1

    how about a little help file explaining what all the abbreviation stand for and their meaning in the ov2640 settings?

  • @mamoundim4993
    @mamoundim4993 Před 4 lety

    Wow so nice

  • @mcmurdostation7134
    @mcmurdostation7134 Před 3 lety

    Wow that's awesome are you from austria?

  • @S_O_O_C
    @S_O_O_C Před 4 lety

    With a suitable power supply, a big ass SD Card, stripped down ESP (Bluetooth/Wifi/Webserver are unnecessary once you configured it) and some code tweaking this could also be used for timelapses over very long durations, as the ESP is quite power-efficient

  • @2davecooke
    @2davecooke Před 4 lety +1

    Great work! When I tried your code the led stayed on permanently. Also how about a mode in the code and hacker interface to put camera into deep sleep after taking a photo. Keep up good work please.

  • @variostutos
    @variostutos Před 3 lety

    Thanks!

  • @Really2950
    @Really2950 Před 4 lety

    Nice idea

  • @tonyp4894
    @tonyp4894 Před 7 měsíci +1

    Why did you write the sketch in so many different little files. Wouldn't it work just as well with all the parts in one sketch?

  • @Gabonidaz
    @Gabonidaz Před 4 lety

    how about some project with your garden? I think you can make it fun. Very nice video, thanks

  • @phinok.m.628
    @phinok.m.628 Před 3 lety

    You could try initializing the SD card in 1 bit mode, so the flash pin is not used for communication with the SD Card. This way the data rate is slower. But that's mainly a problem when running on battery. And having an LED blinking all the time isn't exactly power saving either. :D
    You can initialize the SD card in 1 bit mode with:
    SD_MMC.begin("/sdcard", true);
    Not sure if the library supports the 4 bit protocol, I believe that would also not interfere with the LED and would be faster. But anyway, you could try to see if you can get away with the 1 bit mode or if the speed is too slow. Or desolder the LED... :D

  • @lightdark00
    @lightdark00 Před 4 lety

    Motion detecting security camera seems a much better use for the setup.
    This pleb let an ad play through minimized with the sound off. Yep, not jailbroken currently.

  • @user-tt7jz1tz6c
    @user-tt7jz1tz6c Před 4 lety

    awesome

  • @GelectronicsTv
    @GelectronicsTv Před 4 lety

    Nice thats very cool

  • @wakeupcanadians
    @wakeupcanadians Před 10 měsíci

    it would be nice to know how you got the time-lapse bottom to show up so we all can use it

  • @Bratzt3r
    @Bratzt3r Před 4 lety +1

    Hi, is brilliant !!!
    Please tell me this, if the USB 32 is Wi-Fi enabled will you not be able to save the pictures directly to a Wi-Fi enabled computer or hard disk instead?
    I am not an electronics guy but have a keen interest in learning and so I ask. Thanks .

  • @certified-forklifter
    @certified-forklifter Před 4 lety

    thanks!

  • @vino8275
    @vino8275 Před 4 lety +2

    suggestion. create a face unlock security system with esp32- cam🙏

    • @adlerweb
      @adlerweb Před 4 lety

      Using something everyone can see (or download from CZcams) as a security key seems like a bad idea…

    • @vino8275
      @vino8275 Před 4 lety

      like a smart phone, only detects the user's face.

    • @jasonlisonbee
      @jasonlisonbee Před 4 lety

      Phone engineers are still working on solutions to make face scanning biometrics difficult to spoof. Generally a decent printed photograph of an authorized person could do it. Still might be useful as a part of a solution.

  • @Arachisage
    @Arachisage Před 11 měsíci

    Great idea! I want to do something similar for my vegetable garden. What power source do you use for the unit?

  • @DavidinEssexUK
    @DavidinEssexUK Před 4 lety +3

    What about recording 10 hours of sound??

  • @joetylerdale
    @joetylerdale Před 4 lety

    You are just soooo cool!

  • @robertoprado4229
    @robertoprado4229 Před 2 lety +1

    Roberto Prado
    I can't record the photos on the SD. When I trigger timelapse, the folder is created, but the files in the photos are not saved. I use the ESP32 2.0.0 card version.
    Can you help me?

  • @Rouverius
    @Rouverius Před 4 lety

    Yeah, it's a 2MB camera but it looks like the biggest issue is optics.
    Maybe design an adapter for trying camera lens?

  •  Před 4 lety

    Yes it's shared ... The sd data pin and the led flash uses the same io port ... :-(

  • @MrSaemichlaus
    @MrSaemichlaus Před 4 lety

    Ooooh yeaaaah!!

  • @jayachandra677
    @jayachandra677 Před 4 lety

    I love how your code looks on git repos :)

  • @kareno8634
    @kareno8634 Před 4 lety

    (I Know) This was\ is Great! Love Time-Lapse - the bit of Guitar ~ and Nice Tomatoes! = )
    Just wish my 'brain' could get a grip on the knowledge. Cheers!

  • @mtothem1337
    @mtothem1337 Před 4 lety

    Not very good image quality. but the fact that you can spend the amount of a hamburger and put it anywhere without worrying about it breaking is really appealing.
    I've had DLSR's outdoors for several days, which is not exactly comforting.

  • @markokorevec3198
    @markokorevec3198 Před 4 lety +1

    Isn't the LED supposed to act as drive activity light hence why it flashes when you use the sd card?

    • @Enderkruemel
      @Enderkruemel Před 4 lety

      No its a Flash LED Not a small Indikator LED.

  • @matthiasgreiner-petter6069

    hi bitluni, a very nice project, but... in your last version, the jpeg save doesn't work. the cam creates a directory after the other at ssd card, but does not store photos in it... what could be the reason? the web server works fine...
    best regards
    Matthias

  • @marco4570
    @marco4570 Před 4 lety

    Dude, what cam did you use for those epic timelapses?? Umm... an ESP32

  • @ChallengerToTheMax
    @ChallengerToTheMax Před 3 lety

    @bitluni Could you try to make like a super cheap micro action cam? Doesn't matter the video quality as much as cost. Just to be relax if it gets crashed or something 😅

  • @paultegler
    @paultegler Před 2 lety

    have run quite a few progs on these cams, but for some reason this code example does not save a pic..it just resets the board. switching to a 5V power bank vs the computer usb cable with no change It simply keeps resetting the board . I did notice you don't include the soc.h libs to deal with brownouts but i am not getting an error code along those lines. Otherwise, this is a nicely presented project.

  • @sebasdt2103
    @sebasdt2103 Před 4 lety

    Dear bitluni, The link in the discription of the esp32 cam is working but they ain't selling it via that link anymore.

  • @rwh777
    @rwh777 Před 2 lety

    This works perfectly, right out of the box....but I have no idea how it actually works. Is there any way I can find out how these add-on objects work...aside from reading the cpp code?

  • @eliasfarms
    @eliasfarms Před 4 lety

    I found my ESP32-Cams to be very sensitive to me touching or moving the board while streaming in a browser with the example sketch. Some of that pertained to wifi signal strength, which seems to be an issue, but also some other strangeness going on.

  • @bourdon845
    @bourdon845 Před 4 lety

    Intéressant

  • @JayGamzTV
    @JayGamzTV Před 3 lety +1

    Every time you use that camera are need a wifi Internet?
    I hope you respond 🥰 i planning to make my own project like this.

    • @HaxR3
      @HaxR3 Před 3 lety

      You need a wifi access point to connect, but not internet. You connect to wifi just for controlling them, it's an intRAnet, just the devices connected to the wifi.
      You can use an ESP32 as a wifi access point, but very slow so video preview would be impossible.

  • @bunnatang2081
    @bunnatang2081 Před rokem

    just wondering why you did not implement easy to change wifi ssid and password without recompile the sketch again. and one more thing is append jpeg frame-by-frame without the need of external pc.

  • @badhonebrahim7707
    @badhonebrahim7707 Před 4 lety

    Please make a webcam version or just resolder a better camera with Better sensor is that possible?