logo elektroda
logo elektroda
X
logo elektroda

Converting 3V Battery Device to DC: Choosing the Right 3.3V Converter

minusync 2046 15
ADVERTISEMENT
  • #1 21395003
    minusync
    Level 9  
    Posts: 57
    Rate: 3
    What would be the best way to convert a 3V battery device to DC?
    I would like specifically to use a door sensor without a battery. Obviously, there are some 3.3V converters, but I am not sure if they are actually suitable. I think that in cheap converters they probably don't bother to smooth out the phase peaks, and I am not sure how/if this affects the sensor functions.
    I am sure somebody has done this before.
  • ADVERTISEMENT
  • #2 21395181
    max-bit
    Level 34  
    Posts: 4558
    Help: 116
    Rate: 835
    I understand that you want to build a 3V to 3.3V DC converter?
    What current (mA) efficiency should it have?
  • ADVERTISEMENT
  • #3 21395431
    VPSA132
    Level 26  
    Posts: 726
    Help: 74
    Rate: 180
    max-bit wrote:
    I understand that you want to build a 3V to 3.3V DC converter?
    What current (mA) efficiency should it have?

    He wants to power a battery-powered device from a DC power supply.

    The best way is to modify the power supply from an old Nokia phone. You have to modify the feedback loop.
    Usually it comes down to replacing the zener diode. However, it depends on what kind of power supply you have.
    If you have one, take it apart and post some pictures.
  • ADVERTISEMENT
  • Helpful post
    #4 21397913
    Maximilian0017
    Level 7  
    Posts: 12
    Help: 1
    Rate: 1
    Personally I would get a wall wart/old phone charger that has 800mA or more and a module like this one:
    https://www.aliexpress.us/item/22558004492321...651!ppc!!!&gatewayAdapt=glo2usa4itemAdapt

    This module can deliver 800mA and that should be more than enough for this, it also has the minimum number of capacitors onboard.
    It is an LDO, that means it can be used with low voltage drop applications like this.

    Have fun!
  • ADVERTISEMENT
  • #6 21398857
    minusync
    Level 9  
    Posts: 57
    Rate: 3
    >>21397936
    Well, I wait for the results. I have seen those and many others. Problem with all of those is unknown quality. Also, I don't have really anything to test it.
    Battery has a real DC linear graph. Worst "DC" converters just cut off one side of the AC graph. Even when sometimes there are some smoothing capacitors, the result mostly is still horrible. Only real information about DC wave quality gives an oscilloscope. Most people obviously don't have that.
  • #7 21399006
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14412
    Help: 650
    Rate: 12357
    How your door sensor looks like? Does it run directly from battery? If it's using a WiFi module that's run from 3.3V, then 3.3V voltage should be good. You can just go for 5V along with 3.3V LDO. Just make sure to check the datasheet of chosen LDO first and do not exceed its maximum ratings, Vin, etc.
    Helpful post? Buy me a coffee.
  • #8 21399287
    modziul
    Level 33  
    Posts: 1678
    Help: 243
    Rate: 442
    minusync wrote:
    The only real information about the quality of a DC wave is given by an oscilloscope. Most people don't have one, of course.
    .
    But the battery is discharging which means its voltage is not constant and if the device can tolerate the voltage drop and is working it will tolerate a non-linear DC waveform and if it doesn't then you have an oscilloscope and you can add Low Esr smoothing capacitors ferrite filters etc.
  • #9 21399296
    Maximilian0017
    Level 7  
    Posts: 12
    Help: 1
    Rate: 1
    The modules mentioned by minusync are pretty good, even using a scope, but use these for designs that they are meant for.

    The main problem is that you need a place to put it so it will be safe, what if the housing breaks?, what if you have a fire and the insurance see your self-built device?
    A doorsensor doesn't have a lot of room, and it isn't really feasible to have a mains line entering that device.

    That is why I told you about this one: https://www.aliexpress.us/item/3256805591743309.html
    It is within spec, of the regulator that is being used in that design, if it is genuine of course.
    There are better LDO regulators out there, but this should be fine.
    Stay away from the regulator modules that use a pot for voltage trimming, these tend to cause problems in the long run.

    You can put it in the housing with a DC barrel jack or a USB connector and it will look like factory.
    A simple wall wart or a cheap/old 5v phone charger can supply the 5v power
    And because the wall wart/charger is a device that is already been (CE) approved and tested, it will not be a problem later on.
    Your device is then running on 5v, so that is safest way.

    If you are worried about the 3.3V vs the 3v battery voltage you can simply add a schottky diode (1N581x) between the positive lead of the LDO and the positive lead of the sensor.
  • #10 21400439
    minusync
    Level 9  
    Posts: 57
    Rate: 3
    Maximilian0017 wrote:
    The main problem is that you need a place to put it so it will be safe, what if the housing breaks?, what if you have a fire and the insurance see your self-built device? A door sensor doesn't have a lot of room, and it isn't really feasible to have a mains line entering that device.

    I have some renovation planned and based on that, it would be a good time to set it up a little better. Whatever the power source is, it goes to the electrical box. Fire is always a problem. Part of that is why there is a little concern with Chinese goods.

    Maximilian0017 wrote:
    cheap/old 5v phone charger can supply the 5v power

    I thought about that too. My esp modules all work similarly, but to get to 3.3V you have to add additional complexity. Eventually maybe I should go for that.

    p.kaczmarek2 wrote:
    How does your door sensor look like? Does it run directly from battery?

    I have a regular cheap sensor with 2xAAA power source. Bcs I have some renovation on the way I probably put it directly in door frame and never touch it again. That's why power from AC/DC is necessary.
  • #11 21402529
    Maximilian0017
    Level 7  
    Posts: 12
    Help: 1
    Rate: 1
    Do you have hollow walls or a lowered ceiling?
    PSU's have a tendency to die after a few years, so it is better to make sure that you can reach it somehow to change the device, I have seen this a couple of times with automatic door locks and transformers for halogen and led lights.

    In many buildings with lowered ceilings you see WCD's on the ceiling to connect lamps and other devices, this is done to make sure that the building is up to code for their electrics.
    It is better to have a WCD between the net and your device.
  • #12 21402683
    max-bit
    Level 34  
    Posts: 4558
    Help: 116
    Rate: 835
    Sorry, but is this topic not sticking at all? It is not really clear what the questioner is asking.
    Sorry what is this topic about?
    The questions and answers are unclear. It is not clear what the purpose of this post is?
  • #13 21402730
    VPSA132
    Level 26  
    Posts: 726
    Help: 74
    Rate: 180
    max-bit wrote:
    In principle, it is not clear what the questioner is asking.
    .
    Something can be understood there though. He wants a power supply but is concerned about voltage instability.

    To the author:
    Maybe I'll suggest another option. Place the sensor where you want, permanently, run the wires out of it and finally install a battery basket. Place it in a good place so that you can change them. For example, behind a suspended ceiling if you have one.
  • #14 21402762
    max-bit
    Level 34  
    Posts: 4558
    Help: 116
    Rate: 835
    It's a simple matter (knowledge of the type I have regips redundant)
    So the specifics:
    Power supply :
    What output voltage / what current capacity.
    Battery supply, other voltages ? (backup)

    So the specifics:
    Power supply:
    What output voltage (one, multiple) / what current efficiency.
    Battery power supply, other voltages? (backup)
  • #15 21403254
    Maximilian0017
    Level 7  
    Posts: 12
    Help: 1
    Rate: 1
    Maximilian0017 wrote:
    It is better to have a WCD between the net and your device.

    (WCD is a normal power outlet)
  • #16 21403705
    minusync
    Level 9  
    Posts: 57
    Rate: 3
    I probably will try this time with phone charger and try to lower its output to 3,3V.
    When someone has some actual practical experience with 220 to 3,3V power sources it would be great to know. Maybe there is actually better option for next time.

