#364

  Переглядів 48,395

Andreas Spiess

Andreas Spiess

День тому

Let’s have some fun with the most useless project ever done on this channel. But maybe we can learn something useful about things like dead bug construction? And maybe you decide to build one for Christmas? It uses an ATTiny85
I am a proud Patreon of @GreatScott! , @ElectroBOOM , @Electronoobs , @EEVblog , and others
No Docker, No Microsoft Teams, Zoom, no IKEA
Links:
Useless Machines: s.click.aliexpress.com/e/_9HaURn or amzn.to/3mS1prS
ATTiny85: s.click.aliexpress.com/e/_AOMno5
USASP ATTiny programmer: s.click.aliexpress.com/e/_AmxC2l
How to program an ATTiny: • Program the ATTINY85 w...
The links above usually are affiliate links which support the channel (no additional cost for you).
Supporting Material and Blog Page: www.sensorsiot.org
Github: www.github.com/sensorsiot
My Patreon Page: / andreasspiess
Discord: / discord
If you want to support the channel, please use the links below to start your shopping. No additional charges for you, but I get a commission (of your purchases the next 24 hours) to buy new stuff for the channel
My Amazon.com shop: www.amazon.com/shop/andreassp...
For Banggood bit.ly/2jAQEf4
For AliExpress: bit.ly/2B0yTLL
For Amazon.de: amzn.to/2r0ZCYI
For Amazon UK: amzn.to/2mxBaJf
For ebay.com: ebay.to/2DuYXBp
profile.php?...
/ spiessa
www.instructables.com/member/...
Please do not try to email me. This communication channel is reserved for my primary job
As an Amazon Associate, I earn from qualifying purchases
#no#midroll#ads

