Smart Useless Box with ESP8266 and Gesture Sensor
Vložit
- čas přidán 11. 09. 2019
- 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! - Věda a technologie
So it’s smart and useless at the same time. I feel the same way
I wish I was as smart as this box. Equally useless, though.
that box was coded to be useless ,you're useless by choice
@@user-rd6uc2sf6i like u were programed by ur mum
@@dotmatrixmoe 🤣🤣
I want this for the thermostat in my house.
thats the most dad sentiment ive heard all year and i totally feel this
LOL
@@Xanderviceory LMFAOAOMAFMO
Its an eco friendly thermostat for sure.
I love the last one. A masterclass in Passive Aggressive Communication.
YES! Omg it looked so ANGRY! I love it!
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
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.
Ok
👍
This is the best one I've seen by a looooo-o-o-o-o-og shot! Well done sir!
I'd love to buy one of these.
Love it! Time to upgrade my old, dumb useless box!
Best I've seen. The timing is wonderful.
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.
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.
I could watch that all day thanks.
Shut up and take my money! 😄😄
When useless boxes become smart.
thanks for this!
Everyday you find something new.
This gives me Wall-e vibes, idk why
Wow, really well done! Love it's personality 😋
I love this! Brilliant!
This would be an awesome gift!
"Really smart and entertaining useless device"
It's like watching a Tom and Jerry cartoon!
I was laughing 😂 and thinking about the creator... Nailed it
Love it!
Bravo!
more like a smart device and a useless user!
¡Nojoda! Culo e' vaina efectiva... Bien chistosa y elegante :-D
Very clever 👍🙂
Maybe useless also can inspire a great idea, i like it :)
This is the best thing I've ever seen...
Useless box was the impostor
0 impostors remain
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
it needs an inductor sensor on the switch. That would be awsome :)
Loved it😍
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
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?
Es tan inútil pero tan genial, me hizo reir mucho.
Dude's got a switch or foot pedal...
When it gets really mad you should make it drive away.
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.
@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!
Pretty soon It will adapt where the AI will tell the switch to electrify itself if the user tries to touch it again
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?
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.
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.
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
@@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?
It has a pet attitude...
Best video on youtube
This is really smart😂😂😂😂😂😂
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.
Браво!
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
Yes, please share your build and experience!
... 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!
What about those of us that are too lazy to build it and just want to buy one from you??
Press 👍 on this comment, so I can see how many of you out there! And thank you!
I need to upgrade my useless box, my kid has grown too big and doesn’t fit in the box anymore.
What mechanism triggers the kid to unset the switch?
@@TesserId that’s like showing the inside of the box, or asking a magician how the tricks works.
@@ericsteel173 Makes us wonder only more.
such a good laugh! now, where can i buy it?
We are witnessing the birth of Cat AI.
Lol I thought he broke it at the second time
Useless box 2.0 achieved.
man you are perfect thank you , useless can make good busniess
Hello, is there any chance you can show us the inside of the box? I'm going to build it!
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.
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?
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.
Hilarious! 🤣
Very awesome box ! I'm having some problems with the code compiling saying "no matching call to Two Wire.begin " what could it be?
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.
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.
@@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.
@@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
@@edvanes5178 hey! I know this is some time ago, but are you able to share the code if you still have it?
It has more personality than me
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?....
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.
@@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?
@@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.
What would happen when you put a heavy object, in the box while you flick the lever?
Do you mean on the box? Probably one of the plastic pieces, maybe the gears on the servo would break.
Awesome
Did you buy the program or did you program it yourself?
I created both the hardware and the software.
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 !! 😁
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.
Brother-sister fight
How they manage to improve a useless box?
Szép munka!
Zseniális lett 😂
3D nyomtatásban nem vagyok otthon, kb mennyiért tudok egy ilyen dobozt nyomtattatni valahol ehhez? Nagyságrendileg.
How do keep an idiot busy for hours?
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!"));
Unfortunately I don't have a 3D printer. Can you buy this box anywhere?
Sorry, no at the moment, this is a DIY solution.
U can use it in toys for children , toys design will going to change . It is not useless
I want one.
That's cute
This is a finite state machine, correct?
Can you make a video building it I am having problems
Feel free to ask questions here or on the Thingiverse page!
This is me after taking shrooms.
Looks like my cat
Nice
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.
But if i will pull switch, not push it?
Hi. Can you please share some inside photos?
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....
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.
I love this project... but I cant upload this code to arduino ... Can u help me with this problem ?
What is the error message, at which point does the upload fail?
Peek a boo
Peek a boo
Peek a.......boo
Peek a boo
.......peek a boo
Funny :-)
Mai più senza !!!
Tks
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
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.
@@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
@@FrontlineGG Unfortunately it is a built-in "feature" of these servos that at power-up they reset their position with high speed :(
@@gyorgybalassy i reinstalled everything and now its working like it should be
@@FrontlineGG Great news, thanks for the feedback! Weird :)
tl;dr. Sorry to be daft, but how can I buy. Or buy parts.
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 want ozzyman to review this.. it would be awesome😃
Great idea, that would be awesome! Please ask him to review this!
@György Balássy sure I will👍
It got tired in the end.😁
What is so smart about this it's only sensors and mechanisms spend your time making Something that will benefit the world 🇦🇺
this needs googly eyes
why you need esp8266 for that
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.
I want one
*Why the name is useless?*
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.
Regen akartam csonalni egy ilyety