# Voltage regulator for coffee machine lights

**URL:** <https://forum.core-electronics.com.au/t/voltage-regulator-for-coffee-machine-lights/18596>\
**Category:** Schematics & PCBs\
**Created:** [26 November 2023 04:06 UTC](https://forum.core-electronics.com.au/t/voltage-regulator-for-coffee-machine-lights/18596 "2023-11-26T04:06:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Doug27394](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/doug27394/32/7961_2.png) [@Doug27394](https://forum.core-electronics.com.au/u/Doug27394)\
**Post date:** [26 November 2023 04:06 UTC](https://forum.core-electronics.com.au/t/voltage-regulator-for-coffee-machine-lights/18596/1 "2023-11-26T04:06:45Z")

</div>

Hi This is pretty basic question, but I just wanted to make sure I don’t blow anything up.

I’ve meant to get a 220V AC to 5V DC regulator thing (ali express, I was ordering a few other things and threw it in on a whim, you can’t have too many 5v power supplies) before wiring it up to a pico I tested it and it’s putting out 10V ☹ . I checked that open circuit and also with a resistor as load.

My plan is to use run a pico and 16 neopixles running on a colour cycling loop above the water tank in my coffee machine, to make the level easier to see and be pretty.

Would it be safe to just have a voltage divider, something like this? I also figure the actual values of the resistors aren’t too important, as long as they are the same.

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/3/32297f13a54e54e766d2b02b1c44e5c868b61fca.png)

---

<div class="post-metadata">

**Author:** ![David173576](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@David173576](https://forum.core-electronics.com.au/u/David173576)\
**Post date:** [26 November 2023 04:19 UTC](https://forum.core-electronics.com.au/t/voltage-regulator-for-coffee-machine-lights/18596/2 "2023-11-26T04:19:46Z")

</div>

Hi Doug,  
At a most basic level, you have a 200ohm, R Pi Pico and Neopixel in parallel, so it is not a 50:50 volage divider that will give you 5V, it will be lower.  
A simple option is a small buck converter like this: [dc-dc buck converter](https://core-electronics.com.au/dc-dc-multi-output-buck-converter-33v5v9v12v.html) with 3.3 and 5V options.  
Cheers, Dave

---

<div class="post-metadata">

**Author:** ![Robert93820](https://avatars.discourse-cdn.com/v4/letter/r/ac91a4/32.png) [@Robert93820](https://forum.core-electronics.com.au/u/Robert93820)\
**Post date:** [26 November 2023 06:10 UTC](https://forum.core-electronics.com.au/t/voltage-regulator-for-coffee-machine-lights/18596/3 "2023-11-26T06:10:26Z")

</div>

Hi Doug  
If it is supposed to be 5V and it is actually 10V I would chuck it in the bin of no return. no good asking what the current capability is. If the voltage is that far out I would never believe anything else.

The nutshell is, if it is 100% out at the start what is it going to do down the track a bit. You might destroy all of your connected devices if it suddenly does something like revert to 220VAC output for no apparent reason.

Would suggest use it at your peril.  
Cheers Bob

---

<div class="post-metadata">

**Author:** ![Doug27394](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/doug27394/32/7961_2.png) [@Doug27394](https://forum.core-electronics.com.au/u/Doug27394)\
**Post date:** [26 November 2023 06:40 UTC](https://forum.core-electronics.com.au/t/voltage-regulator-for-coffee-machine-lights/18596/4 "2023-11-26T06:40:53Z")

</div>

Of course 🤦 I didn’t think about the resistance etc of the pi and pixles

---

<div class="post-metadata">

**Author:** ![Doug27394](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/doug27394/32/7961_2.png) [@Doug27394](https://forum.core-electronics.com.au/u/Doug27394)\
**Post date:** [26 November 2023 06:42 UTC](https://forum.core-electronics.com.au/t/voltage-regulator-for-coffee-machine-lights/18596/5 "2023-11-26T06:42:14Z")

</div>

Probably the best advice. 10V isn’t even one of the options for output of the 3 I could choose from (3.3, 5. 12) so it’s probably faulty. Thanks
