OK, So I've bought two DC ceiling fans - they're basically the only game left in town for decent quality ceiling fans now. I have one here - and the controller partially disassembled (it's going to be a couple of weeks before they go into the ceiling). How do I start figuring out how I might control it in home assistant.
The fan controller is a "Carewell technology DC8-116MR-60TN29-L-D". I haven't checked the second fan, but I suspect a very similar controller. It has 3 wires going to a BLDC motor (they're labelled as such anyway) as well as control for the light. The wires look to be soldered to the "high voltage" side of the board, I can see the cut before it disappears behind a shield I'd rather NOT remove unless it's the only way. I've attached a couple of pictures that might help. I suspect this is a PWM driven BLDC, just based on my crude knowledge of circuit boards from watching too much big clive. Is there any hope that this can be controlled by home assistant without a janky RF based solution where I emulate the remote?
#DC fan controller - how to start figuring out what to do
1 messages · Page 1 of 1 (latest)
are you looking to control the existing controller?
or replace theccontroller with a custom setup to drive the fan/light?
OK. I'm attaching a couple more pictures, my curiosity got the better of me and that shield was very easy to extract without damaging the sticker holding it on.. It claims to have wifi?!
hang on, getting the pictures to discord.
this is the controller side, under the rf shield. as you can see, there's some wifi stuff here? pretty sure a 27.1412G crystal is a sure sign of wifi?
as for what to do - i don't know? Is there a replacement controller? I haven't found anything much. Is this a possible candidate for firmware hacking that holtek arm chip?
i would like to see the fan as a fan in HA, as well as the light, and be able to control it. preferably without nuking the existing control scheme (a stupid little rf remote).
interestingly, there's nothing on the back, except these big pads that are exposed through the case - perhaps a JTAG header or something?
realistically I think hacking the onboard chip is not the approach to take
making a custom controller is likely easier
this is the back. the cluster of rounded pads are exposed to the exterior of the case. that unpopulated chip seems to be connected to the holtek. perhaps the wifi module would be there?
very possibly a custom controller would maybe work - i do have a simple oscilloscope so i could see what the motor and light signals are doing...
it's disappointing no one seems to have moved into this market. dc fans seem to very much be the future of ceiling fans, but no one sells controllers for them.
the board is used for multiple things most likely so has some unpopulated stuff
i'm sure it is
so the device is 2 devices really
the light and the fan
yup.
lets start with light
white/blue go to light.
is the LED driver on that board or is it in the fan/light (which means the cables are just dc power)
or even AC i guess
there seems to be a blank chip that is driving the LED wires - my guess is that's an LED driver, and it's being controlled pretty directly from the holtek
it's all on this board. the input is Live Neutral Earth 110VAC
(i'm just crudely tracing where the pcb traces go)
then for the fan. you have 3 wires
the "mv" red wire is likely voltage but the other 2 we cant be sure of as theres aa few different setups for 3 wire dc motors
yeah but that might as well be dog and cat
which in turn are being driven by some sort of chip in pairs.
i think they're being driven as a three way PWM - i don't think there is any independent voltage here.
it could be ground and feedback
or
it could be forward and reverse
or
something else entirily
if they are both going through mosfets then more likely forward/reverse
i'm pretty sure you can drive a three pole BLDC with 3 phases can't you?
if you look on the second last picture - there's six mosfets on the left side. they go to the three wires via the choke coil
at this point i would open up the light/fan part and see how the 2 cables connect to the led array and see if theres anything going on there and also get the model of the motor and look up a data sheet for that
then just build a controller that drives the led/fan based on an esp32
yeah, maybe.
if you can get a datasheet for the motor that will give you some idea of what your looking at
https://datasheet4u.com/datasheet-pdf/BPS/BP6911/pdf.php?id=1551573 this is those three BP6911 chips. half bridge motor drivers.
can't get to the motor - it's a fully sealed unit 🙁
(i'm sorry, but i'm not taking a dremel to my new light and fan fixture)
just looking at 3phase bldc motor controllers - we seem to be missing angular sensing?
you could try scoping the signals to work out what they are doing. be careful though some stuff like this has the dc ground referenced to ac neutral which means stuff might be live at mains even if its dc
i cant tell if there is full ac/dc seperation or not
there's almost definitely not full separation. the HVLV slot is halfassed at best.
you could try piggybacking an esp32 on this circuit
breaking it down you need a way to detect state and a way to send commands
you can likely find ways to detect the state by monitoring voltages in various places.
for sending commands you could look into how the rf sends data to the microcontroller. is it just setting pins high/low or is it an actual data signal
if its just setting pins high/low for a moment on button press then thats easy to intercept. if its data then is it maybe i2c?
OK. i've identified all the chips on this board. there's the six mosfets for driving the fan from some sort of high current or voltage source (hard to tell). there's the three bp6911 chips for driving the mosfets from a signal (PWM?). Those seem to be directly plumbed into the holtek chip. The RF is handled by the CMT2210 i think.
the cmt2210 is also directly plugged into the holtek chip
i think piggybacking the cmt2210 with an esp would possibly be the best way?
it would let you send commands. but you would still have to seperate read the state
yeah. i'd need to figure out how to get that from the holtek
i would detect it independantly from the output cables
i suspect they've got high voltage on them. i would probably rather watch one of the phase controller bp6911 chips
you will have to isolate connects to the board anyway cos got only knows what gnd is referenced to and you would have to probably add your own power supply for the esp
which you could drive directly from the ac
there's a pretty solid 12v dc power chip on here. i think it's powering the low side circuitry
there gotta be 5v generation somewhere for the CMT2210 too
this bp85256 may have both?
looks like its just 12
yeah. i think there might be a small 12->5 voltage regulator on this board somewhere. sadly it's at least 4 layers, so it's difficult to tell what's getting power from where.
you can try and read the data out pin of the CMT2210 then find a way to emulate that
that's what i'm thinking to do for the esp.
gotta figure out the feasibility of piggy backing an esp into this enclosure.
if it doesnt fit then could always put esp in its own box stuf on the side then drill a hole for cables
yeah. if i can figure out how to get the signals and power out, i think i have space in the overall enclosure. it's a LOT smaller than the old AC fans it's replacing 🙁
for the light state you can probably use a transistor activated when its on
fan speed is a bit more tricky
it's a dimmable light, but i think i can figure that out pretty easily. it looks like a pretty simple LED driver circuit.
as you say, the problem is the fan speed. i'd likely need to tune the ADC that i add to the driver.
hang on. thinking about it, i might need to do more on the LED light too. i think it might have selectable colour temp
with only 2 wires to it? not likely unless thee fitting is doing something activly
was thinking you could split the led off to a seperate driver. so this board is only doing the fan
then you could measure the power consumption of the device which will be different depending on which setting the fan is on
light
so i think it's just sending high voltage straight to the LED panel. interesting.
yeah i think iits just a 2wiree panel being driven by the board
which means you can probably split that out fairly easy with any led driver you like
i guess they have some signalling protocol it's using to send it dim and temp info
perhaps. i imagine its 12v mind. and the 12v psu mentioned earlier drives it
quite possibly. though there's basically separate circuitry on the LED side - so maybe not the 12v
and the mosfet on the LED board definitely can handle HV
yeah the voltage is probably pumped so that the right voltage is across each led
i'm not hitting a lot of good info on these two ketnus chips :/
to be fair, we are probably a bit beyond the HA scope at this point into full reverse enginnering of stuff. you could ask over on the ESPHome discord about engineering an esp into it
yeah, i think i probably will...
some of the people over there will know this kind of hardware project better
it's an interesting problem tho, and one that's gonna bite more as dc fans take over the market.
those AC fan controllers are great, but they're completely incompatible with this tech.