Smart Useless Box with ESP8266 and Gesture Sensor
Ғылым және технология
This is a useless machine made smarter with an ESP8266 microcontroller on a Wemos D1 Mini board and an APDS-9960 proximity sensor to give more funny responses. Can you guess what is going to happen if you flip the switch?
You can download the model files to 3D print your Smart Useless Box from here: www.thingiverse.com/thing:385...
or
www.myminifactory.com/object/...
You can find the software, the wiring and the build instructions on Github: github.com/balassy/useless-box
Feel free to customize the code, add new actions, submit a pull request and also share your prints and send feedback on Thingiverse and MyMiniFactory!
Пікірлер: 191
So it’s smart and useless at the same time. I feel the same way
@Blackspidy619
3 жыл бұрын
I wish I was as smart as this box. Equally useless, though.
@user-rd6uc2sf6i
3 жыл бұрын
that box was coded to be useless ,you're useless by choice
@dotmatrixmoe
3 жыл бұрын
@@user-rd6uc2sf6i like u were programed by ur mum
@xyz-iz2kf
3 жыл бұрын
@@dotmatrixmoe 🤣🤣
I want this for the thermostat in my house.
@Xanderviceory
3 жыл бұрын
thats the most dad sentiment ive heard all year and i totally feel this
@0xGAB
3 жыл бұрын
LOL
@yeetmeat_
3 жыл бұрын
@@Xanderviceory LMFAOAOMAFMO
@ariakaragianni823
3 жыл бұрын
Its an eco friendly thermostat for sure.
I love the last one. A masterclass in Passive Aggressive Communication.
@SalahEddineH
3 жыл бұрын
YES! Omg it looked so ANGRY! I love it!
@DryLog420
3 жыл бұрын
Hahahahahahahahhahahah yessss
Can't say this one is useless. Its playfulness is very useful as it can lighten up the mood.
I love the simulated attitude it gives off...too funny
Love it! Time to upgrade my old, dumb useless box!
I'd love to buy one of these.
OMG...I really needed a good laugh today and this was it. A small plastic box with wires and stuff and an attitude. Just so effing funny...and I don't know why. Thank you.
@joeyDrivez
3 жыл бұрын
Ok
@youtubesucksshit
3 жыл бұрын
👍
This is the best one I've seen by a looooo-o-o-o-o-og shot! Well done sir!
Best I've seen. The timing is wonderful.
thanks for this!
Thanks for the video. It feels that it is really smart, and it has a temper like a human being. very interesting! Laughed for a long time. My ESP8266 express package is on the way.
Wherever in the world unfortunately change anything due to gestures , it can reset it . For avoiding Problems. Helpful for security devices
At last, a box that gets me.
Love it! Bravo!
I love this! Brilliant!
I could watch that all day thanks.
When useless boxes become smart.
Shut up and take my money! 😄😄
I wish I knew where to get this specific one..Amazon has some but the reactions are different and also don't have proximity sensors to trigger movement before you touch swirch
Very clever 👍🙂
Wow, really well done! Love it's personality 😋
This would be an awesome gift!
This gives me Wall-e vibes, idk why
This is the best thing I've ever seen...
Браво!
Loved it😍
Everyday you find something new.
I was laughing 😂 and thinking about the creator... Nailed it
it needs an inductor sensor on the switch. That would be awsome :)
Maybe useless also can inspire a great idea, i like it :)
"Really smart and entertaining useless device"
Useless box was the impostor 0 impostors remain
Best video on youtube
Hilarious! 🤣
I'm trying to assemble one of these :) However, after printing all the parts, I can't find a mount anywhere for the "lid arm" servo. Could you please post a couple of photos of the inside of the box, to show the assembly process? I can't figure out how to mount the "lid arm" servo to the inside of the box, or how to fasten the lid arm to the servo itself.
@gyorgybalassy
4 ай бұрын
@joakimgeek On Thingiverse you can find a photo of the inside of the box: cdn.thingiverse.com/assets/c7/73/7f/2b/10/large_display_IMG_20210421_183354.jpg Basically the lid arm part is screwed to the arm that arrives with the servo, and the servo is glued to the bottom of the box with double sided tape. Hope this helps and thanks for trying this project!
I will try to make this box always wanted to have a thank you for sharing as soon as it is ready I record a video ok
@gyorgybalassy
4 жыл бұрын
Yes, please share your build and experience!
@artsomniacv-logcitybydanie1249
3 жыл бұрын
... yes you have to have a foot switch or a foot pedal below and every time your finger goes for the switch that black wire or something through the table is connected to the foot switch and he could make it look like it's doing it itself. The science of rockets I tell ya! Ol' Footswitch Willy and his smart machines!
I like the randomness of it
György, if you can please help me out with the compiling of the code. I am trying to use VS code, what extensions, libraries and plugins do I need to get it to compile? It seems to me that i don’t have the correct libraries or extensions, all the errors I’m getting are related to missing function definitions or file name extensions. I’ve never used vscode for arduino so I’m not sure if I am missing anything. I got the battery shields so I can test that out as soon as I get the code sorted. Please let me know if you can help me figuring out why it won’t compile
@gyorgybalassy
4 жыл бұрын
I'm using the "Arduino" Visual Studio Code extension created by Microsoft: marketplace.visualstudio.com/items?itemName=vsciot-vscode.vscode-arduino So far I see one weakness of this tool: sometimes it does not find files referenced by the "include" statements and the compilation fails. When I try the Verify or Upload again, it succeeds. So this is a false alarm. Could you please share the exact error message you see in the Arduino IDE or in Visual Studio Code?
It's like watching a Tom and Jerry cartoon!
Szép munka!
Thanks to you I did it, thank you very much. You said in your article that you can connect to the assistants via wifi. How can it be done?
@gyorgybalassy
3 жыл бұрын
The ESP8266 board itself is wifi-capable, so hardware-wise it has everything to connect it to the network or to smart assistants. The current code I published does not contain any functionality that relies on the network, so it is an opportunity for future improvements.
more like a smart device and a useless user!
such a good laugh! now, where can i buy it?
Awesome
Zseniális lett 😂
@PeterAgoston
3 жыл бұрын
3D nyomtatásban nem vagyok otthon, kb mennyiért tudok egy ilyen dobozt nyomtattatni valahol ehhez? Nagyságrendileg.
¡Nojoda! Culo e' vaina efectiva... Bien chistosa y elegante :-D
Hello György Balássy, I am currently building this box. Right now soldering the shield for the Wemos board, i have one question. Is it possible to power this project using an internal battery instead? have you tested what is the total draw of the device in order to calculate a size of battery? I was thinking something like a small 2 cell lipo battery but that would supply a voltage of 8.4 when fully charged EDIT: I realized a 2-cell is probably overkill, instead using a 1000mAh 1-cell LiPo battery would be best. Is it possible to use a battery shield and the shield shield from your GitHub page together at the same time?
@gyorgybalassy
4 жыл бұрын
Hello Rodrigo, Honestly, I don't know. I know that you can power the Wemos D1 Mini from battery, there is even a dedicated battery shield for it, but I never looked into its documentation to understand how that works. My _guess_ it that it _probably_ does not use any GPIO port, so I _think_ it would not conflict with the useless box controller. Note however that AFAIK the Wemos D1 Mini can be powered from 3.3V, but the servos require 5V, and I'm not sure that the battery shield provides 5V. Please share your experience and solution, I'm very interested! Thanks for building this box.
@Laborchet
4 жыл бұрын
György Balássy that was also a concern I had, that the shield may only supply 3.3v regulated, While the servos need 5v. I have ordered a battery shield, will report back here when I have a conclusion. This is the same person as the original comment, just another account, apparently.
@rodrigotorcida5273
4 жыл бұрын
György Balássy i am having problems compiling the code. Arduino ide gives me an error and vs studio gives me all kinds of errors and warnings. I’m not sure if I have all the libraries setup. The electronics aren’t an issue for me but the programming is an bit out of my field of expertise
@gyorgybalassy
4 жыл бұрын
@@rodrigotorcida5273 I'm using the "Arduino" Visual Studio Code extension created by Microsoft: marketplace.visualstudio.com/items?itemName=vsciot-vscode.vscode-arduino So far I see one weakness of this tool: sometimes it does not find files referenced by the "include" statements and the compilation fails. When I try the Verify or Upload again, it succeeds. So this is a false alarm. Could you please share the exact error message you see in the Arduino IDE or in Visual Studio Code?
How they manage to improve a useless box?
This is really smart😂😂😂😂😂😂
Dude's got a switch or foot pedal...
Es tan inútil pero tan genial, me hizo reir mucho.
Very awesome box ! I'm having some problems with the code compiling saying "no matching call to Two Wire.begin " what could it be?
@gyorgybalassy
3 жыл бұрын
I'm not sure, but my guess is that a wrong version of the Wire library is found during compilation. You can try to check the build log and see what file is picked up by the compiler.
@Jabymg19
2 жыл бұрын
I've been trying to solve this problem for weeks, with all the wiring ready, the box mounted, but I can't get the program to work in any way, it always gives the same problem with the wire library and I can't solve it. Thank you very much for your help.
@edvanes5178
2 жыл бұрын
@@Jabymg19 Hello Javier, i got it running in the end but without the gesture sensor. Removed the part in the code for the gesture sensor and added some extra random functions around the switch.
@Jabymg19
2 жыл бұрын
@@edvanes5178 Thank you very much Ed van Es, but I hope I can solve the problem and make it work with the gesture sensor, as it gives a special particularity with the sensor and I would not like to remove it from the project. I will keep trying. Regards
@raf1212
Жыл бұрын
@@edvanes5178 hey! I know this is some time ago, but are you able to share the code if you still have it?
This is a finite state machine, correct?
When it gets really mad you should make it drive away.
Pretty soon It will adapt where the AI will tell the switch to electrify itself if the user tries to touch it again
Can you make a video building it I am having problems
@gyorgybalassy
4 жыл бұрын
Feel free to ask questions here or on the Thingiverse page!
man you are perfect thank you , useless can make good busniess
I am constantly getting this error when trying to compile the code :( any sugestions? proximity-sensor.cpp:45:19: error: control reaches end of non-void function [-Werror=return-type] 45 | Serial.println(F("ProximitySensor: Reading proximity value FAILED!"));
What would happen when you put a heavy object, in the box while you flick the lever?
@gyorgybalassy
4 жыл бұрын
Do you mean on the box? Probably one of the plastic pieces, maybe the gears on the servo would break.
Hello, is there any chance you can show us the inside of the box? I'm going to build it!
@gyorgybalassy
4 жыл бұрын
Sorry, I don't have photos from the inside, but everything is very straightforward if you are using the 3D models I shared. On the fixed lid there is a space for the switch, the sensor and the arm servo, and on the bottom of the box there is space for the controller board. The only item that may be tricky is the location and the mounting of the servo that opens the moving lid. I used double sided tape to mount it to the bottom of the box. Just let me know if anything is not clear, I'll do my best to help you.
I have an original "Useless Box" it doesn't do any tricks !! Is there anything I can do to up grade my box or where can I order one of the "Smart Useless Box" ?? Please Respond !! Thanx !! 😁
@gyorgybalassy
3 жыл бұрын
This is a DIY project, you cannot order it, but you can find anything you need to build it in the description. If you already have a useless box, then I assume it already contains the switch and the arm so if you want to make it smarter all you need is the microcontroller and the servo.
Hi @György, Thank to you my first Arduino project. Case printed, ordered the parts, now I got stuck in the Arduino IDE: PIN_SWITCH' was not declared in this scope and lots of other similar errors. What is happening?....
@gyorgybalassy
3 жыл бұрын
Hi Fred, I'm sorry to hear that your first Arduino project does not go without build errors. To be honest I've used Visual Studio Code with the Arduino plugin from Microsoft to create the code, that had no problem with handling the code distributed to multiple files. So the only advice I can give to you is please try VS Code, IMHO the coding experience is much better than the Arduino IDE.
@smp1465
3 жыл бұрын
@@gyorgybalassy Thank you for yor quick response. The only way to upload was to merge the config.h into the file. I will try VS Code too. Still have to test all. I wonder how you inserted the lid-servo; there are no stands for that like the pusher-servo. Also I like to use a battery, what is usable?
@gyorgybalassy
3 жыл бұрын
@@smp1465 Thanks for the feedback, and I'm glad it worked. I used double sided tape to mount the lid servo, as there was no easy way to work with screws within the box. Sorry, I never tried batteries for servos, so I don't know what is usable for this project.
Did you buy the program or did you program it yourself?
@gyorgybalassy
3 жыл бұрын
I created both the hardware and the software.
Lol I thought he broke it at the second time
It has a pet attitude...
Unfortunately I don't have a 3D printer. Can you buy this box anywhere?
@gyorgybalassy
3 жыл бұрын
Sorry, no at the moment, this is a DIY solution.
Mai più senza !!!
Useless box 2.0 achieved.
Nice
That's cute
It would be fun if it wheeled itself off when you came near, then edged itself back to tease you every so often. When it made you miss the switch it could laugh at you and flap it's lid like those wind up chattering false teeth you got in a joke shop.
But if i will pull switch, not push it?
I want one.
Hi. Can you please share some inside photos?
@joystickul
3 жыл бұрын
I just saw that you don't have. I'd like to see how did you mount the PCB on the Wemos....I think that I don't understand this....
@gyorgybalassy
3 жыл бұрын
Hello Sebastian, I used a prototype board to create a PCB that has two pin header rows on its sides that match the pin headers rows of the Wemos. So it is basically a Wemos shield, similar to the official button, LED, DHT and other Wemos shields. The big difference is that this one is a useless shield :) Hope this helps.
What about those of us that are too lazy to build it and just want to buy one from you??
@gyorgybalassy
3 жыл бұрын
Press 👍 on this comment, so I can see how many of you out there! And thank you!
We are witnessing the birth of Cat AI.
Funny :-)
No, we cant tell what it will do, unless we see the source code. I will guess though, that at 0:45 you have to trigger the photo sensor to advance the sequence.
Tks
Brother-sister fight
tl;dr. Sorry to be daft, but how can I buy. Or buy parts.
@gyorgybalassy
3 жыл бұрын
This is a totally DIY project. You can buy the electronic parts from AliExpress or probably from any micro-electronic hardware store, because they are very basic. The case however in its current form needs to be 3D printed (but of course you are free to create a box from anything, cardboard can work as well). A shared both the wiring, the software and the 3D models.
I love this project... but I cant upload this code to arduino ... Can u help me with this problem ?
@gyorgybalassy
2 ай бұрын
What is the error message, at which point does the upload fail?
Hi :) I built the box, wired everything up but when i flip the switch, the arms moving very very slowly? where is my problem? greetings from Germany
@gyorgybalassy
2 жыл бұрын
TBH I have no idea, but feel free to tweak the code! At the top of the speed-servo.cpp file you can find the constants you can play with.
@FrontlineGG
2 жыл бұрын
@@gyorgybalassy okay. Its Strange When i Plug in the Box. The Servus goong in Position With high speed 😂 but then there are super Slow and dont move the Full way
@gyorgybalassy
2 жыл бұрын
@@FrontlineGG Unfortunately it is a built-in "feature" of these servos that at power-up they reset their position with high speed :(
@FrontlineGG
2 жыл бұрын
@@gyorgybalassy i reinstalled everything and now its working like it should be
@gyorgybalassy
2 жыл бұрын
@@FrontlineGG Great news, thanks for the feedback! Weird :)
U can use it in toys for children , toys design will going to change . It is not useless
It has more personality than me
Dude - finance what you need to have the Chinese make 10,000 units according to your blueprints, have the manufacturer drop-ship to Amazon's warehouse entry point and sell them there. Pick 3 of your favorite versions and have them built in different colors.
I need to upgrade my useless box, my kid has grown too big and doesn’t fit in the box anymore.
@TesserId
3 жыл бұрын
What mechanism triggers the kid to unset the switch?
@ericsteel173
3 жыл бұрын
@@TesserId that’s like showing the inside of the box, or asking a magician how the tricks works.
@TesserId
3 жыл бұрын
@@ericsteel173 Makes us wonder only more.
I want ozzyman to review this.. it would be awesome😃
@gyorgybalassy
3 жыл бұрын
Great idea, that would be awesome! Please ask him to review this!
@rajaramparsekar3078
3 жыл бұрын
@György Balássy sure I will👍
This is me after taking shrooms.
Peek a boo Peek a boo Peek a.......boo Peek a boo .......peek a boo
What is so smart about this it's only sensors and mechanisms spend your time making Something that will benefit the world 🇦🇺
Looks like my cat
How do keep an idiot busy for hours?
Tuki😁
It got tired in the end.😁
I want one
why you need esp8266 for that
@gyorgybalassy
3 жыл бұрын
Actually you don't need ESP8266, the same functionality can be implemented in many ways. This is one solution, that you may prefer to choose if you have an ESP8266 board or already familiar with this platform.
funny
TOP TOP TOP TOP COOL!!!!!!!