Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
boblasureB

boblasure

@boblasure
About
Posts
9
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • 💬 Dimmable LED Actuator
    boblasureB boblasure

    I would like to use this with a 48 Watt led which uses a constant-current power supply 54 - 87 VDC 600 ma output. This mosfet isn't high enough voltage rating, the IRF630MFP is rated at 200V 9amp, however I have questions about if the uC output will power the gate. The gate-source voltage is +/- 20. The VGS(th) gate threshold voltage is 2 to 4 volts with typ 3V. I would cut the negative from the power supply and connect to source, then connect the Led negative to drain, and connect the drain to ground on the uC? I need a reality check- does this sound possible or will I fry something?

    Announcements

  • 💬 Atmospheric Pressure Sensor
    boblasureB boblasure

    Okay, I changed the library to version 2.0.0 and it now compiles.

    Announcements pressure bmp085

  • 💬 Atmospheric Pressure Sensor
    boblasureB boblasure

    So I added the My Sensors board file, added the my sensors libary through library manager, coped the adafruit library and tried to compile. Arduino: 1.8.1 (Windows 8.1), Board: "Arduino Mini, ATmega328"

    C:\Users\eddy\Documents\Arduino\bmpTest\bmpTest.ino: In function 'void setup()':

    bmpTest:95: error: 'getConfig' was not declared in this scope

     metric = getConfig().isMetric;
    
                        ^
    

    exit status 1
    'getConfig' was not declared in this scope

    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.
    Did I miss something?

    Announcements pressure bmp085

  • Approved in-wall switches and dimmers
    boblasureB boblasure

    @Session Yes, there are plenty of "certified" dimmers that are controlled by PWM or 0-10V input.
    However, there are also plenty of "certified" LED drivers that you can also use by connecting the (-) negative side of the DC output to the Arduino ground, and the (-) negative side of your LED to the mosfet output. Certification is for the AC part of the Driver.
    The great thing about the new LEDS is that you can control the DC side and not worry about controlling the AC. You don't need a triac, you don't need a zero crossing detector, simply switch on and off (PWM) the negative side of the DC part of the light.

    Hardware switch dimmer

  • Approved in-wall switches and dimmers
    boblasureB boblasure

    The Low Voltage Directive applies to greater than 50 Volts AC, and greater than 75 Volts DC. Also " Importantly, it does not cover voltages within equipment" Notice that statement, They don't cover what you do with the DC voltage , only the part that IS connected to High Voltage. So when UL, etc., test your USB charger for certification, they are testing the AC side. The output is low voltage. Also, it is important to Isolate the AC and DC parts of your actuators. You should put in optoisolators on digital inputs and between your outputs and relays. Better relay modules have this built-in to the board. For the dimmer, this is not necessary because your mosfet only interfaces with the DC part of the LED driver, and only on the (-) side.

    Hardware switch dimmer

  • Approved in-wall switches and dimmers
    boblasureB boblasure

    America. Your USB charger, wall wart, or whatever power supply you use, should be UL, CE. or the like. Also, your relay or LED Driver on the other end should be certified. My LED drivers are CE, my USB charger is UL, and my relays on the mains side are UL. The DC side comes under Signal, Control, and Communication sections of the code.

    Hardware switch dimmer

  • Approved in-wall switches and dimmers
    boblasureB boblasure

    In my country Low voltage (defined as under 50 Volts) does not require certification. If you remove the mains power to an existing switch, and replace it with 5V to power either your sensor or a button or POT for a dimmer, you are no longer working with mains in the box. Check your countries code. You may be able to do it.

    Hardware switch dimmer

  • Dimmer sensor
    boblasureB boblasure

    @blacey Awesome, thanks for that! And thanks to @korttoma

    Development

  • Dimmer sensor
    boblasureB boblasure

    @hek * This sketch is extensible to support more than one MOSFET/PWM dimmer per circuit.
    How do you add more outputs to this? I would like to add PWM 5 and 6 to this. I am using the EasyIot controller. @blacey

    Development
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular