The Smallest WiFi Button in the World (ESP8266, MQTT, IFTTT)

  Рет қаралды 734,876

bitluni

bitluni

7 жыл бұрын

This tutorial is showing how to built a small WiFi/Dash button for an ESP-01 module. A button and a LiPo Battery is added. The case is 3D printed. The software is based on Mongoose OS and sends notifications to an MQTT server and IFTTT over a direct web link. The video is also showing a possible use case for such a button.. enjoy watching.
The code can be found here:
github.com/bitluni/wifiButton
Please support my work on Patreon:
/ bitluni
Links to the parts (I get small cut at no extra cost for you):
Esp-01
s.click.aliexpress.com/e/yNjmuna
ebay.to/2vVTznf
amzn.to/2wgvlqy
Programmer:
s.click.aliexpress.com/e/7yzbmI6
ebay.to/2wwljku
amzn.to/2uXVACb
Battery:
s.click.aliexpress.com/e/Jmufqby
ebay.to/2vguaCN
amzn.to/2wg1HRX
Charger:
s.click.aliexpress.com/e/AUNRRVZ
ebay.to/2xsX83X
amzn.to/2w4htNl
Mongoose OS:
mongoose-os.com/

Пікірлер: 327
@NoviceRobot
@NoviceRobot 6 жыл бұрын
The cat feeder machine got me!
@bastelbudi
@bastelbudi 6 жыл бұрын
same here xD i need something like this for my chickens
@oetken007
@oetken007 6 жыл бұрын
Me too :-)
@mitropoulosilias
@mitropoulosilias 6 жыл бұрын
i need that to feed my dad :-(
@dusnoki
@dusnoki 5 жыл бұрын
I laughed way too hard :)
@toadmadhatter
@toadmadhatter 5 жыл бұрын
lol I came here to say that
@ytfp
@ytfp 6 жыл бұрын
Once again excellent in every way and made me laugh. Sooo happy your back making videos, one of my all time favorite makers and youtuber.
@lenaroseguera1241
@lenaroseguera1241 7 жыл бұрын
I just found your channel and now is my favorite electronic tutorials channel 👽
@bitluni
@bitluni 7 жыл бұрын
thanks!
@iFireender
@iFireender 5 жыл бұрын
Inefficient, imo. You went for full software, but with a simple, tiny MOSFET or transistor of any kind, you could increase the battery life massively. Instead of going for deep sleep, make the pushbutton actually supply voltage to the ESP; once the esp boots up, make it latch the power supply for itself, do the WiFi stuff, and then unlatch the power supply (simple GPIO set/reset) - battery is not connected anymore, 0 power drawn. No need for deep sleep here, as it doesn't have to wake up on its' own.
@moth.monster
@moth.monster 5 жыл бұрын
His goal was to minimise added hardware, I think. A month of battery life is good enouhgh.
@SNK1995
@SNK1995 5 жыл бұрын
Thanks Peter... :)
@AugustoCarmo
@AugustoCarmo 5 жыл бұрын
that solution will not increase the response time of the button?
@SNK1995
@SNK1995 5 жыл бұрын
@@AugustoCarmo , Tell me more.. :)
@AugustoCarmo
@AugustoCarmo 5 жыл бұрын
@@SNK1995 I really don't know, I'm just asking... I don't know the time difference to "boot" and send the MQTT message when the ESP is off or in deep sleep.
@pocketscience911
@pocketscience911 4 жыл бұрын
This is nice - especially the cat feeder! :) I did something similar, albeit larger, to control Hue lights using a Wemos D1. To get the required latency I went for static IP addresses, so no waiting on DHCP. Works great in a home environment. Didn't use MQTT or anything - just straight API calls to the Hue bridge.
@TrasteIAm
@TrasteIAm 6 жыл бұрын
Perfect, i will definitely try this one. Thanks for yet another great video!
@ivan-spb
@ivan-spb 5 жыл бұрын
Super! Best and shortest full-circle video!
@madskillz1o1
@madskillz1o1 3 жыл бұрын
This video is exactly what I was looking for, thank you.
@dnyaneshvarsalve
@dnyaneshvarsalve 2 жыл бұрын
You just recalled me this powerful yet small wifi board. Nice one
@MjwAllMusic
@MjwAllMusic 7 жыл бұрын
Loved that feeding the cat part haha!
@B4x4
@B4x4 6 жыл бұрын
I am a new follower. Thank you for å great show, and I will be checking out that Ota programming os... 👍👍 Cheers from Norway
@Tarbard
@Tarbard 7 жыл бұрын
Nice, I like the case.
@crazieeez
@crazieeez 5 жыл бұрын
"Oh damn, I forgot to feed the cat." Gets to me. Good one! :D
@grindel80
@grindel80 7 жыл бұрын
Great work!!!
@Corgitronics
@Corgitronics 6 жыл бұрын
Very nice work, both the project and the video! Subbed. I found you on Patreon, might be good to put a link to your Patreon account in the description!
@innovation4u336
@innovation4u336 5 жыл бұрын
Boom, nice tutorial boss
@jobopolo
@jobopolo 5 жыл бұрын
Nice project!
@JensC919
@JensC919 6 жыл бұрын
I like your videos, I have similar projects in mind to what you show, and it looks like we both don't want to mess around with lots of microelectronics and soldering complex custom relays. Thanks for the videos! My gf will love the led strip I will copy from you :-)
@Looped_
@Looped_ Жыл бұрын
Lmao
@madrian_hello
@madrian_hello 7 жыл бұрын
Man, your acting is the best. 😜
@abpccpba
@abpccpba 6 жыл бұрын
Very nice work. Congratulations. New subscriber.
@MetalDeepthroat
@MetalDeepthroat 6 жыл бұрын
Coole Idee !
@Nicksperiments
@Nicksperiments 5 жыл бұрын
I rarely see Blender used for 3D printing. Very interesting
@maenova417
@maenova417 4 жыл бұрын
Awesome video, I love how you made it with a single button even though it was at the expense of battery life.
@Karateschnitzl
@Karateschnitzl 7 жыл бұрын
Great Idea and great video! Keep it up
@bitluni
@bitluni 7 жыл бұрын
thanks.. I will :)
@MrRetep57
@MrRetep57 3 жыл бұрын
Nice video!
@HellaFunnyShorts
@HellaFunnyShorts 7 жыл бұрын
Cool project
@isaacrafaelnunezservian708
@isaacrafaelnunezservian708 2 жыл бұрын
ajajsjdaj the cat feeder needs a litle bit of love. Genial bro!
@krzysiojezyna3558
@krzysiojezyna3558 5 жыл бұрын
Great stuff
@janiwindsor
@janiwindsor 6 жыл бұрын
This man a legend
@meierthomas
@meierthomas 4 жыл бұрын
Very inspirational! Your MEGA LED matrix got me hooked onto the journey of ESP32 and ESP8266. Have ordered a couple of components to get the LED matrix going. I'm conceptualising a few more projects and one thing that happens often is missing to lock the sliding windows. Here's the question: Taking the cue from the smallest Wifi switch in the world do you think it would be possible (or maybe you've done it already) to incorporate one part of a hall sensor into the casing housing the ESP which then registers a "closed" event when the lever of the window lock is in the locked position? In other words this setup checks for the lock in the locked position rather than the window/door shut - well I could possibly monitor both window shut and locked :)
@daniel.ehrhardt
@daniel.ehrhardt 6 жыл бұрын
This is great :)
@sandyintisel
@sandyintisel 6 жыл бұрын
Wow.. amazing
@tehgringe
@tehgringe 5 жыл бұрын
this is a great video
@CircsC
@CircsC 2 жыл бұрын
6:25 Cat approves of current design. Says to push to production immediately.
4 жыл бұрын
Excellent humor. Good content . Yup Im in.
@darknessblades
@darknessblades 5 жыл бұрын
this is something i plan on creating. only then to controll a smart home. 1 main controller with multiple override buttons 1 timer switch that is send a command to the slaves to run the program at a set time. for example run program X1 at time 12:00 run program X2 at time 18:00 run program X3 at 19:00 run program at: 20:00 it needs a screen so you can easily set up times for each day of the week. {time setting will be in intervals of 15 minutes} with multiple settings like override program till time X. for example normally monday you have 2 4 programs, like on off on off (so it is on when you are at home but off when you are gone) but if you are at home on that day the override programming will keep the program for that day till X? {something like a holiday button for a smart thermostat}
@k4k48g8fi3kk
@k4k48g8fi3kk 7 жыл бұрын
I screamed after i seen the cat feeder. Very good video
@zenobikraweznick
@zenobikraweznick 6 жыл бұрын
brilliant!
@georgedicu7397
@georgedicu7397 5 жыл бұрын
Awesome!!
@jeffbornes3986
@jeffbornes3986 2 жыл бұрын
NICE!
@ufohunter3688
@ufohunter3688 7 жыл бұрын
Very nice.
@zerobyte.758
@zerobyte.758 6 жыл бұрын
very nice
@jsmythib
@jsmythib 5 жыл бұрын
6:20 and you became a mandatory sub :) I finally got my esp-01 up and running. A great little board.
@tubejim101
@tubejim101 4 жыл бұрын
lol. Love the cat feeder :)
@siddacious
@siddacious 6 жыл бұрын
I am annoyed that I didn't find your channel until now. I am also amused by your cat.
@bitluni
@bitluni 6 жыл бұрын
thanks, I'm still happy that I made 30k subs so far :-)
@alexandermyagkov7707
@alexandermyagkov7707 6 жыл бұрын
Exelent!!!
@jinxer3006
@jinxer3006 5 жыл бұрын
The cat feeder cracked me up!!!
@freeelectron8261
@freeelectron8261 5 жыл бұрын
Nice job - very neat. That Li Po is the smallest I have seen. The cat feeder is still in Beta, I'm guessing? ;) Love the vid's :)
@NGC1433
@NGC1433 4 жыл бұрын
Earbuds like apple airpods have lipos in them, amongst other crap...
@JohnoScott
@JohnoScott 6 жыл бұрын
Fantastic
@2madrobot
@2madrobot 6 жыл бұрын
Emergency Cat feeder - I need one ASAP!
@joshuarosen6242
@joshuarosen6242 6 жыл бұрын
For just a few pennies more you can buy an ESP-01 programmer with a UART/flash mode switch.
@fxtattoo
@fxtattoo 4 жыл бұрын
Ok, you get my thumbs up for the feeding the cat joke. LOL!
@hectyre
@hectyre 6 жыл бұрын
I've just recently subscribed and I'm really enjoying your videos. I've just bought a D1 mini and I was planning on putting mongoose on it. I have no experience with JavaScript, should I just jump right in or read a book on JavaScript first? I know a little C, PHP, Delphi/Pascal
@josepalacid
@josepalacid 5 жыл бұрын
Would you upload the button's design to thingiverse or any other 3d design hub? I've clicked on one of your videos on a search result and now I'm subscribed and I've seen all of your videos... twice! Thank you very much for your accurate designs, for the joy of your video edition and the humor on your speech.
@jhana.2023
@jhana.2023 6 жыл бұрын
You are a artist. I do it. Cool. 1000 likes !
@casey.white.
@casey.white. 5 жыл бұрын
Hello Master, I like watching your video very much. I learned a lot from it. I have a question. The ESP-01 voltage is 3.3V. The full voltage of the lithium battery may reach 4.2V, which will cause this circuit. Influence?
@FrankP83
@FrankP83 7 жыл бұрын
A sort of dashbutton 😊
@Jajaho2
@Jajaho2 7 жыл бұрын
Nice video, thank you very much for taking the effort of making it. Really appreciate it. Btw. like the jokes.
@bitluni
@bitluni 7 жыл бұрын
Thanks!
@doxy612
@doxy612 6 жыл бұрын
Great vid and top work! Is there a possibility to get the STL file for the button?
@mmilton62
@mmilton62 6 жыл бұрын
Cool!!!
@cbmeeks
@cbmeeks 6 жыл бұрын
Yeah, you might want to tweak the cat feeder...unless you want him to be 200 LBS. LOL
@morganaverynz
@morganaverynz 5 жыл бұрын
If cat is good then surely more cat is more good.
@piereligiodisante
@piereligiodisante 5 жыл бұрын
Hi, well done in this video! I've just a question. With this circuitry and Mongoose OS, could I make a button that turns off or on my Yeelights using LAN Control Protocol, without needing other devices, or also trigger IFTTT commands? LAN Control protocol enables prompt commands that you can trigger from the LAN network.
@sphynxusa
@sphynxusa 7 жыл бұрын
So cool to see you using Blender. Love that program. What 3D printer do you use? Thanks for the info. I didn't know the ESP8266 could be programmed this way. Would an FTDI USB to serial work for programming (like the one for programming the atmega328p) ? Thanks!
@bitluni
@bitluni 7 жыл бұрын
sure.. esp-01 is kind of outdated.. I took it because of the small size.. this programmer is similar to ftdi there are many tutorials showing how to wire it up...
@sonaaila499
@sonaaila499 4 жыл бұрын
HELLO GREAT VIDEO
@doro516
@doro516 5 жыл бұрын
to save battery you shouldn,t use the RST pin, instead of that, yu should use the button to feed source power to the VCC pin, thus the mini board Will be on only when your press the button.
@batuhanegesen
@batuhanegesen 7 жыл бұрын
6:20 nailed it. lmao
@SantaDragon
@SantaDragon 2 жыл бұрын
I like the cat feeding machine xD
@o0julek0o
@o0julek0o 6 жыл бұрын
It's so cute
@darklord_ice
@darklord_ice 3 жыл бұрын
Great project! would you share the .stl for the case? Thaaanks :)
@Electromaniaworld
@Electromaniaworld 6 жыл бұрын
beautiful idea. how long does the battery last ?
@James02876
@James02876 6 жыл бұрын
Do you have any plans to release the 3d model for the button? I'd like to print a few of those cases myself.
@scottlecomte6511
@scottlecomte6511 6 жыл бұрын
THE CAT FEEDER! LOL!
@CrayyyCrayyy
@CrayyyCrayyy 4 жыл бұрын
LOL Yes the Cat Feeder was the BEST :)
@freeelectron8261
@freeelectron8261 5 жыл бұрын
Cool little iot button. Some would say its a bit loony but what would they know ;)
@MrHbpatel
@MrHbpatel 7 жыл бұрын
👍 my wish u could include wall button panel powered directly without lipo , similar to thermostat
@bitluni
@bitluni 7 жыл бұрын
more projects coming :)
@dennisbsutube
@dennisbsutube 6 жыл бұрын
Great Video! You mentioned using Direct Web Links versus using an MQTT site. Would this allow me to program the 8266 with a destination SMS mobile number without opening an MQTT or IFTTT type account? How can this be done? Thanks!
@Darieee
@Darieee 5 жыл бұрын
Beautiful - cat approves as well
@jackoziel8280
@jackoziel8280 Жыл бұрын
I watched your videos they are very interesting and impressive Are you able to make a wifi or Bluetooth switch that can be operated with a smart phone Please advise Jack
@rico8192
@rico8192 6 жыл бұрын
I really like the big button. Can that be purchased somewhere or was that printed. Thanks
@poweredbysergey
@poweredbysergey 7 жыл бұрын
Cool
@uiopuiop3472
@uiopuiop3472 5 жыл бұрын
The charger link for aliexpress is dead i think, it shows something called "20pcs U0301for iPhone 5S 6 6plus 6s 6s-plus fix repair blue display screen IC 4pins"
@HyperManu
@HyperManu 6 жыл бұрын
You forgot to put your patreon link on your video description!
@bitluni
@bitluni 6 жыл бұрын
Thanks for the hint.. I always forget -.-
@bhavinrathod406
@bhavinrathod406 7 жыл бұрын
You are my idol sir,, great work I don't have enough money to support you on patreon , but I hope you don't mind it , I am your fan
@bitluni
@bitluni 7 жыл бұрын
now worries :)
@grindel80
@grindel80 6 жыл бұрын
bitluni's Lab now heißt 'jetzt'. Ich glaub du meinst 'no' 😂
@johnbingham1614
@johnbingham1614 7 жыл бұрын
You might be able to run this project from a couple of mini Solar cells!
@Alkatross
@Alkatross 4 жыл бұрын
Lol at feeding the cat
@AKIRAfotografie
@AKIRAfotografie 7 жыл бұрын
The cat feeder :-D
@SoundGuy
@SoundGuy 5 жыл бұрын
Got a link for the box on Thingyverse? also a link to buy the button and the microswitch?
@hansdampf2529
@hansdampf2529 4 жыл бұрын
@bitluni Hallo ich hätte da mal eine Frage: Wie hast du Mongoose Os installiert und auf den ESP hochgeladen, weil ich in dem Video "The Smallest WiFi Button ..." nicht sehr viel entnehmen konnte und ich keine vernünftige/verständliche/aktuelle Anleitung finde! Danke im voraus!
@RupinChheda
@RupinChheda 6 жыл бұрын
I am kind of confused. Firstly, can you run the esp from a >3.3V power source? And how is the reset kept pulled high with just the push button? Won't it go back to being low once you remove the finger? Or is it a two position switch?
@triularity
@triularity 6 жыл бұрын
He did say "do so at your own risk" using a direct 4.2v battery.
@gmiller123456
@gmiller123456 6 жыл бұрын
Those are 3.7v batteries, and in my testing with a benchtop power supply 3.7 is the cuttoff where they stop working. Works fine at 3.6v, 3.7v it hangs. It's possible these small batteries can't deliver enough current to keep the voltage above 3.6, or aren't fully charged.
@casemodder89
@casemodder89 6 жыл бұрын
Just make use of these LiFePo4 batterys ! 2,8-3,65volt and even easier to charge/trickle charged for ages without degradation of capacity.
@Remove_Before_Flight
@Remove_Before_Flight 6 жыл бұрын
the cat feeder..... :-D loooool
@croydon21H
@croydon21H 4 жыл бұрын
Hi, I want to copy this, but I am not sure about your statement @3:58 is worrying. Is the case pressing a very tiny tactile button on esp01? Can you tell about the receiver. Thx
@akashr2396
@akashr2396 7 жыл бұрын
Hey!! after a long time.....
@dualfever
@dualfever 3 жыл бұрын
you have a lot more options than me on your mos tool
@jaishetty8586
@jaishetty8586 6 жыл бұрын
that could feed a tiger. lol. good project
@lufycz.
@lufycz. 6 жыл бұрын
have you ever made the DIY "studio" microphone ?
@222branko
@222branko 6 жыл бұрын
Hi - thanks - your next 2018/19 challenges: "magic gloves" - body/or finger motion trackers - (10 min battery life) - with the following components: TDJ ICM 20948 + ISP 1507 + 60++mA battery + casing /19= "magic glasses": smart glasses - used with "smart gloves" - internet communication typing ++.
@kke
@kke 5 жыл бұрын
The maximum deep sleep time is about 71 minutes, so this button will self-click almost hourly unless you write code that checks if the button is still pressed when the program starts up.
@RichardT2112
@RichardT2112 5 жыл бұрын
Feed the cat ..that amount of food will last longer than the battery... still brilliantly done!
@YellowPurple
@YellowPurple 2 жыл бұрын
❤️❤️❤️
@mstylesms
@mstylesms 6 жыл бұрын
Very nice! A quick question for you. Can this be written or wired so that it detects when a door opens or closes? Think of a garage door that may stay open or closed a long time and using a coin cell battery. Is this possible?
@onshisan
@onshisan 6 жыл бұрын
I don't think a 3V coin cell is necessarily appropriate, but conceptually the push-button switch could be replaced by a different sensor. For a door, which is necessarily not moving around, using a larger battery (or accessing mains power with an adaptor) would give considerable flexibility. But as mentioned elsewhere here, it would likely consume less power to have the sensor send a signal by some other, lower-power radio technology than WiFi to a bridge or hub... lots of ways to approach this problem :)
I made a VGA card that blew my mind
15:44
bitluni
Рет қаралды 422 М.
Smoke Detector HACK! (sends SMS now)
12:05
bitluni
Рет қаралды 81 М.
路飞被小孩吓到了#海贼王#路飞
00:41
路飞与唐舞桐
Рет қаралды 69 МЛН
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 116 МЛН
LOVE LETTER - POPPY PLAYTIME CHAPTER 3 | GH'S ANIMATION
00:15
I made a custom ASIC: World's first of its kind
16:38
bitluni
Рет қаралды 187 М.
Solar Weather Station [WiFi, MQTT, Smart Home, ESP8266]
11:06
Intel's CPUs Are Failing, ft. Wendell of Level1 Techs
23:59
Gamers Nexus
Рет қаралды 395 М.
DIY Home Security - ON A BUDGET!
9:12
DIY Perks
Рет қаралды 5 МЛН
Cheap Risc-V Supercluster for $2 (DIY, CH32V003)
9:02
bitluni
Рет қаралды 246 М.
Remote power outlet home automation tutorial ESP8266
6:09
bitluni
Рет қаралды 396 М.
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Рет қаралды 551 М.
DIY Sonar Scanner Ep. 2 (STEM, RMT tricks)
8:20
bitluni
Рет қаралды 142 М.
Мой инст: denkiselef. Как забрать телефон через экран.
0:54
iPhone socket cleaning #Fixit
0:30
Tamar DB (mt)
Рет қаралды 10 МЛН
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 6 МЛН
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 11 МЛН