Who sells and affordable control box

Home Assistant automation projects, questions, etc. go here.
stud
LED Lover
LED Lover
Reactions:
Posts: 143
Joined: Wed Jun 03, 2020 4:19 pm
Location: Canada

randorson wrote:
Wed Dec 30, 2020 9:26 pm
Can you give me an example of an ESP with a PWM Mosfet driver?

Are these separate devices or do some ESP's include a PWM Mosfet driver?

I understand what PWM is and how is works, and I am now aware of ESP's, I also have a simple understanding of mosfets. but the combination of these things is confusing to me.
randorson
LED Lover
LED Lover
Reactions:
Posts: 218
Joined: Sat Jan 12, 2019 7:26 am

Ok, I understand that the ESP32 and ESP8266 are "system on a chip microcontrollers" and that raspberry pi has a microprocessor instead, giving it a bit ore potential.
I understand that tasmota and esphome are firmware that can be flashed to the ESP's.

My understanding is that the Mean Well drivers I am using (HLG series) can dim the LED's they are driving according to resistance, 0-10v, or pwm. But that is the signal side of the driver. The LED's are actually dimmed by varying amperage on the output side of the driver, rather than using pwm to alter the duty cycle.

On the blower motor example you linked, were you pulsing the 120vac power to the blower motor to control speed?

Maybe I can get away with a mosfet instead of a mosfet driver if I am only using pwm as a signal instead of actually pulsing the power being supplied to the LED's , or program the ESP to provide a 0-10v signal if that if better/easier in some way?

If I could use an ESP to provide a 0-10v signal then maybe all of the signal leads from my drivers could be connected to that 0-10v signal in parallel to control dimming?

But most of the Mean Well drivers I use do not dim to off, so I couldn't control on/off using the dimming circuit.

In every space I build, I need something like the titan controller (linked above) in order to supply AC power to my drivers. If that device could also control dimming, and had a programing interface, it would be perfect.
randorson
LED Lover
LED Lover
Reactions:
Posts: 218
Joined: Sat Jan 12, 2019 7:26 am

It would be awesome to build something like this but to control mean well drivers

https://hydrobuilder.com/grow-light-bul ... oller.html
stud
LED Lover
LED Lover
Reactions:
Posts: 143
Joined: Wed Jun 03, 2020 4:19 pm
Location: Canada

to be honest i dont remember and idont have my multimeterhere to read it , the AC infinity blowers on amazon run on a 24 volts PSU , i used the same PSU connected to the Mosfet L298M and i matched the same output voltage as the original 3 speed controller from the Blower .been working good for months now without issue .

its mentioned on the site that the PWM for the Mean Wells version B is from 0 to 10 volts , im planning in ordering mine this week , didnt test yet , but im confident that ill get away with the same setup has the blower :
https://www.meanwell-web.com/en-gb/ac-d ... 240--h--ab

even LEDG mentioned its feasible on a recent video on a LED review with the same driver
stud
LED Lover
LED Lover
Reactions:
Posts: 143
Joined: Wed Jun 03, 2020 4:19 pm
Location: Canada

listen carefully what LEDG says :


im planning on buying this one ,got the right diver :
https://www.amazon.ca/gp/product/B07TXN ... 92QZGR4BJ0
stud
LED Lover
LED Lover
Reactions:
Posts: 143
Joined: Wed Jun 03, 2020 4:19 pm
Location: Canada

randorson wrote:
Wed Dec 30, 2020 11:07 pm
It would be awesome to build something like this but to control mean well drivers

https://hydrobuilder.com/grow-light-bul ... oller.html
once you get around HA , you're not going to look for anything else !Home Assistant is Awesome !!!
randorson
LED Lover
LED Lover
Reactions:
Posts: 218
Joined: Sat Jan 12, 2019 7:26 am