КОМЕНТАРІ: 300
@craiglarson2346
@craiglarson2346 3 роки тому
Thanks for brightening my day. These little 85 chips are great. Most of my projects only need one or two pins anyway. Between a coin cell and the sleep function, these things can last for nearly the shelf-life of the battery!
@AndreasSpiess
@AndreasSpiess 3 роки тому
I did not see many videos using ATTinies. So I thought I include one. Because, as you write: They are perfect for some use cases.
@mindracing
@mindracing 3 роки тому
Excellent! Really nicely explained and thought out.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you. I thought I can add a little to this simple machine...
@CarneSagrado
@CarneSagrado 3 роки тому
. I love how Andreas explains things! Even if I don't plan to construct it. It sounds like a relaxing soliloquoy from an exotic foreigner! And his humour just completes the meditative Om! .
@AndreasSpiess
@AndreasSpiess 3 роки тому
Very nice comment. Thank you!
@ooocarneiro
@ooocarneiro 3 роки тому
This is great! I haven't thought much about the ATTiny for a long time and it inspired me to get it out of the drawer. Thank you!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Great. That was one of my intentions!
@bobvincent5921
@bobvincent5921 3 роки тому
Thanks. A nice reminder of how things actually work, essential!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad you liked it!
@andrewkieran8942
@andrewkieran8942 3 роки тому
Another great video, Andreas. I think it's good to do some simple and whimsical like this, every so often.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you for your feedback. My videos depend a lot on ideas...
@tonyfleming4560
@tonyfleming4560 3 роки тому
HM, you are just full of surprises! Good for all of us who love your videos! Let's make more dead bug projects!Thanks Andreas!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Many other such projects look much better than mine ;-) But this one worked at least.
@FF7824
@FF7824 3 роки тому
Thank you for another enjoyable video. All the best to you and your family.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you. The same to you and your family!
@benjamincrall8065
@benjamincrall8065 3 роки тому
I was gonna use an H bridge to drive the motor, so I guess you beat me on simplicity.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Your solution is more flexible than mine.
@Ed19601
@Ed19601 3 роки тому
@@AndreasSpiess might be safer too. Skottky's have a high reverse leaking current
@AdityaMehendale
@AdityaMehendale 3 роки тому
L293D for full polarity-reversal control for "sneaky" cat-in-the-box animation!! :) Happy Sinterklaas!
@AndreasSpiess
@AndreasSpiess 3 роки тому
This was my first idea. But I did not have one handy. And probably it would need a little more redesign of the switches. I have a few on order now, BTW...
@tonyweil2473
@tonyweil2473 3 роки тому
Thanks for the idea. I did not have an L293D handy either, but I had a SparkFun Qwiic Motor Driver (DRV8835 based motor driver) which worked great. I then got an L293D and tried that also. What I learned is that the DRV8835 works well with 3.3V and ESP32, while the L293D requires at least 4.5V and doesn't work well at 3.3V.
@johnpipe362
@johnpipe362 3 роки тому
Love it. You should add it to your Amazon store. Dead bug construction was interesting for future use.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I anyway have to update my shop. Thanks!
@1DR31N
@1DR31N 3 роки тому
Glad to learn something new again for me. I get used to Manhattan style, now a dead bug. Funny but very interesting. Thanks a lot, you're brilliant.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad you like the content!
@noamw3841
@noamw3841 3 роки тому
The aliexpress link for the attiny85 is broken, also I noticed they are slowly getting more and more expensive, do you have alternatives to other small microcontrollers?
@AndreasSpiess
@AndreasSpiess 3 роки тому
The link on Aliexpress works here and I removed the one from Amazon. The product seems no more there.
@myhackertech
@myhackertech 3 роки тому
I love these videos! they sounds like the stories from childhood
@AndreasSpiess
@AndreasSpiess 3 роки тому
True!
@juergenschimmer960
@juergenschimmer960 3 роки тому
Very nice fun Project You may connect VCC of the Controller with the positive Battery connection . No Danger of reverse Polarity at the Controller, no need for the Diode and no leakage-Current thru the .Schottky diode
@AndreasSpiess
@AndreasSpiess 3 роки тому
True. But what about if the machine is not used? Now it is completely off.
@juergenschimmer960
@juergenschimmer960 3 роки тому
@@AndreasSpiess There is no difference in both configurations. The Controller is powered when the DPDT-Switch in the "stable" Position.The Controller is only powered when the bottom half of the switch connects Controller-GND with Battery-GND ( In the "mono-stable" Position ) and not when VCC and GND of the controller are both connected to the positive Battery-Connection. ( Controller-GND via the bottom half of the Switch, Controller-VCC permanently.)
@LucasHartmann
@LucasHartmann 3 роки тому
With "fancy" parts I usually debug to the socket. With an ESP you may also make it ALMOST useless, using it as trigger+feedback for something on the network.
@RobinsonDanieldosSantos
@RobinsonDanieldosSantos 3 роки тому
Absolutely great! Thanks a lot.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad you liked it!
@judo-rob5197
@judo-rob5197 3 роки тому
Great sense of dry humour. With nice explanations.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you!
@iamanempoweredone6064
@iamanempoweredone6064 3 роки тому
I loved the old radio shack kits that came in a box. My favorite was the little organ.
@AndreasSpiess
@AndreasSpiess 3 роки тому
As Europeans we did not have a lot of Radio Shack stuff to buy. The only thing I had was my TRS80 computer...
@wm6h
@wm6h 3 роки тому
I had forgotten all about the diode in the MOSFET! A very crafty project in all meanings of the word.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Repetition is the mother of learning ;-)
@thorntontarr2894
@thorntontarr2894 3 роки тому
What a fun project and video! With this video filled with fun, I learned about "dead bug" build. Excellent! Ausgezeichnet!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you. Glad you liked it!
@stephang5671
@stephang5671 3 роки тому
Would it be an option for an updated introduction to ATTiny85? To see your old video about it documents very impressive the quality improvement of your channel over time. Well done.
@AndreasSpiess
@AndreasSpiess 3 роки тому
It is no more interesting for many people, I think :-(
@johncoops6897
@johncoops6897 3 роки тому
I've been working on a more interesting "driver" for my Useless Box kit. The idea is to randomise it, so that the response is different each time the switch is moved. I've prototyped using 555' and 4017 to create a 10-output pseudo-randomiser. It works like an "Atari Punk Console", except that it triggers a single-shot, and the outputs have different resistors to control the delay of another 555 as monostable timer. On some outputs I've added small sound modules, so it can swear or grumble, before opening the lid and banging the switch. I slowed down the motor using resistors and diodes, to make it less frantic. In retrospect, it would have been better to use a MicroController, but I wanted to build it "analogue" since people say you cannot do "random" the way that I've done it.
@marksterling8286
@marksterling8286 3 роки тому
I love useless machines, ever since i saw one in the mid 1970s. Thanks Andreas.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome. We all know them. But it is still nice to look at one, I think.
@easthulk99
@easthulk99 3 роки тому
Greeting from Malaysia... Useful informative video for me. Dead bug... Thank you very much. We also cannot visit our relatives during festive season on lprevious MCO. Luckily now we able to do it but with strict SOP. Stay safe and more video please...
@AndreasSpiess
@AndreasSpiess 3 роки тому
I hope I will be able to deliver a video every week...
@rojirrim7298
@rojirrim7298 3 роки тому
This would be a great project for a "cost optimizing" build, as in challenging yourself to make the circuit from the cheapest parts available, or even from recycled ones! Or maybe for introducing assembly for the ATtiny chips, which is also very interesting
@AndreasSpiess
@AndreasSpiess 3 роки тому
I had to save cost when I was an employed engineer. A very important skill. But now I am happy I have enough money to spend a few cents more.
@svantepanter
@svantepanter 3 роки тому
Don't know if I understood the FET-part, does this means I can use this kind of FET for example a RC-car drive both forward and backward? I'm familiar with the concept of H-bridge to be able to switch polarity.
@AndreasSpiess
@AndreasSpiess 3 роки тому
If you use one FET, reverse is full throttle. If you use an H bridge, you can vary speed in both directions.
@WistrelChianti
@WistrelChianti 3 роки тому
I just started with ATTiny85's this week (using an arduino micro for ISP as lacking capacitors lately). I've got it PWM'ing on pin 4.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Are you sûre? I thought it only has two PWM pins..
@WistrelChianti
@WistrelChianti 3 роки тому
@@AndreasSpiess only so far as I'm using arduino's analogWrite (standard "fade" example in basic examples) but on pin 4 and it works. Tone also works
@DougForce
@DougForce 3 роки тому
Interesting video, thanks!
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome!
@WimDH
@WimDH 2 роки тому
Shouldn't the capacitor @6:34 be connected after the diode? I think it's to power the arduino when the diode is blocking the negative voltage, right?
@AndreasSpiess
@AndreasSpiess 2 роки тому
It worked like that. But I do no more exactly remember, how...
@ericBcreator
@ericBcreator 3 роки тому
Nice project! There are several Useless Machine projects. The most interesting (to me) are the ones which have better AI programmed: random timing, speed, hesitating, unexpected motions, etc. Like the box has a mind and personality of its own. BTW: the ATTiny is interesting, I will give it a try for some projects.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are right. Maybe they doe not use AI, but have a few more patterns than I did and a random generator. This up to you now ;-)
@ericBcreator
@ericBcreator 3 роки тому
@@AndreasSpiess Right, you showed how to hack this box, now it's open for modding. I still have to make my version. I was thinking about adding a 2nd or even 3rd element to make the interaction even more unexpected. Indeed a nice holiday project!
@PHamster
@PHamster 3 роки тому
Deadbug construction reminds me of GreatScott’s construction
@AndreasSpiess
@AndreasSpiess 3 роки тому
He is very skillful with prototype boards, I think. Much better than I am.
@kevinmines1141
@kevinmines1141 3 роки тому
Which video link is the one that shows how to program the ATTiny? I love your videos. They inspire me. I just wish I had the space for a working lab and regular access to components. It’s always a two day to 2week delay and then I’ve lost the motivation 🙄. Any chance you have an LED ornament video in you for the holiday? I’d be interested in you thoughts for an idea. Maybe coin battery powered? Triggered by something? Thanks from the other side of the big blue marble...
@AndreasSpiess
@AndreasSpiess 3 роки тому
You were right! I forgot the link. Now it is there... I am not too much into LED stuff, so maybe I do not have a good idea :-(
@eitancohen681
@eitancohen681 3 роки тому
What is the capacitor is needed for? Thank you for the videos! Im learning a lot from your channel!
@AndreasSpiess
@AndreasSpiess 3 роки тому
I do not remember :-( So you have to try.
@PhG1961
@PhG1961 3 роки тому
Useless things... my workshop if full of them... says my wife... ;-) Nice sense of humor goes quite well with electronics.
@047adenaufal7
@047adenaufal7 3 роки тому
hahahahahah my mother says too
@PhG1961
@PhG1961 3 роки тому
@@047adenaufal7 Depending on how old you are... this is something that you'll hear for many decades to come. Either it's your mother, wife, grandmother, mother in law... they will never see the true beauty of (useless) high-tech devices/equipment. When I get annoyed over this, I can really freak my wife out when I start discussing the beauty of an Unimog. I guess it's all about taste...
@AndreasSpiess
@AndreasSpiess 3 роки тому
@047: They only see that you can make some money with your skills. Which is at least something ;-)
@AndreasSpiess
@AndreasSpiess 3 роки тому
@Philip: Good point. Mine is ok now. But I am sure she thinks something like that ;-) Same as I do with her shoos or bags.
@ziggystardog
@ziggystardog 3 роки тому
Learning something is always useful.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Indeed!
@mapledev9335
@mapledev9335 3 роки тому
Andreas, are your gloves electrically isolating? Just curious where you bought them. Nice explanation of FETs BTW
@AndreasSpiess
@AndreasSpiess 3 роки тому
I have them from Aliexpress and I do not think they isolate. They are used for ESD work.
@mapledev9335
@mapledev9335 3 роки тому
@@AndreasSpiess thank you for replying back. Right now I'm using heavy rubber kitchen gloves when I use my insulation tester but it would be nice to have gloves that were approved. Keep up the great videos!
@marcdraco2189
@marcdraco2189 3 роки тому
That's genius Andreas!
@AndreasSpiess
@AndreasSpiess 3 роки тому
:-)
@sharpbends
@sharpbends 3 роки тому
Two arms one to switch on and the other to switch off would be endless fun ;-)
@cyclingsteve
@cyclingsteve 3 роки тому
See also... ukposts.info/have/v-deo/jZuYo4mGin2j2Wg.html
@AndreasSpiess
@AndreasSpiess 3 роки тому
Good idea! Now it is up to you to do the project!
@sairfan06
@sairfan06 3 роки тому
How did you figure out same mosfet in smd package, i asked this question on many forums but couldn't get answer.
@joshua43214
@joshua43214 3 роки тому
Many MOSFETs come in both through hole and smd packages, sometimes the data sheet will list both at the same time. The easiest way is to use the "Show Similar" feature at Mouser. Go to Mouser, search for this mosfet FQP30N06L This is a good all around device for powering almost anything from an Arduino. Scroll down the product page, and start clicking the boxes in the find similar area until there are a manageable number of items. There is one smd version, tho it is low watt. The issue is that there are not many smd transistors that can handle decent wattage.
@sairfan06
@sairfan06 3 роки тому
@@joshua43214 thanks I appreciate your help
@NivagSwerdna
@NivagSwerdna 3 роки тому
Is it possible to generate a random number to choose a behaviour when the ATTINY is turned on? i.e. not always behave the same?
@AndreasSpiess
@AndreasSpiess 3 роки тому
You can try to connect a long wire to one of the analog pins and read its value. It should be "noise".
@cyberbob4111
@cyberbob4111 3 роки тому
cool video, I like it - thank you.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thanks for the visit!
@algre977
@algre977 3 роки тому
So you got rid of the two resistors and put a capacitor instead of the top resistor to protect the chip, but what about the pull down resistor that makes sure the FET always switches off ??
@AndreasSpiess
@AndreasSpiess 3 роки тому
It is included in the MCU. If you pull the pin down it will discharge the FET.
@X-OR_
@X-OR_ 3 роки тому
I would use a 555 and 2 Transistors as a Push/Pull Circuit to drive the Motor in either direction
@AndreasSpiess
@AndreasSpiess 3 роки тому
I assume similar to an H-bridge. Good idea!
@mikehensley78
@mikehensley78 3 роки тому
i wonder if you could use the 555 or a flip-flop to charge a cap that triggers Andreas MOSFET randomly to run the circuit with discrete components only.
@alvin5704
@alvin5704 3 роки тому
May be just regulate volage from battery to motor with a single regulator transistor. But i don't know what downsides this, if you know any please let me know, I'm always curious to learn.
@joshua43214
@joshua43214 3 роки тому
Yep, a resistor will make it run slower, add a cap for a bit of delay...
@AndreasSpiess
@AndreasSpiess 3 роки тому
The problem of less current is that it will not have enough power to flip the switch in the end :-(
@coolchannel1239
@coolchannel1239 3 роки тому
Very interesting! Now I can start to imagine how those more complex 'useless machines' were made. Could keep count and modify the speed/behaviour of the arm as time goes on, put a big delay so it seems like it has given up, etc. A bit too advanced for my current skill level but one for the potential project pile. Btw, "No Docker, No Microsoft Teams, Zoom, no IKEA", what does it refer to? I'd swear I've seen docker and ikea on this channel; not so sure about the other two
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are the first who saw these lines. This is for the advertisers. They like brand names ;-) Of course no IKEA does not appear in an ikea video.
@edgarblumenfeld9479
@edgarblumenfeld9479 3 роки тому
Very interesting that the bug you chose for the thumbnail is actually a Triatoma Infestans, the vector for the T. Cruzi parasite that causes the Chagas Disease. So really "deadly bug", rather than "dead".
@AndreasSpiess
@AndreasSpiess 3 роки тому
Interesting. I took it because of its look.
@edgarblumenfeld9479
@edgarblumenfeld9479 3 роки тому
@@AndreasSpiess yes I assumed so, as this is not common knowledge. Great video and instruction as always! Thank you very much!
@Adi-lv9bo
@Adi-lv9bo 3 роки тому
I was doing this when I was young, I put all passive components between IC pins and was called "spider circuit".
@AndreasSpiess
@AndreasSpiess 3 роки тому
As another commenter wrote: 8 pins have to be called "spider" because it seems that bugs have less legs.
@Ed19601
@Ed19601 3 роки тому
Nice one. Would be perfect for a cheaper attiny13 (20-49ct) or even an attiny10 (30-50ct). (Prices without shipping)
@AndreasSpiess
@AndreasSpiess 3 роки тому
For sure. These are very useful chips.
@tonyweil2473
@tonyweil2473 3 роки тому
Can you please explain why we don't actually need to install the two resistors, one from the Arduino signal pin to the FET gate and one between the Arduino signal pin and the FET source? You said the first one was to protect the Arduino and the second to make sure the FET gate turns off. You commented that we wouldn't need to install them because the Arduino would take care of it. Is this because of some inherent properties of the Arduino or did you set something? Thanks for another interesting project and something new to learn.
@AndreasSpiess
@AndreasSpiess 3 роки тому
The gate resistor is because the gate capacity is charged and discharged which can create high currents at high frequencies. We do not use such high frequencies and all Arduino pins are current limited. The second one is to pull the gate down if the pin is open. I define the pin as output. So it is never open.
@interbudelblag
@interbudelblag 3 роки тому
Why did you not use two resistors for the fet?
@AndreasSpiess
@AndreasSpiess 3 роки тому
As I said, I wanted it simple and here they were not needed
@interbudelblag
@interbudelblag 3 роки тому
@@AndreasSpiess when I used mosfets some time ago i need to use resistor. The motor was not stopping. Digital pins doesn't always give 0v. It can give up to 1 v as low state.
@petittoto7433
@petittoto7433 3 роки тому
It is newer grey in Switzerland ! ! ! As the French border blocked the Chernobyl cloud our mountains block all the clouds and the snow appears by magic during the night.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I would love if you were right! For the moment it is raining and my HF antenna does not work anymore because everything is wet :-(
@petittoto7433
@petittoto7433 3 роки тому
@@AndreasSpiess Oups, I always forget that you don't have the same weather on the other side (the bad one) of the röstigraben... 😁
@raihaan1819
@raihaan1819 3 роки тому
Amazing!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thanks!
@electronic7979
@electronic7979 3 роки тому
Very nice
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thanks!
@colfaxschuyler3675
@colfaxschuyler3675 3 роки тому
Added functionality: After not being activated fur a while, it turns itself "on", retreats, and then starts playing some (obnoxious) 8-bit tunes. Eventually, someone comes and flips the switch. It waits a second or two, then turns itself back "on". Plays a cat-and-mouse game with any human for a minute or so, then leaves itself in the "off" condition. If the human pans familiar with the box, it may be watching, and when the machine quits, the human is still watching... And eventually wonders what's going on - and then flips the switch back to "on". Whereupon, the normal behavior assets itself: the machine waits a second, and turns itself off. Maybe the behavior needs to include the 8-bit music as a red herring.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You have very good ideas! So you have a future project to try them!
@colfaxschuyler3675
@colfaxschuyler3675 3 роки тому
@@AndreasSpiess B-D Even useless machines get lonely. 😃
@JanCiger
@JanCiger 3 роки тому
My late uncle has built something like this in the late 80s. It was a coffin with a wreath where you could place a coin in the center of the wreath and then the lid of the coffin would open, a skeleton arm would clamber out of the coffin and pull the coin inside. So not really "useless machine", it worked as a piggy bank. No electronics needed at all - just a motor, battery and a rotating cam moving the lid and the arm, along with a metal strip around it acting as a contact for keeping the motor running while arm with the coin was being retracted back into the coffin.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Definitively the better idea. At least for your uncle!
@diez66
@diez66 3 роки тому
My solution would be yours, thanks, now I feel the need to make theses changes.👍👌🏻😀
@AndreasSpiess
@AndreasSpiess 3 роки тому
It seems to be more interesting for the user (tested with my wife)...
@elson2k
@elson2k 3 роки тому
Why would you call it "useless"? It brings some joy and pleasure, doesn't it? ;)
@marcel151
@marcel151 3 роки тому
Because why these device are called like that. You can buy them if you want, not new.
@AndreasSpiess
@AndreasSpiess 3 роки тому
That is true. If we focus on the machine itself it can be called "useless". As usual, all depends on the scope and the angle of view...
@Moelgaard85
@Moelgaard85 3 роки тому
Yeah same as art, music, games etc. are useless 😄
@tinygriffy
@tinygriffy 3 роки тому
And if the joy and pleasure is over and everybody lost interest, you can even turn it into something really useful, like a timed light switch for the hallway or something ;)
@jhcaspers
@jhcaspers 3 роки тому
Nice schmal circuit. I want to build one of these for years now and never did it. Maybe now is the time.
@AndreasSpiess
@AndreasSpiess 3 роки тому
It is worth the effort. Maybe a more elaborated one with two servos and a cat...
@jhcaspers
@jhcaspers 3 роки тому
@@AndreasSpiess Yes, I actually started yesterday and made the case of wood and planned my electronics. I will use servos as I have lots of them. When it's done I might put up a video.
@NivagSwerdna
@NivagSwerdna 3 роки тому
Please could you share the ATTiny sketch. Thanks!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Just a few random analogWrites and delays
@martin.pokorny
@martin.pokorny 3 роки тому
The most fascinating thing about this funny machine is it was designed by brilliant minds Marvin Minsky / Claude Shannon. I don't know the details... but it is proof that even geniuses are humans :). I think it was originally "the Ultimate Machine"
@AndreasSpiess
@AndreasSpiess 3 роки тому
Interesting! I did not know!
@mohammadrezamim272
@mohammadrezamim272 3 роки тому
I would use servo motors, they're tiny, precise and low power with high torque Two of them so i can control door and finger separately, it helps doing complex actions
@AndreasSpiess
@AndreasSpiess 3 роки тому
Many other projects use servo motors for more flexibility, you are right.
@mikehensley78
@mikehensley78 3 роки тому
a good place to recover MOSFETs is old PC motherboards. the ones around the CPU power delivery. the best part is almost all of them will turn on with logic levels.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Good to know. Thanks!
@StigBSivertsen
@StigBSivertsen 3 роки тому
How much current does it consume while doing nothing?
@AndreasSpiess
@AndreasSpiess 3 роки тому
Nothing, of course. Thanks to the pen end switch.
@joshuachettiar86
@joshuachettiar86 3 роки тому
You could use the 555 in monostable mode to reduce the cost much further
@AndreasSpiess
@AndreasSpiess 3 роки тому
This maybe would shave off a few cents, you are right.
@seanchallenge
@seanchallenge 3 роки тому
Thank you Andreas awesome. Suggest making a deadbug method to program an Esp01 with a Nano Thank you from Sean ZS5X 73
@AndreasSpiess
@AndreasSpiess 3 роки тому
I program my ESP01 with a USB to serial adapter, a socket and a push button. Why would I need a Nano?
@sairfan06
@sairfan06 3 роки тому
Thanks for another great video, I don't know if its the right place to request a video, you did a video regarding $50 spectrum analyzer, please if you cold do a video within the budget of $500 may be there are some Spectrum Analyzers worth to have. its important as now a days trend of wireless devices is increasing and a reasonable Spectrum Analyzer can greatly help, and also you did some great videos regarding low power devices and analyzing such circuits, in one video you showed a new tool that you bought for this it cost you about $500 can you please also do a video of its usability. thanks
@AndreasSpiess
@AndreasSpiess 3 роки тому
This channel is for Makers with a "tilt" towards RF. So you have to ask a true RF channel to do such a review. It would not be very interesting for my viewers as mot of them never spend 500$ for a spectrum analyzer :-(
@McTroyd
@McTroyd 3 роки тому
Got me on the body diode. 🤦‍♂️ I was getting ready for a rectifier-based solution....
@AndreasSpiess
@AndreasSpiess 3 роки тому
The motor needs some power fto flip the switch. So a resistor would probably prevent that.
@McTroyd
@McTroyd 3 роки тому
@@AndreasSpiess Not resistor, but rectifier. I.E. "full-bridge rectifier" and capacitor. That would tolerate the AC and keep the Arduino running, but greatly complicate the design.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I did not read right. Sorry! Now I understand.
@McTroyd
@McTroyd 3 роки тому
@@AndreasSpiess No need to apologize! Your English is far better than my Swiss/German. 😁
@JerryEricsson
@JerryEricsson 3 роки тому
A bit off topic, just a question. I understand that you have access to some things that we do not, and, of course we here in the US do have access to things that are banned in your neck of the woods. That said, I recently came across a brand of Arduino, and other boards of that ilk called Olimex. These, if you are not aware, are made in Bulgaria, and from what I understand the company used to be big in construction of electronics devices for the eastern block nations. At any rate, they are now available here and from what I can see are extremely well made and packaged. They cost just a slight bit more then their Chinese competitors, however the are built so much better that I think they are well worth the extra buck or two here and there. They are built using the old fashioned phenolic boards rather then the paper crap that comes out of China, thus are much stronger and the attention to detail seems extremely good. Thus far I have purchased several of their boards to try them out. The first was a Leonardo clone, I also got a small ESP8266 01 module, a micro computer board with an Atom 13 processor that works great, comes with Android pre-installed, I have yet to convert it to Debian but that is on my to do list, I got their version of the VS1053 shield that works both stand alone or hooked to the Leonardo clone. They all come with UEXT ports so they can simply plug together with included ribbon cables, and they have thoughtfully provided sketches so you can download the sketch to connect say the MP3 player to the Arduino board and have it up and running right off. This is indeed something I would recommend you look into, if you have not already discovered them some time ago and decided not to explore any further. I ordered most of mine off Ebay, but after checking a bit deeper I found that they do have a store online where even better bargains can be had. After that, I got a nice 7'' screen for my Atom board with touch screen overlay and mounting kit for less then a 3.5 inch for a regular Arduino, it also comes with a 40 pin port on both the motherboard and the screen so an old hard drive cable from long ago can be plugged in to them and the wiring is done in seconds without worrying about having enough DuPont cables to hook things up and pray you have them all in the right holes.
@AndreasSpiess
@AndreasSpiess 3 роки тому
What a coincidence. You find links to Olimex in the today's video...
@tonyweil2473
@tonyweil2473 3 роки тому
I'm thinking of using an ESP32 and having Alexa remote control triggering the finger. You would have to always "prime" the system, by flipping the switch to the ON position. Then, an Alexa command would trigger the box to open, flip the switch and close. Adding more useless to the useless. It could be the beginning of an electronic Rube Goldberg machine.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Go ahead! Sounds like a sophisticated project.
@tonyweil2473
@tonyweil2473 3 роки тому
@@AndreasSpiess Thanks for the inspiration! Stay tuned!
@ingmarm8858
@ingmarm8858 3 роки тому
Hi Andreas like your video as usual but at 5:09 , what internal Arduino resistor? There is none that I've come across in the last 25 years lol Generally no need for a current limiting resistor anyway if driving a "logic level" (Vgs say 2v or so) FET because it is a voltage not current driven device like a BJT. (simple answer - but you can do lots of black magic calculations on gate charge currents in more critical applications). The "resistor" bit reminded me of a recent example of Lady Ada "engineering" - apparently you can connect a 100mA RGB LED to a SAMD21 I/O pin because it is "internally current limited" - yeah by destruction lol (datasheet specifies do not exceed 8mA).
@mikehensley78
@mikehensley78 3 роки тому
there are internal PULLUP resistors inside the micro-controllers that can be activated in the coding. also, you use a small resistor on mosfet gate because it acts like a capacitor and the small resistor will help protect the output pin as to not draw a burst of amperage while charging the MOSFET gate.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I just added this comment to avoid comments like "you forgot the two resistors". The life of a UKpostsr is hard ;-) The gate resistor, of course is only for the capacitive load. But I use PWM. And there are always internal resistors in an MCU (as you mentioned in the LadyAda example).
@ingmarm8858
@ingmarm8858 3 роки тому
@@AndreasSpiess Ah yes there is always internal "resistance" but not resistors which makes her engineering so dangerous ;-)
@mikehensley78
@mikehensley78 3 роки тому
@@ingmarm8858 there are actual internal resistors in the microcontrollers. you activate them with your code.
@ingmarm8858
@ingmarm8858 3 роки тому
@@mikehensley78 I've deleted my seperate comment to bring it into this reply. Yes there are resistors in both the AVR and SAMD GPIO pin structure that you can activate from your user code. They are the programmable pull-up or in the case of the SAMD pull-up or pull-down resistors on most INPUT pins. These have absolutely nothing to do with the output function of these pins. The current the pins can source or sink is determined solely by the internal resistance of the drive stage and the destructive limits of the die and die bond wires. On the SAMD you can select a drive strength which changes the maximum drive capability ~2 and 7mA. This is why Microchip (Atmel) specify limits to the maximum current per pin and total package current. On the Tiny85 the hard limit which must not be exceeded for ALL pins together is 60mA with a recommended/tested limit of 10mA per individual pin as per page 162 of the full Tiny85 datasheet. On the SAMD21 the absolute limit is 46/65mA (sink/source) for any "cluster" of I/O pins and a pin limit of 10/7 (sink/source) from section 37 of the SAMD21 datasheet.
@TheUnofficialMaker
@TheUnofficialMaker 3 роки тому
fun little project my friendly genius! I think I'll add a flash for a greater effect....where are those old flash cubes. :)
@AndreasSpiess
@AndreasSpiess 3 роки тому
Good idea!
@TheUnofficialMaker
@TheUnofficialMaker 3 роки тому
@@AndreasSpiess hey how about a MPU6050 Accelerometer for a bed occupancy sensor
@waltsteinchen
@waltsteinchen 3 роки тому
I use this "dead bug" construction method for all of my ESP32 projects to create a external AtTiny85 based watchdog. Due to my knowledge (and experience) there is no really reliable method at least within the Arduino environment, but maybe I missed something. I heard using the ESPRESSIF SDK is a different story, because you have access to other threads but never tried that... If anybody knows something in "Arduino Software" that is really reliable, pls. let me know.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Good idea. An external watchdog is always better because it is completely independent.
@loosrudi
@loosrudi 3 роки тому
One of the most 'useless' thumbs up I have clicked 👍😉
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you for doing this ! For me this is not useless ;-)
@gurudattapanda
@gurudattapanda 3 роки тому
A tutorial on Manhattan style may also enlighten us.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Never heard the word "Manhattan style". This copper clad style is more used for HF designs which are not in the center of this channel :-(
@gurudattapanda
@gurudattapanda 3 роки тому
@@AndreasSpiess www.sdmakersguild.org/the-art-of-manhattan-style-circuit-construction/#:~:text=%E2%80%9CManhattan%20Style%E2%80%9D%20is%20a%20technique,top%20of%20a%20base%20material.&text=Component%20leads%20are%20then%20soldered,provide%20a%20good%20ground%20plane.
@gurudattapanda
@gurudattapanda 3 роки тому
@@AndreasSpiess amateur operators like me follow a book from ARRL called Experimental methods of RF Design.. where this style was actually introduced to me. I thought being a famous youtuber you can introduce that to a larger audience.
@AndreasDelleske
@AndreasDelleske 3 роки тому
Have a look at artist Peter Vogel for more dead bugs design. In Basel in the Teufelhof there had been one of his installations..
@AndreasSpiess
@AndreasSpiess 3 роки тому
He has nice designs, you are right!
@ronaldhofman1726
@ronaldhofman1726 3 роки тому
It's sort of fun, it opens the lit and resets the switch, it's funny to watch , so it's not 100% useless in that sense.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are right. The effect is a smile...
@physicist137
@physicist137 3 роки тому
This contraption was invented by Claude Shannon, one of the great minds of computer science, after an idea of Marvin Minsky. He named it "Ultimate Machine" which gives it even some philosophical meaning... almost as if it is aware of it's inability to change anything and deactivates itself. Or it's danger to the world, like in "War Games". That original name makes the machine so much cooler. Too bad it mostly isn't used any more.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thanks for the info. I did not know it.
@minepro1206
@minepro1206 3 роки тому
Better than Scott's "over the air" construction method 😄.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I am not aware of this method :-(
@minepro1206
@minepro1206 3 роки тому
@@AndreasSpiess Just soldering the components floating in the air 😄.
@piconano
@piconano 3 роки тому
ATTiny85 makes me feel I got ripped off! It was more expensive that the Pro mini. I used it once because of the low sleep current. I felt all dirty and used! That was before ESP32 shock the world with their built-in LP processor.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I bought them in 10s. Then they were quite cheap. But I would say: The pro minis are dirt cheap!
@jeanyvespochez
@jeanyvespochez 3 роки тому
you can find copies of attiny85 for some $0.70 each on chinese web sites. it should be enough for such project !
@bm830810
@bm830810 3 роки тому
9:38, not useful, very interesting ;)
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are right ;-)
@Mr.Leeroy
@Mr.Leeroy 3 роки тому
the whole reasoning to rotate IC in dead bug position was to glue it so it is mounted and is easy to work with.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are right.
@chuxxsss
@chuxxsss 3 роки тому
Oh no, I got you show early Andreas. Micro gold ownly on trip.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are really early today!
@chuxxsss
@chuxxsss 3 роки тому
@@AndreasSpiess I know right.
@SkyhawkSteve
@SkyhawkSteve 3 роки тому
Has anyone mentioned just adding a resistor in series with the motor? That seems like the simplest method, but wouldn't make a very interesting video. :-) You could add a diode and a second resistor to get different speeds for the two motor directions.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I am not sure it would work because the motor needs full force to flip the switch.
@GlennHamblin
@GlennHamblin 3 роки тому
Fun!!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thanks!
@vrushantpatel3434
@vrushantpatel3434 3 роки тому
Can you please make a video to make a diy long range drone transmitter and receiver with decent price and decent
@AndreasSpiess
@AndreasSpiess 3 роки тому
I have no such plans because it is not allowed where I live. We have to always see the drone.
@piconano
@piconano 3 роки тому
You could make one the shape of a hand. When the finger is pulled, well,... you know!
@AndreasSpiess
@AndreasSpiess 3 роки тому
This is a "nice" channel ;-)
@GODAXEN
@GODAXEN 3 роки тому
There is a better way to made the circuit, the pin 8 of the arduino connected between the blue and red switch at the botton the 4 to the mimus terminal at the battery, and use the fet between the minus terminal of the battery and the red switches, we also need to use a pin of the arduino connected between one of the red switch and the motor to sense the direction. In this way is possible control it in both directions and the arduino is disconnected were the circuit isn't in use.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Interesting idea! But I am not sure if one FET is sufficient. But you could save the diode for sure.
@GODAXEN
@GODAXEN 3 роки тому
@@AndreasSpiess Actually is true that you don't have true control in both directions, the control is partial as you can only control the motor speed and the direction is controled by the switch. For true control an h-bridge is needed, well it can also be done adding a relay to the circuit for a more clicky feel. Edit: for this to work the fet have to be of the depletion type or the circuit be configured as to work as if it was of depletion type.
@UpcycleElectronics
@UpcycleElectronics 3 роки тому
For a TO252 replacement for the IRFZ44 try the IPD06N03LA. If you are following the Game & Watch (STM32H7) hack, I have retraced the entire board and posted my final draft on github. Now I'm working on a proper schematic in KiCAD. Speaking of useless machines, if anyone can help identify the last 2 BGA chips on the G&W board it would help a lot. Both are a 12 ball BGA. One is an audio amp with marking "315." The other is a switching regulator marked "230." I have already used the SMDmark search tool without success. I think the regulator is probably a MHz type Torex Semi part number. It takes ~3.7V in and outputs 1.8V, only has 2 resistors on 2 separate connections to VIN and GND, a very small inductor that looks like a large-ish ceramic cap, and a small ceramic cap on the output. The schottky must be internal, although I am no expert on switching topologies. This is used to power the micro and the entire board only has ceramic caps. I want to get to know this part number just because of this setup, regardless of the G&W. They also used a nice TI BQ24072 lithium charge controller circuit, and it has a good datasheet with full documentation. Any help is very welcome. Thanks for the upload. -Jake
@AndreasSpiess
@AndreasSpiess 3 роки тому
I did not have this FET on my watchlist. Maybe because it is quite an overkill for most of my projects. But always good to know it I want to play with the big boys ;-)
@UpcycleElectronics
@UpcycleElectronics 3 роки тому
@@AndreasSpiess It is a surplus part number on AliEx and they cost a few pennies all the way down to single order quantities from some sellers...at least they did b4 the 'rona madness. You can get two to three times more of them for the same price as the cheap and questionable quality IRLZ44's. And, as true surplus, they tend to be high quality. I got 50 last time I ordered just to keep in stock and that was well under $5 shipped. They arrived in a single standard plastic bag, and shipped in a bubble pack mailer, yet all were tested, and all were good, 50 of 50, no kidding. They just aren't breadboard friendly without breakouts, but I etch breakouts like these to keep around when already etching other projects. The first project where I used the 06N03 is a four channel 2-4A @12V LED strip light with an Arduino at 5V, with PWM and current monitor. They don't even get warm, same as a TO220 IRLZ44 only a very slightly smaller package. I only mention this stuff bc I am dumb, and it took me ordering and actually testing to find a good SMD FET to replace an IRLZ44. I often try to share such info, hoping my former self comes across this kind of info. He needs it as much as my current self needs my future self to pass down the hints, whomever that future person may currently be. Obviously, I'm here watching one such person way way ahead of me on this ladder. The comments just might catch a straggler on either side of the ladder, at least that's my goal. -Jake
@AndreasSpiess
@AndreasSpiess 3 роки тому
What do you mean with "surplus"? The ones presented to me look like standard transistors.
@UpcycleElectronics
@UpcycleElectronics 3 роки тому
@@AndreasSpiess I mean they were not made for the hobbyist market. They were probably overstock or leftover after some product stopped being produced unexpectedly. How else do they sell like this i.imgur.com/fjcK635.jpeg
@danielmoraes9637
@danielmoraes9637 3 роки тому
tks
@AndreasSpiess
@AndreasSpiess 3 роки тому
:-)
@jamesmichener7526
@jamesmichener7526 3 роки тому
No need for a microprocessor. A capacitor, diodes and resistors to slowly ramp the voltage up on gate of the FET, will delay the motor start. Don't forget a diode to discharge the capacitor. Analog lives....
@jeroenjeroen
@jeroenjeroen 3 роки тому
My thoughts exactly!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Very good! Rests the problem of different speeds...
@rainerkai1631
@rainerkai1631 3 роки тому
Hallo Andreas, mit Interesse habe ich dein Video angeschaut und bin begeistert über die einfache Möglichkeit ,die Drehzahl des Motors zu beeinflussen. Ich habe die Box auch seit kurzem, und auch allen anderen Bauteile zur Erweiterung sind vorhanden. Was ich nicht kann: den Sketch schreiben.....auch wenn’s nach deiner Aussage sehr einfach ist. Könntest du nicht doch den Sketch in das Video einstellen, dann könnte ich darauf aufbauen und mit ihm probieren. Vielen Dank schon mal!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Du siehst den Sketch im Video. Er ist extrem einfach und ich hab ihn nicht mal abgespeichert...
@r.kaiserseder5460
@r.kaiserseder5460 3 роки тому
@@AndreasSpiess Hallo Andreas, herzlichen Dank für deine schnelle Antwort, jetzt habe ich den Sketch gesehen und kann starten. Ein gutes neues Jahr!
@vylbird8014
@vylbird8014 3 роки тому
I do not like using motor power to return the finger to the off position after it presses the switch - it sucks battery power constantly, to the point you need to have a separate 'real' off switch! Personally I'd go for a mechanical approach: Use a spring or rubber band to pull the finger into the off position constantly. Then use either a gearbox that can be reverse-driven (Or direct drive with the right motor), or an alternative actuator such as muscle wire.
@thesfreader3068
@thesfreader3068 3 роки тому
No, once the finger reaches the stop button it opens the circuit. It won't be closed again until the player pushes the switch again.
@AndreasSpiess
@AndreasSpiess 3 роки тому
The SFReader is right. If the end switch is open it does not consume any power.
@RichardBronosky
@RichardBronosky 3 роки тому
3:28 I will watch this a few dozen times until it seems natural. I really struggle with datasheets.
@AndreasSpiess
@AndreasSpiess 3 роки тому
They are very important!
@robertneumann9352
@robertneumann9352 3 роки тому
use a H-Bridge and then let the motor go backwards before it triggers the switch, wait for 5 seconds and then let it flip the switch = maximum confusion 😉
@AndreasSpiess
@AndreasSpiess 3 роки тому
Yes, I saw a few examples like that. Probably a little more complicated, but not a lot.
@ahmed3tiwy169
@ahmed3tiwy169 3 роки тому
Hello 😁 from sudan
@AndreasSpiess
@AndreasSpiess 3 роки тому
Hello from Switzerland!
@caffeinatedinsanity2324
@caffeinatedinsanity2324 3 роки тому
The bug on the thumbnail looks like a kissing bug. We're doomed
@AndreasSpiess
@AndreasSpiess 3 роки тому
I am no biologist :-(
@caffeinatedinsanity2324
@caffeinatedinsanity2324 3 роки тому
Basically... They drink your blood at night and leave parasites that are dangerous for our health
@paulcohen1555
@paulcohen1555 3 роки тому
Not "negative voltage", Reversed Voltage.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are right!
@avqcdsar9617
@avqcdsar9617 3 роки тому
@7:15: well... With more than 6 pins, we can't call it dead bug any more. for this attiny (8 pins), dead spider is more relevant. and with more pins, dead myriapoda (subphylum of arthropods containing millipedes, centipedes, and others, thanks wikipedia) seems to be the better option. useless comment for the useless machine! 😁 une mise en abime parfaite du sujet! 73!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Good point! Another viewer wrote they called it "spider design". But I am only a poor electronic engineer with no biological know-how...
@avqcdsar9617
@avqcdsar9617 3 роки тому
@@AndreasSpiess hi hi! ;-)
@lottery248
@lottery248 3 роки тому
this way you can make it into a reusable piggy bank
@AndreasSpiess
@AndreasSpiess 3 роки тому
Good idea. I am probably too old for that. I have a "budget" ;-)
How does NB-IOT and CAT-M1 / LTE-M compare to LoRaWAN (Tutorial)?
21:58
Andreas Spiess
Переглядів 30 тис.
451 Which Processor can kill the ESP32?
11:24
Andreas Spiess
Переглядів 324 тис.
БМВ 6ка или ВОЛГА КГБ?! Нашли клад из 15 машин
50:12
Мастерская Синдиката
Переглядів 1,7 млн
🎭🎬Акторки vs актори - єПитання-2 з Лесею Нікітюк - Випуск 2
47:49
єПитання з Лесею Нікітюк
Переглядів 374 тис.
Я бы Не Прыгнул Туда и За 100 Миллионов 😭
00:20
Глеб Рандалайнен
Переглядів 17 млн
How a Sand Battery Could Revolutionize Home Energy Storage
13:18
Undecided with Matt Ferrell
Переглядів 721 тис.
#311 All Transistors Faked on AliExpress?
13:14
Andreas Spiess
Переглядів 121 тис.
461 The Tools and Organizers I Use (with some tricks)
15:32
Andreas Spiess
Переглядів 81 тис.
Radar Sensors from $3 to over $100: Which one is Best?
14:31
Andreas Spiess
Переглядів 138 тис.
Use the very attractive new ATTINY chips for your projects
14:34
Andreas Spiess
Переглядів 174 тис.
#363 Which ESP32 pins are safe to use?
11:53
Andreas Spiess
Переглядів 122 тис.
#357 How to assemble an outdoors electronics project
19:17
Andreas Spiess
Переглядів 54 тис.
Technicians are testing this LED module. #leddisplay #ledwall #ledmodule #ledscreen #eagerled
0:18
1$ Handmade Filter for Camera 😱 #photography
1:00
Jean Black
Переглядів 16 млн
I Need a Home Theater PC... NOW! - NVIDIA RTX HDR
22:09
Linus Tech Tips
Переглядів 610 тис.
Как умирает EEPROM память?
23:15
Электроника в объективе
Переглядів 40 тис.