Okay, I changed the library to version 2.0.0 and it now compiles.
boblasure
@boblasure
Best posts made by boblasure
-
RE: 💬 Atmospheric Pressure Sensor
Latest posts made by boblasure
-
RE: 💬 Dimmable LED Actuator
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?
-
RE: 💬 Atmospheric Pressure Sensor
Okay, I changed the library to version 2.0.0 and it now compiles.
-
RE: 💬 Atmospheric Pressure Sensor
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 scopeThis report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Did I miss something? -
RE: Approved in-wall switches and dimmers
@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. -
RE: Approved in-wall switches and dimmers
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.
-
RE: Approved in-wall switches and dimmers
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.
-
RE: Approved in-wall switches and dimmers
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.
-
RE: Dimmer sensor
@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