I HATE Batteries! - Converting Wireless to Wired (a cheapskate’s guide)

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 3,7 тыс.

  • @pogboy6940
    @pogboy6940 Год назад +8546

    he went from no wires setup to making wireless things wired. its either his villan arc or character development unmatched

    • @majoryoshi
      @majoryoshi Год назад +255

      what did the intel arc challenge do to him?

    • @BionicDeathclaw
      @BionicDeathclaw Год назад +114

      @Don't Read My Profile Picture ok

    • @nemtudom5074
      @nemtudom5074 Год назад +141

      OR, hear me out
      He doesnt care and he just wants to pump out content of varying qualities

    • @nitishgoel3969
      @nitishgoel3969 Год назад +75

      Either you die a hero or live long enough to become the villain

    • @rubiconnn
      @rubiconnn Год назад +207

      Or...wireless peripherals have always been a stupid idea. Battery powered devices are a compromise and the whole point thing about them is that you can take it with you and use it where there is no external power available. Using battery powered peripherals with a desktop computer defeats the purpose and you are stuck with all of the downsides of battery power.

  • @scottbutler5
    @scottbutler5 Год назад +1626

    Even more impressive than Linus's dedication to overcomplicating things until they stop working is his ability to turn every home DIY project into a business expense.

    • @fynkozari9271
      @fynkozari9271 Год назад +3

      I heard even cablemod melted by 4090 ugly 12 pin.

    • @andrewk8636
      @andrewk8636 Год назад +1

      He's making money from the videos

    • @psedog
      @psedog Год назад +19

      He did start the channel from his home. He's just gone full circle.

    • @isoprops3861
      @isoprops3861 Год назад

      @@psedog Just how many houses did Linus move in at this point?

    • @MCabossart
      @MCabossart Год назад +3

      It feels shameless at this point, and I don’t think I can kick it with this channel anymore. This hurts to watch

  • @cszqravr
    @cszqravr Год назад +450

    The highlight of this video is Dan's part. Now I wish there would be a library of videos of Dan explaining electeonics

    • @puddin432123
      @puddin432123 Год назад +29

      Agreed, Dan's segment was really interesting and he's great on camera.

    • @AntiSocialYogg
      @AntiSocialYogg Год назад +1

      Same

    • @KLienne
      @KLienne Год назад +6

      He has great vibes. There's something really relaxing in just hearing him explain.

    • @billmiller4800
      @billmiller4800 Год назад +1

      If you need more of a burst current, a smallish capacitor could help with voltage sag... but normally shouldn't be needed

    • @bosstowndynamics5488
      @bosstowndynamics5488 Год назад +4

      @@billmiller4800 The problem wasn't voltage sag,* it's the fact that the voltage drop across a resistor varies according to how much current is being drawn - these little sensors vary a lot in their current draw, so the voltage keeps going up and down. Dan didn't really fully explain what he did at the end but they just replaced the regulator followed by resistor setup with 3 power diodes in series - the voltage drop across power diodes is much more stable and almost independent of how much current is being drawn in most real world circumstances, so there is no longer any voltage sag.
      *Their 500mA USB supply can very easily supply the 30mA peak current the device is asking for

  • @iamthesargent
    @iamthesargent Год назад +460

    This sounds like it'd be a good PCB way project. Get a button cell sized PCB with exposed contacts so you can just drop the board in like the button cell, use the same surface mount components as before, and add a female USB-C connector. Dremel out a slot in the back cover for the connector, and you're golden.

    • @s.i.m.c.a
      @s.i.m.c.a Год назад +62

      yep - and it could be even sold as a conversion kit later on LTT store lol

    • @TrolloTV
      @TrolloTV Год назад +17

      How hard is it to design a PCB like that? Is there any straightforward way of doing that, or is it basically the electronic hellscape version of learning CAD?

    • @fredwupkensoppel8949
      @fredwupkensoppel8949 Год назад +3

      Or just leave some open contacts for more flexibility. Drilling a round hole is easier than the rounded slot needed for usb c.

    • @deadboy9955
      @deadboy9955 Год назад +3

      Also add a switch to choose the input voltage (5 volts, 12 volts etc).

    • @nathanaelrenaud2107
      @nathanaelrenaud2107 Год назад +3

      @@TrolloTV As you already have the component lists and how to wire them, so almost nothing to think about, it should be pretty easy. Honnestly, if you run KiCAD, with a good tutorial about it on the side, along with the PCB manufcaturers requirement for them to make your PCB, it shouldn't take more than 2 hours.

  • @aronrascon
    @aronrascon Год назад +260

    God the editors are so impressive, and Dan needs to be a full time presenter, love seeing him in the videos!

  • @kells9k
    @kells9k Год назад +518

    Ok Dan has gotten SO much more comfortable on the camera. He's great. Awesome addition to the LTT team!

    • @arthurkallinen
      @arthurkallinen Год назад +5

      I think doing the wan-show for a while as a 3rd wheel has helped him

  • @BradHook
    @BradHook Год назад +421

    I love seeing Dan. He's so calm yet chaotic and explains things well.

  • @ThefireballVR
    @ThefireballVR Год назад +792

    Man, Dan explaining electronics was like Bob Ross painting. Actual ASMR for me. I want more of him in videos.

    • @daveedee3626
      @daveedee3626 Год назад +16

      Have you discovered BigClive?

    • @snjert8406
      @snjert8406 Год назад +3

      @@daveedee3626 ooohhhhohohoho YES

    • @legitbox
      @legitbox Год назад +1

      true, we need dat bpi more

    • @refractorydepression
      @refractorydepression Год назад

      ​@@daveedee3626 what's bigclive? Faketaxi?

    • @flexxx222
      @flexxx222 Год назад +1

      @@daveedee3626 I love when he says 'scematics'

  • @warrickwalter426
    @warrickwalter426 Год назад +192

    You'd almost certainly be fine to just throw 3.3v strait into it. Depending on the linear regulator IC you're using, you may also need a load capacitor on the output for it to deliver a stable voltage - the datasheet will specify what value that should be if it's required. I'd rate the diode solution as an acceptable solution for this low current application too, although as shown the output isn't very stable across different loads because diodes are non-linear devices.

    • @SLAiNTRAX
      @SLAiNTRAX Год назад +27

      A fully charged button cell is already 3.3v.

    • @benoitrochon589
      @benoitrochon589 Год назад +23

      Yup. Pretty sure a simple 3.3v power brick would’ve done the job. Higher chance to have that on hand than the ICs required.

    • @actually_it_is_rocket_science
      @actually_it_is_rocket_science Год назад +26

      I was nearly screaming at the video. How did they not know nominal isn't the max voltage of a cell.

    • @warrickwalter426
      @warrickwalter426 Год назад

      @@null6343 Given the device needs to use such low current, I suspect it won't have a linear regulator in it as they're inherently not very efficient at all. It's quite likely just got an STM32 processor of some type, powered directly from the battery.

    • @HappyBeezerStudios
      @HappyBeezerStudios Год назад +10

      Considering batteries don't hold the voltage for all their lifetime, I guess anything from maybe 2.8 to 3.5V should be fine on the sensors. The sensitive parts will have a regulator anyway.

  • @moffatcountycustoms4641
    @moffatcountycustoms4641 Год назад +327

    Love that Dan used the Diode volt drop trick! For anybody wondering why that works; diodes are typically used to stop current flow in one direction, but do incur a small voltage drop on the "open side" as well. Because the difference between 5v to 3.2 is relatively small, Dan was able to exploit the inherent voltage drop of the diodes by putting a few in series to get them where they needed to be. So cool!

    • @backgammonbacon
      @backgammonbacon Год назад +36

      If you are going to do a hacky solution a voltage divider using resistors would be better.

    • @armLocalhost
      @armLocalhost Год назад +26

      @@backgammonbacon my thoughts as well. Instead of using two resistors (like 2k/4k) they over engineered with a linear voltage regulator.

    • @jacobmalloy8384
      @jacobmalloy8384 Год назад +7

      I am not an electrical engineer, but wouldn't resistors be just the same except you could do it with more control since the resistors are rated for a specific resistance?

    • @Papinak2
      @Papinak2 Год назад +53

      @@jacobmalloy8384 problem with voltage divider is, that it changes voltage depending on load - unless you burn several times the load current on them. Voltage drop on the diode is more on less stable 0.7V.

    • @jatoxo
      @jatoxo Год назад +9

      @@armLocalhost Wouldn't resistors limit the current severely? A 5 Volt source could only ever provide up to 2.5 milliamp over a 2k resistor, right? That would not be enough for the 7 milliamp spikes

  • @MitchDenham
    @MitchDenham Год назад +889

    Credit where it’s due, Linus has managed to accrue an impressive team of personable and talented persons. Dan is an outstanding asset.

    • @flyingtentacle7631
      @flyingtentacle7631 Год назад +57

      Your mom is an outstanding asset.

    • @KoRbA2310
      @KoRbA2310 Год назад +18

      Not this time Dan! I know it's you!

    • @dee5405
      @dee5405 Год назад

      @@flyingtentacle7631 bet your mom isn't 😏

    • @i5usko
      @i5usko Год назад +3

      I mean, It's not hard to wire up a wall wort to a battery lug(point of the video in fact). You can even find 3.3v ones and not need a voltage regulator.

    • @gimubatulo
      @gimubatulo Год назад +1

      @@i5uskoAh. Who.

  • @jacobr9741
    @jacobr9741 Год назад +136

    " I love Dan because of how awesome he is, I hate Dan because how he makes the rest of us look" Classic love Dan keep up the great work guys

  • @PaladinLostHour
    @PaladinLostHour Год назад +664

    Side note: You can get a converter supply module that will convert 5v or 12v to any smaller voltage for about a dollar without any extra steps.

    • @Mulakulu
      @Mulakulu Год назад +127

      Yepp. They're called Buck converters. Boost converter to turn the voltage up. They're also way more efficient than the voltage regulators he used.

    • @ChristianBelotti
      @ChristianBelotti Год назад +22

      Exactly but it is too big to fit into the device I think this is why decide to go in this particular way

    • @DeltaNachos
      @DeltaNachos Год назад +10

      I was thinking he was going to use one until he pulled out the chip ribbon

    • @Zwettekop
      @Zwettekop Год назад +39

      @@ChristianBelotti They are not. Polulu make 1x1cm versions. It's also way better to solder.

    • @ccoder4953
      @ccoder4953 Год назад +37

      @@Mulakulu Buck converter is way overkill. Linear regulator is fine for this. At these current draws, any sort of switching regulator will use more power just to run than the load uses.

  • @marktownsend2384
    @marktownsend2384 Год назад +495

    I realise you guys were trying to do this with what was in-house, but you could totally make a tiny pcb the size of the button cell and put something like a SMT LT3470 on it with its associated components. Drop the voltage down to around 3v and still be able to compensate for draw spikes. I imagine the device goes to sleep for twenty minutes and then wakes up to measure the temperature and report in. That'll be what the sudden current spikes are and how the unit lasts so long on a button cell.

    • @CraZY.pRIME.
      @CraZY.pRIME. Год назад +30

      you should design the pcb and make them or what not, use pcbway.

    • @SEllis-wd9nx
      @SEllis-wd9nx Год назад +32

      Yeah, what crazy prime said. Design it and maybe send one to LTT maybe they would provide the specs. Maybe with the appropriate disclaimers. Then the rest of us could make them or have them made as needed.

    • @mmmhorsesteaks
      @mmmhorsesteaks Год назад +11

      Just use an lm317 in stead of that shitty little surface mount. What am i missing here :/

    • @WillThat
      @WillThat Год назад +35

      Yeah, I'm thinking you could fit a regulator, a cap or two, and a USB socket easily on a coin cell sized PCB. Add a 3d printed cover and you're featured on hackaday.

    • @chrisparussin5359
      @chrisparussin5359 Год назад +8

      @@mmmhorsesteaks two diodes will do the same and will probably be cheaper

  • @Liqtor
    @Liqtor Год назад +50

    That's why you should use a capacitor as a buffer/filter.

    • @HappyBeezerStudios
      @HappyBeezerStudios Год назад +4

      buffer caps and slightly higher voltage. Batteries aren't stable over their lifetime, so pushing maybe 3.3-3.35V in should be plenty.

  • @bjrnsrensen8456
    @bjrnsrensen8456 Год назад +598

    Linus's commitment to turning his house into an IoT nightmare is commendable 😂

    • @kepagu
      @kepagu Год назад +6

      Scandinavian gang

    • @ericsysmin
      @ericsysmin Год назад +1

      I love ours, luckily though ADT has started doing home automation integration which is nice.

    • @linckez958
      @linckez958 Год назад

      +1

  • @Respectable_Username
    @Respectable_Username Год назад +405

    Gotta love Dan! Has really come into his own with his presenter energy. Woulda loved to have seen this done as a collab with him at the House, like the Linus&Jake videos 😄

  • @Dowent
    @Dowent Год назад +9

    Dan is great and the attitude of using what you have is also very positive. I often postpone a project, thinking I'll pick up the right parts next weeks, then 5 months later, I forget what the complications were and have to start from scratch.

  • @levi7581
    @levi7581 Год назад +515

    This whole smart home series just made me more sure that right now having a dumb home is many times more painless
    Edit: I do of course understand that making a smart home is unspeakably less difficult if you're not Linus Sebastian and that Linus really loves making his life hell to have everything his way

    • @Airsoft1287
      @Airsoft1287 Год назад +38

      No just don’t do it the way Linus is doing it. He’s trying to get everything the EXACT way he wants it rather than going with the closest available product with his desired features and accepting the downsides

    • @Niosus
      @Niosus Год назад +24

      You can do smart home without all that pain. Linus has a way of over-complicating things... The automated garage door, smart light switches, and now this heating stuff. My home also has all those things and they work pretty much all the time. And the few times there are hiccups, I've set things up in such a way that everything keeps working like it would in a dumb home. It takes some more planning and research ahead of time, but that's better than buying a system only to realize it doesn't satisfy your needs and trying to solder your way out of it.

    • @YaKillaCJ
      @YaKillaCJ Год назад +9

      Linus is definitely overcomplicating a lot of it. Their even a way to achieve this using Home Assistance with off the shelf components that are wired. Certain things like going ONLY Zwave cut off a ton of products. Then their likely definitely a better way than goin Ecobee. As some1 with Home Assistant showing over 50 devices, I can attest that it can be elaborate w/o the complication.

    • @lemster101
      @lemster101 Год назад +10

      @@Niosus I'd say he isn't really overcomplicating it, rather he's gone down the patchwork route. I love my Home Assistant. It's reliable, works well and is easy to use by everyone in my house.
      Linus has done the same thing many of us starting out with home automation have done. Buy something. Try to make it work. Buy another thing to try and make the first thing work. Along the way you find out some new cool functionality that is now possible because you got the two first things, but you just need to buy this 3rd extra thing etc.
      That's how I got started too, but now I'm real boring so I if I'm adding something new, I first make a list of requirements, do some research to see what the most efficient way is to get those requirements met and only then do I click the "buy" button.

    • @lemster101
      @lemster101 Год назад +11

      @Bingus That's what makes it fun though right? It's not like there's a school for home automation. You start out with an interest and just learn the required skills as you need them.
      Obviously in this case they take some shortcuts because they have to make content, but the process and the frustration is pretty similar to what most of us have experienced when working on these things and trying to get it to do what we want.

  • @doineedone
    @doineedone Год назад +1040

    Can we start a petition to have Dan do videos on explaining electronics?

    • @riccardoyuri
      @riccardoyuri Год назад +17

      Pls, I would love that. He's so relaxing when explain something, plus ltt media group production.

    • @motosk8er2
      @motosk8er2 Год назад +5

      Just watch eevblog.

    • @lilstubthumb
      @lilstubthumb Год назад +9

      As long as he stops over annunciating "soldering"

    • @EXG21
      @EXG21 Год назад +4

      @@lilstubthumb But then that will make a 15 minute video to less than 10 and then Linus would get angry and drop Dan.

    • @bf0189
      @bf0189 Год назад +6

      @@motosk8er2 bigclive too

  • @Deltarious
    @Deltarious Год назад +4

    Dropping what is arguably Adam Savage's most recognisable quote right before referencing him directly is genius level writing and I love whoever wrote it.

    • @Metal_Maxine
      @Metal_Maxine 9 месяцев назад

      Thing is, Adam Savage is quoting Dr Who (Tom Baker in "The Deadly Assassin" 1977?)

  • @tazzvose6496
    @tazzvose6496 Год назад +341

    Dan's camera presence is stellar and I hope he gets more on-screen time

  • @maulerrw
    @maulerrw Год назад +72

    Bravo Dan! When I saw the voltage regulator I was going to suggest simply using diodes and I was excited when you brought it up.

  • @RobertoBiundo
    @RobertoBiundo Год назад +1

    Hello LTT. I know you never read this but here it goes.
    A regulator of a normal size (for soldering) like a HT7533-1 that you can buy for 30 cents will serve you fine
    GND goes to ground
    IN goes to 5v
    OUT goes to 3.3v
    It is recommended to add a couple of capacitor in the IN and OUT for stability but are "optional" 10uF is more than ok (each would cost 10 cents)
    And you are done. You can pull up to 100mA and if you want more the LM1117T has you covered with up to 1.5A or if you feel like an engineer a transistor would also give you extra power a 2N3904 would provide you with extra 200mA, those are 15 cents and you need an extra resistor.
    Anyway...on a buget you can do just fine with 50 cents (gets cheaper by the 10s and 100s)
    For 2$ you can have lots of power and even make yourself a nice small PCB and make 20 of them (which will reduce cost) and power EVERYTHING of a cable.
    If you think it over a bit there are version of those regulators that if you have even more powerfull power supplies (over 5v) you can even replace devices that use two AA or two AAA batteries.
    Then again.. (and sorry for this since I live in europe and the plugs are specially painful here). having 20 more cables and european plugs around the house is a nightmare

  • @Neoxon619
    @Neoxon619 Год назад +715

    And to think we thought Linus would have avoided this problem since the new house was so old that everything was already wired anyway.

    • @Stanton_High
      @Stanton_High Год назад +25

      We would think he would understand battery safety too, but here we are

    • @Frostbite1090
      @Frostbite1090 Год назад +22

      @@Stanton_High what makes you think he doesn't respect Li-Ion battery safety? Could it be the soldering of 18650 cells to make battery packs? for a RED Camera i believe. Lol, I cant remember but something went wrong in that video, he either vented a cell or just never got it working cause of a circuit board regulator or something.

    • @prawny12009
      @prawny12009 Год назад +7

      @@Frostbite1090 it was the way the circuit worked, it would fail/ shut down if voltage was removed completely

    • @anonym3017
      @anonym3017 Год назад +6

      @@Frostbite1090 nah. the circuit board only had volatile memory. cause hey it's attached to a battery so if it ever doesn't have power the pack is dead and unrepairable anyway

    • @stitchfinger7678
      @stitchfinger7678 Год назад +4

      @@Frostbite1090 that's one of those "you really shouldnt do it ever but if you genuinely don't have another option, you gotta" kinda things
      bad example but realistic execution imo

  • @natec1
    @natec1 Год назад +103

    I think it would be cool to make a little circular pcb that can just hold the voltage regulator and make direct contact with the contacts on the sensor. That seems a lot less jank than this lol

    • @minolhewage
      @minolhewage Год назад +14

      lol. I just came to comment the same thing. if you just design a pcb with detachable cable, and order it from china assembled, you can just replace any button cell device and call it a day. durable as well. but then no content. :3

    • @vinno97
      @vinno97 Год назад +9

      @@minolhewage Wouldn't be surprised if there is (or will be soon) an open-source (set of) design(s) to replace the battery for various button cell devices

    • @rafael.s
      @rafael.s Год назад

      You can get AAA and AA batteries that do this but I've not seen anything like that for coin cell batteries.

    • @echelonrank3927
      @echelonrank3927 Год назад +2

      @@minolhewage flat flex pcb based usb cable no need to detach. battery lid fits. supercapacitor mitigates power fail. china not cheap

  • @neccron9956
    @neccron9956 Год назад +2

    In all the cases, resister, diodes, Zener, and regulator, you need a load resistor (and a small capacitor across the load - 1uf) to get the minimum load current to get the
    diodes to be forward bias, Zener or regulator to regulate. With out the load resister, at very low current draw, none of the methods above will turn on or act like you would expect them to do.
    For example, the MIC5504 needs a minimum of 100uA to regulate (3v @ 100uA would need 30k load resister - do not forget the load capacitor).

  • @mz.7934
    @mz.7934 Год назад +186

    I’ve probably been to the shop about 10 times last year just to buy a random battery because I didnt have a specific battery some random thing needed.. I feel u, Linus.

    • @asdanjer
      @asdanjer Год назад

      don't you go to the supermarket?

    • @phuzz00
      @phuzz00 Год назад +2

      If you can wait a few days, ebay is a good source. Buy a 10 (or more) pack, because with the shipping it works out about the same as buying one. Then chuck the extras into a drawer, completely unlabelled, and next time you need one you get to spend ages searching through your battery drawer.
      That's my system anyway ;)

    • @EDV8ZR1
      @EDV8ZR1 Год назад +1

      @@phuzz00 it is very obvious thing Linus pointed out the batteries get old batteries leak lithium batteries do good old and leak Oracle of old expired leaking batteries

    • @EDV8ZR1
      @EDV8ZR1 Год назад +1

      @@phuzz00 but I understand the logic behind a large quantity from eBay or Amazon for cheaper also AliExpress or Alibaba all those the shipping times very

    • @whohan779
      @whohan779 Год назад +1

      For me CR2032, AA & AAA is all I need. Other battery-requiring devices just don't make the cut or have their battery integrated anyway.

  • @faranocks
    @faranocks Год назад +45

    12:45 You can use a zener diode instead of a schottky diode to create a voltage maximum, rather than using the voltage drop from the turn-on voltage.

    • @christianbustamante5619
      @christianbustamante5619 Год назад +2

      I was going to write the same thing :D a zener and a resistor

    • @Havocx42
      @Havocx42 Год назад +3

      Better to use both I think? drop the voltage a little with a schottky or two and then a zener with a breakdown of 3.2v to lock it in. That should limit the wasted power and still be able to provide the spikes. Add a capacitor if it the voltage droops too much during the high load.

    • @leobla744
      @leobla744 Год назад

      Or just 3 normal Diodes in series ,would be 5-(3×0,7)=2,9V that shouldbe find if not a basic 3.3 regulator with a little cap is the best option in my opinion

    • @faranocks
      @faranocks Год назад +2

      @@leobla744 Obviously 3.3v regulator would be better lol, not the point of this thought experiment at all. Issue with diodes in series is your peak voltage tends to be inversely proportional to the load, it's only marginally better than using a resistor as a voltage limiter. Using a zener isn't a great fix, but from my limited experience making power supply circuits, it's the best you can do without a timer + MOSFET circuit, or linear VRM (or either of these in packages).

    • @festival3rocker
      @festival3rocker Год назад

      the real advice is always in the comments - love it & thanks for the deep dive!

  • @HappyBeezerStudios
    @HappyBeezerStudios Год назад +23

    The intro perfectly resonates with me. Not everything needs to be wireless. Some things are better with wire.
    I did a mod myself at some point. Turned a battery-powered bluetooth speaker into a wired one. It now runs at 5V USB. Works just as well and the battery still exists just in case.
    Highly recommended for everyone to look into the classic LM317 voltage regulator.

    • @ccibinel
      @ccibinel Год назад +3

      Someone needs to make a USB to fake button cell adapter with adjustable arms to simulate the different sizes of buttons. $5-10 each would be well worth less jank.

    • @HappyBeezerStudios
      @HappyBeezerStudios Год назад

      @@ccibinel the issue with that is that USB runs on 5V and most common button cells on either 1.5v or 3v, so some voltage adapter would need to be added as well.

    • @ccibinel
      @ccibinel Год назад +1

      @@HappyBeezerStudios AMS1117-3.3 (or others with different outputs) will do it and costs under $1 us. Messing with resistors to save 30 cents is dumb. If someone made a product combining this with a housing, arms and usb port it should be viable for $5-8

    • @HappyBeezerStudios
      @HappyBeezerStudios Год назад

      @@ccibinel Right, fixed voltage is all that is needed, since the batteries that are to be replaced are also fixed. And much more comfortable than a bunch of LM317

  • @burkfivesix
    @burkfivesix Год назад +19

    I’ve been running one of those sensors for three years and have yet to need a new battery. While it would be nice to plug it in, ecobee has done a really good job keeping battery changes to a minimum.

  • @danwhite3224
    @danwhite3224 Год назад +137

    I have to admit, that SMD soldering was pretty impressive considering the fact that Linus was in such a sub-optimal environment for doing it. I've done some amount of SMD soldering though I tend to avoid it if I can because it can be fairly annoying (especially if you're talking 0402s).

    • @Spentalei
      @Spentalei Год назад +1

      Agreed, I think a better solution would be to use all through holes and get some very small breadboards. Using SMD is asking for trouble lol. If breadboards cost too much you can get these prototyping breadboards as well (these do require soldering though).

    • @SnakebitSTI
      @SnakebitSTI Год назад

      The SOT23-5 is plenty big enough. Though I probably would have used through hole passive components and soldered them point to point.

    • @Spentalei
      @Spentalei Год назад

      @@SnakebitSTI Eh, I wouldn't do that to myself or unironically recommend it to anyone else.

  • @gyulamasa6512
    @gyulamasa6512 Год назад +5

    I recommend to get some prototype PCB boards. They are available with the Through hole pitch and the SMD too.
    You can easily cut them to smaller pieces, and they provide a nice connection to your prototype device.

  • @Mark-pm8nw
    @Mark-pm8nw Год назад +56

    For those bumps on power draw add a capacitor in parallel with your device, it'll smooth out the power draw issue and probably make it a little better.

    • @bosstowndynamics5488
      @bosstowndynamics5488 Год назад +3

      Or use a voltage based approach like they did in the end which will make it *a lot* better instead.

    • @Mark-pm8nw
      @Mark-pm8nw Год назад +19

      @@bosstowndynamics5488 I'd still put a cap on the output of that circuit as well. It's replacing a battery, you want that output voltage to be smooth with as little ripple as possible and come as close to a battery characteristics as possible.

    • @tommisgr
      @tommisgr Год назад +4

      @@Mark-pm8nw But I would do all the voltage regulation outside of the sensor and near the power brick since they might get hot thus making the effort null

    • @kolle128
      @kolle128 Год назад

      ​@@tommisgr I don't think a device that is intended to run on battery for years will draw enough current to make heat on that circuit a big consern.

  • @lukasthrelkeld5676
    @lukasthrelkeld5676 Год назад +209

    wow dan should host more, that was actually the best explanation of any electrical engineering i’ve ever seen

    • @armLocalhost
      @armLocalhost Год назад +19

      You probably don't watch any EE videos because he didn't even show what he built.

    • @purplelord8531
      @purplelord8531 Год назад

      @@armLocalhost glad im not crazy. for a beginner like me, I have no idea why using diodes as resistors works. I know diodes typically have some resistance, but I don't know whether they have to be special diodes in this case?

    • @toto29620
      @toto29620 Год назад

      @@purplelord8531 They drop the voltage by 0.6v each in forward mode, when there is no current there is no voltage drop

    • @timmy7201
      @timmy7201 Год назад +2

      The lack of capacitors is probably why the LDO / MIC5504 didn't work. For further reference, if interested in electronics...
      The MIC5504 (or any other LDO) requires input and output capacitors to function properly, these are called bypass capacitors and aid with stabilizing the voltages during random current spikes. The datasheet for the MIC5504 recommends 1µF at both input and output side, but it wouldn't hurt to oversize it with a 2.2µF capacitor.
      An LDO lowers voltage by dissipating the surplus energy as heat.Thus the heat dissipation can easily be calculated by subtracting the output wattage from te input wattage.
      Lets for example estimate the average output current to be 10mA.
      - The output wattage at 3 volts would be 3V*0.010A = 0.030 Watts (Or 30 mW)
      - The input wattage at 5 volts would be 5V*0.010A = 0.050 Watts (Or 50 mW)
      - The heat dissipation would be 50mW-30mW = 20mW ... The other 30mW is used to power the device.
      - Next we need to check the LDO's datasheet to get the temperature increase per dissipated watt of energy, usually labeled as °C/Watt.
      - Our MIC5504 has a temperature increase of about 250°C per watt. We only dissipate 0.02 watts of heat, thus we multiply 250°C by 0.02mW = 5°C temperature increase.
      - Thus at an ambient room temperature of 20°C we can expect the LDO to reach a max temperature of around 25°C. Which is below the maximum rated temperature of our LDO.
      * Note:
      - The lack of a pcb/circuitboard as cooling plate could cause slightly higher temperatures in reality.
      - I always try to keep an LDO below 70°C tops, even when the datasheet states 150°C.
      - Look into a buck converter when larger voltage drops are required! These won't dissipate as much heat, but are more complex and bit more expensive.

    • @fynkozari9271
      @fynkozari9271 Год назад

      Do u have electric engineering degree? How much money do u make with that?

  • @eduardog3000
    @eduardog3000 Год назад +5

    11:06 Just casually soldering on a carpet.

  • @MeticulousTechTV
    @MeticulousTechTV Год назад +183

    In fairness, I have 4 of those ecobee sensors and they’re well into 3+ years without ever changing the batteries. I’ve been extremely impressed with how efficient they are. I upgraded to an Ecobee in November of 2019 and bought the sensors that December. I’d gladly hardwire any of my other wireless smart devices, as Ecobee aside, everything else absolutely chews through batteries

    • @allesklarklaus147
      @allesklarklaus147 Год назад +25

      Yeah this is probably a dumb solution to a problem that doesn't exist.

    • @heisenbaj
      @heisenbaj Год назад +5

      Same with my Philips Hue switches and sensors. Three and a half years in and I’m just now seeing ‘Battery low’ for the first time. This problem does not exist lol.

    • @gamingmarcus
      @gamingmarcus Год назад +30

      @@heisenbaj Now take those 3 years, divide them by 100+ devices, switches, sensors like Linus has in his giant house and given enaugh time it would average out to 1 devices every ~10 days because not every battery lasts the same time.

    • @allesklarklaus147
      @allesklarklaus147 Год назад +12

      @@gamingmarcus Usually it doesn't really average out all that well because similar devices (say 10 temp sensors of the same model) use the same amount of battery and batteries where put in there roughly at the same time. This means you gotta change a whole lot of batteries at once. And I would assume he does not have 100+ wireless room temperature sensors, the house is not that big.
      A more reasonable solution would be to make or buy some sort of energy harvesting solution that maybe uses a solar cell. These devices pull miniscule amounts of power if you calculate it and it should be doable. And you could keep them wireless.

    • @heisenbaj
      @heisenbaj Год назад

      @@gamingmarcus Sure, and so I get wiring everything possible. But these things are bought in waves or all at once, so it wouldn’t be nearly as sporadic as 1 every 10 days. This also introduces a failure point and I’m guessing voids warranty so solution seems worse than the problem.

  • @seventhson72
    @seventhson72 Год назад +67

    I love Dan's quiet voice and demeanor. Makes difficult things seem not so stressful and could probably read the phone book and put me to sleep

  • @CompTechs
    @CompTechs Год назад +7

    Dan's screen presence is amazing.

  • @zyrppa
    @zyrppa Год назад +61

    13:45 You could put capasitor parallel between plus and minus, so those spikes don't cause voltage drops

    • @TheMightyZwom
      @TheMightyZwom Год назад

      @@marcogenovesi8570 Don't they actually have an electrical engineer on staff?

    • @TheMightyZwom
      @TheMightyZwom Год назад +1

      @@marcogenovesi8570 Or maybe they didn't ask him?

    • @Spentalei
      @Spentalei Год назад +1

      Agreed, I saw this being a problem from a mile away. The advantage these cells (and batteries) have is that they're effectively really large capacitors. They will refuse to drop the voltage significantly unless you draw some high loads (>100mA). If you're replacing batteries this is one of the first things you address lest you get "funnied" by dropping voltages. Wall chargers are NOT designed to handle sudden spikes.

    • @TheMightyZwom
      @TheMightyZwom Год назад

      @@marcogenovesi8570 To get more content for a video? I don't know.

    • @SnakebitSTI
      @SnakebitSTI Год назад

      It's right there in the data sheet: VIN and VOUT are both supposed to be connected to GND with a 1uF ceramic capacitor.

  • @HumbertoHernandez
    @HumbertoHernandez Год назад +265

    This is more than just "First world problems" this is another league: "Linus' house problems". I swear this guy has these super particular problems he needs to solve and make content of.

    • @DraakjeYoblama
      @DraakjeYoblama Год назад +38

      I agree, but this video is one of the more useful ones. Although most people won't have such specific voltages

    • @twandepan
      @twandepan Год назад +20

      That's because this is entertainment more than education

    • @TheTekknician
      @TheTekknician Год назад +4

      Yet I wouldn't want to say the arguments he states are invalid, they most certainly are.

    • @sol_in.victus
      @sol_in.victus Год назад +13

      To be honest I'm from a 3rd world country and i despise batteries my wirings are usually way jankier lol. My only entirely battery device is my phone

    • @TrevHolland
      @TrevHolland Год назад

      He made a problem for himself. At least with those sensors. They way underestimate with that 2 year life span. I've had some going for 3 or 4 years now without needing to change the battery.

  • @technologicalelite8076
    @technologicalelite8076 Год назад +3

    We need a Dan vs. Anthony P.C. build off, both of them are as wholesome as can be. We love seeing them both!

  • @superbub1
    @superbub1 Год назад +111

    It's probably fine at 3.3v. you could use a 3.3v zener diode in parallel with the device and then a single resistor in series beforehand to make a simple diy regulator. You just gotta make sure you spec your components right so you don't fry anything.

    • @RandornCanis
      @RandornCanis Год назад +26

      Yeah~. A potentiometer is not the way to regulate voltage to an active circuit. Much less anything radio.
      I'd even bet the first thing inside that sensor is a regulator boosting battery voltage to a standard 3.3V.

    • @anlumo1
      @anlumo1 Год назад +2

      Yeah, that's the proper solution, but they probably didn't have any Zeners lying around. If you're ordering components anyways, that's way better than making a giant chain of diodes.

    • @redmist4963
      @redmist4963 Год назад +1

      @@anlumo1 the series diode one isn't a bad solution. They have a generally stable voltage drop especially if your doesnt suck much current. With a general voltage drop of about 0.6 volts you could put 6 in series and maybe an extra shotky diode to make the 2 volt drop

    • @SnakebitSTI
      @SnakebitSTI Год назад

      @@RandornCanis Good point. Examining the actual power circuit can take a lot of guess work out of it. Sometimes electronics accept wider voltage ranges than you'd expect.

  • @Jpeg6
    @Jpeg6 Год назад +33

    Two points to make. The battery voltage will vary above 3.3V when full so there should be no issue with a 3.3v regulator.
    Also for those larger current spikes a simple electrolytic capacitor for a few cents would help greatly.

    • @armLocalhost
      @armLocalhost Год назад +2

      I don't understand why they didn't ask a proper engineer which they have in the team and just over engineered it like hell.
      Like they could have used a voltage divider with a cap and call it a day.

    • @varno
      @varno Год назад +2

      @@armLocalhost I mean they could, but also why not just use an lm317.

    • @nadie9058
      @nadie9058 Год назад +4

      @@varno Not even, 3.3 V Zener diodes are common, way smaller and simpler to solder than an lm317.

    • @Jpeg6
      @Jpeg6 Год назад +1

      @@armLocalhost could have been way over engineered but their point was to do it on the cheap.
      But I would say stay clear of voltage divider with no protections at all.

    • @varno
      @varno Год назад +1

      @@nadie9058 just to be bulletproof, I wouldn't use a shunt regulator here, they don't work well for bursty loads like this one, and are super inefficient. This was because he wanted 3.2v rather than 3.3.
      With jlcpcb being as cheap as it is, I probably would have just made up a pcb in kicad quickly with all the components and had them solder it together.
      At the same time, I am suuuuper surprised they don't have any 317s in a to92 there. That and a couple caps would solve the problem imediately.

  • @hoofhearted4
    @hoofhearted4 Год назад +3

    glad im not the only one who noticed how good Dan has gotten on camera. not that he was bad before, but you can see the improvement and how comfortable he's gotten. i love anything involving Dan!

  • @nootanwait2358
    @nootanwait2358 Год назад +94

    I love seeing you guys dive into electronics. If you do a project like this again - a 3.3v regular and an electrolytic capacitor in parallel across the output should run any device like this. The capacitor absorbs those spikes. Most circuits with linear regulators follow that approach

    • @joonglegamer9898
      @joonglegamer9898 Год назад +22

      This, plus don't even bother with the potentiometer. The circuit is most likely 3.3v which most microcontrollers are today, so leaving it at 3.3v is just fine.

    • @kennmossman8701
      @kennmossman8701 Год назад

      you need a LDO VR IC. The current spike is caused by the load. The cap would act to supply the current.

    • @billmiller4800
      @billmiller4800 Год назад +1

      It just sucks that a linear regulator will waste some power, mot much at these voltages, but some (for the ultra power efficient folks)

    • @heartysteer8752
      @heartysteer8752 Год назад +5

      @@billmiller4800 By my guesstimation the linear regulator will waste $0.03 in electricity to save $3.00 for a battery. Not counting all the other costs, losses, and benefits.

    • @bosstowndynamics5488
      @bosstowndynamics5488 Год назад +2

      I don't know why everyone is saying to add a capacitor for those "spikes", those are 7mA spikes on a device being powered through what in practice would almost certainly be a half to one amp regulator on a half amp or more USB supply, you aren't going to get voltage drops in that configuration (after all, the 3 diode solution they went with is functionally a dirty voltage regulator and didn't cause any voltage drops during the current spikes)

  • @billmiller4800
    @billmiller4800 Год назад +15

    Rather than soldering to the contacts in the device, cut a piece of plastic (e.g. bottle top or two, or even a bit of wood) to the right size and then stick the wires to it. This gives the added benefit of being able to convert back to a battery if needed.

    • @HappyBeezerStudios
      @HappyBeezerStudios Год назад +1

      Basically a plug the size of a CR2032 (THe name itself designates it as a lithium cell with 3V nominal and 2.0V end point with 20 mm diameter and 3.2mm height. The number is the trick: 2032 -> 20x3.2 or the similar 2025 -> 20x2.5 or even the 18650 -> 18x65.0 that are used in many laptop batteries)

  • @sigxtizero2441
    @sigxtizero2441 Год назад +2

    I wired up a 2XAA battery holder which outputs 3 volts to my scale to replace it's original CR2032 and it's still going after a few years. If you don't care about the aesthetics I think it's a decent solution

  • @davidrajchman7162
    @davidrajchman7162 Год назад +18

    I am an electronics engineering student, never have I though about using diodes voltage drop to drop down regulated voltages, this is really smart and I will use it whenever i need to do something the "fast and junky way".
    BTW, you could used a rezistor parallel to the ecobee terminals to keep the diodes in the 0.6 voltage drop range . this would increase current draw (but the powersuply still draws some amount of power so it does not matter) but it will allow you to use this trick on devices with overvoltage protection

    • @Validole
      @Validole Год назад +3

      It's an ancient hack, but relies too much on current draw. I usually can't use it because if it's that low voltage, it's also low-power and thus usually very "peaky" in current draw, and I can't justify pissing away milliamps in a device designed to take microamps on average. So I never design it into a device. And when hacking an initial prototype together, I just use an adjustable buck converter module or an adjustable LDO regulator. Or feed it off a power supply. So the utility is limited.
      The main issue with hacks like that is that you introduce unknowns, so there's that much more to exclude as root cause if something doesn't work.

    • @robmckennie4203
      @robmckennie4203 Год назад +5

      Using the characteristic voltage drop of a semiconductor to get a reference voltage is a fundamental concept is designing voltage regulators

    • @matthewmaxwell-burton4549
      @matthewmaxwell-burton4549 Год назад +6

      I'm a EE who mainly deals in railway signalling, but I did a lot of power engineering too. Be it small or big.
      You can use a zener diode to pull a voltage to a known value, you'll learn about it later when doing courses about designing power supplies. A diode and a transistor are the basis for a voltage regulator.
      What happened here is he used a resistor devider but failed to consider that the ecobee pulls power too, thus acting like an impedance and influencing the voltage drop. Could have been solved with an op-amp in VF config.
      THB though i'd gone the simple route and grabbed a mini buck converter from ali express, they are tiny now and mitigate the hassle. No point re inventing the wheel when an absoulty perfect solution exsists.

    • @matthewmaxwell-burton4549
      @matthewmaxwell-burton4549 Год назад +1

      @@robmckennie4203 Ah but you are then dependant on the temperature. I can remember while doing my EE courses, the actual math behind SC. An absoult pain, was the only bit I didn't enjoy.

    • @__dm__
      @__dm__ Год назад

      We usually use diodes to combine low-power power supplies together without too much hassle.

  • @joehelfrich7456
    @joehelfrich7456 Год назад +44

    You should get green-screen pull down window shades for the house, and then just drop in various windows screen backgrounds outside the windows.

    • @nezu_cc
      @nezu_cc Год назад +4

      he already leaked his location live on stream, idk why he is even trying to hide it by this point.

    • @SolutionJW
      @SolutionJW Год назад +9

      @@nezu_cc Because the amount of people that saw that section of a stream is a whole lower than the amount of people watching video's. Especially considering there's going to be repeated videos in his house.

    • @nezu_cc
      @nezu_cc Год назад +2

      @@SolutionJW yeah, but information spreads fast. If someone wants to know his location all they need to do is google it. Imo there is no point hiding it if you can just google it. Nobody is going to play geo guesser using his windows if the info is already out there in the wild and confirmed to be correct in multiple ways.

    • @SolutionJW
      @SolutionJW Год назад +2

      @@nezu_cc My point is more along the lines off 1) there's no point in NOT hiding it and 2) people that aren't already looking for the information might get interested because they see something interesting outside his windows. Why give them that opportunity, right?
      Besides, hiding his location might not be the sole reason for the blur, who knows

    • @nezu_cc
      @nezu_cc Год назад

      @@SolutionJW as others pointed out, sometimes is batter to hide in plain sight. Pixelation only draws unnecessary attention to it. It's especially pointless once the original purpose behind it is already gone. By this point, it does nothing else expect waisting editors time and drawing unnecessary attention.

  • @simduino
    @simduino Год назад

    For this kind of projects I use MP1584EN or LM2596 buck down converters. They can deliver about 3A tops with 4-40V input. You can buy them in 5 packs for about $10, much easier to solder and way safer. They are adjustable, the LM2596 uses a 10 turn pot so you can adjust it at precisely 3V. They hold the output steady at variable amps and variable input voltage. The MP1548EN is the smallest which will fit nearly anywhere.

  • @yezansalam4335
    @yezansalam4335 Год назад +33

    That screen transition edit from Linus to Dan was absolute perfection. Hats off the editor.

  • @ChristopherHallett
    @ChristopherHallett Год назад +18

    Dan is getting so comfortable and confident on camera, I love it!

  • @Magnetik_moto
    @Magnetik_moto Год назад +3

    7:05 A fully charged 3V battery may have a voltage a bit higher than 3V, usually around 3.2V, so 3.3 V should be totally fine. You forgot 1 uF capacitors mentioned in MIC5504 datasheet however.

  • @iobawan
    @iobawan Год назад +49

    Since you're on home assistant you just could assemble your own sensor based on ESPHome (esp8266+DHT) and put it in your wall socket

    • @namankohli1061
      @namankohli1061 Год назад +13

      I'd advise against a DHT11 for something used to control the room heating as even a degree change can make the room super cozy vs uncomfortably cold, and the DHT11 is pretty inaccurate at ±2 degrees celsius. A DHT22 is a fraction pricier but much more accurate, and if you want to get even better readings( temp+humidity+air pressure), there's the BME280 I think it was called.
      But yes, the 2-pack of Linus sensors cost a whole 120 dollars, and the ESP is far far cheaper. I reckon if it's just a single sensor, they can also use the ESP01 as it is TINY.

    • @mlindholm
      @mlindholm Год назад +4

      @@namankohli1061 better would be the Sensirion (IIRC) SHT40, SHTC3, or SHT31 (in order of price), as they're I2C interfacing, not the weirdness of counting the pulses that a DHT11/22 uses. Less of a concern with a single purpose endpoint, but might as well avoid.
      Then again, I don't know how annoying those are to physically interface with if you don't get a dev board with them like Adafruit sells.

    • @motosk8er2
      @motosk8er2 Год назад +1

      Big brain solutions. I doubt linus wants to dedicate that much time into this however.

  • @sourcelocation
    @sourcelocation Год назад +154

    Anyone else had moments where you remember buying a lot of batteries recently, but you can't find any? lol

    • @bwood6337
      @bwood6337 Год назад

      Do you have children?
      Because if so it was definitely them.

    • @BrokeSim
      @BrokeSim Год назад +3

      Ong I buy 30 pack of AA and they’re gone the next week

    • @floppa5911
      @floppa5911 Год назад

      every time I buy them

    • @maevwat
      @maevwat Год назад +2

      I think you left them in the drawer with random papers and wires

    • @The_oli4
      @The_oli4 Год назад

      I recently orderd 30 rechargable AA batteries I am missing 1 of them already...

  • @DJphotoandtech
    @DJphotoandtech Год назад +2

    0:48 "shockingly inexpensive" I love that pun

  • @Maxam-Media
    @Maxam-Media Год назад +14

    Really love the home automation/improvement videos and glad you guys let Dan have a segment in to help understand things better. I would love to see more detailed content on this stuff in the future or something as a follow up to this video with some of the viewers suggested comments. I too hate batteries and wish to keep everything hardlined so seeing that it’s something that is doable has at least opened a door into further research for me on this topic

  • @Beltonius
    @Beltonius Год назад +23

    If you're doing a few, might have been worth drawing up a PCB and having JLCPCB or similar fab and SMT a tiny board the size of a battery to drop into the sensor that could have the voltage regulator and maybe the filter caps that are part of the reference implementation on the datasheet.

    • @PrograError
      @PrograError Год назад

      well... someone do it up and sent it to LTT to add in the description, there's bound to have lots of peeps wanting to do that... without the patience or tools to do it...

    • @tec4303
      @tec4303 Год назад

      You could do that, or just order an off the shelf 3.3 V voltage converter.

    • @LordWaldema
      @LordWaldema Год назад

      plus you could add a USB-C port 😏

  • @dodge1629
    @dodge1629 Год назад +1

    To simplify, just use the LM2596S DC-DC Buck Converter (2 wires in DC1.25V-35V - 2 tires out adjustable voltage) it only costs $1.96 free shipping from Aliexpress, simple and easy!

  • @EricMBlog
    @EricMBlog Год назад +22

    You can also use diodes in their forward direction to drop voltage. Like you could have used a schottky diode to drop ~0.2v off of the 3.3v supply. And that isn't dependent on current (ideally of course) like a resistor/pot is.

    • @EricMBlog
      @EricMBlog Год назад +13

      Ah, or I could have just watched the rest of the video 😁

    • @anonapache
      @anonapache Год назад

      I thought about the same.

    • @munjee2
      @munjee2 Год назад +1

      I thought of that but assumed it wouldn't work because linus said "exactly 3.2v"

    • @michaeltempsch5282
      @michaeltempsch5282 Год назад +2

      @@munjee2 Exact? With batteries?
      They do drop in voltage from fresh to when the device starts complaining...

    • @munjee2
      @munjee2 Год назад +2

      @@michaeltempsch5282 that's what I was confused by myself

  • @Anonymus-ih7yb
    @Anonymus-ih7yb Год назад +9

    1:48 In my experience most things use the CR20 batteries which describe their diameter and thickness in their name. A CR2025 is 20mm in diameter and 2,5mm thick, depending on how the Battery is held in it can also serve as a replacement for a CR2030 battery.

  • @folderx2000
    @folderx2000 Год назад +2

    I love the new format!!
    There is a commentary from Dan and explaining how it works and alternatives. Keep this up.
    And include the beep part on the edit. It feels more natural to me ateast

  • @akillersquirrel5880
    @akillersquirrel5880 Год назад +10

    Linear 3.3v regulator plus a small capacitor on input and output would be my approach to this - no need to faff about with a potentiometer, and the caps should soak up the power spikes reasonably well.

    • @kennmossman8701
      @kennmossman8701 Год назад

      would have to be a LDO. you need a LDO VR IC. The current spike is caused by the load. The cap would act to supply the current.

  • @fern3165
    @fern3165 Год назад +4

    The fact that Linus is using surface mount components is hilarious, I am almost certain you could use a through hole LDO voltage regulator and have no soldering problems

  • @brainlessdude
    @brainlessdude Год назад +7

    Dan is my hero. My batman. Someone I didnt know I needed in my life but now everytime I see him in these videos it sparks me so much joy. He is so funny and has so much knowledge, that he even stands out next to so many other great people at LTT.

  • @gaminginstilllife9429
    @gaminginstilllife9429 Год назад +15

    These videos just keep getting better and better... I've been watching for like 5 years and because of LTT I've built 3 computers and now solder my joysticks and retro systems. I would never even try something like that before. Ty Linus

  • @InShortSight
    @InShortSight Год назад +35

    That cut in was a great format for Dan. He gets to bring the facts and knowledge, but we still get to watch linus suffer on his own for a bit.

  • @ChazTyldsley
    @ChazTyldsley Год назад +1

    I love how much Linus loves to overcomplicate things, it makes for entertaining viewing.

    • @em0_tion
      @em0_tion Год назад

      His misery is really entertaining. 🤣😂👍

  • @mrgallbladder
    @mrgallbladder Год назад +12

    And here I thought this was actually a helpful tutorial on how to convert battery operated devices to hardwired, for people who aren't electronics experts, turns out they just needed to publish a video per the schedule. LTT is more of an entertainment channel than actual tech tips.

    • @hellterminator
      @hellterminator Год назад

      Most frustrating part is how needlessly rushed and botched it was. The amount of prep they did seemed appropriate for an emergency video they need to do _this afternoon_ to put out _something._ But from Dan's comment, it's clear it was in the pipeline for at least a week. They could have picked a proper 3V LDO and designed a CR2477-sized PCB around it (possibly even with a USB connector on the back) in 15 minutes (or a couple hours tops, if Dan doesn't have experience with it) and have it fabbed - including population - and delivered in ~3 days. They had the time and they certainly have the money.

  • @derekpeterson1643
    @derekpeterson1643 Год назад +6

    I’ve been considering doing this to my Ecobee sensors for years, and I’m glad I talked my way out of it for the very same reasons you had trouble

  • @mattcarlin2873
    @mattcarlin2873 Год назад +4

    The funniest thing about this whole endeavour is when Linus at 15:00 implies that the sensor would likely run for years on its button battery lol. The truest definition of over-engineering right there! Also I think I'd take the battery over using up a plug socket :P

  • @cheetoritos
    @cheetoritos Год назад +5

    It would be really cool if you guys made a drop in replacement board that just took a micro-usb cable or something. A small, 2-layer PCB would be able to fit the voltage regulator as well as include contacts to the existing battery contacts. And maybe an inductor or something could help with the current spike?

  • @Marco_Onyxheart
    @Marco_Onyxheart Год назад +6

    I find that voltage regulators are best used to get a very exact voltage, for example for an ADC's reference voltage. For this use, I'd prefer a tiny QSKJ buck converter.

  • @TheNpcNoob
    @TheNpcNoob Год назад +1

    Thank you to whoever edited in the fire hazard warning @ 6:04 regarding cheap USB A 5V 1/2A plugs.
    It’s become such a common problem now that even high street retailers like Poundland are selling these things and if you or anyone you know uses them, dispose of them straight away.
    It’s not a matter of if but WHEN they will either melt or explode which will start a fire if it’s unattended.

  • @diskdrive123
    @diskdrive123 Год назад +9

    The regulator spec sheet would tell you how to calculate the resistance needed to get your desired voltage. Than you can use small exact resistors vs large pot.
    You could probably buy a pre-made regulator on PCB for ~$5-10 and just swap the resistors to get the voltage you want. Than you can easily solder the wires on.

    • @gyulamasa6512
      @gyulamasa6512 Год назад +2

      Even more, most of these chips have a freely adjustable version. Then you have to attach the potentiometer between GND and the output, and the middle pin to the feedback (usually called FB) pin. then you can set almost any output voltage to the device, that is independent of the load on the output.

    • @gabrielenitti3243
      @gabrielenitti3243 Год назад

      the way he used the resistor is not to adjust the voltage regulator output, but to drop some more voltage in series. However as Dan explained, the current draw from the sensor varies wildly, therefore the voltage drop across the resistor does awsell (remember Ohm's Law V = I*R)

    • @diskdrive123
      @diskdrive123 Год назад

      @@gabrielenitti3243 You NEVER use a resistor to try and drop voltage as a power supply, especially for dynamic loads . V = I*R, meaning every time the current draw changes the voltage changes, those devices need constant voltage. I don't recall specifics but Dan showed diodes to drop voltage which is fine, just not efficient.

  • @drmarmal8
    @drmarmal8 Год назад +4

    Thanks for this amazing guide, Linus! I will literally have no uses for it, but it was incredible to watch you turn a wireless thing wired. I am more than impressed.

  • @subbiahpalani
    @subbiahpalani Год назад +6

    As someone who did something with the same outcome couple of weeks ago, doing this live on camera would be unbelievably hard!

  • @ThisTrenton
    @ThisTrenton Год назад +9

    Seems like a perfect use case for OSH Park. A perfect purple PCB would be awesome. It could just fit perfectly into the button cell holder. Anyway... Capacitors are great for current spikes too.

    • @harrysnell8971
      @harrysnell8971 Год назад

      honestly considering they have EE(s?) on staff it seems a bit like no one has read that datasheet :/

  • @kaapporaivio
    @kaapporaivio Год назад +18

    The voltage drop caused by the potentiometer depends on the current flowing through it, so the voltage you are measuring will vary depending on the current power consumption of the sensor, which explains the over 4 volts you saw

    • @ailivac
      @ailivac Год назад

      The only proper way to do this is to get an adjustable regulator that lets you connect a potentiometer (or fixed voltage divider) to an adjustment pin that will actually change the regulation voltage. Assuming 3.3V is really too high there are 3.0V fixed regulators easily available (well, they do manufacture them at least...)

    • @kaapporaivio
      @kaapporaivio Год назад

      @@ailivac yup, that's it. I think 3.3 V would easily be in spec assuming a ±10% tolerance. And I think the vanilla battery is probably over 3.2 V anyway when full.

  • @owenroot7749
    @owenroot7749 Год назад

    I absolutely love the formate of Linus try's something somewhat jank - struggles - cut to how to get it to work/easier way - back to linus

  • @Youtronics
    @Youtronics Год назад +7

    I recommend getting some non-SMD sized (TO92) voltage regulators in various voltages for future "unplanned" projects. And get some transistors (BC547C, BC557C) as well while you're at it :) An inventory of various basic components is worth its weight in gold.

    • @ItsJust2SXTs
      @ItsJust2SXTs Год назад +1

      agree with that, I converted a 2x AAA battery wireless headset base to a Li-po powered and used a MCP1703 in TO92 package, never failled onced! it's a 3V fixed voltage so perfect for tha kind of application but if I remeber they offer other voltages

    • @vappyreon1176
      @vappyreon1176 Год назад

      @@ItsJust2SXTs me using a wired headset like a pro

    • @ItsJust2SXTs
      @ItsJust2SXTs Год назад

      @@vappyreon1176 working on cars with a wireless headset is way better than wired or when I work it's plug in the computer but I can move without walking on the wire or have a 10m wire... the headset it self work for 3-4 days on 2x AAA but the base was like a day and half and I bought rechargeable when I got it, still the smae 4x batteries in 7 years. I broke the base case one day that was another reason for the switch and use a MAX1811 for charging the lipo

    • @marcusborderlands6177
      @marcusborderlands6177 Год назад

      @@ItsJust2SXTs man, I would never trust putting a lipo that I had anything to do with that close to my head. I still remember the old olight lipo flashlight exploding in mouth thing.

    • @ItsJust2SXTs
      @ItsJust2SXTs Год назад

      @@marcusborderlands6177 me either that's why it the base not the headset it self, it's a 500mah battery so it's not that big. It transmit the sound in the FM band not bluetooth. When the lipo will die eventually(it's 5 years old now so it lost some charge but it's not buldge), I will change for a Li-ion at least they are in metal casing. Bluetooth Headset use li-po but still too close for my tase. Remember the samsung that were blowing in pants? that was scary to see..

  • @superprinz4753
    @superprinz4753 Год назад +34

    Tip for next time: If you want to have a small DC power supply, you can use a Z diode and thus set the voltage to a fixed voltage. The structure looks like you have a resistor for the Z diode so that the current to the diode and the consumer is limited. The consumer is then connected parallel to the Z diode. The Z diode determines how high the constant voltage is that falls off via the diode. The Z diode is installed in the blocking direction. This makes it relatively easy to set up a small power supply.

    • @fermitupoupon1754
      @fermitupoupon1754 Год назад +7

      That is what I was thinking. Why not get a zener diode and just be done with it? Or if that's too much hassle to get the right one, just use a good old LM317

    • @0010010010010010011
      @0010010010010010011 Год назад +2

      @@fermitupoupon1754 Yeah, an LDO or a zener seems like the move here

    • @bosstowndynamics5488
      @bosstowndynamics5488 Год назад

      I might be misunderstanding because I haven't used zeners myself before, but wouldn't shorting one across the supply output of a regulated voltage source (the 5V wall wart) cause the upstream active regulator to dump upwards of half an amp through it trying to push the voltage back up to 5V? That seems much more wasteful than an in line linear regulator.

    • @0010010010010010011
      @0010010010010010011 Год назад

      @@bosstowndynamics5488 you’d add a resistor to the 5V output. That will limit the current.
      I’d guess the resistor would be in the range of 1k to 10k, but that can definitely change

    • @fermitupoupon1754
      @fermitupoupon1754 Год назад +2

      ​@@bosstowndynamics5488 In this case you'd use a 3.3V zener diode. You'd put that in-line on the positive side.
      So you backfeed it with the +5V from the wall wart, into the +3.2V for the sensor.
      The +5V exceeds the zener diode's zener voltage. Which causes it to break down and start conducting at it's zener voltage of 3.3V.
      Add in a smoothing cap and a discharge resistor. Done.
      No need to fiddle with a pot to try and calibrate a regulator. As long as you don't try and draw more amps than the zener diode is rated for, it'll regulate the voltage.

  • @mutantryeff
    @mutantryeff Год назад

    I had a unit in my last two houses that would turn on the HVAC's central fan to circuit and average the air within the house. Some bedrooms would get super hot, or super cool, and this balanced the house's overall temp without cycling the heater or air conditioner as much.

  • @ill301
    @ill301 Год назад +7

    If not for the "cheapskate" part, you could have used a CR2032 battery eliminator and a bit of padding to make the contacts touch each others.

    • @sithlordmaster181
      @sithlordmaster181 Год назад

      You still have to supply the battery with 3.2 volts

    • @ill301
      @ill301 Год назад

      Battery eliminator are made to replace batteries by a power supply, it either comes with one integrated or you have to plug it on a corresponding power supply.
      It would have avoided the sketchy soldering with SMD.

  • @NoorquackerInd
    @NoorquackerInd Год назад +16

    At that point, you may as well use the LM2596 board and just smear it with hot glue. Yes, it'll use more power on idle since it's made for supplying up to 3A, but the size and cost makes it very well worth it.
    Or use literally any $0.5-$1 buck converter off eBay

  • @agw5425
    @agw5425 2 месяца назад

    That is why you put a polarized capacitor in parallel with the power drawing component to build up a buffer of current for uneven power draw. It will not go over the set voltage but allow a short burst of power for irregular events, while filling back up in between. A cap the size of a match head at 5-15v would fill your needs in this case so it should fit no problem. Just make sure to match + and - sides to your device.

  • @ZackMuffinMan
    @ZackMuffinMan Год назад +13

    My smoke detectors and security system are hardwired but have battery backups for when the power is out. The smoke detectors start beeping once every couple of years and I just replaced my security system battery for the first time in 8 years. It was like a small car battery.

  • @pgplaysvidya
    @pgplaysvidya Год назад +7

    10:13 something you could do for the future is find all of your QR codes for your various devices and export them as a large image file that is stored on your server. I have this done on my security cameras so that in the unilikely event i need to add them on a new phone or because i forgot how to rearrange them in the app UI, i can just import the QR code from a file rather than to go to each security camera.
    but this is only a solution if the software allows you to import a QR code. I guess another option is to open the QR code file on another device and point your app/camera at the other device

  • @patcherandpatch
    @patcherandpatch Год назад +1

    Dan, maybe a good idea is using an LDO, from the 5V USB to a 3V of the CR2032. The diode idea "works" also as a voltage reference, but every diode has a parasitic resistance Rz and increases the amount of current needed, and the """regulation""" (Supply regulation SR) is pretty bad in comparison to a true Voltage reference as the LDO. The voltage' s divisor is a very bad idea (potentiometer has a 10% error) because you add the "load" of the device to the total resistance and the voltage goes dead.
    Good video, gave me an idea of making a PCB the size of a CR2032 that converts 5V usb to 3V.

  • @elkhayder
    @elkhayder Год назад +4

    Instead of the three regular diodes in series, you could've used a Zener Diode. For you application with a constant load, Zener Diode would be your best option

    • @gyulamasa6512
      @gyulamasa6512 Год назад

      Yepp, an 1.8V diode would have exactly resulted in the 3.2V needed.

  • @TheMightyWej
    @TheMightyWej Год назад +4

    Love to see more tech creators doing this type of content! This exactly the type of content we need to expose the next generation of techies to!

  • @SegmentW
    @SegmentW Год назад +1

    Riley absolutely nailed the entire sponsor spot at the end.
    To make a sponsor feel that natural and entertaining is some premium talent fr

    • @estusflask982
      @estusflask982 Год назад

      I noticed that too I want those shoes now

  • @nickindie4704
    @nickindie4704 Год назад +13

    I want to see a video about battery tech. How good are they today? What types are there. Are there other kinds beside Lithium that could power a handheld?

    • @randomoneforstuff3696
      @randomoneforstuff3696 Год назад +1

      That would probably be a Techquickie video.

    • @abhimaanmayadam5713
      @abhimaanmayadam5713 Год назад

      outside of nimh batteries, not really. Like you have Lithium Ion which do 4.2 V, and the lithium cells that do 3 V but with super low discharge. NIMH do 1.2 V and Alkalines do 1.5 V. There are lithium ion AAs but they are pricy and need a special charger. Basically the best of both worlds

    • @UselessZero
      @UselessZero Год назад

      There are way to many battery types, to be honest. Most of them are/were either proprietary for cameras or for a specific size constrained applications.

    • @randomoneforstuff3696
      @randomoneforstuff3696 Год назад

      @@abhimaanmayadam5713 Maybe solid state batteries will be viable for consumer products soon.

  • @lanealucy
    @lanealucy Год назад +4

    Next time use a ready to use stepdown converter. It's a little bit bigger, but you can make it part of the cable

  • @SegmentW
    @SegmentW Год назад +1

    That was a wonderful insert Dan, I very much enjoyed hearing him explain.

  • @NerdSnipingBatman
    @NerdSnipingBatman Год назад +7

    Haha editor I love the screen wipe where dan pushes away the screen 😂 more fun like this!

  • @loganzcai
    @loganzcai Год назад +6

    Did Linus consider moving the thermostat to the other side of the wall? It would be significantly more reliable to move the thermostat instead of adding another device. If Linus just needs the thermostat on the back side of existing wall, he could drill another hole.

    • @cedricpomerleau5586
      @cedricpomerleau5586 Год назад

      Yeah I don't get it, that house was just renovated and they added a lot of wiring. It was intentional to put the thermostat in the wrong spot... A lot of weird things have been done with that house.

    • @Kyle_116
      @Kyle_116 Год назад +1

      @@cedricpomerleau5586 Don't forget Linus has been giving a crapton of instructions on what he wanted to contractors, and a lot of said instructions were different from what they would typically expect to do. Mistakes and/or confusion have happened a lot because of this.

    • @Michael-zf1ko
      @Michael-zf1ko Год назад +1

      Yea, what's hilarious is that Linus needed to get these sensors in the first place because his smart thermostat system is borked.

    • @Dumfing
      @Dumfing Год назад

      @@cedricpomerleau5586 it's possible they weren't able to predict the issue of unintentional heating

  • @satyamstark1124
    @satyamstark1124 Год назад +1

    Living in a kinda tropical country I'm learning a lot about how people keep their houses warm in cold climates.

  • @РыгорБородулин-ц1е

    You could just add a big capacitor with high internal resistance to compensate for this power spike