No video

#101

  Рет қаралды 98,807

Andreas Spiess

Andreas Spiess

Күн бұрын

Пікірлер: 862
@johneslaughter
@johneslaughter 7 жыл бұрын
I've had an ESP8266 in my postal mailbox for sometime. It uses the same concept. When the mailman opens the box, it powers up the ESP8266 and keeps the power on until done sending a message. I've enjoyed your videos and they have inspired me to do more projects.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
I have the same "mailbox" problem, but mine must be worse: The distance to my mailbox is too big for my WiFi net.So, I not only do not get a notification, I also have to walk far ;-) This is, why I will try to use LoRa for this purpose. It should be able to go so far.
@johneslaughter
@johneslaughter 7 жыл бұрын
I had to use a homemade external antenna since the box is metal. It pokes out the bottom and is not very visible. I also had to put it into a styrofoam box to average out the temperature. It's too hot on summer Texas days for the processor.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
The temperature part is not so important here. But I think, I also have to use the external antenna concept.
@CyberCookieMonster
@CyberCookieMonster 7 жыл бұрын
It is so small. Have you thought about fixing the processor to the underside of the mailbox so you only have to deal with ambient air temperature and not the temp in your solar oven...I mean mailbox?
@KevenRothermund
@KevenRothermund 6 жыл бұрын
Inspired! Been concerned with the irregularity of the mail service and this is the perfect idea! Also, allows me to do some statistics :)
@cbm80amiga
@cbm80amiga 7 жыл бұрын
This is my comment to help your channel. Keep doing such a good stuff. Greetings from Poland!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+cbm80amiga Thanks for your support. If I remember right, you are one of my early subscribers.
@cbm80amiga
@cbm80amiga 7 жыл бұрын
Right!
@chuxxsss
@chuxxsss 7 жыл бұрын
Still have a old Amiga.
@NabekenProG87
@NabekenProG87 5 жыл бұрын
Im doing my Part!
@StuartGrimshaw
@StuartGrimshaw 6 жыл бұрын
We have a side gate at our house that the kids are forever leaving open, for ages I've wanted to fit some kind of sensor to warn us when it's been left open, but without power I was stuck how to solve it. With the idea in this video to use a relay to let the processor control when it switches off is just what I need, Thanks Andreas.
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
You are welcome!
@fifaham
@fifaham 3 жыл бұрын
Very smart. I had very similar project back in 2007 and I used an external RC circuit to wake up the MCU via IRQ pin. When the Switch is pressed and the Cap is charged the MCU wakes up via the IRQ pin. When the Switch is released the Cap is discharged via R and the MCU is powered off. So you press the Switch and the Cap charges via the Resistor, it reaches the trigger level - when you release the switch the Cap begins to discharge until the MCU is shut down. It worked perfect - I didn't care about time precision for when the MCU should shut down. You may use an SCR device with low channel resistance (and a Darlington Transistor - if having weak signal coming from somewhere) as well.
@AndreasSpiess
@AndreasSpiess 3 жыл бұрын
The WiFi connection sometimes can take a long time. This is why I decided the CPU has to switch the power off only when the job is done. BTW: I made a very similar device where I deep-sleep the device instead of switching it off. Similar to your example, I think.
@fifaham
@fifaham 3 жыл бұрын
@@AndreasSpiess That makes sense - thank you.
@Perspectologist
@Perspectologist 7 жыл бұрын
This was an interesting concept. The ESP8266 really got me interested in programmable microcontrollers again. Having such easy wifi connectivity is awesome.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+Perspectologist You are right. It enables a whole new world of possibilities. Thats why I use it quite often
@burakcan82
@burakcan82 6 жыл бұрын
Brilliant idea to deploy mosfet/relay instead of deepsleep. Wonderful. Thank you so much!
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
You are welcome!
@shakyknees425
@shakyknees425 3 жыл бұрын
Perfect for an alarm for door left open on the old refrigerator in my garage. Thanks, and Happy Sechseläuten!
@AndreasSpiess
@AndreasSpiess 3 жыл бұрын
Cool idea! I live in Basel and we have to work during Zurich's Sechseläuten :-(
@shakyknees425
@shakyknees425 3 жыл бұрын
I live in the Puget Sound area of the US, and saw the holiday celebrated on a public television program. I will visit Switzerland someday if I can.
@AndreasSpiess
@AndreasSpiess 3 жыл бұрын
Drop me a note if you do so...
@DonRideauxCrenshaw
@DonRideauxCrenshaw 7 жыл бұрын
Brilliant, elegant simplicity. I have a sensor gizmo that uses an ESP8266 to take readings every 30 minutes. I use deep sleep (timing isn't critical), a LiPo battery and a solar panel. To move this out of the sunshine, I'm thinking I could use a clock with alarm function to trip the relay.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
As long as you have a mechanical movement it will work... But with a solar panel, deep sleep should also be ok, I think. Unless your have sensors which cannot easily be switched off.
@tmk670
@tmk670 7 жыл бұрын
In the case where a voltage regulator is used, a model with an enable (CE) pin is advantageous. The power latch GPIO can be connected to the CE instead of an additional mosfet.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+tmk670 Good point. Did not think about that. But I got some new LDOs with CE. Will try it once.
@ChrisFredriksson
@ChrisFredriksson 7 жыл бұрын
Would be interesting to see as well, if you manage to make a video on that subject later on! :)
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
You never know... I have no "production plan"
@albertroswell
@albertroswell 6 жыл бұрын
1 year after, there is a video of this?
@structure7
@structure7 7 жыл бұрын
I've been saving this video for awhile and finally have used for my mailbox notification setup! I am using with a WeMos D1 Mini because I will need an external antenna. However, I found that while the mosfet (NDP6020P) would turn the WeMos off, that it continued to draw current (not sure how much). The only thing that stopped it was removing the battery or pressing the WeMos reset button. My solution was to use ESP.restart(); in lieu of digitalWrite(4, HIGH) to "turn off" the mosfet. Just thought I'd share. Thank you Andreas.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
I think, you used the 5V supply. Then, the Mosfet does not turn off, because the ESP delivers only 3.3 volt when high and you still have a negative voltage on the gate (5 - 3.3 = 1.7 volt). Figure 5 in the Mosfet datasheet says, that the transistor is only off if you have less than 1 volt.. My proposal runs on 3.3 volt.
@structure7
@structure7 7 жыл бұрын
I'm glad you mentioned this as that was originally what I had done, but noticed the condition persisted with 3.3v. I'll have to take some measurements and see what's going on. Might be a peculiarity of the WeMos.
@structure7
@structure7 7 жыл бұрын
Just wanted to mention that I rewired this morning and it works just as your example does! My possibilities for getting it wrong are limitless! :) Thanks again.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+structure7 :-)
@lubeda04
@lubeda04 5 жыл бұрын
Now that dash buttons aren't sold anymore this is a good tool for my needs
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
:-)
@stryk187
@stryk187 7 жыл бұрын
I really enjoy watching your channel. I think it has something to do with the way you explain things. Please keep the videos coming, as long as you enjoy making them. Cheers!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks for your nice words. They help in going on the route
@duardyparron850
@duardyparron850 6 жыл бұрын
The relay is a brilliant idea.
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
:-)
@ivantito2119
@ivantito2119 3 жыл бұрын
This is one of my favorite youtube channels, although I'm a Spanish, I like your accent. Thanks you so much for you videos. I'm so glad to recommend your channel.
@AndreasSpiess
@AndreasSpiess 3 жыл бұрын
The newer videos have Spanish subtitles, if this helps.
@ivantito2119
@ivantito2119 3 жыл бұрын
@@AndreasSpiess no problem, I'm learning English and I understand you :) , the most at least. Anyway thank you so much for subtitles.
@olexiybagriy3504
@olexiybagriy3504 6 жыл бұрын
Can’t stop myself watching your channel this morning - it gives so much ideas! Thanks a lot for this.
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
You are welcome!
@John_Ridley
@John_Ridley 7 жыл бұрын
Thank you for doing unusual things with the 8266. There are thousands of videos of people doing all the same thing. Good job doing something different.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thank you for your feedback. Adding the same does not create value, only work ;-)
@D3ltaLabs
@D3ltaLabs 7 жыл бұрын
hello from Sydney. keep bringing the small projects in the esp8266. Ive only just stumble soon the esp8266 after watching the new wifi jammers using this board. then after a quick KZbin search on the nodemcu I found your channel a diamond in the rough, great content. it's a pitty the smaller new channels don't get more exposure to new veiwers. awesome work :)
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks for your feedback. You can help the channel if you like the videos and write comments. That seems to help...
@D3ltaLabs
@D3ltaLabs 7 жыл бұрын
Will do, thanks for reply ;)
@jndb24
@jndb24 6 жыл бұрын
I have used a similar concept for my mailbox but instead of just a p-channel mosfet I also added an ATtiny85. It waits in deep sleep for an external interrupt (or two) and powers the ESP8266. When the ESP is done is signals the ATtiny to go into deep sleep. In deep sleep th ATtiny and mosfet together use less than 1uA. With the ATtiny you can have more than one interrupt like for on and off buttons. So the same circuit can be used to trigger two separate functions.
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
That is a very good idea if you need more than one input or if you want to include some logic.
@olivier3269
@olivier3269 Жыл бұрын
A comment to support this channel that helps me disposer the esp world. Thanks
@AndreasSpiess
@AndreasSpiess Жыл бұрын
Thanks for your support!
@TrashPandamonium
@TrashPandamonium 7 жыл бұрын
Thanks for all your videos, Andreas! They've been very helpful to help me understand what can be done with ESP8266 and Arduino in general.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
You are welcome!
@4.0.4
@4.0.4 7 жыл бұрын
This kind of projects are why I think ESP8266/8285 will be a good fit for a long time, even if the ESP32 is available.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
We will see. If the ESP32 comes to the same price point, it will be hard for the ESP8266. Deep sleep should also work very well on the new chip. Till then, I will use the ESP8266...
@ImAnAutie
@ImAnAutie 7 жыл бұрын
How did I not think of this? It's a brilliant method.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks! We have a saying here: Somebody is always getting up earlier in the morning ;-)
@XerotoLabs
@XerotoLabs 7 жыл бұрын
its a great idea . man you keep making things that i keep wanting to try .. but need more hours in the day .
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Wait till you are old as I am. Then you still have the 24h, but (hopefully) can shift the priorities a little...
@DanielFlores-mc3hv
@DanielFlores-mc3hv 7 жыл бұрын
Andreas Spiess p
@RobinsonDanieldosSantos
@RobinsonDanieldosSantos 4 жыл бұрын
Great idea Mr. Spiess
@AndreasSpiess
@AndreasSpiess 4 жыл бұрын
Thank you!
@RubenLensvelt
@RubenLensvelt 7 жыл бұрын
I don't always have as much time for tinkering around as I want, so then I watch your video instead. Thanks!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+Ruben Lensvelt So, I am somehow "virtual reality" for you ;-)
@zweiblali3410
@zweiblali3410 7 жыл бұрын
I love the ESP8266 I bought 6 of them.
@asiw
@asiw 7 жыл бұрын
Me too
@nicholasvonklitzing8645
@nicholasvonklitzing8645 7 жыл бұрын
Zwei Blali Same. I got 6 esp-12 of Aliexpress. And you?
@mlazzarotto
@mlazzarotto 7 жыл бұрын
Zwei Blali I am a noob but I think that the most powerful is the 12 version. is there some case where the 01 is better?
@farmerkjs6042
@farmerkjs6042 7 жыл бұрын
Me too! I bought 25 of them!
@delano6584
@delano6584 5 жыл бұрын
I got 7 2 from the official website the Dstike 5 esp8266 all w deauther
4 жыл бұрын
Very nice video, as always. Regarding you remarks about IFTTT : 1. In your ESP8266 code, you can use "http" instead of "https" in your webhook trigger url and it will work just fine. 2. The delay between a trigger and an action depends on the service it's connected to but for lots of them it's almost instantaneous (less than a second) : a sonoff switch or a iphone notification, for example. I guess it depends on how important is the time of reaction for that particular service. It would be inconvenient to have to wait 10 seconds every time you flip a switch whereas it doesn't make much difference if an automated tweet or a youtube notification is delayed for 10 or 20 seconds. One last thing : when you use a IFTTT recipe too many times in a short amount of time (like it might happen when you're testing it), the delay may increase or the service might even stop responding for a while. Again, it depends on the service you're using. For example, the quota with "Add row in Google Sheet" is particularly short.
@AndreasSpiess
@AndreasSpiess 4 жыл бұрын
Thank you for your info!
@dullage
@dullage 7 жыл бұрын
Hi Andreas, firstly thank you for the videos, keep them coming. I am an absolute beginner to electronics but I'm slowly learning. I really like the concept here but unfortunately I am having trouble implementing the MOSFET power circuit. The issue I am having is that the NodeMCU board I am using is not powering down completely, it partially powers down but I know there is still power to it as I can still see current flowing (also the boot up times are too quick to be from a totally off state). After some investigation I have found that the gate is only reaching about half of the voltage required to completely shut off the MOSFET. I am using a 10k pull-up resistor on the gate but still not enough. The GPIO pin appears to be sinking the voltage as if I disconnect this the pull-up resistor does it's job and shuts the MOSFET off completely. Hopefully you or someone who reads your comments can help a newbie. Keep up the good work.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Do you use a P-channel Mosfet?
@dullage
@dullage 7 жыл бұрын
Andreas Spiess Yes, I have a IRFU5305 P Channel MOSFET on the high side of the circuit.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
The gate threshold voltage of your FET can go up to -4 volt and your ESP has only 3.3 volt to offer. So, your FET might not switch on. Maybe you experiment only with the FET without the MCU if you are able to switch it with the voltage levels provided by your pin. I used a NDP6020P which has a Vgs threshold of only -1 volt and is better suited for our purpose. Many FETS are used for power supplies with higher voltaes. We need "logic level" FETS
@dullage
@dullage 7 жыл бұрын
Thanks for the ideas Andreas, I'll have a look about for another MOSFET with a lower threshold.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Look at sparkfun and adafruit. They have some...
@jims408
@jims408 7 жыл бұрын
Very nice video, and I'm so glad that you did not go with the relay solution... waaaaay too much power required, even if only for the short time while the microcontroller runs. I was looking for a latching "soft power on" circuit that does not draw any power when off and haven't found one yet, but they must exist... at least I hope so. Cheers,
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+jims408 I used the relay because it is easier to understand. As always, it has advantages and disadvantages. For a button used only very rarely (e. g. Emergency button, this could still be a good solution because it draws absolutely no current during off. Some LDO regulators have CE, but I do not know how much current they need in the off state.
@cncdaddio
@cncdaddio 7 жыл бұрын
If the I/O port of the microprocessor on which you connect the resistor has reversed protection diodes build in, you can actually power the internal VCC of the processor through that port and that internal diode. The internal VCC voltage the processor will have is going to be a bit lower (battery - Vinternaldiode - Vresistor) but will often be enough to keep the processor running. So your fet and resistor idea will not always work; the processor is not guaranteed to turn off. I had this problem once and it took me ages to find the fault. I solved it by using a transistor to switch the fet. I don't know if the ESP8266 has protected I/O's but even if it has, because it's so power hungry the voltage drop across the resistor might be high enough not to turn the ESP8266 fully on. Still... wouldn't you get a constant current drain through that resistor as if almost it were tied directly to ground? Dave Jones from the EEVBlog made a video (#831) on it: kzbin.info/www/bejne/aKqpmWqMq5WDl9k
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
I used a 10k resistor and measured the current (with Dave's uCurrent). It was between 1 and 2 uA with the big FET. So, I did not care too much about the effects you describe. Maybe, I was just lucky. And I am also lucky because I do not have to build devices for sale. This would of course need much more testing. Thanks for the explanations. If I run into the same problem as you, I hope I will remember your post...
@david_pilling
@david_pilling 7 жыл бұрын
I did a project where a microcontroller turns itself off, www.davidpilling.com/wiki/index.php/NiMNiMNiMNiMNiMH Refers to another Dave Jones circuit, more complicated than 1 FET.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
I will read your articla. Thanks for the link.
@simonzhou8952
@simonzhou8952 7 жыл бұрын
really like this unique power saving strategy
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
:-)
@ramixnudles7958
@ramixnudles7958 7 жыл бұрын
There's no problem LIKE-ing. So, here's my contribution. Woohoo! Your videos always rock!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks for the support. It helps the channel!
@mschorer
@mschorer 5 жыл бұрын
Very cool idea with the relais!
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
The relay was only for explanation. In reality we use transistors.
@ScaryLasers
@ScaryLasers Ай бұрын
🎉🎉🎉 just stumbled on this. Im learning so much thank you!!❤❤❤
@AndreasSpiess
@AndreasSpiess Ай бұрын
You are welcome!
@anumsheraz4625
@anumsheraz4625 7 жыл бұрын
Blessed to have ppl like you... Great Sharing (y)
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
:-)
@johncongerton2725
@johncongerton2725 7 жыл бұрын
My favourite electronics channel
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks!
@damny0utoobe
@damny0utoobe 7 жыл бұрын
this will help a lot of people. I really enjoy your low power techniques videos
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
I hope so. This is now the minimum power consumption, i think...
@cpfs50
@cpfs50 7 жыл бұрын
Thank you so much Andreas for all these videos, your research and advice is so helpful. Its such a good idea to use a mechanical switch to keep the current consumption down. Hope one day we are able to crack the esp8266 ssl problem
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+Chris Sheppard Actually it seems easier than I thought. I will show it in a later video
@cpfs50
@cpfs50 7 жыл бұрын
Thank you, I'm looking forward to it!
@MadHatter764
@MadHatter764 3 жыл бұрын
I built my own super low current delayed off circuit using a CMOS variant of the 555 - the 7555. Its super low consumption is due to being CMOS logic - the momentary push button triggers the one shot timer and its a generous 20 seconds on time to let the Wifi connection and MQTTT send happen. The uC has no control over the duration though which is a drawback as compared to your design.
@AndreasSpiess
@AndreasSpiess 3 жыл бұрын
Also a good solution. But it needs additional HW...
@sethalump
@sethalump 7 жыл бұрын
Thank you for your detailed and clear explanations. Your topics always seem to be interesting and relevant. Well done sir.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks for your support!
@hardkrash
@hardkrash 7 жыл бұрын
Have any SCRs to play with? An SCR triggered by your switch and use the PFET to break the circuit. The power delivery circuit is battery positive to SCR Cathode, SCR Anode to PFET source, PFET drain to ESP power. the PFET gate is pulled down with a resistor to ground and attached to a output of the ESP. When the ESP is don set the GPIO high to stop power. This circuit is 100% analog on startup and latch, digitally triggered when off. An example SCR like the P0130AA is 1uA at 100V across the cathode to anode.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
I have to admit, that I do not know these devices and never used one. This is why I am not not sure, which would be its advantage in this scenario. As far as I understood (from Wikipedia) this device can be triggered by a pulse and then keeps its conductivity. This is done here by the Mikrocontroller (without any additional cost).
@hardkrash
@hardkrash 7 жыл бұрын
I was going for zero power and ability to not require booting to keep the unit powered on. The key factor of the SCR is that it keeps conduction until the current drops below a threshold current 5mA for the model P0130AA. As for switching off, I realized that putting the MCU into deep sleep would drop below the holding current of the SCR. Now the switch off is to tell the unit to go to deep sleep, no GPIO needed.
@transonic22
@transonic22 7 жыл бұрын
Comments from Victoria BC Canada, because you asked so nicely.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thank you for your support!
@Inspironator
@Inspironator 7 жыл бұрын
I like your videos and pizza! More relevant to this video, a CMOS logic chip could operate at a very low power level until it wakes up with the press of a momentary button, then enable/supply power for a desired time, then sleep/deactivate your circuit. I used a 9V battery in such a CMOS logic circuit for 30 years and it still worked, although it was in stand by almost the entire time.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
I think this is a good idea if you need some logic. And it is astonishing that it worked for so long (also because some batteries discharge themselves). If you just need a mechanical switch you also can go with a simple MOSFET to switch the ESP on ( I used this principle in another video)
@phatcowboy76
@phatcowboy76 6 жыл бұрын
I like your methods Herr Spiess. Enjoyed the video.
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
Thank you!
@mr_WAZZZAAAPP
@mr_WAZZZAAAPP 4 жыл бұрын
Andreas, your stuff is always good. Thank you.
@AndreasSpiess
@AndreasSpiess 4 жыл бұрын
Thank you. I appreciate that!
@ClaudeMcVea
@ClaudeMcVea 6 жыл бұрын
Greetings from Las Vegas Nevada. Thanks for excellent tutorials.
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
You are welcome. Nice place where you live!
@rickcook5335
@rickcook5335 6 жыл бұрын
Keep up the great videos. You've taught me so much as I venture into IOT.
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
Thanks!
@asiw
@asiw 7 жыл бұрын
I always learn something new when watching your videos. Nice idea about the long battery life. I need to look into IFTTT as I have not used this before. Hope the Pizza was nice. Best wishes Arthur
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+Arthur Yarnell IFTTT is quite primitive. But they have a critical mass. And this extremely important in the internet.
@javierpallalorden
@javierpallalorden 7 жыл бұрын
Nice video Andreas.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks! :-)
@evgenienchev
@evgenienchev 7 жыл бұрын
Hey Andreas, great job. Thank you for putting so much effort in making these videos!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
You're welcome. Comments like yours help in continue the effort!
@ellisdeon
@ellisdeon 7 жыл бұрын
This is my comment to help your channel. I rarely do not watch your channel. T hope this help to keep the lights on. Greetings from South Africa.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks for your support! You live in a beautiful country!
@jezebabe
@jezebabe 5 жыл бұрын
Very interesting video and plenty of food for thought. Thanks for the inspiration Andreas.
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
You are welcome!
@airwavested
@airwavested 7 жыл бұрын
Excellent and informative channel. Always look forward to and enjoy each video. Thank you!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
That is exactly as intended. Glad to read that!
@miklosbelhazy741
@miklosbelhazy741 7 жыл бұрын
Heres my comment to support you :) : I made the same turnoff fet circuit in an arduino timelapse project (for photo cameras without this option built in) to turn the curcuit off, if it finishes the timelapse, lets say, may after few days. But my circuit is failed to switching it off. Now im going to check yours to fix my circuit.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+Miklós Belházy In video #14 I did it with an Arduino and 220 volts. Thanks for your support!
@BEdmonson85
@BEdmonson85 7 жыл бұрын
Hi Andreas, I love this channel! Thanks for all you do. ☺
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+BEdmonson85 You are welcome!
@LlewAshdown
@LlewAshdown 6 жыл бұрын
Excellent practical use for these esp chips
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
:-)
@AbdullahAtta
@AbdullahAtta 7 жыл бұрын
Andreas, very clever technique, I liked it :)
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks!
@c0r0y
@c0r0y 7 жыл бұрын
Currently I am thinking about a piezo vibration sensor which detects the fall of a postcard. The sensitivity can be changed via a resistor, a weight on the piezo and in Arduino itself and the circuit would be even simpler because you do not need an automatic on/off switch or deep sleep.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
I never worked with these devices. So, I do not know how they work...
@c0r0y
@c0r0y 6 жыл бұрын
Here is a good example: davidhoulding.blogspot.de/2014/02/high-sensitivity-vibration-sensor-using.html
@nicolais86
@nicolais86 6 жыл бұрын
Keep doing such a good stuff. Greetings from Argentina!
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
Thank you!
@robertpastorella
@robertpastorella 7 жыл бұрын
What a wonderful solution, thanks for the well thought out videos and explanations.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thank you for your nice words!
@martinmilner2019
@martinmilner2019 7 жыл бұрын
Thanks for all the great videos. I learn lots and get inspired for new projects.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+Martin Milner Thanks for your support!
@deangreenhough3479
@deangreenhough3479 7 жыл бұрын
Wow 😲 loved the concept and execution
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Execution was a little "breadbordy". But I did not (yet) have the time to make a nice box.
@robii387
@robii387 7 жыл бұрын
I really enjoy watching your videos. Thank you.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+robii387 You are welcome!
@myounges
@myounges 7 жыл бұрын
Have to look into those 8285s, never heard of them.Thx! Liked and commented!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks for your support!
@JimBell20
@JimBell20 7 жыл бұрын
You don't need https to do a "get" using the example in the webhooks docs. It works very well and you don't need the forwarding server. I am connecting to my local router, sending a get request to my webhooks applet, and then going to sleep. This completes in less than 3 seconds. The applet is hooked to gmail. I get the mail in less that 15 seconds.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
I used both versions, the one with https on the ESP and the one with a php script on my webserver. Both are valid. If the fingerprint of the webservice does not frequently change, then I prefer the ESP "native" approach, because it is simple.
@segoetnico
@segoetnico 6 жыл бұрын
Great video. Very informative. Thanks Andreas.
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
:-)
@TheHoodik
@TheHoodik 7 жыл бұрын
Really cool stuff! I'm going to use this to make a mailbox notifier! 👍🏻🙂
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks! My mailbox unfortunately is out of range for the WiFi. So, I will try to use a "Sub GHz" system like LoRa
@12spiedey
@12spiedey 6 жыл бұрын
This is my comment to help your channel. Keep doing such a good stuff. Greetings from The Netherlands !
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
Thanks for your support!
@FredrikOhlsson70
@FredrikOhlsson70 7 жыл бұрын
Keep up the good work! Love to watch your channel!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks for your support!
@AllanKobelansky
@AllanKobelansky 7 жыл бұрын
Nice work. Always an educational experience.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks! :-)
@i8BBQ4Lunch
@i8BBQ4Lunch 8 ай бұрын
Great information. Thank you.
@AndreasSpiess
@AndreasSpiess 8 ай бұрын
You are welcome!
@RaadYacu
@RaadYacu 7 жыл бұрын
As always,very nice Andreas and cant wait to see full Fritz of this. Why not loose https and just go with mqtt?
@MaxintRD
@MaxintRD 7 жыл бұрын
Raad Yacu - +1 for MQTT. Running https on the ESP8266 seems a bit heavy and will probably cost more memory and processing time than plain old http.
@RichardHowin
@RichardHowin 3 жыл бұрын
it's called latching XD. What a great implementation
@AndreasSpiess
@AndreasSpiess 3 жыл бұрын
:-)
@das250250
@das250250 7 жыл бұрын
You have great electronic material
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks!
@anarki8884
@anarki8884 7 жыл бұрын
Grüezi Andreas! I love your channel, I'm a beginner and I've already learned a lot from you. I live in Switzerland too, but on the other side of the Röstigraben :) I was also thinking about what you describe in this video. I use the more user-friendly versions of the ESP8266 for the time being (some NodeMCU boards and I'm currently waiting for a couple of WeMos D1 Minis to arrive). These are not great for low-power operation as you've pointed out in some other videos, because they have tons of extra things on the board that drain power even when the ESP is in deep sleep. Since when waking up from deep sleep the ESP resets itself anyway, I don't really see a point in having it powered while it's sleeping other than for the built-in timer that wakes it up again. That timer could be replaced by an external low-power microntroller though, like an ATtiny or something. It could be worth a try if you haven't tried it already. Regarding the ESP8266 and HTTPS: I've set up a small remote-controlled relay using the ESP8266 and MQTT to control it through Home Assistant, and I use TLS on my MQTT server. It's very easy to set up and you can find some example code here, among many other places: io.adafruit.com/blog/security/2016/07/05/adafruit-io-security-esp8266/. I imagine the procedure is the same for HTTPS since it also uses TLS.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+Anarki Thanks for your long post. The Wemos have a different regulator than the NodeMCU boards. I like them, too because of their size. Concerning external trigger: A video is in the making. But not with timers, but sensors. Concerning HTTPS: I do not understand the thing with the fingerprint and where to get it. I am a real amateur with the internet protocols. But I will have a look at your link
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+Anarki And BTW: I do not believe, that Switzerland will fall apart if we all would communicate in English!
@anarki8884
@anarki8884 7 жыл бұрын
Thanks for the reply! The WeMos indeed have a regulator with a very low quiescent current, in the order of 25-50 μA, which is quite good. There' still the USB-to-serial converter chip through which also draws quite a few μA in sleep mode. Great, I'm looking forward to the video with an external trigger. You can easily find the SHA fingerprint of the certificate that a website uses through your browser. Go to the website that you want to connect to and then click on the lock thing that should appear next to the address in your browser to denote that it's an HTTPS connection. On Firefox there's a "more information" button there which shows you more information about the secure connection, including the SHA fingerprint. There should be a similar option on other browsers.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+Anarki Thanks for the "Tutorial". I will try it tomorrow.
@anarki8884
@anarki8884 7 жыл бұрын
I'm not Swiss so I can't judge that. Also, my (high) German is much much better than my French! :D
@johannesullstrom9955
@johannesullstrom9955 6 жыл бұрын
Watched many of your videos and learned alot! Big thanks and keep making these videos! :)
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
You are welcome!
@MrShivamgautam1
@MrShivamgautam1 7 жыл бұрын
I am also trying to build one of these, I want to power them with button cells to keep the enclosure as small as possible. Will post a link here once completed.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Button cells might not deliver the current you need... I tried it in my video #58, if I remember right.
@petrpo14
@petrpo14 7 жыл бұрын
Hi, very interesting how to put esp info "sleep". Thank you for your video.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
You are welcome!
@novoster
@novoster 7 жыл бұрын
A comment for help: Thanks for all your ideas and explanations.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+novoster Thanks for your support!
@trinidad17
@trinidad17 7 жыл бұрын
Great content as always. Just a question, any special reason why you used a p-channel MOSFET, instead of n-channel?
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+T Trindad The N-channel would go in the ground line. Usually, I keep ground connections together, no other reason.
@manecolooper
@manecolooper 7 жыл бұрын
amzing device the esp8266, arduino killer! thanks for your generosity Andreas!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
You are welcome!
@claudiomoles
@claudiomoles 7 жыл бұрын
Great channel, I follow all your hacks, they are great and help me a lot. Claudio from Brazil.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks!
@oleeide9763
@oleeide9763 5 жыл бұрын
As usual, an excellent video, keep up the good work.
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
Thank you!
@jix177
@jix177 7 жыл бұрын
Another good project. Keep up the great work. Thanks.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+jix177 You're welcome. Thanks for your support!
@georgelake1906
@georgelake1906 7 жыл бұрын
Hi Andres, wonderfull concept! I can forsee several projects with this idea! thanks.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+George Lake Good to read. You're welcome!
@pholmdk
@pholmdk 7 жыл бұрын
Thank you for yet another great video.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
You' re welcome!
@zynoda
@zynoda 7 жыл бұрын
Been following your channel for a while. Thanks for the info!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
You're welcome!
@FamilyManMoving
@FamilyManMoving 7 жыл бұрын
You said you did not have a 3.3v relay in your lab...if you had the choice which would you have used? Would it be a smaller option with even less holdover current draw? Thanks again. Your channel is amazing and much appreciated. I know how hard it is to keep doing this kind of work every day.
@karltakeuchi-storm5995
@karltakeuchi-storm5995 7 жыл бұрын
I basicly would ask the same question. Andreas; -Which relay would you recommend??
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
The rely was more educational, because it is easier to understand. I did not search for one. But in Video #14 I used a relay to switch not the 5V, but the 220 volt supply. But this was a 5V relay then. I would use a small 5 volt reed relay. Look at the specs, if it will also switch with 3.3 volt. But relays need much more current than a transistor when on.
@CooperDuper3000
@CooperDuper3000 7 жыл бұрын
Liked and commented, because this channel is absolutely awesome! Thanks for your great videos.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
You are welcome! :-)
@4guns
@4guns 5 жыл бұрын
Hi Andreas. I am a new subscriber. What great tutorials!
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
Welcome to the channel! And Thank you.
@secretcanteen
@secretcanteen 2 жыл бұрын
Nice work!
@AndreasSpiess
@AndreasSpiess 2 жыл бұрын
Thanks!
@dashkopl1
@dashkopl1 7 жыл бұрын
I also like your channel! ;-) It is more and more interesting with each new episode ;) Greets from Poland!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thank you!
@RichardT2112
@RichardT2112 7 жыл бұрын
Nice little toy! ESP8285? Hmmm I need to look into those :) thanks!!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+Richard T But you need small fingers and good eyes...
@petermarshall1634
@petermarshall1634 6 жыл бұрын
You could make the microcontroller directly order the products from Amazon or have it contact your web server and then have the server make the request. That would be really fast.
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
You can call whatever webservice you want. I do not know if Amazon offers a webservice for ordering.
@markus1963nl
@markus1963nl 7 жыл бұрын
What kind of pizza did you order? I was just working on a home security project using PIR, an ESP8266 and a LoRaWAN RFM95. Your idea to use a mechanical relay or a P-channel mosfet is an interesting one. While the ESP8266 is not the most low power processor, it is very cheap and easy to program. For that reason, I like using it for all of my projects around the house even when they require no wifi. I would love to see more LoRaWAN projects! Great video and I hope the pizza arrived warm.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Quattro stagioni... The Lora stuff needs a little more time to get started, because I start more or less from scratch. And I am travelling in the moment quite a lot. So, maybe beginning of next year...
@EwaldBurger
@EwaldBurger 7 жыл бұрын
I always look forward to your video's but do not comment very often. I should change that to keep you encouraged to make more of your very nice video's, so here it is!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Very true. The "diesel" of us KZbinrs is the reaction of the viewers. And its your "currency" to distinguish the good from the bad...
@eduardfc
@eduardfc 7 жыл бұрын
success to this very informative channel!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+eduardfc Thanks!
@davidhitchins8870
@davidhitchins8870 2 жыл бұрын
Very interesting video from the man with the Swiss accent. There is one part I don't understand though: how do you use a reed relay instead of a normal relay or mosfet? If I put a reed switch on a door or window, it makes a permanent connection, not temporary. How can you use a reed switch to trigger the ESP then disconnect the power once the job is done?
@AndreasSpiess
@AndreasSpiess 2 жыл бұрын
The relay was just for illustration. The FET keeps the ESP powered as long as it needs it. The switch is open after less than a second
@davidhitchins8870
@davidhitchins8870 2 жыл бұрын
@@AndreasSpiess Sorry, I don't think I made myself clear. I meant that I want to use a reed switch as a trigger instead of a momentary push button. But a reed switch is either on or off (door is closed or open) so it does not give a momentary trigger pulse. Since I want to use the ESP to send an MQTT message each time the door is opened or closed then turn its own battery supplied power off once the job is done, it seems to me that the reed switch won't work because it will keep the power on and flatten the battery. I was hoping there was some solution?
@AndreasSpiess
@AndreasSpiess 2 жыл бұрын
You can use the deep sleep function of the ESP as shown in video #108.
@davidhitchins8870
@davidhitchins8870 2 жыл бұрын
@@AndreasSpiess I already investigated that option but still can't see how it will succeed as the reed switch's trigger signal is not momentary. The only solution I can see is a bistable (self-latching) SPDT relay together with a SPDT reed switch. I found one which uses only 1uA in standby mode. You don't need MOSFETS or any other latching circuit because the reed switch itself is intrinsically self-latching... which is both the problem and the solution!
@AndreasSpiess
@AndreasSpiess 2 жыл бұрын
Interrupts can be triggered on edges.
@jeffthom3155
@jeffthom3155 7 жыл бұрын
Another great video, Andreas....I am a subscriber very happy.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thank you for your support!
@TheAdamCarlson
@TheAdamCarlson 7 жыл бұрын
This was interesting. Than you for producing it.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
:-)
#328 ESP32 Secrets: Interrupts, and Deep-Sleep under the Hood
18:57
Andreas Spiess
Рет қаралды 176 М.
Throwing Swords From My Blue Cybertruck
00:32
Mini Katana
Рет қаралды 10 МЛН
PEDRO PEDRO INSIDEOUT
00:10
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 24 МЛН
طردت النملة من المنزل😡 ماذا فعل؟🥲
00:25
Cool Tool SHORTS Arabic
Рет қаралды 32 МЛН
Oh No! My Doll Fell In The Dirt🤧💩
00:17
ToolTastic
Рет қаралды 13 МЛН
Best power saving mode - Much Deeper Deep Sleep ESP8266
10:30
DIY TECH BROS
Рет қаралды 97 М.
#121 SPIFFS and JSON to save configurations on an ESP8266
11:30
Andreas Spiess
Рет қаралды 112 М.
Make Dumb Electronics Smart for $3
13:13
I Like To Make Stuff
Рет қаралды 641 М.
Amazon Dash Button 5 Minute Hack (No Coding)
11:25
Paul Hibbert (Hibbert Home Tech)
Рет қаралды 51 М.
Aggressively Low Power with the ESP8266
10:18
CNLohr
Рет қаралды 78 М.
#149 ESP32 Deep Sleep, RTC Memory, "Secret" LoLin Pins
13:28
Andreas Spiess
Рет қаралды 147 М.
DIY Smart Lights - Home Assistant
15:17
Noah Smith Electrocutes Himself
Рет қаралды 6 М.
ESP8266 in 5 minutes
5:50
MrDIY
Рет қаралды 129 М.
Throwing Swords From My Blue Cybertruck
00:32
Mini Katana
Рет қаралды 10 МЛН