stud wrote:
Wed Dec 30, 2020 11:17 pm
to be honest i dont remember and idont have my multimeterhere to read it , the AC infinity blowers on amazon run on a 24 volts PSU , i used the same PSU connected to the Mosfet L298M and i matched the same output voltage as the original 3 speed controller from the Blower .been working good for months now without issue .

its mentioned on the site that the PWM for the Mean Wells version B is from 0 to 10 volts , im planning in ordering mine this week , didnt test yet , but im confident that ill get away with the same setup has the blower :
https://www.meanwell-web.com/en-gb/ac-d ... 240--h--ab

even LEDG mentioned its feasible on a recent video on a LED review with the same driver
I assumed the blower motor was 120vac, my mistake.

There is no doubt that the Mean Well type-B driver can be dimmed using pwm. Im not sure that means the pwm signal IS a 0-10 volt signal though. I might be mistaken here but I thought that the Mean Well 3-in-1 dimming on type B drivers (and other Mean Well drivers) can be operated using a signal of either; resistance, 0-10v, OR pwm.

https://youtu.be/MdLeA2BFT0A?t=341
Last edited by randorson on Thu Dec 31, 2020 1:24 am, edited 1 time in total.
randorson
LED Lover
LED Lover
Reactions:
Posts: 218
Joined: Sat Jan 12, 2019 7:26 am

This guy seems to have made an arduino based lighting controller for mean well type b drivers,

https://growgreenled.wordpress.com/
stud
LED Lover
LED Lover
Reactions:
Posts: 143
Joined: Wed Jun 03, 2020 4:19 pm
Location: Canada

randorson wrote:
Thu Dec 31, 2020 1:15 am
This guy seems to have made an arduino based lighting controller for mean well type b drivers,

https://growgreenled.wordpress.com/
you can do one to just with a ESP (with tasmota or ESPHome) and the L298N
you can have plenty of sensors connected at once on the ESP via i2c or BT (BT only on ESP32)
my Blower's ESP32 actually got Xiaomis connected via Bluetooth , Soil Moisture sensors ,and room Temp/humidity , just that my Home Assistance is the 1 doin the automations , but ESPHome is also capable of doing so

https://esphome.io/guides/automations.html

this is the Code of my ESP32 on the AC Blower :

Code: Select all

esphome:
  name: ac_infinity_blower1
  platform: ESP32
  board: mhetesp32devkit

wifi:
  ssid: "xxx"
  password: "xxx"

# Enable logging
logger:

# Enable Home Assistant API
api:
  password: "xxx"

ota:
  password: "xxx"

output:
  - platform: ledc
    pin: GPIO19
    frequency: 3200 Hz
    id: ventilation_fan_pwm
    min_power: 0.00
    max_power: 0.28
switch:
  - platform: gpio
    pin: 21
    id: gpio_21
    inverted: yes

#  - platform: speed
#    output: ventilation_fan_pwm
#    name: "AC_Infinity Blower1"
light:
  - platform: monochromatic
    output: ventilation_fan_pwm
    name: "AC_Infinity Blower1"

esp32_ble_tracker:

sensor:
  - platform: xiaomi_lywsdcgq
    mac_address: 4C:65:A8:DF:5F:B4
    temperature:
      name: "GreenHouse1 Temperature"
    humidity:
      name: "GreenHouse1 Humidity"
    battery_level:
      name: "GreenHouse1 Battery Level"
randorson
LED Lover
LED Lover
Reactions:
Posts: 218
Joined: Sat Jan 12, 2019 7:26 am

I'm googling terms and learn as we talk here. Thanks for being patient with me.

So if I wanted to go the i2c route for connectivity, I could use something like this, https://store.ncd.io/product/12-channel ... interface/
and the dimmer leads from the drivers could connect to the terminal blocks on the device?

Now I'm seeing the way the growgreen guy got around many Mean Well dimmers not dimming to off is by adding another circuit to control this power outlet, https://www.adafruit.com/product/2935

He lists all the parts in the description of this video,
https://www.youtube.com/watch?v=9uS_cbfSD04
Post Reply