Тёмный

Solar powered mailbox camera | IoT for lazy people 

fhuable
Подписаться 13 тыс.
Просмотров 43 тыс.
50% 1

In this project I build a Wifi camera into my mailbox so I don't have to go outside to check it.
Build page:
fhuable.fhu-space.net/mailboxbot

Хобби

Опубликовано:

 

22 янв 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 100   
@EeroafHeurlin
@EeroafHeurlin 2 года назад
Extra points for the (information) security considerations.
@TakeTheRedPill_Now
@TakeTheRedPill_Now Год назад
Very nice. But a bit more than a 'weekend project'. Thanks for sharing this helpful mailbox camera prototype design!
@ickipoo
@ickipoo 2 года назад
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 года назад
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 Год назад
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 Год назад
Sounds fun. Good luck! I wish the ESP32CAM module had more available IO pins. Would make it much more useful.
@wjn777
@wjn777 Год назад
Very nice project, neat build, thanks for sharing
@sojiro288
@sojiro288 2 года назад
Awesome video and way more ambitious than I would be.
@spijker46
@spijker46 Год назад
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 года назад
Super nerdy. I love it! ❤
@capiberra4118
@capiberra4118 3 месяца назад
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.
@petriandy
@petriandy 2 года назад
This is badass, you’re an IoT gangsta
@skinife
@skinife 2 года назад
This video deserves to blow up!
@fhuable
@fhuable 2 года назад
tell all your friends ;)
@chauchaub123
@chauchaub123 Год назад
It is truly a good example of IoT! 😉
@antmagalh
@antmagalh Год назад
Very nice! good!
@The.Talent
@The.Talent 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 года назад
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.
@Samuel-eu1ts
@Samuel-eu1ts 2 года назад
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 года назад
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 7 месяцев назад
A basic pressure swith on the base inside your box to activate a "You got mail"
@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 Год назад
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.
@Mrcurlywhirly
@Mrcurlywhirly 20 дней назад
You may also need to identify whether the 'you have mail' state has eight legs.
@Tudumanu
@Tudumanu 2 года назад
wow! amazing
@richardcarlson127
@richardcarlson127 Год назад
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.
@cohenkevinloriqueen818
@cohenkevinloriqueen818 Год назад
You are a pro
@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.
@frollard
@frollard 2 года назад
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 4 месяца назад
Or you could put a scale in there
@frollard
@frollard 4 месяца назад
@@Max24871 anything is possible.
@PilotGT
@PilotGT 4 месяца назад
great video, thanks for posting! can you share more information on the battery protection circuit and where is but them? Thanks in advance!
@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.
@EasyOne
@EasyOne 11 месяцев назад
nice
@CTCTraining1
@CTCTraining1 2 года назад
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 года назад
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.
@jbreezy3146
@jbreezy3146 2 года назад
I'm lazy if you where to build one how much would you sell it for just curious
@mumblic
@mumblic Год назад
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 ??
@citizengkar7824
@citizengkar7824 10 месяцев назад
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 10 месяцев назад
Yep, definitely New Zealand :D Btw, love the user name!
@citizengkar7824
@citizengkar7824 10 месяцев назад
@@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 10 месяцев назад
YES! :D (hopefully, the coming reboot will leave the legacy intact)
@citizengkar7824
@citizengkar7824 10 месяцев назад
@@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.
@mostafamohamedmeshref1101
@mostafamohamedmeshref1101 Год назад
What is the name of program that you are using?
@pny5656
@pny5656 6 месяцев назад
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 6 месяцев назад
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.
@m93sek
@m93sek 2 года назад
Great project. Why not analize the images for changes/motion and then just send a notification.
@fhuable
@fhuable 2 года назад
That's on my todo list :)
@mayankraichura
@mayankraichura Год назад
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 Год назад
yes, not a bad idea.
@ramabary
@ramabary 2 года назад
You need to paint the roof black.
@tombjornebark
@tombjornebark 6 месяцев назад
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.
@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 Год назад
​@@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!
@tschoi5675
@tschoi5675 2 месяца назад
I would have a button that takes a photo on demand
@kanglinyao
@kanglinyao 4 месяца назад
I knew it, it is new zealand. I miss the country.
@conradparker3761
@conradparker3761 Год назад
accelerometer?
@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).
@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).
@RussellNelson
@RussellNelson 2 года назад
9:00 Sparkfun, of course.
@fhuable
@fhuable 2 года назад
of course :D
@TheUnofficialMaker
@TheUnofficialMaker 8 месяцев назад
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.
@cjlowe1650
@cjlowe1650 8 месяцев назад
Not accounting for music (choice) but why does the background music have to be so LOUD??
@fhuable
@fhuable 8 месяцев назад
Is it ? The level seemed alright to me..
@Mrcurlywhirly
@Mrcurlywhirly 20 дней назад
I agree, this project is excellent, the volume of the soundtrack is distracting.
@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 года назад
My thought was the simpler the design the smaller the chance of something breaking or wearing out over time.
@akraus53
@akraus53 2 года назад
@@fhuable good point. Engineers tend to overcomplicate
@JoseRoberto-bv7qk
@JoseRoberto-bv7qk 9 месяцев назад
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 9 месяцев назад
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.
@obiaboimmanuel8729
@obiaboimmanuel8729 Год назад
can you access the server even from a very far distance ?
@fhuable
@fhuable Год назад
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.
@Mo-ce9ro
@Mo-ce9ro 7 месяцев назад
guy built a camera instead of just a little trigger that tracks when the lid is being opened XD
@fhuable
@fhuable 7 месяцев назад
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 7 месяцев назад
@@fhuable yeah I know, didn't mean that as an insult or anything. Loved the project but just thought about that 😂
@pny5656
@pny5656 6 месяцев назад
@@fhuable Also : weight sensor. But I love what you did with the camera. Way better :)
@thejoetandy
@thejoetandy 29 дней назад
How compatible with LoRa is something like this?
@fhuable
@fhuable 29 дней назад
As this particular incarnation transmits images, LoRa probably doesn't have enough bandwidth.
@Tntdruid
@Tntdruid 11 месяцев назад
Any Esphome version?
@fhuable
@fhuable 10 месяцев назад
I admit I had been oblivious to the existence of ESPHome until this very moment.
@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 7 месяцев назад
Thumbs down for the "lazy people" title. Don't lump us all together.
Далее
#142 Solar Power for the ESP8266, Arduino, etc.
15:06
Просмотров 237 тыс.
IQ Level: 10000
00:10
Просмотров 7 млн
How to build an Arduino controlled solar charger
16:20
3D printed subscription counter
8:49
Просмотров 120 тыс.
Solar Weather Station [WiFi, MQTT, Smart Home, ESP8266]
11:06
РЫБАЛКА ДОМА
0:17
Просмотров 17 млн
Best exercises to lose weight ! 😱
0:19
Просмотров 12 млн