Topic summary

✨ The discussion revolves around converting a 3V battery device to a stable DC power supply, specifically for a door sensor. Participants suggest using a modified power supply from an old Nokia phone or a wall adapter with an LDO (Low Dropout Regulator) module capable of delivering at least 800mA. Concerns are raised about the quality of cheap converters, particularly regarding voltage stability and waveform smoothing, which could affect sensor performance. Recommendations include using specific modules from AliExpress and ensuring proper installation to mitigate fire risks. The author expresses a preference for a reliable setup due to ongoing renovations and the desire for a permanent solution.
Generated by the language model.

FAQ

TL;DR: Choose a 5 V wall wart feeding a 3.3 V LDO module rated 800 mA; "It is an LDO" suited to low‑drop uses. [Elektroda, Maximilian0017, post #21397913]

Why it matters: It helps DIYers convert 3 V battery sensors to safe, stable mains DC without lab gear.

Quick‑Facts

Quick Facts

What’s the safest way to run a 3 V door sensor from mains power?

Use a CE‑approved 5 V wall wart, then regulate to 3.3 V with an LDO module. Install a DC jack or USB to keep it tidy. Do not route mains into the cramped sensor housing. If you want closer to 3.0 V, insert a series Schottky diode. [Elektroda, Maximilian0017, post #21399296]

Is 3.3 V OK for a device designed for two AAA batteries?

Yes, if the electronics are 3.3 V‑rated. “Check the datasheet... do not exceed its maximum ratings, Vin, etc.” Use a 5 V source followed by a 3.3 V LDO and verify limits before wiring. [Elektroda, p.kaczmarek2, post #21399006]

How much current should my 3.3 V converter supply?

Select an LDO module rated around 800 mA for generous headroom. The suggested board delivers 800 mA and is “more than enough” here. Extra margin helps prevent resets during radio bursts. [Elektroda, Maximilian0017, post #21397913]

Should I use an LDO or a buck converter for 5 V to 3.3 V?

Use an LDO for simplicity and low noise. The recommended board is an LDO suitable for low‑drop applications. It needs only minimal onboard capacitors. [Elektroda, Maximilian0017, post #21397913]

Will ripple or “phase peaks” from cheap converters harm my sensor?

Battery voltage is not perfectly constant either. If the device tolerates that, it tolerates minor ripple. If issues arise, add low‑ESR capacitors and a ferrite filter. “You can add Low ESR smoothing capacitors, ferrite filters etc.” [Elektroda, modziul, post #21399287]

How do I modify an old phone charger to 3.3 V output?

  1. Open the charger and locate the feedback loop components.
  2. Replace the zener diode to set a lower output; designs vary.
  3. Reassemble and verify under load; share photos if unsure. [Elektroda, VPSA132, post #21395431]

How do I drop 3.3 V slightly to mimic a 3.0 V battery?

Insert a series Schottky diode (1N581x) between regulator and sensor. This introduces a small forward drop and nudges voltage lower. It is simple and robust for small adjustments. [Elektroda, Maximilian0017, post #21399296]

Is it OK to route mains voltage into the sensor housing?

No. A door sensor has very limited room and clearances. Bringing mains inside increases risk and complicates insurance. Keep mains at a wall wart and feed low‑voltage DC. [Elektroda, Maximilian0017, post #21399296]

Where should I place the PSU during renovation?

Place the PSU where you can reach it for service. “PSU’s have a tendency to die after a few years.” Use a WCD (outlet) between the grid and your device. [Elektroda, Maximilian0017, post #21402529]

Can I keep batteries but relocate them to an accessible spot?

Yes. Mount the sensor permanently and run two wires to a holder. Install the battery holder in an accessible location, like above a ceiling. [Elektroda, VPSA132, post #21402730]

I don’t own an oscilloscope. How can I get reliable DC?

Pick a CE‑approved wall wart and follow with a 3.3 V LDO. This delivers stable DC without an oscilloscope at hand. Avoid trimpot‑adjustable regulator modules in permanent installations. [Elektroda, Maximilian0017, post #21399296]

What building practice helps keep the installation compliant and serviceable?

Add a WCD (standard outlet) between mains and your device. You will see this in buildings with lowered ceilings. It keeps the PSU modular and serviceable. [Elektroda, Maximilian0017, post #21402529]

Should I use adjustable buck modules with a trimpot?

No. “Stay away from the regulator modules that use a pot for voltage trimming.” Pots can drift and cause faults later. Use fixed‑output LDO boards instead. [Elektroda, Maximilian0017, post #21399296]

Can I just feed 5 V directly into the sensor?

No. Do not exceed the sensor’s maximum ratings. Use 5 V only as input to a 3.3 V regulator. “Check the datasheet... do not exceed its maximum ratings, Vin, etc.” [Elektroda, p.kaczmarek2, post #21399006]
Generated by the language model.
ADVERTISEMENT