$10 DIY Wireless IP Security Camera for 3D Printers & Home

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ต.ค. 2019
  • The ESP32-CAM is a cost effective DIY IP Camera you can build in just a few hours. I cover the setup, firmware and use of the ESP32-CAM for your 3D Printer or home security needs. For just $10 you can add a camera to your 3D Printer and expand Octoprint to use an unlimited number of cameras. Regular USB Camera's don't cut it when you want multiple views of 3D Printers in action.
    Please mash that like button if you enjoyed this video and leave your comments below!
    ESP32-CAM
    amzn.to/32z7O0L
    Serial to USB Converter
    amzn.to/2pFbPCs
    5v Buck Converter
    amzn.to/35xVyQZ
    Micro USB Breakout
    amzn.to/2NabW0X
    Crimper Tool & Connectors
    amzn.to/2MwPxvt
    Jumper Wires & Breadboard
    amzn.to/35TpR3J
    IP CAM Enclosure
    www.thingiverse.com/thing:392...
    Some viewers are reporting discounts on build supplies with a free Amazon Business Account
    amzn.to/2W6mcve
    Source Code for Firmware
    www.makersmashup.com/download...
    Support my work on Patreon!
    / makersmashup
    Follow my Thangs.com profile to find all the models I make!
    thangs.com/user/Makers%20Mash...
    Visit our website www.MakersMashup.com
    Join our Discord: / discord
    Follow us on Twitter: / makersmashup
    Instagram: / makers_mashup
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 76

  • @donwillingham3743
    @donwillingham3743 4 ปีที่แล้ว +10

    Nice tutorial. I just might have to try this. When programming the chip, you did not mention that RX goes to TX and vice versa. Some new users may assume to match each signal one to one. If it doesn't work try flipping them.

    • @MakersMashup
      @MakersMashup  4 ปีที่แล้ว +7

      You're right Don that was an oversight. 😮 Thanks for pointing that out. It is key to switch those to make it work. Thanks again Don. 👍

  • @NastyAnubis
    @NastyAnubis 3 ปีที่แล้ว +1

    OMG Thank you so much. I've been fighting this for days trying to get an ESP32 CAM working with my RPi 4.

  • @radius611
    @radius611 2 ปีที่แล้ว

    I love that interface you have set up. Looking forward to doing this with one of mine. I'm considering putting together a solar powered camera for the other.

  • @johndoe-is2fw
    @johndoe-is2fw 3 ปีที่แล้ว +1

    looks like my first electronics project. thanks

  • @Evilslayer73
    @Evilslayer73 2 ปีที่แล้ว

    Another excellent tutorial!! awesome thanks for sharing! my next project!:)

  • @shereder97
    @shereder97 ปีที่แล้ว

    Pretty useful ! Thanks for the video :)

  • @mpierce374
    @mpierce374 2 ปีที่แล้ว

    Wow, this is a fantastic tutorial. Thanks!

  • @ImmanuelSchade
    @ImmanuelSchade 3 ปีที่แล้ว +6

    Hello from Germany,
    I came across your video by chance because I was looking for a description that explains how to integrate an ESP32 cam into OctoPrint. Great that you also provided the sketch for the Arduino IDE.
    I use it not only in OctoPrint but also as a surveillance camera for my chickens to see if they are all inside and if my self-developed chicken flap is closed. For this purpose I have integrated the cam into the ioBroker and visualised it via VIS.
    Thanks for your good guidance.
    Greetings from good old Germany
    Immanuel

    • @MakersMashup
      @MakersMashup  3 ปีที่แล้ว

      Awesome to hear it worked out for you. I would love to know more about your chicken 🐔 setup. My daughter raises some at her moms house so it is always great when I can pass along cool tech for her.

    • @ImmanuelSchade
      @ImmanuelSchade 3 ปีที่แล้ว +2

      @@MakersMashup I'd love to, but I'm a bit stressed at the moment because of the corona virus, and since I work in a security service, I'm a bit busier. My control system still has a few childhood illnesses that I would like to fix, but I won't be able to do that before January. But I'll be happy to get back to you when the time comes.
      Kind regards from Germany
      Immanuel

  • @stevedegeorge726
    @stevedegeorge726 4 ปีที่แล้ว

    Good work.

  • @Spartacusse
    @Spartacusse 4 ปีที่แล้ว +1

    If you put in an inexpensive ($0.25) tp4056, you can connect the 5 volts input to it, then a li-ion (phone / laptop) battery and the camera to their respective outputs, and you effectively created a camera with automatic power backup. The tp4056 will let power go through directly to the camera when the battery is fully charged and power the camera with the battery when power is disconnected, it will also auto shut-off the battery output once it reaches minimum voltage (2.8v) and will turn on the camera AND charge the battery at the same time when you plug power back in. It also charges the li-ion correctly with the CC/CV method.
    Great video, I'll look into those cameras!

    • @MakersMashup
      @MakersMashup  4 ปีที่แล้ว

      That is a great idea Spartacusse! I will check that out for sure. There have been plenty of times I have wanted to do that and went the route of of the USB rechargeable. I will be ordering a few of those today to check them out. Thanks again for the great feedback!

    • @Spartacusse
      @Spartacusse 4 ปีที่แล้ว

      @@MakersMashup Great. I'm glad you've liked the idea, I hope you do a video on this before my ESP32's arrive, it takes 2 to 3 months to Brazil :( . I don't have a USB to TTL in a board like you, but I have one of those pre-made USB-Serial programmer cables, as well as an Arduino UNO, do you think between the two I'll be set to program the ESP32? Or should I order one of these little programmers you've shown in the video? Thanks.

    • @MakersMashup
      @MakersMashup  4 ปีที่แล้ว

      I've never tried it but articles like www.teachmemicro.com/arduino-usb-serial-converter/ claims you can. I think the adapter is worth the frustration of having the esp32 show up and no way to program it 😉

  • @reprinted3D
    @reprinted3D 3 ปีที่แล้ว

    I really like this for use with Octoprint. Is there any chance of getting a more compact housing that just holds the camera (and perhaps the buck converter) module with a hole for wires?

    • @enlacdmx4379
      @enlacdmx4379 3 ปีที่แล้ว

      Check Thingiverse website for other housing designs: www.thingiverse.com/tag:esp32-cam

  • @tonnictv
    @tonnictv 3 ปีที่แล้ว

    Is there a way to change the resolution of the cameras?

  • @louielouie684
    @louielouie684 3 ปีที่แล้ว

    nice video could the ESP32 CAM also be used to make a wearable / wireless ip camera that could be accessed on a smartphone for video streaming? I would like to bypass the built in camera in my smartphone in order to live stream a true fpv / pov . Im curious if there are various sizes of the ESP32-CAM , preferably smaller overall in order to create something that could in fact clip onto your glasses.

    • @imranzosh97
      @imranzosh97 2 ปีที่แล้ว

      Esp32-cam can work like that. I've seen a video they used it for a car dashcam

  • @SupperSarcasticGuy
    @SupperSarcasticGuy 5 หลายเดือนก่อน

    that 5v cam can produce heat I didn't see u extrude ventilation holes for enclosure or install heat sinks on chips and the step-up transformer.

  • @johnm8693
    @johnm8693 2 ปีที่แล้ว

    Doesn't the USB serial converter already have 5v power that could be used for the programming phase? I don't know the specs on that part but from what I've seen that's often the case. That suggests to me the micro USB power board is unnecessary for the programming phase. Just curious. Great video.

    • @MakersMashup
      @MakersMashup  2 ปีที่แล้ว

      Yes, you could use the USB 5v. Also, several new ESP-32 Cam boards like amzn.to/3AUwcLA have a programming board so you don't need the separate programmer. I'm going to be using one of these boards on an upcoming video for next week.

  • @sebastainvande8258
    @sebastainvande8258 2 ปีที่แล้ว

    I have had issues finding the ip the command says it doesn’t work I was wondering if there is anyway to find out

  • @johnfiott
    @johnfiott 3 ปีที่แล้ว

    The dns command did not work on my cmd. I am sure I heard you mention CMD in Windows, but when I looked it up it is showing as a Linux command (part of Netbsd). I am confused. Can you please clarify how I can check the IP perhaps in another way? Otherwise loved this! Will definitely be back for more learning!

    • @johnfiott
      @johnfiott 3 ปีที่แล้ว +3

      I found the IP by using my Router admin UI, which has a page that lists all devices connected via wi-fi.

  • @chrisnurse7658
    @chrisnurse7658 4 ปีที่แล้ว +1

    How would you connect multiple cameras - that's the point you made right at the beginning that you can have many (on OctoPrint?). I know you can have many on your network, I've used these a lot. But I want a couple on OctoPrint if possible. One top-down, one attached to the bed. Thanks!

    • @MakersMashup
      @MakersMashup  4 ปีที่แล้ว +2

      Check out the multicam plugin for octoprint. Then you just setup the additional IP camera in octoprint

    • @chrisnurse7658
      @chrisnurse7658 4 ปีที่แล้ว +1

      @@MakersMashup fantastic. BTW - I loved your DIY 3D Printer series. It's a lesson in how to guide people in detail with finesse!

    • @chrisnurse7658
      @chrisnurse7658 4 ปีที่แล้ว

      I must have scrolled straight passed that in the plugins list :)

  • @spaniard3dprints720
    @spaniard3dprints720 4 ปีที่แล้ว +2

    Nice tutorial!! What's the definition like on these?

    • @MakersMashup
      @MakersMashup  4 ปีที่แล้ว +2

      The OV2640 which is the camera on the board is a 2 megapixel camera. Not something you'll use for family photos but certainly good enough to see what's going on.

  • @tonnictv
    @tonnictv 2 ปีที่แล้ว

    On the steam test, I get "This URI does not exist"

  • @maikelnaranjo109
    @maikelnaranjo109 3 ปีที่แล้ว

    Hi I was just wondering and I tested it , can you just get the 5 volts from the usb programmer?

    • @MakersMashup
      @MakersMashup  3 ปีที่แล้ว

      Probably.

    • @gtavc007
      @gtavc007 3 ปีที่แล้ว

      @@MakersMashup Hello first of all thank you for ur videos they have been really helpful for my home projects, anyway i was wondering the same thing, why it has to be connected with both the usb programmer and the micro usb breakout power? could i use just the usb programmer to power it?

    • @MakersMashup
      @MakersMashup  3 ปีที่แล้ว +1

      I dont know that it has to. My thought at the time might have been to power it separately because I disconnected the programmer after programming but certainly you can power it with the programmer as long as you're not exceeding the current draw overall. Really no reason though you couldn't use the programmer power. Just saves a step. :)

    • @gtavc007
      @gtavc007 3 ปีที่แล้ว

      @@MakersMashup THANK YOU very much your help i really appreciate it , i will be doing this later when the pieces arrive!

  • @MrTikisteel
    @MrTikisteel 3 ปีที่แล้ว

    If I only plan on powering this with a 5v power bank, I wouldn't need that 5v buck converter, correct?

  • @MarkoZutic
    @MarkoZutic 3 ปีที่แล้ว

    What is power usage on these? Powering it on batteries is my plan?

    • @MakersMashup
      @MakersMashup  3 ปีที่แล้ว

      5v no problem. Use a USB power bank as i mentioned in the video.

    • @enlacdmx4379
      @enlacdmx4379 3 ปีที่แล้ว

      Several power modes are available: lastminuteengineers.com/esp32-sleep-modes-power-consumption/

  • @Bajicoy
    @Bajicoy 4 ปีที่แล้ว

    Does this still require a raspberry pi to run octoprint? I cannot get around the $50 price tag minimum for a single wifi printer camera

    • @MakersMashup
      @MakersMashup  4 ปีที่แล้ว

      It does if you plan on using it in Octoprint but the web cam will respond to a direct IP request too. Its really up to you how you use it. Tip on Octoprint. You don't need a PI. If you have an old computer you can run it on that. You don't need a Pi to run octoprint. You can read about it on my blog www.makersmashup.com/post/outside-the-box-ditching-octopi-and-keeping-octoprint

    • @Bajicoy
      @Bajicoy 4 ปีที่แล้ว

      @@MakersMashup thanks for the reply! it's a good tip to use octoprint on an old computer, there are people I know who don't have an unused computer available to flash raspian to so I am trying to figure out a low cost work around. Ever try using ESP3D with the ESP32-CAM?

    • @johnfiott
      @johnfiott 3 ปีที่แล้ว

      @@MakersMashup Instead of an old PC, would it be possible to use an old mobile phone to run Octoprint? Since one could crack it and install Linux I assume one should be able to install raspbian also, no? The only issue I see is that it runs off a battery and not direct from the power brick.

  • @mitsmillman1652
    @mitsmillman1652 4 ปีที่แล้ว

    Can’t seem to get the code to compile, any addition tips for the missing WiFi.h....

    • @MakersMashup
      @MakersMashup  4 ปีที่แล้ว

      You're likely missing a library or don't have the right board selected. Check the libraries in the arduino ide.

  • @traderhutgames
    @traderhutgames 2 ปีที่แล้ว

    Your link goes to a page where you can buy the ELP Usb camera for $46.20, not counting all the other stuff

    • @MakersMashup
      @MakersMashup  2 ปีที่แล้ว

      Sounds like they changed the link. Any esp32 can will work I'll update to a new link.

  • @expatinthailand9824
    @expatinthailand9824 3 ปีที่แล้ว

    Any way to use software to view these cameras when not at home?

    • @MakersMashup
      @MakersMashup  3 ปีที่แล้ว

      Anytime you expose your local network to the public it opens you up to potential security issues. I would suggest using something like Google Remote Desktop to access your computer remotely to view them vs. trying to host it on your local network exposed to the internet.

    • @RalfVogler
      @RalfVogler 3 ปีที่แล้ว +1

      VPN is a safe option. Many routers offer VPN & dynDNS. You can also run it on your RPi: www.pivpn.io
      If you only get IPv6 addresses from your provider, you can not access it from IPv4-only (e.g. phone) without another server.

  • @kikl3s
    @kikl3s 3 ปีที่แล้ว

    is there any way to flip the image horizontally?

    • @enlacdmx4379
      @enlacdmx4379 3 ปีที่แล้ว

      Check -> Set_hmirror()

  • @pankajjoshi9418
    @pankajjoshi9418 2 ปีที่แล้ว

    Will it record sound?

  • @praca1736
    @praca1736 ปีที่แล้ว

    update to usb-c thanx

  • @johnfiott
    @johnfiott 3 ปีที่แล้ว

    this if course assumes you are not using a ESP32 Camera module which seems to not want to connect to any Port as far as the Arduino IDE is concerned..

    • @MakersMashup
      @MakersMashup  3 ปีที่แล้ว

      Sounds like your pc is just missing the ftdi driver. If you do some googling it is a fairly common problem for those who use on the first time. You may be able to check where you bought it and they often have the link to the driver you need.

    • @johnfiott
      @johnfiott 3 ปีที่แล้ว

      @@MakersMashup I worked around it by using an Arduino Uno as a programmer - that worked fine. This video explains it in case anyone gets stuck like I was. th-cam.com/video/tzmcXZ-irIc/w-d-xo.html

  • @simon0674
    @simon0674 ปีที่แล้ว

    I dont own a 3D printer so ill need to go buy one oh wait this no longer cost 10 dollars to make.

    • @MakersMashup
      @MakersMashup  ปีที่แล้ว

      You can make the camera for $10 but you'll need your own enclosure. Try a cardboard box. Or just buy a printer and reap the rewards of being able to manufacturer just about anything out of plastic. So, still $10.

  • @pierusa123
    @pierusa123 3 ปีที่แล้ว

    Xfinity camera costs me $200 a piece and the resolution is 360p or lower.

  • @onecarwood
    @onecarwood 4 ปีที่แล้ว

    The Wyze camera is 20 bucks and it has an app that you can monitor the printer wherever you are. You can do time lapse and you have audio. If you plug your printer into an Alexa outlet you can turn it off from anywhere. All for about 25 bucks and just plug in and download the app.

  • @BilalKhan-do9il
    @BilalKhan-do9il 2 ปีที่แล้ว

    How can we turn off the printer using espcam

    • @MakersMashup
      @MakersMashup  2 ปีที่แล้ว

      You would need to write your own code for it but you could certainly control a relay with it.

    • @BilalKhan-do9il
      @BilalKhan-do9il 2 ปีที่แล้ว

      @@MakersMashup so what will give the relay a signal to turn it off, esp will do that? Or i ll have to use arduino?

    • @MakersMashup
      @MakersMashup  2 ปีที่แล้ว

      The ESP32 works like an arduino. You just need to look for a free pin. From there you can modify the web interface or create your own method for triggering the pin which would fire the relay. You'll just have to write code to do all of that but there are plenty of internet tutorials on how to trigger a relay on an arduino. The ESP32 operates the same way.

    • @BilalKhan-do9il
      @BilalKhan-do9il 2 ปีที่แล้ว

      @@MakersMashup ohh nice , thanks

  • @klave8511
    @klave8511 2 ปีที่แล้ว +2

    I really like the project and thanks for presenting it but let’s not pretend it cost $10 at all! USB breakout, board, buck converter, USB to serial converter, breadboard, printed enclosure, wires, crimping tool and crimp ends, soldering equipment. Unless you’ve got all these already it is way better to buy a nice working webcam, maybe a USB 3.0 hub if you really want more bandwidth

  • @mrmiz2547
    @mrmiz2547 3 ปีที่แล้ว +1

    So if anybody else stumbles upon this like I did. Save yourself a day or so and just buy a cheap wifi camera rather than doing this.. you can get them for around $20 now. Most modern wifi Access points really really hate Esp32 devices. They only connect to 2.4ghz and if your network is like mine you have to jump through a lot of hopes to get a sticky 2.4ghz WLAN.... if you even can. Then top it off that there are several different versions of this kind of camera and it's never really clear which one your using. So it makes it a guessing game in the Arduino ise. Oh and I forgot to mention I did get it working but only if I was within a foot of my Access Point.... spend the extra money and get something that can connect to modern wireless. In the end I know I spent more than $20 bucks just to get this all running, and I could have had everything wrapped in a nice little package and working with in 20 min. Rather than spending a whole day only to be disappointed . That's my 2 cents.