How do I connect this PWM-controlled supply board properly?


+ Reply to Thread
Results 1 to 21 of 21

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,841

    Default How do I connect this PWM-controlled supply board properly?

    I bought a bunch of these last summer on AliExress to pulse 7-segment LEDs.

    Do GND and NEG share the same connection?

    Name:  MOSFET.png
Views: 650
Size:  236.2 KB


    I think it is (Darrel once corrected me about sharing grounds as a reference), but I'd like to avoid frying these.
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  2. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    2,457


    Did you find this post helpful? Yes | No

    Default Re: How do I connect this PWM-controlled supply board properly?

    Do GND and NEG share the same connection?

    what does your multimeter say ?

    if they are galvanically isolated then they don't

    find the data sheet and/or a schematic to be sure
    or
    at least a picture of the other side of the board so the possibility of an opto coupler can be established
    Warning I'm not a teacher

  3. #3
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,841


    Did you find this post helpful? Yes | No

    Default Re: How do I connect this PWM-controlled supply board properly?

    Nope, not connected together. No BEEP on DMM.

    I have no idea what "galvanically connected" means.


    But I did find 2 of the circuits on Proto Supplies:

    Name:  LR7843 MOSFET.jpg
Views: 755
Size:  171.6 KB

    Name:  D4184 MOSFET.jpg
Views: 660
Size:  69.8 KB


    One connection is GND earth, the other is GND power...?


    Proto doesn't have the FR-120N, but I have found a picture of all 3 circuits elsewhere. They seem identical on the top except for the MOSFET used (2 share the same opto-coupler).

    Name:  HW-532 PCB.png
Views: 649
Size:  538.0 KB


    EDIT: The PWM comes from a PIC. The PIC and this board both will run on the same 5V supply.

    I've just very rarely dealt with a earth GND before.
    Last edited by Demon; - 12th February 2024 at 07:55.
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  4. #4
    Join Date
    May 2013
    Location
    australia
    Posts
    2,457


    1 out of 1 members found this post helpful. Did you find this post helpful? Yes | No

    Default Re: How do I connect this PWM-controlled supply board properly?

    I have no idea what "galvanically connected" means.
    galvanically isolated means there is no physical (metallic or otherwise conductive) connection between the terminals .

    the terminals are optically coupled therefore galvanically isolated. therefore the gnd and the neg do not need to be connected and probably should not be connected
    Warning I'm not a teacher

  5. #5
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,841


    Did you find this post helpful? Yes | No

    Default Re: How do I connect this PWM-controlled supply board properly?

    I've found more data from the listing.

    Name:  HW-532 Powr ratings.png
Views: 631
Size:  31.4 KB

    This is meant to power motors; hence the use of the flyback diode we're supposed to add on the power connection, and the priority to isolate both sides.

    I'm going to be powering LEDs, no mechanical devices. I don't really care about isolation, since both sides are getting power from the same source.

    And that's how I answer my own question (I think).
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,935


    Did you find this post helpful? Yes | No

    Default Re: How do I connect this PWM-controlled supply board properly?

    The idea of using optocoupler is to have electrically separate circuits. If you connect the two reference points together as a common ground then what is the point of using an optocoupler? Connect directly the PWM to the MosFet and save few parts.

    Ioannis

  7. #7
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,841


    Did you find this post helpful? Yes | No

    Default Re: How do I connect this PWM-controlled supply board properly?

    Quote Originally Posted by Ioannis View Post
    ... what is the point of using an optocoupler? ...
    I was trying out Richard's idea of using pre-made circuits. It wasn't the same design as what he used (no boost), but I thought it would be a good exercise.

    https://www.picbasic.co.uk/forum/sho...110#post154110


    This circuit isn't to power the project. I'm just trying to use 2 pots and PWM 5 volts to control the brightness of LED strings and the intensity of 7-segment LEDs (one pot controls the dash lights using 1 circuit, another the radio display using a 2nd circuit).

    I'm trying to reproduce this effect:

    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  8. #8
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,935


    Did you find this post helpful? Yes | No

    Default Re: How do I connect this PWM-controlled supply board properly?

    I do not quite follow what you are after. But anyway, the purpose of the optoisolation is to isolate circuits that are in different voltage levels for either safety of the users or the safety and protection of the circuits.

    If none of these are of concern at your application, then I see no point in using that module. Connect directly the PWM signal to the MosFet and control whatever load you have.

    Ioannis

  9. #9
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,841


    Did you find this post helpful? Yes | No

    Default Re: How do I connect this PWM-controlled supply board properly?

    Using JLCPCB opens up other options for me. It gives me access to very low-cost components with very small footprints that can be integrated in my circuits.

    These PWM circuits are just for ease of testing now. I'll be switching to a dual logic-level MOSFET to drive the console lights and radio display.

    The hard part is finding a device that is available at Digikey/Mouser/Newark in through-hole footprint, as well as the desired SMD footprint at JLCPCB.

    I'm just starting to look for a good L-V MOSFET now. Any suggestions?
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

Similar Threads

  1. 0-60 vdc power supply controlled by pic 0-5vdc
    By chuzkin in forum Schematics
    Replies: 0
    Last Post: - 22nd April 2014, 21:15
  2. switch mode power supply with PWM
    By iw2fvo in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 14th July 2009, 20:51
  3. Serial controlled PWM
    By The Master in forum Off Topic
    Replies: 1
    Last Post: - 26th November 2007, 06:47
  4. Thyristor controlled DC Power Supply.
    By sougata in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 17th February 2007, 08:40
  5. pot controlled pwm -- help
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 29th January 2006, 12:29

Members who have read this thread : 12

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts