Solar powered mailbox camera | IoT for lazy people

แชร์
ฝัง

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

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

    Extra points for the (information) security considerations.

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

    Very nice. But a bit more than a 'weekend project'. Thanks for sharing this helpful mailbox camera prototype design!

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

    You may find the "sealed" enclosure still accumulates condensation - unless your enclosure is gas tight, thermal cycling will cause humid air to be drawn in, where the moisture condenses and cannot escape. You may still need a small drain hole.

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

      I wasn't sure about the best solution in that regards. I did add a small hollow tube that helps equalize pressure from thermal cycles, to prevent the lid from being popped out. So I guess I did allow a pathway for moisture to move in and out. I'll see how it fairs over a longer period of time.

  • @theimpulse77
    @theimpulse77 11 หลายเดือนก่อน +5

    I'm just starting to learn about this whole IoT thing and this is way over my head, but I'm really excited at the possibilities here! I'm building an ESP32 based multi-sensor for my chicken coop right now and I may want to include one of these ESP32 cameras. Thanks!

    • @fhuable
      @fhuable  11 หลายเดือนก่อน +1

      Sounds fun. Good luck!
      I wish the ESP32CAM module had more available IO pins. Would make it much more useful.

  • @capiberra4118
    @capiberra4118 28 วันที่ผ่านมา

    I guess I must be lazier than you, 'cause that sure looked like a lot of work to me. Great result though. Well done & thanks for sharing.

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

    Very nice project, neat build, thanks for sharing

  • @Samuel-eu1ts
    @Samuel-eu1ts 2 ปีที่แล้ว +7

    Nice, would be cool to implement some kind of push notification so that you don't even have to check the server

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

      the sample sketches for espcam have a few clever tricks that can do facial detection in the video stream; so tasking it to say "that doesn't look empty" should be super simple.

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

      Very true

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

      @@frollard At the moment the ESP isn't holding on to the images, just sends them off. But yes, the processor should definitely have enough grunt to run some sort of simple comparison.

  • @liveuk
    @liveuk 5 หลายเดือนก่อน +1

    A basic pressure swith on the base inside your box to activate a "You got mail"

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

    Awesome video and way more ambitious than I would be.

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

    I liked it a lot!
    Also I like the trafficsign around your house, with the 3 ducks on it 😀

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

      duck sign, isn't that crazy? :)

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

    Super nerdy. I love it! ❤

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

    In v2 consider a plastic mailbox (common here in the USA, not sure about NZ). Then you can 3D-print a false back to hide the electronics with a hole for the camera. The plastic should allow WiFi to pass. Also, if you can find a mailbox that matches the color of the solar panel to make it less noticeable. Another possibility is if you have low-voltage lighting in your yard you can run a lead to the mailbox to charge the battery when the lights go on. This might eliminate the need for the solar panel altogether, or at least supplement it.

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

      Agreed, with a plastic mailbox I could have just dropped it in there. But I was working with what I had on hand (and I didn't like the plastic mailboxes I could find). Personally, I quite like the solar cell. It makes the entire thing completely autonomous.

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

    Think I would have had an activation switch on the hinge just to broadcast a notification to a listener it the house, and if I was ambitious maybe a watchdog with the state of charge levels on the battery. Sure, the camera etc are clever and credit for getting the power usage down but just more to go wrong. Btw do you still get usable pictures after dark?

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

      I'm not only interested if there is something in the mail, but also what it is. Don't want to make the trip for circulars but little yellow packages get me excited ;) Yes, I get images after dark since I am using the flash LED during capture.

  • @The.Talent
    @The.Talent 2 ปีที่แล้ว +2

    I’ve been thinking about something like this with a (ultra sensitive) pressure trigger to activate the program, which will include sending a photo via sms to my phone. The beauty of this is that the switch can break the circuit and reduce power consumption when it’s not activated.
    I really like your implementation!

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

      I was aiming for, in my mind, the simplest and most reliable solution. My mailbox gets battered by crazy weather a lot. Particularly, high winds. I hope the solar cell will be able to keep the battery topped up in perpetuity.

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

    Really nice project. I was tinking in making some sensor for my mailbox. I loved this. Probably some allert could be triggered by comparing an ampty box reference image with an actual state.

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

      Thanks and yeah you could do some rudimentary image processing on the esp32 to see if there is something in the box and then send some kind of push notification. You'd have to be carefully rationing your energy demands though. Would be interesting to try out.

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

    It is truly a good example of IoT! 😉

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

    could have put a scale in the floor of the box to sense if there is anything in there once a day and send a notification or something. maybe it would take too much power but I think it's a neat idea.

  • @PilotGT
    @PilotGT 2 หลายเดือนก่อน

    great video, thanks for posting! can you share more information on the battery protection circuit and where is but them? Thanks in advance!

  • @tombjornebark
    @tombjornebark 4 หลายเดือนก่อน

    I appreciate the design and concept. However, it seems overly complex for the purpose of receiving a notification when there's mail. A simpler solution could be using an IoT switch, similar to those used for monitoring doors. These devices, which are battery-operated and typically have a year-long battery life, could effectively indicate mail arrival. All I need is a basic alert to notify me when the mailbox is opened, as the specific contents of the mail are not my concern.

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

    I'm super fond of the new-ish laser time of flight sensors - vl53l0x etc...they can measure millimeter accurate distances for 3-2000mm at 20hz (trading range for accuracy/time) for a pittance of electricity; I suspect it couldn't easily detect a postcard...but an envelope could, especially if the base of the box had some rails that mail landed on such that the laser measured the cavity between rails. Thin and compressible rails would mean you don't lose precious volume for packages but light envelopes would stand tall and be detected.

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

      I've been eyeing these sensors keenly for some time. Will have to get my hands on a few.

    • @Max24871
      @Max24871 2 หลายเดือนก่อน

      Or you could put a scale in there

    • @frollard
      @frollard 2 หลายเดือนก่อน

      @@Max24871 anything is possible.

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

    This is badass, you’re an IoT gangsta

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

    This video deserves to blow up!

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

      tell all your friends ;)

  • @pny5656
    @pny5656 4 หลายเดือนก่อน +1

    That's it I'm buying a set of ESP32 rn! Thank you for the awesome video. Subscribed! PS : Is it possible to buy a ESP32 with the ability to power off the camera module out of the box ?

    • @fhuable
      @fhuable  3 หลายเดือนก่อน

      Not sure. The esp32 has a limited number of available pins, most of them used. I guess it would boil down to finding a module using a camera that can more effectively sleep via software command rather then relying on an external pin. If you don't run of a battery, or use a larger solar cell, the 6mA sleep current probably won't be an issue.

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

    9:00 Sparkfun, of course.

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

      of course :D

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

    Very nice! good!

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

    This is a neat idea, though, for me, I don't know that I would need a camera. I would make a small modification from the camera to a dri contact or pressure plate, and set it to wake when that sensor is triggered. I would probably also do a reset or "mail picked up" switch. Thanx for the video

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

      Yes, many ways to do this. But keep in mind whatever switches and pressure sensors you use need to be highly weather/water proof. And pressure sensors that can react to the weight of a letter would likely also be tripped by to the crazy winds around here.

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

    Great project. Why not analize the images for changes/motion and then just send a notification.

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

      That's on my todo list :)

  • @citizengkar7824
    @citizengkar7824 8 หลายเดือนก่อน

    Nice 1st stage to your project? Things have a way to take on a mind of their own. I'm also a newbie, to hobbyist electronics (guessing you aren't 😊), in general. Got into it, for designing/building smaller solar/Li-Ion projects. Always on the hunt for new ideas. Thanks.
    PS. I took one look at your front section/fence, & thought that's got to be in New Zealand. Being in a trade, I've gotten used to recognising house types. I'd guess you're near the sea/lake. It just has that look.
    Hi, from a fellow Kiwi 👋

    • @fhuable
      @fhuable  8 หลายเดือนก่อน +1

      Yep, definitely New Zealand :D Btw, love the user name!

    • @citizengkar7824
      @citizengkar7824 8 หลายเดือนก่อน

      @@fhuable Yep. My favourite character, in my favourite TV series. JMS was a genius, when he concepted & produced Babylon 5. Just wish the filming had been mastered in HD/real32mm.

    • @fhuable
      @fhuable  7 หลายเดือนก่อน

      YES! :D
      (hopefully, the coming reboot will leave the legacy intact)

    • @citizengkar7824
      @citizengkar7824 7 หลายเดือนก่อน

      @@fhuable I guess time will tell. Historically, redos can't capture the original essence, & interaction of the writers, actors & directors (in that order). Hope I'm proven wrong.

  • @mayankraichura
    @mayankraichura 11 หลายเดือนก่อน +1

    You could add a simple qr code on the opposite end and some cloud processing to notify when qr is not visible and notify you...

    • @fhuable
      @fhuable  11 หลายเดือนก่อน +1

      yes, not a bad idea.

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

    wow! amazing

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

    Hi, love this video with all the extras about the enclosure and power. That said, I'm new to this so there is so much to learn in all these areas. I'm looking to make a weather station with inputs from an anemometer, wind vane and BME280. I'm not quite sure how to add these inputs to the ESP32-CAM though as there don't appear to be enough. I have the Wifi, BME280 and camera going without the SD-Card but I think I'm out of inputs. I would like to add a cell/mobile modem too so it could take periodic readings + photo and send them to a server. Any thoughts / suggestions?

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

      I'm getting ready to build the same thing, except I'm skipping the camera and only sending weather data. Using WiFi, the ESP32 will serve a web page with the data. Solar powered with TP4056, and 2 18650's.

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

      @@johntoe6127 That's great, I haven't started to think about the power side of things. Which weather data are you sending? As I mentioned I am concerned I don't have enough inputs.

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

      @@caetzar My plan is to connect to WiFi. That's cheaper and less complicated than cellular. The ESP32 will then serve a web page with the weather data. I purchased an anemometer, and wind vane sensor from aliexpress $25+shipping. Search: 30m/s Weather Station Outdoor 3 Cup Anemometer Sensor Polycarbon Fiber Wind Speed Wind Direction Sensor Output RS485 4-20MA 0-5V (be sure and get the 0-5V kit).
      Power will be from a 6"x6" solar panel, into a TP4056 (protected board) and 2 18650 batteries in parallel. Output from TP4056 is to a small boost converter giving 5V that powers everything. I also include an INA219 in the + lead of the battery. This allows battery voltage, and solar charge current to be reported.
      So, bme280 provides temp, pressure, and humidity. Anemometer and wind vane, solar level, charge current and battery voltage will all be reported over the web page.
      Pole made from iron pipe, and top made from 2" PVC Pipe, which will provide case for ESP32, boost converter, INA219, TP4056, Batteries, and bme280. Programmed to sleep a lot in the middle of the night when the wind is calm, and there's no solar input.

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

      Thanks John, how will you attach all the inputs to the esp32-cam? I can't see many other than 12,13,14,15.

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

      @@caetzar I'm using a standard ESP32-DEV-KIT , so no problem with the number of inputs. Since you want video (which is really a good idea), I think I'd just add another ESP32 to handle all the weather data and battery/solar data. Dedicate the ESP-CAM to handling and serving the video. You can power both of them off of the solar/battery setup. You could let the ESP-CAM sleep all the time and have the ESP32-DEV-KIT wake it when video was requested (using one of the spare inputs).

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

    great project, question if I wanted to build this exact project but have the camera running 24/7 how big of a battery would you suggest? If the power consumption is 6 milli amps, will a 2000 mAmp lipo battery be appropriate? Thanks so much!

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

      Not sure what you mean with running the cam 24/7. The 6mA power consumption stated in the vid was for deep sleep. So only when the board is doing absolutely nothing. As soon as it's awake and processing camera data the consumption goes up.
      Anyhow, whatever you do it depends on how much energy your solar cell can provide (in the worst weather). Whatever you consume during the day/night will have to be replenished the next time the sun comes up. Otherwise the battery will slowly drain. A 2000mAh battery can (very roughly) supply 2000mA for 1 hour. Or 20mA for 100 hours and so on.

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

      ​@@fhuable 24/7 video streaming, I read the power consumption of the esp32 during this state and found it was drawing 240 mA. So I purchased a 9watt - 6volt solar panel along with a 10ah lipo battery. Currently running test to see how well it charges over time. I was able to get 2 days of power with the battery alone and can charge the battery in less than 6 hours. (in max sunlight conditions). But ill probably implement some battery saving features like deep sleep if the battery capacity dips below a certain amount nad have it power back on when the battery is recharged. Not ideal but it helps.
      Thanks for the help!

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

    You are a pro

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

    I'm lazy if you where to build one how much would you sell it for just curious

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

    And after all of that work somone comes and smashes your letter box or just steals it..... hahahaha.... A great idea and design! I just have one of my outside cameras cover the letterbox area and I can just have a quick look at the footage or look at the movement sensor logs to see if anyone accessed my letterbox.

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

      My neighbours must be particularly nice. To this day it remains unsmashed (fingers crossed).

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

    5:54 There is an other pin GPIO 32 CAMPOWER (above LED GPIO) that disables the power supply towards the camera. What am I missing here ??

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

    What is the name of program that you are using?

  • @EasyOne
    @EasyOne 8 หลายเดือนก่อน

    nice

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

    You need to paint the roof black.

  • @tschoi5675
    @tschoi5675 18 วันที่ผ่านมา

    I would have a button that takes a photo on demand

  • @TheUnofficialMaker
    @TheUnofficialMaker 6 หลายเดือนก่อน

    Such overkill, I just use a micro switch to trigger my esp8266, send message to Pushover, and my phone notifies me when the mail has come.

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

    accelerometer?

  • @kanglinyao
    @kanglinyao 2 หลายเดือนก่อน

    I knew it, it is new zealand. I miss the country.

  • @JoseRoberto-bv7qk
    @JoseRoberto-bv7qk 7 หลายเดือนก่อน

    Muy buen proyecto, espero que te funcione excelente sobre todo por las condiciones de clima en tu país.
    Cuéntanos más adelante acerca del funcionamiento de la batería conectada al ESP32-CAM.
    Gracias por tu vídeo y tu tiempo en realizarlo.
    Saludos!

    • @fhuable
      @fhuable  7 หลายเดือนก่อน +1

      Thanks. The battery is still going strong even though this yeah has seen the worst weather. The solar cell has gone a bit milky, I suspect the coating was meant for indoors and doesn't hold up too well to the high UV radiation of the outdoors but so far there is no noticable performance degradation.

  • @cjlowe1650
    @cjlowe1650 6 หลายเดือนก่อน +1

    Not accounting for music (choice) but why does the background music have to be so LOUD??

    • @fhuable
      @fhuable  6 หลายเดือนก่อน

      Is it ? The level seemed alright to me..

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

    Is there a reason you didn't install a button which starts the script every time the post box ist opened/closed?

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

      My thought was the simpler the design the smaller the chance of something breaking or wearing out over time.

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

      @@fhuable good point. Engineers tend to overcomplicate

  • @obiaboimmanuel8729
    @obiaboimmanuel8729 11 หลายเดือนก่อน

    can you access the server even from a very far distance ?

    • @fhuable
      @fhuable  11 หลายเดือนก่อน

      Are you asking about the wifi range of the ESP32 module? It is not bad, currently reaching about maybe 15m to my router, through a brick wall and a tree. Although that is probably close to the maximum I can get in my current environment. Lot's of 2Ghz networks present around me.

  • @Tntdruid
    @Tntdruid 9 หลายเดือนก่อน

    Any Esphome version?

    • @fhuable
      @fhuable  7 หลายเดือนก่อน

      I admit I had been oblivious to the existence of ESPHome until this very moment.

  • @Mo-ce9ro
    @Mo-ce9ro 5 หลายเดือนก่อน

    guy built a camera instead of just a little trigger that tracks when the lid is being opened XD

    • @fhuable
      @fhuable  5 หลายเดือนก่อน +1

      I don't care if the lid has been opened but rather if there is something worthwile in the mailbox. Newspapers e.g are not worth the trip.

    • @Mo-ce9ro
      @Mo-ce9ro 5 หลายเดือนก่อน

      @@fhuable yeah I know, didn't mean that as an insult or anything. Loved the project but just thought about that 😂

    • @pny5656
      @pny5656 4 หลายเดือนก่อน

      @@fhuable Also : weight sensor. But I love what you did with the camera. Way better :)

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

    1mA...Hmm that is light-sleep for the ESP? Deep sleep mode is 20 uA, the camera should be completely shut down. Also random Chinese solar charge controllers are not the most efficient at these low powers. A simple Zener diode circuit aka solar garden lamp circuit, to cut off at 3.9V and a solar cell that has a MPP close to that, is likely more efficient or simply rely on the one cell BMS board you are using already.

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

      Yeah I'm sure it's not the most efficient. I can still see the MPPT pumping the battery at lower light levels though which I imagine a non-boost circuit wouldn't be able to do. And yes, 1mA is still a little on the high side. I haven't looked into the SD card too much which is responsible for about half of that when not in use. The camera seems to power down the sensor and memory but I think the processor is still somewhat awake. It has a software command for deep sleep, too, but I read there are problems waking it back up w/o a power cycle so didn't try that.

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

      @@fhuable Excellent, I noticed that there was some reasoning missing in the video, bummer with SD cards!

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

    Thumbs down for the "lazy people" title. Don't lump us all together.