Talk about overengineering... Over here in Europe, we have a piece of red and green tape stuck on a washer and another washer with a "window" cut out of it attached to the lock of the door. When you lock, the washer turns around and the red piece is visible through the "window", when you unlock, the green piece is visible. A lot cheaper, a lot easier, a lot less stuff that can break. Also, we build our bathrooms big enough for the office. If it's a big office, it's one of those stall type bathrooms with several seats and urinals and all of that. If it's a medium sized office, we have two or three bathrooms. If it's a small office, it's one shared bathroom, sometimes a ladies and a gents. Combine the two and you won't need any aluminium foil (yes, I used the PROPER way of saying it) door sensors, cables hanging everywhere, $40 microcomputers, web servers or phone apps to see if the loo is available.
@thomasruiz23078 жыл бұрын
The title should have read "Use a raspberry pi to fix every day problem". I thought they were going to list a bunch of cool ideas, not one lame one about a bathroom.
@iLoveTurtlesHaha7 жыл бұрын
WTF? That's what is it? Damn, not going to waste my time on this vid then.
@AssemblyBanditChannel5 жыл бұрын
They have 2 bathrooms for 54 people, they need to make another bathroom not a website.
@holderbee78119 жыл бұрын
Why not put webcams under the toilets? That way you know if people are in there
@trilltrey84278 жыл бұрын
instead make a raspberry pi with a camera module and make it waterproof so you can it in the toilet and watch people take a shit
@HansPeter-qg2vc8 жыл бұрын
+trill trey And put this on the website instead of some colored boxes and text!
@bboy3498335918 жыл бұрын
+Christoph Michelbach lol
@lordznehlrak97818 жыл бұрын
I see what you did there
@clutch11417 жыл бұрын
Holder Bee Hell ya and instead of putting up a light outside the door put up a monitor so people can see for sure what the bathroom situation is.
@Fractal2278 жыл бұрын
Now the boss just needs to say "GENIOUS MAN!!", immediately after he issues NFC ID cards, so when people go to take a dump he can see who it is and deduct the time from their salory. You sir, have made the CEO and board very happy.
@LiteGaming1010 жыл бұрын
Hope the washroom site does not get ddos
@diytryin10 жыл бұрын
LiteGaming so do we!
@sourabreddy2k159 жыл бұрын
+LiteGaming LOLLLL
@LiteGaming109 жыл бұрын
DIY Tryin i though you were dead but think it say the toilet say it was used and someone else DDOS it people will pee there pants
@LiteGaming109 жыл бұрын
+sourab reddy you going to do it at lunch break to mess with people :P
@zMaNificationism10 жыл бұрын
Why didn't you just use the pi as the server? It's easy enough and free.
@reeseyme96139 жыл бұрын
should build something to measure the stink level after used to complement this project.....
@FEARmeify9 жыл бұрын
+Reese Me The channel is dead so that's a bit unlikely
@reeseyme96139 жыл бұрын
is tekthing now....
@FEARmeify9 жыл бұрын
That's a completely different channel. They don't do any DIY projects as far as I know.
@holderbee78119 жыл бұрын
+Reese Me ROFL "Bathroom 2 is OPEN but STINKY :("
@charliepotatoes0018 жыл бұрын
De-contamination is Cycling Now! See progress bar for end cycle. Ready!
@DroidAppleTech10 жыл бұрын
I have a Pi and still have no ideas for a useful need for it.
@diytryin10 жыл бұрын
KZbin Commenters, Assemble... Give this Droid some ideas!
@kienanvella10 жыл бұрын
i've turned my pi model B v2 into an internet powered retro radio. parts: 3W per channel amplifier (dx.com) realtek usb wifi adapter burned out Logitech ipod dock (speakers were scavenged from this) old, broken radio (goodwill, salvation army, etc.) rotary encoder (optional, for volume control via GPIO) 5v 2A adapter (scrap, parts box, etc.) software: occidentalis (adafruit raspbian build) squeezelite (controlled via software for the logitech squeezebox) you could also use the Volumio image if you wanted.
@DroidAppleTech10 жыл бұрын
DIY Tryin bear in mind i have a macbook pro, hackintosh and a Power Mac G5 so I'm already loaded with computers.
@CommodoreFan6410 жыл бұрын
DroidAppleTech Put Linux on it, put it in a nice case, attach it too the back of a spare monitor, and donate it too a local kids after school program they never seem to have enough computers for the kids to use.
@itsyaboipandaz10 жыл бұрын
make a robot that reads a book
@lancelotxavier90848 жыл бұрын
So when the bathroom becomes available, everyone rushes to the bathroom. How about a reservation?
@Fractal2278 жыл бұрын
This made my day! Dear takeashit.html site, i would like to make a reservation directly after my 12o'clock meal to take a massive load off. notify my calender so that i am not disturbed, that is all.
@VijayChhuttani218 жыл бұрын
Make it a bid reservation. Let people bid for the next turn.. lol
@noahg40387 жыл бұрын
make it like AWS EC2 pricing...you can subscribe monthly for lower prices, you can reserve for a low price knowing that it can be shut down during peak hours, or pay a ridiculously high on demand price. Bathroom as a Service!
@Atristiel8 жыл бұрын
You guys leave bathroom doors open when empty?!?
@DialecticalMaterialismRocks7 жыл бұрын
exactly
@369Addy7 жыл бұрын
Same question
@RomanoParaSempre6 жыл бұрын
I know, right?? Should have wired the sensor to the door's internal lock!
@maddogmccree884 жыл бұрын
I believe that's why he had a third status which will look at how long a door has been closed. unless someone died inside, it would most likely mean it is empty if it has been closed for a long time.
@dritslem47114 жыл бұрын
@@maddogmccree88 It's still a shitty solution. If you assume everyone goes to the bathroom once a day (low estimate?) and rely heavily on the website to check occupancy (which is the general idea?), then that would mean that there could be (in theory) as much as 270 minutes or 4,5 hours of waiting time for false occupancy.. As soon as the employees realize this they would stop using the website. I get it - its just for fun.. But the logic behind it is terribly flawed. Why not program the status update every other count of circuit closure? It's not flawless either, but it would be a better solution. Holding the door for people waiting outside would be a no-no, but assuming the website is being used there wont be anyone outside waiting.
@ryanjames53407 жыл бұрын
3 years later and I had to check to see if I could look at your bathroom status... That was going to be my excitement for the day and you robbed me of it :(
@rxgtv3 жыл бұрын
7 later, also disappointed :(
@Cherokie899 жыл бұрын
Leaves door closed Watches world burn
@netsurfer100009 жыл бұрын
somebody at a hackerspace did exactly that. everyone was waiting outside. nobody bothered checking.
@MikeDest5 жыл бұрын
0-day
@rxgtv5 жыл бұрын
@Eric Miret r/wooosh
@teliph3U9 жыл бұрын
Why not run a HTTP server on the pi?
@netsurfer100009 жыл бұрын
exactly what most people do.
@leberkassemmel9 жыл бұрын
Because it takes more time to set up than Dropbox.
@FrantACs9 жыл бұрын
+Michi Lo not really...
@leberkassemmel9 жыл бұрын
FrantACs I know, they told us the answer in the video. But in my opinion its easyer to run "./dropbox_uploader.sh upload webpage.html" once every update, instead of hosting a server (Still haven't figured out how to open ports on my router)
@Engineer97369 жыл бұрын
+Michi Lo You only have to run apt-get install apache once. After that it will always be running when the system is on. The html can be put in /var/www/ or so. On your router you add a port forwarding rule for port 80 tcp to the ip address of your Pi. Using Dropbox for this is so unprofessional.. On your Pi you can even install a mysql database and php (apt-get install php mysql-server), which gives you a whole bunch of powerful options. Good luck!
@JimFortune10 жыл бұрын
Instead of just a door open/closed sensor, why not look at a privacy latch on the inside of the door? That way you'd know someone was inside, not just that the door was closed.
@ianwells91959 жыл бұрын
Because you already lock the door when you go in
@JimFortune9 жыл бұрын
Ian Wells But it checks if the door is closed, not if the door is locked. It's a simple conductive strip on the door frame.
@MrBiky9 жыл бұрын
Jim Fortune I know it's an old comment, but I was thinking the same. The door will most of the time stay closed, so the switch should be put inside the lock (when somebody enters, of course they lock the door and then the circuit becomes close).
@JimFortune9 жыл бұрын
MrBiky Of course you always have the joker who locks the door and then crawls out under or over the partition.
@MrBiky9 жыл бұрын
Jim Fortune Here should come in handy the Raspberry Pi with camera module to see who is the troll that crawls out (that's if those guys in the video have such kind of toilets: at 6:24 it looks like the bathroom is like one in a normal house, not like in a Mall).
@kevinmaina36719 жыл бұрын
What if some entered the bathroom while you were on your way there after checking and seeing it was open?
@hellterminator9 жыл бұрын
Why on earth are you using Dropbox instead of lighttpd (or any other http server) installed on the Pi itself? It would probably be easier to set up than the Dropbox uploading script, it would be faster and it would work even when the Internet goes out.
@kolecava9 жыл бұрын
+hellterminator yeah Dropbox gets super buggy when lot of updates are thrown at it in short space of time. So I guess if you have House party/gathering = bugception.
@CalHallows9 жыл бұрын
+hellterminator That was my thought too, and assigning the pi a static ip or better yet a hostname would forego the need for a web address making the project even cheaper...
@samha15136 жыл бұрын
If he knew that he wouldn't installed a traffic light for a fucking bathroom door. Lol
@SciPunk21510 жыл бұрын
Fun project, and good info. Just wondering... don't people usually close the bathroom door when they leave?
@patricknorton10 жыл бұрын
Not anymore!
@osaka3510 жыл бұрын
in a multi-bathroom setting, I'd imagine you could install something like this on the stall locks. Maybe? haha
@rahulmaron10 жыл бұрын
They're making it complicated. Why not just installed a cheap ip webcam inside and outside to see if someone's queuing or using the bathroom :D
@rahulmaron10 жыл бұрын
But seriously it's a good example on how to make use of this tiny device to its full potential. I'm planning to get one soon
@gamesandpctipstricks88555 жыл бұрын
@@osaka35 that's exactly what i was thinking but then the cables would be trailing from the ceiling down to the bathroom lock.
@pcross846 жыл бұрын
Just got a pi yesterday. I wrote a program to make a LED blink. Tomorrow, I learn how to get the status of pins. I hope the pi will give me a better understanding of components and what they do.
@ticoraap9 жыл бұрын
I like the idea, funny to see how much the people in the workplace appreciate this project. And the dropbox free webserver idea is smart. Thinking about the html file updating, you could also just make 4 files and replace the dropbox file with the right one, but that would not be handy if you added another bathroom to the workplace or plan on expanding. A great addition would be to place a button in the toilet which must be pressed if someone took a number 2. Or a smell sensor. (s*** sensor). That makes you able to have extra information about the toilets smell, like "Last s***ed since 11:30am". Or make a raspberry pi air tunnel, toilet shower, automated toilet-brush or a speaker that plays welcome and goodbye messages.
@justahappyfellow10 жыл бұрын
Love that you even made charts over how often it was used etc. xD Interesting that nr.1 is more popular..
@pujoey34189 жыл бұрын
I think using IR sensor or light switch to determine bathroom occupancy is better then door close/open, wouldn't that make the office smell like the bathroom??
@mepicaeltrasero9 жыл бұрын
Have you think on making a mame cabinet with one of these?
@Waxxumus6 жыл бұрын
Why didnt you make a queue on the website where you can click to add yourself to said queue in wait for the bathroom to make it an even more orderly experience?
@StephenLouderback7 жыл бұрын
Put the sensors on the lock instead of the door jam. That way if people just close the door after they leave it will not show the bathroom as "occupied". The site will only report "occupied" if the door is locked. 95% of the time, people are going to lock the door if it is in use. Especially if they know that the bathrooms are busy and people are going to be trying to open the door if it is not locked.
@undertheradar46458 жыл бұрын
perhaps a IR or PIR sensor would work better in making sure whether someone is in the bathroom? that way, if someone closed the door when they leave, you wouldn't have to wait ten minutes until it registers that it "might" be empty.
@itsjustlogic72325 жыл бұрын
You made it light up in JavaScript right?
@trizlet-8 жыл бұрын
I'm thinking about getting one but idk what I would use it for.. I have no idea how to program and suck at making stuff (I want to learn how to program/code though)
@AvineshKumarFiji9 жыл бұрын
Nice idea, maybe i should try this and in place of HTML i'll just try pushing the status to firebase. This will give me a real-time feedback.
@adrianlara50457 жыл бұрын
what if you link the sensor to the automatic lights in most business restrooms so if the light is on it means its in use and if its off it means its available
@jacksalcedo42308 жыл бұрын
You should make an online waiting list that you sign up for and it texts you when it's your turn in line and nobody's in the bathroom. That way you don't have 10 people running to bathroom 1 every 7 minutes
@OMGitsjustperfect7 жыл бұрын
How do you set up the raspberry so you can program c on your laptop. Instead of connecting your monitor and everything to the raspberry itself.
@sberder10 жыл бұрын
Why not use a template engine like Jinja2 instead of beautifulsoup (which is a bit heavy)
@gregcarlson84388 жыл бұрын
I think I might try this. Maybe put some ajax in there so that refreshing is not necessary. Thanks for the idea.
@zine2hamster9 жыл бұрын
Nice video! you could've used an IR range sensor to detect whether there's a person in the bathroom or not. (or a PIR sensor)
@tasmedic9 жыл бұрын
Erm. Is is me or does this just rely on the door being open to indicate non occupancy? If so then if someone politely closes the door when they leave (to keep the smell in there) your detection system is none the wiser and assumes there is someone in there. If all you're doing is checking whether the door is open or closed, then why not keep it simple and connect a 5v power supply and some LED's to the foil? Much simpler, no coding or relays required, and you can put the LED's wherever you like. If your staff are too far away to see the LED's, then you're probably breaking the regulations for number of toilets required per head of staff!! My LED method also prevents the boss from logging in to check how much staff time is wasted in the crapper. Boss has his own toilet facilities, of course...
@lampy93129 жыл бұрын
hello sir... i just copy your code for my project "multiple level water sensor" ...and my code have an error at the second loop. could you show me what i suppose to do to overcome the error, tq
@diossano9 жыл бұрын
Coudn't you use Apache 2 or other free web server instead of Dropbox?
@palaksha06510 жыл бұрын
Is it possible to share the code which you have written for it?
@juniorharvell7 жыл бұрын
I have no working knowledge of the raspberry pi 3 only some PC I have 2 (5-12 volt) meters or counters, one goes up for each dollar that's put in the machine and the other goes up as each dollar is taken out of the machine. I'm looking for a way to record the 2 inputs to a database that I can access over the internet using the raspberry pi 3 I also need to know where to get the Ras PI 3 Thank you
@MW-sv1dp7 жыл бұрын
thats awesome! can you show a tutorial on how to create the website
@kondwaniraphael51727 жыл бұрын
so i've been thinking: just to Add on your great work ..if someone checks on the website and the bathroom is busy he gets him self a position on the queue,(the last one to check will be the last one to go to the bathroom)
@Arduinerd6 жыл бұрын
Another way to be an office hero is to close the door after you're done.... lol
@Garreista10 жыл бұрын
Can you guys teach us how to build a radio transmitter for phones? One of those small pieces of technology that sends audio via the headphone jack over radio frequencies to your car?
@djline26 жыл бұрын
whats the coding c or vhdl
@turborota8 жыл бұрын
I don't know code What is the best way to get a programmer to programme a machine Is it a flow chart? I want to control several 2hp electric motors and many servos and sensors including movement /distance sensors Should I just use one of those vfd machines on eBay or is a raspberry a better way? What can I buy to interface a computer and electric motors/ sensors?
@90AlmostFamous7 жыл бұрын
can pi be used as tv box ? stream stuff like Kodi ?
@1MCFOX18 жыл бұрын
large bulbs + gaffa tape= FIRE!You will be a hero for sure when the office burns down.
@McMacker49 жыл бұрын
Well if only the ones in the office needed to access the webpage then you could've just installed an apache server in the same rasperry pi and make the program write the status of the bathrooms to a text file. The webpage, since it is also in the same raspberry pi, it would have access to the file, it would read it and display the status of the bathrooms. This way is also free and doesn't need any libraries to upload the file to dropbox. Way easier.
@gangireddypallavi23405 жыл бұрын
Sir Does the raspberry or arduino work if we place it inside the earth? I mean under 50 feet of the earth surface (bore wells)
@Estabanwatersaz10 жыл бұрын
What is the cost to guided tour all of your video production sites in SFO?
@kur0nek0g4ming10 жыл бұрын
I'm planning to build a multimedia service featuring AirPlay, Online Radio and own files. This thing has a small touchscreen (I have it already) and needs to be portable. Then it can also be a Bike computer.
@GRAFFDEMON9 жыл бұрын
I only use my current pi as a dedicated linux box for pentesting. If I can think of any good ideas I might get another one to play around with. Thankfully they're relatively inexpensive once you have all the peripherals :)
@britannio9 жыл бұрын
How fast is it, I was thinking of running kali Linux on a pi and using that but it seems that it would be slow.
@RemimicDeepFakes8 жыл бұрын
+Britannio Jarrett is kali linux slow on a raspberry pi 2 ?
@britannio8 жыл бұрын
+Darkc0de that's what I asked
@aarondcmedia95859 жыл бұрын
How about: Add bluetooth / wi-fi module to Pi. Write android phone / tablet app for all users of facilities. Maintain queue of facility use requests submitted through phone app. When door opens, alert next person in queue. They have X minutes / seconds to respond. Can cancel use request at any time. This gives you metrics on use and queue size as well as time of day for same, useful for going back to mgt and preventing toilet-gate.
@thejorgemarques9 жыл бұрын
Hey, just new to the Raspberry pi world, I would like to start with something similar to this, so is there a way (What would be the code) to also add playing an mp3 if the bathroom is free? Thanks a lot.
@icanseeyou20049 жыл бұрын
Omg the scream savers ... I loved that show
@asiqsyed7 жыл бұрын
hi can you able to say how to use raspberry pi 3 as a voltmeter in 7 segment display?
@ViaReconEyyy8 жыл бұрын
Why is there all that Korean on the board at 2:49?
@cakemnstr427 жыл бұрын
Nice Idea, but why do you host that on Dropbox und buy a domain? Just run nginx or lighttpd on the pi, assign it a static ip and use that. If you have a DNS server running use that to give it a proper address and you're done. Less code, cheaper and faster.
@deadbc7710 жыл бұрын
Very cool thing you guys did for your co-workers.Love it.
@DRSDavidSoft10 жыл бұрын
Awesome project, but I wonder if some people tend to close the door after they use the bathroom. Other than that, great work! BTW, why don't you use JavaScript and Ajax to refresh the page automatically when the status is changed?
@davey9298 жыл бұрын
So far I code in Java, Python and HTML/CSS but I want to learn more. Thanks for the cool project vid. I just got my first RPI and am looking for project ideas.
@GarrettGrimm10 жыл бұрын
You could use the Pi a web server to host the site internally if you wanted to skip Dropbox.
@faceprofesor7 жыл бұрын
Nice video !!! How to include in the script an autorefresh?
@aishahsaman23389 жыл бұрын
where can i get the whole step for this project coz i have to do my final year project same with this RPI ...
@Pheonixcrafter0079 жыл бұрын
I know this is an old video but you could upgrade your sensory program and make it more accurate by using this bareconductive product it is a board that can pare with the pi and it uses conductive paint as a sensor and the paint can be put on the wall 3 minimum to make an accurate sensor and have it update with from that just something to think about plus the design they had on the trailer video for bareconductive had a really cool design
@indranioruganti36078 жыл бұрын
hi DIY Tryin I am Indrani from India. I found Lynda very much interesting and hence I wanted to learn few courses but when I continued with the options I was asked to select any pack and register in. I am a student and cannot afford for any of the packages. I want to check out the 10 days trial version even for which I have to register in. My query is will I be charged for the courses after 10 days or is there a possibility I can learn it free for long time? Please help me...
@dubled95378 жыл бұрын
You will be billed by the end of your trial. Have a look around as there's 30 day trails around, they are usually done through Lynda affiliates like relevant "KZbinrs" good luck!
@PatrickSturgill9 жыл бұрын
Could you use something like this to reserve meeting rooms?
@chaelsmit58327 жыл бұрын
Can you tell me how will i be able to make my raspberry find specific info data on the internet automatically plz help
@tangocukedi18 жыл бұрын
how did you set up a web server on the pi?
@veekender7 жыл бұрын
If I understand correctly for this to work, the bathroom needs to open always to show that its not in use :/
@VR_Wizard8 жыл бұрын
I did not know that DNews and Tested have a relationship with each other but here I see you guys having fun together.
@gerard22028 жыл бұрын
feel like using dropbox is simply lazyness, free web host + php with an api would be much better
@boembajee8 жыл бұрын
You could use the lock as a button, that way you have more certainty if someone is actually in the bathroom
@FnooneXnoname7 жыл бұрын
Great work guys i love it.... how about booking a bathroom? people will see bathroom 1 is booked (light will bliink) user will get notification bathroom i open.
@DylanMadisetti9 жыл бұрын
The static page update seemed a bit hacky to me. Running a free web server off heroku or GAE and updating via some sort of basic api would have been a tad more elegant. I like the idea overall though
@ravindramaharana57369 жыл бұрын
i hav a RPi-2 + 8channel relay + breadboard & jumper wires I m trying to make a connection with those hardware's for home automation puporse but unsuccessful. Pls any one help me out of this, give some link's with each n every details pls. pls. pls help thanks & regards
@330MillionGods9 жыл бұрын
how about online waiting queue ( in case there are lot of people waiting)?
@colinwarn46068 жыл бұрын
4:26 "We'll turn on the light"-GPIO. Low ...huh?
@tazzerthespaz9 жыл бұрын
LCD touchscreen next to the door and modify the website. Create a bathroom queue
@winstonalf8 жыл бұрын
Do you guys write Linux or vxworks device drivers for pci based hard ware?
@sasankgamini40314 жыл бұрын
How does he upload the dropbpx file to his website
@redserpent9 жыл бұрын
I like to code in R and Python...yup. Great video guys!
@JanSeewald9 жыл бұрын
Why aren't you using an ESP8266? It fits this need perfectly! I wouldn't waste a whole Raspberry for that!
@JohnnyHeesterbeek8 жыл бұрын
+Jan Seewald Indeed! You can even reuse the LDR on this module to check the light status, instead of hacking with aluminium foil :) Even better; attach this module in the lightbulb itself for accuracy, and make an app or another lightbulb try pinging it.
@harleyf34907 жыл бұрын
how do you use dropbox as a host with your own domain name?
@enriquelaroche53707 жыл бұрын
Great Idea .. but.... Your wiring is likely not to code. your door switch should be a Magnetic switch. You should have a motion sensor energy conserving light in the bathroom. and monitor it's status for occupied status. EG door closed and light on = occupied. Light off = unoccupied or a non moving occupant in the dark.
@ngck10 жыл бұрын
Depth of field in the section showing the Pi, relay board and breadboard is a little too shallow eh?
@WenzaMusic8 жыл бұрын
Isnt it overkill to do this on Pi while you should use microcontroller such as STM? :/
@cpsiva10 жыл бұрын
Great Video. Very useful for similar projects. Thank you guys!
@yxhankun9 жыл бұрын
where are the programming code in python?
@GPGaal9 жыл бұрын
I"m a little curious... If you're devoting the Pi to this purpose, why not have it serve up the web page on your own network, too? I'm assuming employees outside the office have no need to know when the bathrooms in the office are free.
@GogogoFolowMe8 жыл бұрын
Now you can log when your personnal is in the bathroom and count it as break time. Brilliant !
@asiw8 жыл бұрын
I'm new to the Raspberry Pi and this is a really interesting project for me. Is the code available? If so can you post a link?
@CalumBushell10 жыл бұрын
if you go on the site, it has a load of graphs about when people use the loo (i'm British)
@davidpaulbryant10 жыл бұрын
Love the OE 800 shirt
@DITRS8 жыл бұрын
FYI Use wire-nuts for electrical connections. Much safer and durable as well as legal under the National Electrical Code.
@static22927 жыл бұрын
You could have used apache2 to host your website as long as everyone is on the same wifi network. (sudo apt-get install apache2)
@Ziboo309 жыл бұрын
Fun ! But why not plug the Pi to the light switch ? I think it's more reliable no ?
@DimitriPappas9 жыл бұрын
+Robin Bonhoure Do you switch the bathroom light on during the day? (-:
@Ziboo309 жыл бұрын
+Dimitri Pappas Yes... Don't have any windows in the bathroom at work...
@LeeWise9 жыл бұрын
Haha, nice desk lamp at 6:12
@RPBCACUEAIIBH8 жыл бұрын
Try pressure plates for toilettes to determine if it's closed but not occupied...