Running a microcontroller in car - power supply aspects

Collapse
X
Collapse
+ More Options
Posts
 
  • Time
  • Show
Clear All
new posts
  • stj
    Great Sage 齊天大聖
    • Dec 2009
    • 30963
    • Albion

    #81
    Re: Running a microcontroller in car - power supply aspects

    the pot is connected by default, there is a trace to cut if you dont use it

    Comment

    • Dannyx
      CertifiedAxhole
      • Aug 2016
      • 3912
      • Romania

      #82
      Re: Running a microcontroller in car - power supply aspects

      Originally posted by stj
      the pot is connected by default, there is a trace to cut if you dont use it
      Are you sure ? I don't see any traces that need cutting, other than those solder pads on the back which were obviously not bridged out of the box until I did so, unless I'm missing something. The pictures on that Ali link show the underside too.
      Wattevah...

      Comment

      • redwire
        Badcaps Legend
        • Dec 2010
        • 3900
        • Canada

        #83
        Re: Running a microcontroller in car - power supply aspects

        What's a "green one"? They simply might have put the wrong resistor in there, to give 4V not 5V. Or the IC has a different reference voltage or is defective. What IC does it use.

        Comment

        • Dannyx
          CertifiedAxhole
          • Aug 2016
          • 3912
          • Romania

          #84
          Re: Running a microcontroller in car - power supply aspects

          THESE are the "green" ones There was a link the first time I mentioned them, but it probably got buried in the post and you missed it
          Wattevah...

          Comment

          • redwire
            Badcaps Legend
            • Dec 2010
            • 3900
            • Canada

            #85
            Re: Running a microcontroller in car - power supply aspects

            Ahh thanks I forgot which one you are using. That module uses MP2315 IC which has a low power mode set by a resistor to GND on pin 1. It's claimed to draw under 1mA and you get 10mA? I haven't tried one. You cut the tiny jumper?
            This guy found it has an instability and he did some mod. for low voltage I think https://www.youtube.com/watch?v=yyrgW5dNUIo
            I'll bet a bigger capacitors in/out would fix it.
            Attached Files
            Last edited by redwire; 04-26-2020, 04:09 PM.

            Comment

            • Dannyx
              CertifiedAxhole
              • Aug 2016
              • 3912
              • Romania

              #86
              Re: Running a microcontroller in car - power supply aspects

              Originally posted by redwire
              Ahh thanks I forgot which one you are using. That module uses MP2315 IC which has a low power mode set by a resistor to GND on pin 1. It's claimed to draw under 1mA and you get 10mA? I haven't tried one. You cut the tiny jumper?
              This guy found it has an instability and he did some mod. for low voltage I think https://www.youtube.com/watch?v=yyrgW5dNUIo
              I'll bet a bigger capacitors in/out would fix it.
              Yeah, OK, I never noticed the instructions when I got mine (the original link is gone anyway). I just assumed that track's just part of the board and is supposed to be there all the time, so I didn't mess with it, meaning I was getting BOTH the pot AND the fixed voltage resistors connected at once.....which means the same is going on in that monitor right now *fail*

              Ok, knowing that, I'll probably give it another go and report back. Keeping the power consumption of this whole thing as low as possible is very important.
              Wattevah...

              Comment

              • stj
                Great Sage 齊天大聖
                • Dec 2009
                • 30963
                • Albion

                #87
                Re: Running a microcontroller in car - power supply aspects

                the mod i do on some is to replace the pot with 5k (original is something like 200k)
                and cut that track - then solder a resistor across it i salvage from the top for 5v.

                this gives me something like 5v-5.5v ajustment range!

                Comment

                • stj
                  Great Sage 齊天大聖
                  • Dec 2009
                  • 30963
                  • Albion

                  #88
                  Re: Running a microcontroller in car - power supply aspects

                  btw, the best thing about these modules is the pinout and spacing matches 78xx linear regulators!

                  Comment

                  • Dannyx
                    CertifiedAxhole
                    • Aug 2016
                    • 3912
                    • Romania

                    #89
                    Re: Running a microcontroller in car - power supply aspects

                    Originally posted by stj
                    the mod i do on some is to replace the pot with 5k (original is something like 200k)
                    and cut that track - then solder a resistor across it i salvage from the top for 5v.

                    this gives me something like 5v-5.5v ajustment range!
                    Where does the resistor go exactly ? Across the track you just cut, so it's in series with the pot now ?
                    Wattevah...

                    Comment

                    • stj
                      Great Sage 齊天大聖
                      • Dec 2009
                      • 30963
                      • Albion

                      #90
                      Re: Running a microcontroller in car - power supply aspects

                      exactly, it's in series so you can fine-tune the resistance but only by 5k

                      Comment

                      • Dannyx
                        CertifiedAxhole
                        • Aug 2016
                        • 3912
                        • Romania

                        #91
                        Re: Running a microcontroller in car - power supply aspects

                        Ok, I cut the track and indeed it works correctly now: bridging the 5v pads, actually gives me 5.1v, since the pot is out of the loop now. Still, the power consumption is 11mA...maybe it's related to that low power state on pin 1. I'm not sure these modules are suitable though because of the 24v limit of the MP2315 IC.
                        Last edited by Dannyx; 04-27-2020, 04:41 AM.
                        Wattevah...

                        Comment

                        • redwire
                          Badcaps Legend
                          • Dec 2010
                          • 3900
                          • Canada

                          #92
                          Re: Running a microcontroller in car - power supply aspects

                          MP chinese datasheets are misleading, they give quiescent current drain when the IC is off lol "VFB=0.9V" "Static Current 0.85mA" "97% efficient" trickery. Or the IC's are fake. All of these modules have too small in/out capacitors so they can go unstable. What a hassle.
                          The AAM Power Save resistor on pin 1 sets when it does pulse-skipping. It seems to be a voltage threshold.

                          Other modules MINI360 uses MP2307 340kHz, sync rectifier but this guy measured 41mA drain with 12V in and no load
                          Other modules use MP1584EN 1MHz, Schottky rectifier, max. 28Vin.

                          None of them are that great or beat an LDO, although some people got 3.3mA from your MP2315 modules, so it might have another problem?

                          I think the lowest TVS in a car would be 18V such as 1.5KE18A. They start to conduct 15.3V and at -40C they drop and start to leak current at 14.3V which is OK. They clamp to 25V with a big transient 59A which you could lower with a fuse having high resistance (an ohm or two) in series, which limits TVS current and it would clamp to less than 25V.

                          Comment

                          • Dannyx
                            CertifiedAxhole
                            • Aug 2016
                            • 3912
                            • Romania

                            #93
                            Re: Running a microcontroller in car - power supply aspects

                            Originally posted by redwire
                            I think the lowest TVS in a car would be 18V such as 1.5KE18A. They start to conduct 15.3V and at -40C they drop and start to leak current at 14.3V which is OK. They clamp to 25V with a big transient 59A which you could lower with a fuse having high resistance (an ohm or two) in series, which limits TVS current and it would clamp to less than 25V.
                            This is good info. A TVS would go across the input to the regulator ? I think I'll stick with the larger LM regulators in the end, which can supposedly go up to 30v, but clamping to 25v would suffice I think...
                            Wattevah...

                            Comment

                            • stj
                              Great Sage 齊天大聖
                              • Dec 2009
                              • 30963
                              • Albion

                              #94
                              Re: Running a microcontroller in car - power supply aspects

                              spikes are spikes - very short.
                              just clamp them with a big mov

                              Comment

                              • Dannyx
                                CertifiedAxhole
                                • Aug 2016
                                • 3912
                                • Romania

                                #95
                                Re: Running a microcontroller in car - power supply aspects

                                Just for those who are curious, here's what the project currently looks like on its perfboard The "power" section will go where that empty space is, opposite the optocouplers and the unused headers will be trimmed off, of course. 7 inputs, so 7 optocouplers: UP, DOWN, UP, DOWN (left+right), IGN. LOCK, UNLOCK.
                                Attached Files
                                Wattevah...

                                Comment

                                • redwire
                                  Badcaps Legend
                                  • Dec 2010
                                  • 3900
                                  • Canada

                                  #96
                                  Re: Running a microcontroller in car - power supply aspects

                                  It looks fine to me, I have put far uglier builds in cars. They worked great until I hit a pothole lol. Just need a way to solder wires to the protoboard that don't flex and break.

                                  I'm surprised we haven't beat the LM7805 yet for powering the board.

                                  Comment

                                  • Dannyx
                                    CertifiedAxhole
                                    • Aug 2016
                                    • 3912
                                    • Romania

                                    #97
                                    Re: Running a microcontroller in car - power supply aspects

                                    I'll take a shot of the back as well. The way I do it is leave as much of the component's lead as possible and bend in the direction I want to form a track and then solder over it, which ensures the leg of the component IS the track It's safer but can get ugly when you need to replace something....VERY ugly

                                    I WAS thinking of a 7805 when I first started, but thought a switching regulator would be more efficient in the long run. Noise on the 7805 would still exist though, as I learned from a video of Dave. It doesn't quite help filter out the noise AFAIK, though probably less than the switching one.
                                    Wattevah...

                                    Comment

                                    • Dannyx
                                      CertifiedAxhole
                                      • Aug 2016
                                      • 3912
                                      • Romania

                                      #98
                                      Re: Running a microcontroller in car - power supply aspects

                                      Here's what the solder side looks like. The perfboard is janky, I know, it was a leftover piece that I just had to use to get rid of The leads to the left are the 2k resistors in series with the anode of the LED in the optocouplers and essentially serve as our "inputs" - when pulled to 12v, the LED turns on and the pin on the arduino is pulled low via the C-E path in the optocoupler.

                                      The leads to the right are the 10k pull-ups which hold the pins high to 5v again - they'll all go to a "bus" rail when I get to that part.

                                      The yellow wire is a GND wire which will be soldered once I sort out the layout of the power section....not sure whether I should go with the switching regulator or a simple 7805 as suggested....
                                      Attached Files
                                      Last edited by Dannyx; 04-29-2020, 04:23 AM.
                                      Wattevah...

                                      Comment

                                      • stj
                                        Great Sage 齊天大聖
                                        • Dec 2009
                                        • 30963
                                        • Albion

                                        #99
                                        Re: Running a microcontroller in car - power supply aspects

                                        clean the flux off, it's hard to tell if i'm looking at reflections or solder bridges!

                                        Comment

                                        • Dannyx
                                          CertifiedAxhole
                                          • Aug 2016
                                          • 3912
                                          • Romania

                                          #100
                                          Re: Running a microcontroller in car - power supply aspects

                                          Originally posted by stj
                                          clean the flux off, it's hard to tell if i'm looking at reflections or solder bridges!
                                          Probably went a bit overboard with the lighting, but I can assure you there are no bridges Here's a hopefully better shot. This Galaxy S10+ that I'm using seems to have a lot of potential, but I can't seem to get stuff just right. Seems it's either too dark or too bright and not in focus....
                                          Attached Files
                                          Last edited by Dannyx; 04-29-2020, 08:34 AM.
                                          Wattevah...

                                          Comment

                                          Related Topics

                                          Collapse

                                          • CG2
                                            Meaco Arete One / Deye Dehumidifier not working
                                            by CG2
                                            I've got a dehumidifier that has stopped working. Plug it in, press the power switch, and it beeps 5 times. Nothing showing in the display (which is just two 7 segment displays) apart from the two decimal points flashing. The model is a MeacoDry Arete One 18L, which seems to be a rebadged Deye (all the boards are marked Deye). Here's what I've got so far (details in case anyone else in future should need them).

                                            Starting with the power board. Mains power comes in at the red connector top left. The compressor is powered by the orange connector to the right of that and is switched by...
                                            08-17-2024, 07:47 AM
                                          • Kambi13
                                            Samsung NP370E4K No backlight running on battery
                                            by Kambi13
                                            Hi all, need some help. I have a Samsung NP370E4K-KD2BR, which as a 5th Gen Intel CPU that works fine when running with the charger plugged in, but has soon as I remove it and it's running on battery the screen backlight goes off.

                                            Tried different battery - no change
                                            Tried different screen - no change

                                            Removed the plastic film from the screen inverter and looked for pwm signal which as about 3.3v when running with the charger plugged in, when I take it off the voltage drops down to 2.232v, so my best guess is that the EC is not providing the correct voltage....
                                            09-04-2023, 11:06 AM
                                          • Dannyx
                                            "Kinetic" 433Mhz transmitter/receiver discussion
                                            by Dannyx
                                            Good day folks.

                                            TL;DR: has anyone tried pairing one of THESE "kinetic" battery-less switches with THESE generic remote modules ?

                                            Details: I recently got hit by this craze of wanting to add remote controls to the lights around my house, so I went with those generic 433Mhz remote relay modules found everywhere, which are really basic, easy to use and work well, since I used them before in other projects. What I like most about them is they accept all kinds of 433Mhz remotes that float around Aliexpress, since they're all the same under the hood, save for the...
                                            03-08-2022, 11:01 AM
                                          • Skgod
                                            Asus Rog strix g15 g513ih hn0865 and it's having display issues while running on igpu
                                            by Skgod
                                            Hey I am having Asus Rog strix g15 g513ih hn0865 and it's having display issues while running on igpu. Works fine when I open any game or whatsapp windows application. The issues are :
                                            Black screen, freeze
                                            The weird thing is that when as long as the laptop is running on igpu the problem keeps happening. But as soon as I open any game or whatsapp windows application, the laptop works completely fine.
                                            When the screen freeze or black screen I used to move the display lid up and down and it usually works like that.
                                            So can anyone tell me what would be the possible cause?...
                                            10-16-2024, 08:11 PM
                                          • FALKLAN
                                            Running Line Voltage and Integrating LED Pods - Automotive
                                            by FALKLAN
                                            Howdy everyone! I hope all is well where ever you are!

                                            I'm attempting to integrate a couple of LED pods into an automotive reverse lamp circuit. The problem being, while the vehicle is running there is a 8.5v current present on the reverse lamp power wire. Needless to say is that all LED pods and lights dimly illuminate while the 8.5v is present, so the LEDs are always powered on while the vehicle is running. When the vehicle is shifted into reverse, the voltage changes to 12 volts.

                                            I am uncertain how to convert this line into a switched 12v output line for the LED pods....
                                            02-05-2025, 12:30 AM
                                          • Loading...
                                          • No more items.
                                          Working...