8 ms·
Show HN: I've built self-opening trash bin, I relax myself feeding garbage to it
- jedberg 6y agoHah, my parents have a commercial version of this. I hope his works better than theirs, because their's is always opening and closing at the wrong times!
- ivanilves 6y agoMine really works fine. Ultrasonic sensors are pretty decent in presence detection.
- Waterluvian 6y agoI just love it. Well done. Have you considered a weight sensor or maybe sound sensor to determine when to close again? I assume it’s on a timer at the moment.
- ivanilves 6y agoGlad you liked it. ;) Closing is on timer for now, yes. Maybe I will add an infra-red or sound sensor to make closing more intelligent. Good tip!
- wgrover 6y agoOne request - after you toss in the garbage and the lid closes, make it "chew" for a couple seconds by rapidly opening/closing the lid over a small distance!
- jimmies 6y agoOh boy that's not a good idea. I have a trash bin that opens automatically just like the author's post. I really realy love it. But the lid doubles as a fan when it opens and closes so it fans out the ordors. You'd want that amount of fanning minimized.
- wgrover 6y agoAh, good point. I was imagining office waste like paper, but if you're putting in kitchen scraps and dirty diapers, ignore my suggestion...
- tintor 6y agoor just make it play "chewing" sound :)
- OJFord 6y agoYou've undoubtedly thought more about bin design than I ever have, or probably ever will, do you have any suggestion for combating that fanning effect? My kitchen bin is of the slide-out cupboard type, and also suffers from that, despite being more of a shearing than a wafting action!
- phobosanomaly 6y agoMaybe try feeding it some baking soda every now and then to knock-down the odors? Edit: Activated charcoal works too! It can be found at pet stores.
- tommymachine 6y agoDecrease closing speed
- saalweachter 6y agoHmm, you could install a small fan that kicks on when the drawer is open/closed to pull air from the interior and exhaust it into an adjacent airspace, maybe through a filter if that adjacent airspace is still the room you are in.
- vbitz 6y agoYou could make the bin chew with it's mouth closed and just vibrate in time with chewing. Might also help to settle some of the material.
- staticautomatic 6y agoHave the lid slide or pivot to open laterally?
- philliphaydon 6y agohttps://youtu.be/RcOyUqXTiS8?t=80 https://youtu.be/RcOyUqXTiS8?t=80 Cookie Monster chewing cookies!!!!
- ragebol 6y agoAnd add googly eyes, makes many things better.
- robotfelix 6y agoThese two suggestions strike remarkably close to a fun university project I did, which featured chewing motions and Kinect-powered eye-contact :) ROBERt (Recycling-Of-Bottles Encouragement Robot) https://www.youtube.com/watch?v=j02o4AaIu9w https://www.youtube.com/watch?v=j02o4AaIu9w Turns out a lot of humans will stick their arm inside just to see what happens!
- ivanilves 6y agoAwesome tip, since I have only paper garbage, it will not fan out any smells like in case with biologic waste, thanks pal!
- henearkr 6y agoAnd with a balistic trajectory detection it could gulp trash on the fly!
- zestyping 6y agoThis would be an excellent place to add googly eyes!
- abiogenesis 6y agoWe attached googly eyes to our robot vacuum cleaner because my daughter was afraid of it.
- every 6y ago"Who's a good trash can? Who's the best trash can? Here, have a treat..."
- gadders 6y agoYeah, need to make the response faster to so it can snatch stuff out of the air that is thrown at it like a dog.
- deleted 6y ago[deleted]
- madacol 6y ago"basurito" LMAO
- smusamashah 6y agoAfter reading the title I imagined a bin I could throw things at and it suddenly opens and closes. Would these proximity sensors alone be enough to detect a projectile coming at it?
- abiogenesis 6y agoThe sensors could detect that, but a motor that opens the lid so fast could be dangerous.
- adrianmonk 6y agoSome garbage cans have lids that open inward, so I guess you could do it that way.
- Cyphase 6y agoThis comment caused me to imagine a garbage can that smacks the garbage you threw at it back at you.
- Izkata 6y agoDrop the "coming at it", make it race to catch any thrown trash: http://www.youtube.com/watch?v=ZNWd4FFYDv0 http://www.youtube.com/watch?v=ZNWd4FFYDv0
- QuinnyPig 6y agoBefore clicking the link my impression was “big deal, I have a Twitter account too.”
- rasz 6y agohttps://www.google.com/search?q=trash+bin+foot+pedal&source=lnms&tbm=isch https://www.google.com/search?q=trash+bin+foot+pedal&source=...
- dole 6y agoYeah, this is an iTouchless 13 gallon trash can.
- deleted 6y ago[deleted]
- layla5alive 6y agoHope you don't have any pets who might not like the sounds from that ultrasonic sensor...
- rohan1024 6y agoI would prefer those sensor by the side so that when the bin senses someone is near it automatically opens up eliminating the need to wave first.
- madbkarim 6y agoThat would cause unintentional trigger don’t you think? I.e. someone is just passing by.
- _Microft 6y agoIt clearly needs more tech! We at Trashero value our users time, attention and privacy and are proud to introduce IntelliBin AI, the worlds first truly intelligent trash bin. Using computer vision and AI, it possesses true situational awareness and determines the intention of users from the context. It will therefore only open the lid when someone approaches it to actually throw something away (sometimes even before users know it themselves!) but will ignore approaches when someone or their cat just passes by. At a price of $299 (includes the subscription fee for cloud connection for 2 years, $9 per month thereafter; you can put it in salvage mode to get 10% off your next Trashero product), it is a truly competitive product in the market of next-generation trash bins. At a modest assumption of one intelligent trash bin per four-person household, we see a potential of $1.2 T per product cycle (expected lifetime of 2 years) worldwide. We're hiring: Trashero is changing the world and you want to be part of it? Submit your application through our Trashero Hiring App. Due to the math-heavy nature of our work, we are expecting candidates to be able to solve any of the Millennium Prize Problems in a reasonable time on the whiteboard, so you might want to brush up on these in advance. For the more hands-on part of your work, we expect 10-15 years of experience with K8s, Rust and TensorFlow. When is the deadline for the next YC batch again? >< (This is a joke and the names are made up if that's not clear from reading)
- netsharc 6y agoThe other day I saw a video of man demoing a sink faucet that reacts to "OK Google, I want 500ml of water at 80 degrees Celcius". Although a trash can that detects if you threw trash at it would be neat.
- joshxyz 6y agoBut does it play despacito? Pacito pacito basu basurito
- ivanilves 6y agoSounds like a key feature! ;)
- hhas01 6y agohttps://youtu.be/rxgWHzMvXOY?t=17 https://youtu.be/rxgWHzMvXOY?t=17
- reportgunner 6y agoGarbage in garbage out.
- deleted 6y ago[deleted]
- undebuggable 6y agoTook me a while wondering how and why the bicycle pump is part of the project...
- SomeoneFromCA 6y agoThe idea is good, but the code is very mediocre. The state machine has many redundant checks, very difficult to figure out how it works.
- ivanilves 6y agoThanks for your expertise, you are very welcome to propose any real improvements, if you can ;)
- SomeoneFromCA 6y agoSure, no problems, will give you feedback later, but here is one recommendation: combine group of booleans frequently used together in conditions into a new separate boolean variable. Say, for example, bool isMoving = (isOpening or isClosing).
- ivanilves 6y agoboolean grouping sounds neat, thanks!
- shoo 6y agoivanilves, thank you for writing this up and sharing the code & the video of the end result, it is a fun project! As a thought experiment I've had a play to see what the state machine logic might look like if we try to replace the bool state variables with a set of explicit finite states, and to push the state transition logic into a pure function. Results are here: https://gist.github.com/fcostin/851c1b4d1e3cb75ba972408151f185ba https://gist.github.com/fcostin/851c1b4d1e3cb75ba972408151f1... It is more verbose, but one advantage of structuring it like this (that i've only partially succeeded at) is that state transitions only happen at most once per each call to advance_state. Might make it easier to read through and follow the logic. It also makes the state transition logic easy to unit test, since it is pure-functional instead of being mixed together with sensing and doing actions (unsure how much of a concern or possibility unit testing is with ino files, I've never done any arduino dev myself). Not sure if this is anything like what SomeoneFromCA was thinking.
- crearo 6y agoA better, possibly fast open/close design would be: 1. to have a motor roll open and close the bin lid. 2. the opening end could have a weak magnetic strip to "click" on that side. 3. to have the sensors to the side of the bin instead of on top. 4. my bin is under the kitchen sink, and I'd presume you'd want to hide your bin too, and so you could use a simple light sensor there. All this would make it a simple yet super effective solution to avoid the bin fanning out odours.
- izietto 6y agoI use these: https://photos.app.goo.gl/TfKqBp2GVJjYkmYG6 https://photos.app.goo.gl/TfKqBp2GVJjYkmYG6