Outstanding advice and video. I have 3x D1 ESP8266 mini's for a project and this has helped me reduce the power consumption, as they will use a solar panel from outdoor Christmas lights to charge the battery and do not need powered on all the time, just when it needs to send data (currently temp, humidity, Light level, noise, vibration and gases), which is sent once every 5 mins. So this video has really helped. Thank you.
@AndreasSpiess Жыл бұрын
Cool project!
@v-king9364 жыл бұрын
Absolutely right we'll miss the quiet lockdown days without a chance to get bored. Thank you Andreas!
@AndreasSpiess4 жыл бұрын
You are welcomed. Being bored has also its quality ;-)
@laszlovona14 күн бұрын
greetings from 2024, the pandemic induced economic crisis and inflation, the war and other kind of global threats and ofc the brink of going back to office to work.. (for no reason)... yes, I DO miss the lockdown days.😢
@unknownsauce37684 жыл бұрын
I love the dedication to the gloves even after losing a finger!
@AndreasSpiess4 жыл бұрын
Fortunately it is not lost...
@PihkalTheTihkal4 жыл бұрын
What a great timing Andreas! As part of a project for my greenhouse I've been looking into these exact same topics for the past 2 days. Very interesting, thanks! Now if I could only get my Wemos D1 mini running stable that would be great...
@AndreasSpiess4 жыл бұрын
Should be possible...
@eliasjoserodriguez51602 жыл бұрын
@@AndreasSpiess and how much time in 1 hour consume the modification?
@AndreasSpiess2 жыл бұрын
@@eliasjoserodriguez5160 Unfortunately, I cannot do remote debugging. Mine run very stable.
@gallardopt4 жыл бұрын
Cool vídeo! I'm currently using the wemos outside with a tiny solar panel, a tp4056 with protection ic, and an old 18650 cell from laptop battery. Working great so far
@AndreasSpiess4 жыл бұрын
Very cool!
@cyberbob4111 Жыл бұрын
Danke, Andreas, very helpful! Until now I've always lifted the Vcc pin of the FTDI chip to save its power consumption, but the trick with cutting the trace is much better!
@AndreasSpiess Жыл бұрын
Your way is also a good one, I think. And it works in all situations ;-)
@austinhiggs7257Ай бұрын
Thanks!
@AndreasSpiess27 күн бұрын
Thank you for your support!
@shernshiou4 жыл бұрын
Grüezi! I am amazed to find out that you can solder the chip even with your injured finger. Rest well, heal fast.
@AndreasSpiess4 жыл бұрын
I am lefthanded for soldering:-)
@TheSlyMouse3 жыл бұрын
Wow awesome mod, the deep sleep power draw is very low now. Thank you for the quality content
@AndreasSpiess3 жыл бұрын
You're welcome
@Funkylogic4 жыл бұрын
Andreas, love all your videos and the effort you put into making the data sound. I was going to do a LoRa node here, but then I had to work from home. I look very much forward to seeing you outside again soon, climbing some amazing fort or castle there. Best Regards, Tom.
@AndreasSpiess4 жыл бұрын
The next "adventure" will probably be in the garden as I have to pay attention till my finger is good...
@TheOleHermit4 жыл бұрын
Gotta love those D1 Minis. This mod makes them even better. Thanks!🤙
@AndreasSpiess4 жыл бұрын
You are welcome.
@marcusone14 жыл бұрын
Great video! Fyi: you can purchase a D1 Mini Pro with external antenna connector pre-soldered.
@AndreasSpiess4 жыл бұрын
I know. But it would probably arrive as a Christmas gift in the current situation ;-)
@TD-er4 жыл бұрын
@@AndreasSpiess Why not using the ESP07S? It has an external antenna connector, no LED and no chip antenna to be removed. It also has 4 MB flash and like the ESP12S it only has the pins on the side, not the "bottom" row (opposite edge of the antenna position) The ESP07 has very little flash, so OTA updates are much harder.
@AndreasSpiess4 жыл бұрын
Same answer as above. Do you know if it is pin compatible with the esp12?
@TD-er4 жыл бұрын
@@AndreasSpiess Yep, I use them myself. Main difference is that you don't need external components for pull-up or pull-down on the ESP12S / 07S. So it makes my own boards a lot more easier :) Less pins to solder, no external components. When you use the Wemos base boards, there are already the pull-up and pull-down resistors present on GPIO-0, GPIO-2 and GPIO-15 (and the EN pin), so I guess those will be in parallel to the ones included in the ESP12S/07S package and thus impose a stronger pull. You may need to keep that in mind if some connected sensor is not capable of pulling the pin down (or up for GPIO-15). Also there have been reports on ESP12S not being able to wake up themselves because of the wake signal on GPIO-16 to rise too slow and thus give a pulse width which is too short. Not sure if that applies to all. It could be remedied with an external resistor or capacitor (not sure which).
@marcusone14 жыл бұрын
@@AndreasSpiess same for ording a ESP-07 chip to replace an ESP-12 :P :)
@CircsC3 жыл бұрын
Between the white gloves and the top hat I always feel that I might not be fancy enough for this channel
@AndreasSpiess3 жыл бұрын
Unfortunately, I do not understand your point :-(
@sdogh93 жыл бұрын
I want to point out some clarification regarding the cutting of the PCB trace: I did as instructed in the video. However i got strange behavoiur, as the ESP did not work properly afterwards. After some time debugging I found that by cutting the trace as suggested, the Pull-ups for D3 and D4 have no 3V3 anymore. So I connected the pull ups with a short wire to 3V3. But I had to cut the trace which leads to Pin16 of the CH340 to prevent the Chip from getting power again. I han further problems with the 470R Resistors in the RX and TX line. I found that somehow current was flowing from ESP to CH340 through them. Therefore i desoldered them. Now I can only program via external serial converter, but it's working now as expected. BTW: my blue LED was also slighly glowing during deep sleep as you described. I suspect that this is caused by the above mentioned issue. I suspect in your case (only the one trace cut) current flows from GPIO2 (where LED is) throught the circuit path (the disconnected 3V3 copper traces) and through the CH340 chip back to the ESP. Probably due to some parasitic diodes. With my additional modification (cut 2nd trace and solder a short wire), the LED does not glow anymore during deep sleep.
@AndreasSpiess3 жыл бұрын
Thanks for the info. Another viewer pointed also out that he had a slightly different board.
@sdogh93 жыл бұрын
@@AndreasSpiess When I compare your close up shot of your PCB traces with device, the Layout looks the same, however. But of course no all is seen, so it could have been something different. As Addition to anyone who wants to achieve a very low power design: I measured the reverse current of the voltage regulator (i think ME6211) when no USB was connected. As will be the case when I supply 3V3 from an external regulator. I measured 58µA! However, this was not acceptable for me. So I ended up desoldering the CH340, the two NPN-transistors, the resistors in between and the voltage regulator itself. So i have a very low power device. Programming can easily be achieved with any 3.3V external USBtoSerial converter with 4 Signals RX, TX, RTS and DTR and some jumper cables. I think, this little inconvenience is worth a considerable lower current consumption.
@HATipsByLarry4 жыл бұрын
Good video. I use a D1 mini pro V2 which has a external antenna and a built-in battery charging circuit. Has pads on the back so with a dab of solder you can connect GPIO16 to RST and another dab of solder and it connects the plus side of the lipo battery through a 130 k resistor to A0 for voltage monitoring added a BME680 sensor set it to deep sleep every 10 min. It reports all sensor readings to thingspeak website. Can monitor Temp, humidity, pressure and Indoor Air Quality. Last about 60 days between charges.
@AndreasSpiess4 жыл бұрын
Sound like a great bord. I will have a look at it.
@PhG19614 жыл бұрын
Awesome video and a quite amazing result !
@AndreasSpiess4 жыл бұрын
Thank you. A quick hack because the China supply chain is nearly dry these days.
@Arrowtake4 жыл бұрын
Is it possible that the last table has wrong row labels? ESP-07 on that table eats much more current than ESP-12?
@antonmilosevic4 жыл бұрын
i was asking myself the same question
@AndreasSpiess4 жыл бұрын
This is what I measured. I do not know why :-(
@antonmilosevic4 жыл бұрын
Andreas Spiess incredible. What components do the modules use? ESP8266EX, flash and oscilator + some passives. Does the ESP-07 have some RF circuits for the external antenna?
@Arrowtake4 жыл бұрын
@@AndreasSpiess Ok, I misunderstood this. So ESP-12 is way to go if one wants to save energy and the simplest way is to get rid of the blue led. Thanks for the great video again.
@antonmilosevic4 жыл бұрын
ꀯ i thought the same. But what explains the current draw differences (other than an eventual mistake mr adreas made)
@gcmaudio3 жыл бұрын
Hi there, Andreas, love your channel, learned so much from it. I also love the D1 Mini. Quick question, I notice you used a tantalum cap in your design. I don't have any if them at the moment, is it possible to use ceramic caps instead? Or is there a reason not to use them?
@AndreasSpiess3 жыл бұрын
If the ceramics are big enough it is ok to use them, too. I like the tantalums because they are small and are good for power supplies.
@gcmaudio3 жыл бұрын
@@AndreasSpiess Thanks so much for the response!
@wjn7773 жыл бұрын
Useful and interesting! Now, I can make those Lifepo4 batteries last much longer. Thank you for sharing
@jeanyluisa84833 жыл бұрын
I know its a bit late almost one year later, but there is a Wemos D1 Mini Plus that already has a ceramic antenna plus a connector for an external antenna. Its a bit more expensive than the normal Wemos D1 mini, but still cheaper than buying an additional Esp-07. for a few cent more there is also a Wemos D1 Mini plus with a bigger flash memory. I some time ago played with an ESP-12 and soldered it on one of those little breakout boards that are sold for them. After some time I noticed that breakout board used a 0Ohm reistor instead of a regulator. So I was running my ESP-12 on 5V instead of 3.3V. It didnt take any harm, so I googled a found some posts that ESP8266 would be known to run on 5V without problems. Thats nothing I would recommend to do. But I could imagine runing it on a Lipo with 3.7V instead of 3.3 V will not do big harm, especially if it always only works for a second and then goes back to deepsleep.
@AndreasSpiess3 жыл бұрын
According its datasheet the ESP8266 has a maximum rating of 3.6V. And its input pins are 5V tolerant. So you can be happy that yours survived!
@jeanyluisa84833 жыл бұрын
@@AndreasSpiess Ich weiss, dass der Esp8266 nicht für 3.7V oder sogar 5V zugelassen ist. Mich haben nur die Forenbeiträge von Leuten gewundert, die behaupten, dass sie ihre ESP8266 immer ohne Probleme mit 5V betreiben. Aber wer weiß, ob das stimmt. Mir ist aber auch gerade mein Denkfehler klar geworden. Ich bin fälschlich von 3.7V ausgegangen, aber volle Lipos und Lithium Ionen Akkus haben ja 4.2V und das liegt natürlich schon weit über den zugelassenen 3,6V.
@AbcDef-hl2ic4 жыл бұрын
Great video! We all love this board.
@AndreasSpiess4 жыл бұрын
Me too!
@elnes664 жыл бұрын
Why not read internal voltage directly? Like this: ADC_MODE(ADC_VCC); volt = ESP.getVcc(); No need to connect ADC externally.
@rofo884 жыл бұрын
S Elnes : right, this would work...but in all the ESP8266 ADC is bad
@nicovosje4 жыл бұрын
And you can use the voltage measurement to stop the esp from waking up when the battery gets to low. To save the battery.
@wjhoogervorst4 жыл бұрын
In this mode you read the voltage after the voltage regulator of the D1 mini, which gives less info about the battery voltage
@antonmilosevic4 жыл бұрын
@@wjhoogervorst but if you connect Vbat directly to VCC of the ESP8266 you read Vbat. And that is what he does here. He bypasses the regulator.
@antonmilosevic4 жыл бұрын
@@rofo88 for this purpose it's more than enough
@seeker44304 жыл бұрын
Great video! I love how professional you are... With the gloves and earth link on your finger... I just don't bother with any of these things probably that's why many of my projects don't work
@AndreasSpiess4 жыл бұрын
I would rather not have this "earth link" ;-)
@seeker44304 жыл бұрын
@@AndreasSpiess😁 ESD protection wristband sorry!
@RcFanBlog4 жыл бұрын
So, do I get the last table right? The ESP-07 gives you an external antenna connector. But it draws a lot more current than the ESP-12 which is pre-installed in the D1 mini? I hope I got that right, to be honest that's a bit confusing...
@RcFanBlog4 жыл бұрын
@@aqib2000 This is deep-sleep current. So only the chip's bare minimum functions are powered. The transmitting or receiving part of the chip is shut off during deep-sleep.
@AndreasSpiess4 жыл бұрын
I do not know the reason for the higher current of the ESP07. Maybe because it is an old design.
@OndrejL4 жыл бұрын
Andreas,I see your TINY HAND got some serious upgrades! Btw I will use the low power mods in my projects thx a lot, excellent work as always (almost,haha).
@AndreasSpiess4 жыл бұрын
Not that I asked for this upgrde ;-)
@OndrejL4 жыл бұрын
@@AndreasSpiess i wished for it hard secretly :)
@axelhertwig82584 жыл бұрын
Hi Andreas, going down to ~20uA for a prefabricated PCB including USB-TTL (when needed) is really impressive. Also the LDO seems to be pretty ok. I wish there were some more ready made modules (also for ESP32) available with low power configurations suitable for battery projects. I tried your power modification and found that the 10k pullup for RES is on the ESP side of the cut while the IO0(FLASH) and I02(blue LED) pullups are on the CH340 side. When powering the module on the ESP side only (battery mode) and going into deep sleep, the blue led drives a small current via the 10k resistor into the CH340 "power domain". I02 is at around 0.8V in this stage. This is the reason the blue LED stays on in deep sleep. I also measure 0.8V on I00, probably crosstalk? Removing the LED it is 0V. My module works ok with the LED kept or removed. However, I am not sure if it is 100% save to have IO0 connected into the CH340 domain without being properly pulled high and the CH340 domain is still connected to ground.
@axelhertwig82584 жыл бұрын
Today I reconnect the 2 power domains and removed the LDO instead. This led to 30uA@3V during deep sleep. Actually I had expected much more since the CH340 is still connected. Then I inserted an MCP1702 instead and and removed the 100k resistor between VBUS and GND (I have no idea why this is there). This led to almost same deep sleep current feeding 3.3V and 34uA feeding anything from 3-6V to the 5V pin. In this state you can also just plug in the USB cable. However the MCP1702 is not at all ideal (just had it around) and even fed with 5V from USB it led to spontaneous crashes unless you connect a big capacitor between 3.3V and GND. Finally I connected 6V to the 3.3V input........
@AndreasSpiess4 жыл бұрын
Thank you for sharing your experiments. 6 volt on the ESP is probably not the best idea ;-)
@omaryanas4359494 жыл бұрын
Amazing! I love this type of videos
@AndreasSpiess4 жыл бұрын
Good to know!
@georgei24804 жыл бұрын
5 months later, and we are still in lockdown.
@AndreasSpiess4 жыл бұрын
Bad for you. Here we will see if we get one back...
@Markfps4 жыл бұрын
The real lockdown is just getting started, we're not on the last remaining days lol. Nice video though, I'll try it out! thanks Andreas!
@AndreasSpiess4 жыл бұрын
We will see...
@chahilpatel29934 жыл бұрын
Thank you for extra video
@AndreasSpiess4 жыл бұрын
My pleasure
@Jungmin_Seo4 жыл бұрын
happy to play with ESP32 during lockdown
@AndreasSpiess4 жыл бұрын
Enjoy!
@stefans99904 жыл бұрын
So nice to see a video on the ESP8266 again. I thought you had given up on it and gone solely ESP32 :-) The D1 mini is my favourite 8266 board too, especially when flashed with the Annex RDS firmware. The latter might not be that well known, but if you like combining live web interfaces with embedded or just like a retro BASIC (yes, really!) experience, it might be worth exploring. I find myself using this a lot more than Arduino IDE or Platform I/O because it's as flexible as MicroPython without being so sparse and irritating as the latter :-) And the single step and breakpoint debugger actually works :-) If you are resurrecting interest in the 8266, you may want to have a look at what the Annex RDS team have been up to in the past year? Thanks for an interesting video Andreas...
@AndreasSpiess4 жыл бұрын
I use the ESP8266 if I do not need an ESP32 because I still have plenty of them in my box. For the videos I usually use ESP32s. I will have a look into Annex RDS.
@sblantipodi4 жыл бұрын
Lolin D1 mini genuine boards are generally better quality than clones. Loving them
@AndreasSpiess4 жыл бұрын
I cannot distinguish what is real and what is clone with these Chinese boards :-(
@sblantipodi4 жыл бұрын
@@AndreasSpiess simply buy them from the official store :) lolin.it.aliexpress.com/store/1331105?spm=a2g0o.productlist.0.0.50254c2fDV2WkV
@typingcat3 жыл бұрын
If I do not call `Serial.begin()` at the beginning, aren't all subsequent `Serial.println()` calls ignored and have no effect? Do I have to put the conditional preprocessor block around each and every `Serial.println()` in order to disable the serial output and save power?
@AndreasSpiess3 жыл бұрын
I do not think that they are ignored. The just do not know where to output and lose everything. With precompiler directives the commands are not inserted. But I never looked how the compiler works.
@brcisna4 жыл бұрын
Hi Andreas, Thank You for great detailed Wemos how to video. Question. Am wanting to use one of these as a repeater mounted on drone to hopefully get better FPV range. Problem: The FPV is transmitted to smartphone over wifi 5.8ghz. Is there any cheap modules to make this happen? (Have already tried adding an external antenna to existing wifi on board of drone for the 5.8ghz wifi on no range increase at all?) To put into perspective. The drone communicates from drone to controller,over wifi 2.4ghz and can in fact fly over 1km in distance. The camera/FPV from drone to smartphone is transmitted via wifi 5.8ghz,and this dies after only 125 meters distance. Thank You.
@AndreasSpiess4 жыл бұрын
I have no knowledge about video nor about drones. So I am no help here.
@EpicLPer4 жыл бұрын
Nice tips! Where do you buy your D1 Minis and Hats? Cause I’ll definitely buy them in bulk then, especially the prototype hat!
@ciarfah4 жыл бұрын
EpicLPer Aliexpress I presume
@kitecattestecke23034 жыл бұрын
@@ciarfah no you should buy them on gearbest they are cheap there
@AndreasSpiess4 жыл бұрын
There are links in the description. I added one for shields.
@johansamuelsson20564 жыл бұрын
When I cut this pcb trace and power on the 3.3V line the wemos gets stuck in some kind of stale non booting mode. The LED (i did not remove it) turns on very dimly and that is it. If I also connect power over the USB input the sketch runs just fine but to be able to program the esp8266 (using arduino ide) I have to manually push the reset button. I guess some kind of pull up/down is not working exactly as it does on your board Andreas. It looks identical from what I can see though... The sketch also runs fine if I reset using usb+3.3V and then remove usb power so it has to be a problem with some kind of gpio state on boot... All "the usual" pull up/downs seems to be the same as they usually are. This trace also powers some pull up resistors for D3 and D4 but I don't think that should matter.
@AndreasSpiess4 жыл бұрын
Unfortunately I cannot do remote debugging. I would check the voltage levels at the different pins and compare it with a standard Wemos.
@johansamuelsson20564 жыл бұрын
Of course, I'm just trying to figure out what exactly that trace is supplying. Maybe you hade it more in detail in your memory? Seems the D3 and D4 pullups are also cut as well as a capacitor or two. Debugging resistances and paths is precisely what I'm doing but I'm not sure I'll figure it out. Might as well go for something "smaller" as this project is intended for a very low power battery supplied sensor (a mouse trap).
@hobbyist_engineer4 жыл бұрын
@@johansamuelsson2056 my wemos also has exactly same issue with the dimmed LED, did you find a solution for this problem?
@johansamuelsson20564 жыл бұрын
@@hobbyist_engineer My curiosity faded and I ended up using a bare ESP-12 module instead as my main objective in this case was low power deep sleep.
@hobbyist_engineer4 жыл бұрын
@@johansamuelsson2056 Thank you for your quick reply. I guess sometimes the easiest solution is using less hardware. I will check if the consumption of the dimly lit led is acceptable or not, and based on that I may also switch to the ESP-12.
@xusiklviv4 жыл бұрын
Hi Andreas, do you plan to add voltage reference to measure battery voltage, or is there any trick to use analog input for this purpose?
@AndreasSpiess4 жыл бұрын
I assume that the ADC inside the ESPs have such a reference. Otherwise you would always get the same reading if you measure VCC. There is no trick. Just as I did in the video.
@perbau4 жыл бұрын
Why not use an Wemos D1 Mini Pro?
@raymondbruns32914 жыл бұрын
Ik agree, i alsof user the D1 mini pro.
@AndreasSpiess4 жыл бұрын
Good question! Because I do have lots of those and the logistics chain is incredibly slow these days. Do you know it’s power consumption in deep sleep?
@mirzacenanovic4 жыл бұрын
@@AndreasSpiess only one way to find out ;-)
@kitecattestecke23034 жыл бұрын
@@AndreasSpiess post a link to pastebin and someone can run it on their pro Version to measure amps and calculate power
@bartgijsbers73734 жыл бұрын
@@AndreasSpiess Just checked a D1 mini Pro with a SHT30 sensor. Without modification and powering it with a LiFo4 battery at the 3.3V pin. It takes around 320micro amps (0.32mA)
@petermaka51403 жыл бұрын
Great video. Did you have issues programming the board with RST connected to D0? The Arduino IDE gives an error when this happens on the NodeMCU ESP8266 board; you have to disconnect while programming it.
@AndreasSpiess3 жыл бұрын
RST must free to program.
@EasyOne4 жыл бұрын
is my favorite ESP8266 board
@AndreasSpiess4 жыл бұрын
:-)
@luie.no1noob3 жыл бұрын
Which voltage regulator should I use for esp-01 so that that, the regulator consumes less power and runs for a longer period?
@AndreasSpiess3 жыл бұрын
I use HT7333s
@luie.no1noob3 жыл бұрын
@@AndreasSpiess Any other alternative?
@rofo884 жыл бұрын
ESP-07S have a bigger flash and no ceramic antenna and no led
@AndreasSpiess4 жыл бұрын
I saw them, but I did not have them on hand. And I was not sure if they have the same pinout. So I did not want to mention and afterwards read complaints if they do not fit ;-)
@theruprix4 жыл бұрын
I am new and your channel is super helpful. Every time I have question your name pops up. We are both interested in many of the same subjects. My great great grandfather is from Someo, that must be the connection. I plan on traveling there next year. Thanks for the hard work.
@AndreasSpiess4 жыл бұрын
You are welcome! Maybe there is a connection. But he most probably spoke Italian...
@fortheregm12494 жыл бұрын
will you please make the same instruction for esp32 .. for wemos or nodemcu . im having a really hard time soldering to the naked esp32, and i just CANT solder the 3.3v pin to a breakout PCB
@AndreasSpiess4 жыл бұрын
You get "naked" PCBs for the ESP32 with normal pins. I showed it in one of my videos.
@p13664 жыл бұрын
Great video again Thanks! It would be interested to learn what increased range you found with the external WiFi antenna and what antenna you used. P
@AndreasSpiess4 жыл бұрын
I do not do range tests around and in the house. It depends on too many things to be comparable. You have to test it in your situation.
@ElectroFun_SmartHome3 жыл бұрын
Hi, great video, do you use a 10K resistor from 3.3V to A0? Just wondering if a resistor divider would not be required as A0 input voltage is maximum 1 V isn't? Please correct me if I'm wrong.
@AndreasSpiess3 жыл бұрын
Most Wemos boards have these resistors built-in. If you only want to measure 1 volt you can bridge one resistor and remove the other.
@Cymanable4 жыл бұрын
Danke für das tolle Video
@AndreasSpiess4 жыл бұрын
Bitte, gern geschehen
@electronic79794 жыл бұрын
Very nice video 👍
@AndreasSpiess4 жыл бұрын
Thank you!
@Sta6404 жыл бұрын
Nice vid! That mini hand had me rolling laughing though
@AndreasSpiess4 жыл бұрын
😁
@ukassio853 жыл бұрын
Hi Andreas! Antoher great video. These materials are extremally helpfull - especially for rookies like me. One question - I'm going to make my first project based on the WEMOS D1 mini - the weather station with independent solar power supply. I've a concerns - the place where I assembly the station is located 50m away from home, where the WIFI analyzer showing -90dB (wifi router is located insie the hoise). I'm wondering if there is any possibility to create some kind of wifi repeater, which will be based on the wemos d1 min, or another arduino version with fixed ethernet shield.
@AndreasSpiess3 жыл бұрын
I would not go for a repeater. Maybe you use a ESP board with an antenna connector and attach an external antenna (google about the resistor you have to solder). Or you go for another technology like 433MHz or LoRa.
@ukassio853 жыл бұрын
@@AndreasSpiess ok so it can be assumed that 433 will give better range the esp. LORA is better for sure, but I'm trying to find the cheapest solution as possible :) Kind regards.
@gerdabotha59174 жыл бұрын
Hallo Andreas. I have both ESP processors and will try your modification. What type of improvement can one expect in the range between two ESP dvices?
@craiglarson23464 жыл бұрын
Another great vid. Thanks! Andreas, one trick I have learned: When soldering the ESP12 form I have been using a small syringe of solderpaste first applied to the board pads. just a little dab will do, as they say. Once the ESP is placed, the solderpaste forms a bit of suction on the pads so the ESP stays in position better. Much easier for my old shaky hands. I can see when the solderpaste melts as it gets drawn up though the small pin holes.
@AndreasSpiess4 жыл бұрын
Good tip. Thank you.
@DannyVenter-te3wb4 ай бұрын
Hi Andreas. Awesome videos. Can you do a video for less power using a wemos d1 mini v4. I'm curious to see if it's possible.
@AndreasSpiess4 ай бұрын
These boards are no more used often.
@MrSpoocy2 жыл бұрын
@Andreas Spiess, I hink the Video missing the # bevor the number in the title ;)
@AndreasSpiess2 жыл бұрын
You are right. It should be corrected now…
@miketony20694 жыл бұрын
That little hand has me cracking up every time I see it 😂
@AndreasSpiess4 жыл бұрын
:-)
@edgeman1484 жыл бұрын
Although I have been in networking/tech since 10-base-T LoRa is new to me. Thanks for your videos; do you have any details anywhere regarding the tools you use?
@AndreasSpiess4 жыл бұрын
For development I use the Arduino IDE because it is very common amongst my viewers.
@edgeman1484 жыл бұрын
@@AndreasSpiess thank you for that, what about your physical tools, soldering iron etc?
@andrewwalsh37444 жыл бұрын
Hi, you do great work, thank you. I'm working on a project to run a number of heaters upto 30 from a generator and want to send the heater temp data 4 and alerts shock etc from each heater via the mains cables to the monitor at the generator. The maximum ring cable lenght is 127.8M. Would these boards be suitable and what way would you recommend to inject the signal. Each heater would send data to the the monitor and then develop an android app to control the temps and on/off criteria. Is this a suitable approach or would you approach it a different way? Thanks for any advice or pointing me in a better direction. Great channel.
@bgable77072 жыл бұрын
Cutting the trace on the board to disconnect the LDO regulator? Not quite clear about what is being explained between 3:35 and 4:10. Can you expand on this, ie, how to program and run the board from which inputs? thanks. PS. I'm powering my battery run devices using the HT7333 w the appropriate volt divider from either 4.2(parallel) or 8.4 battery(in series) configs
@AndreasSpiess2 жыл бұрын
I think the explanation was very clear. The HT7333 is a good solution. I also use it frequently.
@jesperbartholdy1784 жыл бұрын
Hi Andreas, thanks for introducing lockdown quickie projects, it is certainly a nice addition to your channel, in a time where many of us, have a lot more hobby time at home. As always I enjoy your projects, for this particular one I would like to ask, if it is possible to connect an external antenna to a standard ESP8266-12E board, by cutting off the PCB antenna and solder wires directly to the board. I have seen videos demonstrating this, but the procedure shown does not look convincing to me. Do you have any suggestions on how this should be done the Andreas way?
@AndreasSpiess4 жыл бұрын
I would not do it because it is not simple. To do it right you would need a VNA and lots of time. You can try it and maybe you get better results than with the PCB antenna.
@jesperbartholdy1784 жыл бұрын
@@AndreasSpiess This was kind of what I feared, maybe I will give it a try (as the supply-chain of new parts have stopped for the time beeing). Thanks for your answer and thanks for having this channel up running, it is super educational
@onecircuit-as4 жыл бұрын
Brilliant! Thanks Andreas.
@AndreasSpiess4 жыл бұрын
You are welcome!
@michaeltucker86454 жыл бұрын
You can hack a 36led harbor freight security light with solar panel. To power your weather stations very easily they use lipo4 3.2 volt cells just fyi think they are 9.99. Pretty cheap powdr option and the light still works as intended
@AndreasSpiess4 жыл бұрын
Good idea to repurpose a commercial product!
@maxdido62264 жыл бұрын
Great video Andreas! Concerning the mod for lower power consumption - do you have an idea where to perform the cut in the Lolin D1 Mini? Looking to the picture docs.wemos.cc/en/latest/_static/boards/d1_mini_v3.1.0_1_16x16.jpg it seems to me the cut has to be carefully done...
@AndreasSpiess4 жыл бұрын
Mine was simple... It is probably not easy to cut on this board.
@slatersmith51884 жыл бұрын
where would you cut it?
@frmatias4 жыл бұрын
I mas looking to video about it finally the best KZbin channel
@AndreasSpiess4 жыл бұрын
Thank you!
@nuclearcat4 жыл бұрын
"Time is Energy", absolutely agree. This is why i wrote few days ago opensource library (not arduino yet, but it is coming soon) for collectd protocol, i think it is better, for collecting sensors data. github.com/nuclearcat/collectd-embedded What is most important it uses UDP packets, and it is "fire and forget" ( collectd server will handle rest (including forwarding to mqtt, saving to csv and to timeseries database for graphing, and possibly all at same time, it can be installed on raspberry as well). While MQTT is: 1)NTP (might be skipped, probably, if certificates are not verified) handshake 2)TCP handshake 3)TLS handshake 4)MQTT auth handshake 5)Sending message (also over TCP - require ack)
@AndreasSpiess4 жыл бұрын
So we wait for your Arduino implementation. Sounds good.
@tonysfun4 жыл бұрын
Very well done again Andreas. And I agree about the "time out", due to virus19.... I have much more time on my hands but I still run out of the time, not the stuff I like to make or play with!
@AndreasSpiess4 жыл бұрын
At least we were given the chance to see another life. Now we can decide for the future.
@MarkusSeidl3 жыл бұрын
I'm a bit confused about LiFePo4, as the internet sometimes says that 3.2V cells are actually 4.2v (when fully charged to the brim)... :/
@AndreasSpiess3 жыл бұрын
Lifepo4 batteries are charged up to 3.6 volts and their nominal voltage is 3.2 volts Li-Ion batteries are charged up to 4.2 volts and their nominal voltage is 3.7 volts. They are very different
@iblun4 жыл бұрын
Yay another Quickie ;)
@AndreasSpiess4 жыл бұрын
:-))
@mertcapkin72633 жыл бұрын
If I understood correctly, cutting the track does not change the working of the board, right? All functionalities stay the same. The only change is that the USB does not feed the USB to serial chip anymore, instead external power must be applied, am I correct?
@AndreasSpiess3 жыл бұрын
Pay attention. Some viewers wrote they got slightly different boards which did no more work after this mod. So check first the traces. But you are right, I disconnected the USB chip and the voltage regulator from power.
@cvaug69584 жыл бұрын
Hi, great video, have you tried deep sleep on wemos d1 mini with an external wake up? I've seen in theory it doesnt work the same as other 8266, but havent found a practical example of it.
@AndreasSpiess4 жыл бұрын
It is the same as if you connect GPIO16 to RST. Just connect another source to RST and it wakes up. You can try it with a button and a pull-up resistor
@cvaug69584 жыл бұрын
@@AndreasSpiess thanks
@yuvarajvelumani77603 жыл бұрын
When you say WeMos ESP8266 D1 mini, it’s the base board which contain ESP-07. So you de soldered it and replaced ESP-12. Am I correct? Are they pin compatible? What is the difference between other ESP’s?
@AndreasSpiess3 жыл бұрын
My Wemos D1 mini do not contain an ESP-07
@yuvarajvelumani77603 жыл бұрын
@@AndreasSpiess What was the module that you replace with antenna connector? Also please let me know where to buy the shield board with HT7333 regulator.
@johansj4 жыл бұрын
Thanks Andreas. Great video. I'm running the Wemos D1 mini v3 which seems to have a different layout. I've not yet located where to cut the power to the LDO. Unmodified mine consumes 4 mA in deep sleep! (feeding 3.3v directly and tested with Current Ranger). Seems to me like board design has got worse.
@AndreasSpiess4 жыл бұрын
Maybe they also sell different versions. Every cent counts for them.
@johansj4 жыл бұрын
Andreas Spiess yes, seems lite the first version I tested is à poorly designed knock-off. I tested another board with same sketch and got around 170uA as expected.
@simonnaughton22724 жыл бұрын
Awesome video. Thanks
@AndreasSpiess4 жыл бұрын
Glad you liked it!
@lostintheelectricalaisle53184 жыл бұрын
Few remaining days? Lucky guy.
@keithroberts59464 жыл бұрын
Depends on where you are - if USA and Trump has his way it would be tommorow Here in the UK there is no end in sight yet
@lostintheelectricalaisle53184 жыл бұрын
@@keithroberts5946 For sure, it was a rhetorical question, but thinking more about the "lucky guy" part after your reply, it might not actually be that lucky to have it end soon, especially if it were to result in increased illness or death. The USA will continue to suffer so much more than the rest of the world and it is such a sad thing to see.
@keithroberts59464 жыл бұрын
@@lostintheelectricalaisle5318 agreed- some American with signs protesting about the lock down are so stupid - like the person complaining because they cant get a haircut!!
@wjhoogervorst4 жыл бұрын
Thanks for another good video with ideas suitable for a lot of viewers. Have you tried to add an external antenna to the ESP-12 module of the D1 mini by cutting off the pcb antenna and adding a small uFl connector?
@AndreasSpiess4 жыл бұрын
No. I do not do such experiments because I cannot measure the effects in a reasonable time.
@bgable77072 жыл бұрын
I've tried to add a "small" uFL connector w/out success! Not much metal on them. After melting ~4 of them, I decided to cut off the female connector from the diploe antenna wire. Separated the two wire peaces, tinned them and just solder them to the board right where I cut the antenna traces for the uFL male connector. Easy Peasy, and it works great
@TheHardie4 жыл бұрын
The "AZDelivery D1 Mini NodeMcu mit ESP8266-12F" consumes 16.9 uA with this Methode! Thanks alot!
@AndreasSpiess4 жыл бұрын
You are welcome!
@Giblet5354 жыл бұрын
Consider adding an op amp connected to the battery so that its output changes state when the LiFEPo4 drops below 3V or 2.9V. Use that state change to interrupt the sleeping ESP and send a low-battery message. It's not so critical when your module wakes every five minutes, but other sensors, like motion sensors, might sleep for long periods, and this cheap addition reduces the risk of damaging an expensive battery.
@AndreasSpiess4 жыл бұрын
Maybe an overkill because the battery voltage drops very slowly and you should have enough zime to react with the processor alone..
@Giblet5354 жыл бұрын
@@AndreasSpiess It is overkill for a light sensor, or any polled sensor. However, event-driven sensors, which are often the most useful, need some way of monitoring the battery voltage. A remote motion sensor that only wakes from sleep on a motion event, that is placed where no motion should ever occur absolutely must have the op-amp trick. I'm lazy, so I use one remote sensor PCB design. All of my remote sensors have that feature (plus solar charging, a LiFePo4 holder, LoRa, a ZIF socket for a Teensy LC or 3/3.1, plus a socket for an SPI bus ADC chip. It mounts perfectly in a 10x8cm box with a PV panel on top and a dipole LoRa antenna on the bottom. The board & box cost me $11 US each. Having that feature has saved a few batteries in the past year alone.
@quoit99training834 жыл бұрын
What is the best board that provides low voltage during deep sleep and uses esp8266? Thank you.
@AndreasSpiess4 жыл бұрын
The module alone. You find PCBs like that on AliExpress.
@atom6_4 жыл бұрын
did you ever try the d1 mini with deepsleep without wifi but with a 433mhz transmitter instead ? should save lots of juice.
@AndreasSpiess4 жыл бұрын
No. But with LoRa. But 433 is also a good idea
@babakhallajian6844 жыл бұрын
it was good as usual
@AndreasSpiess4 жыл бұрын
Thanks!
@redslashed2 жыл бұрын
Do you connect the antenna to something more or just the cable?
@AndreasSpiess2 жыл бұрын
Yes, you can connect it to an antenna.
@meinsda59834 жыл бұрын
Is today sunday?
@AndreasSpiess4 жыл бұрын
Like Sunday ;-)
@redslashed2 жыл бұрын
Is your finger broken or is that soldering eequipment?
@AndreasSpiess2 жыл бұрын
Broken finger. But long time ago…
@peterpepo92324 жыл бұрын
Gruezi Andreas, I'm building iot thermometer for my swimming pool. Please could you recommend a board without need for these modifications? Basically I'm looking for board, battery, charging module, regulator combo recommendation. I would like to use Tasmota in following mode: read ds18b20 temp; sleep for 60mins; Waiting for delivery from China isn't an issue, pool season starts in 7 months. Thanks
@AndreasSpiess4 жыл бұрын
Check out your needs (external antenna, battery, deep sleep, etc.) and then search for a board with the properties you need.
@peterpepo92324 жыл бұрын
@@AndreasSpiess hello Andreas, thanks for your reply. Your videos are great help orienting in endless sea of options and combinations :) They also inspire me to tinker with electronics. My goal is simple esp8266 running tasmota, single waterproof ds18b20, battery operated, don't need external antena, although would be nice. I'm struggling to find a "minimal" board - without USB-to-serial and with efficient/no power regulator, but enough to boot without additional resistors. This is the closest i found: github.com/skorokithakis/tiny-ESP8266-breakout It should complement bare ESP-12F fine, and is compatible with HT7x33. Next comes the battery. I was thinking of single 18650 battery. I've seen your video recommending LifePo4. Despite it, I would prefer 18650 which I can get "protected" over charge/discharge. The problem here is, cut off voltage of 18650 battery is 2,5V (according to specs on aliexpress). I expect the esp8266/ds18b20 to malfunction, once the voltage decreases below 3v. Please could you help with the battery, share your opinion my components selection or make some recommendations? Also - do you favor any kind of "minimal" board, or do you prefer d1 mini and cutting the traces in battery powered projects? Thanks, Peter.
@martyewise4 жыл бұрын
"Lock-Down Quickie" -- LOL.
@AndreasSpiess4 жыл бұрын
You were fast!
@spacewolfjr4 жыл бұрын
@@AndreasSpiess that's what she said!
@litromobil513 жыл бұрын
3:40 where I have to cut 3.3v power on D1 v3.0.0 board?
@AndreasSpiess3 жыл бұрын
Some other commenters suggest that my hack does not work for all boards. So you have to check with the diagram and the traces of your particular board.
@LucasHartmann4 жыл бұрын
Your voltage meter may be draining extra current on deep sleep, since wemos has an on-board resistive voltage divider. Use a MOSFET to disable it.
@AndreasSpiess4 жыл бұрын
You are right. This is one of the reasons for the 40 instead of the 5 microamperes. But too complicated to change.
@AndreasSpiess4 жыл бұрын
The ESP8266 measures up to 1volt
@RonenLin2 жыл бұрын
So on average how long would a battery last with this mod. Thinking of using it with a moisture sensor.
@AndreasSpiess2 жыл бұрын
You have to do your own calculations and tests because it depends on many things.
4 жыл бұрын
Why not use a d1 mini pro? It has wifi connector on board, just a small modification with jumper is needed.
@AndreasSpiess4 жыл бұрын
Because I do not have one and China supply chain is quite long these days :-(
@silverjohnson31634 жыл бұрын
keep up the good work and the accent !
@AndreasSpiess4 жыл бұрын
The accent is the simple part ;-)
@MarcoBrianza4 жыл бұрын
hi Andreas, do you know the magic of ADC_MODE(ADC_VCC)?
@MarcoBrianza4 жыл бұрын
I see now that is already a comment below
@AndreasSpiess4 жыл бұрын
No. But I will try it out. Thanks!
@movax20h4 жыл бұрын
Remember to continue social distancing and good hygiene practice after lockdown.
@AndreasSpiess4 жыл бұрын
Not easy to disinfect my hands with my bad finger :-(
@lostintheelectricalaisle53184 жыл бұрын
Social Distancing, such a mistake of a name to have started off calling the idea of increased personal space.
@lostintheelectricalaisle53184 жыл бұрын
@@AndreasSpiess I'd hate to see it fall off that stick.
@TheOleHermit4 жыл бұрын
Remember? I call it 'normal daily routine', aka 'no brainer'.😎
@tahanprahara3 жыл бұрын
Can wemos to make CW 7Mhz or 16Mhz transceiver using quadrature demodulation technique Sir?
@AndreasSpiess3 жыл бұрын
I do not think so. Maybe as a part of a whole design.
@jimjulian44432 жыл бұрын
Now in Sept 2022 and cannot locate the article on your web site or blog or Github. Where is the article?
@AndreasSpiess2 жыл бұрын
Not all videos get articles. I did not delete anything.
@jelkabisa3 жыл бұрын
Hello, I'm trying to measure input voltage on A0 pin I was wondering what is the reference voltage to use in order to get accurate measurement. I want to measure 4V connected to an ACS712 sensor, sensor output is connected to A0.
@AndreasSpiess3 жыл бұрын
Most Wemos D1 only measure around 3 volts. The need a voltage divider for higher voltages.
@tbbw4 жыл бұрын
Hmm... a worth modification if power is low on battery then you might want to do 10min readings instead of 5min readings as an extra powersave feature.
@AndreasSpiess4 жыл бұрын
Good idea. Or even one hour
@jyreprejoles7604 Жыл бұрын
How about the Smartphone wifi antenna? Is it possible to modify for research purposes?
@AndreasSpiess Жыл бұрын
Of course it is possible. But I would not do it...
@raghavsrivastava29104 жыл бұрын
Hello Andreas. 16 year old here in India. Love your videos.
@AndreasSpiess4 жыл бұрын
Glad you like them!
@raghavsrivastava29104 жыл бұрын
@@AndreasSpiess I am very much inspired by Julian too, I have seen his schematics and am thinking of building my own LoRa Satellite. I am thinking to improve Julian's by adding a SD CARD onboard so that it can save a lot more data.
@raghavsrivastava29104 жыл бұрын
@@AndreasSpiess Question: Can I use ISM band for my satellite as not everyone is a HAM radio operator? Which frequency will be the best in the ISM band?
@petermaka51403 жыл бұрын
I tried the deep sleep modification (cut the line near D7 and removed the led) but the Wemos D1 mini (ESP12F) is not restarting from deep sleep when supplied by two AAs. Its does restarts from deep sleep when powered by USB. Any thoughts?
@AndreasSpiess3 жыл бұрын
Other viewers also suggested that there are different board layouts around. So you have to check if the needed voltages at the pins of your board are still there. Compare all pins while powering with USB and with battery and you should find the difference.