RobotDynOfficial / RBDDimmer

The following library is used for work with dimmer, it gives ability to control large ammoun of dimmer. This lib uses with Leonardo, Mega, UNO, ESP8266, ESP32, Arduino M0, Arduino Zero, Arduino Due, STM32.
236 stars 111 forks source link

Set power 0% #10

Open Goczilla opened 5 years ago

Goczilla commented 5 years ago

Hello,

I am working with your hardware (AC Light Module Dimmer) and the RBDimmer library code, I control heating cartridge with your module. But, in normal mode, when I set the power to 0%, my cartridge is heating whereas it doesn't do that... Is it normal for you? For now, to make colder my cartridge, I have to set the power to 1% but it means I have always at less 1% of power sent to the cartbridge.

I thank you in advance for any help ;)

Mesmer88 commented 5 years ago

You can check my pull request. From what i saw in your case it won't enter the if loops in the library that change output pin state.

Goczilla commented 5 years ago

I will try your solution and come back later to let you know if it is working. Thank you.

Goczilla commented 5 years ago

If I add your modifications, I can't control anymore the card so I will add a relay to my circuit to make my 0%.

Mesmer88 commented 5 years ago

You mean it works fine but only 0% not working correctly?

Goczilla commented 5 years ago

No, it seems for me my code doesn't work at all, I can't control the card so all the power is send to my cartridge. I don't have time to test again for now sorry. I just stay to the last updated library.

mrwnphs commented 2 years ago

I have the same problem. I cannot get power to go down to zero.

Goczilla commented 2 years ago

Fibally I used a relay for forcing the zero power. Not the best solution but it was working. Regards

Le dim. 17 oct. 2021 à 15:16, mrwnphs @.***> a écrit :

I have the same problem. I cannot get power to go down to zero.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RobotDynOfficial/RBDDimmer/issues/10#issuecomment-945120604, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHL5PUTMRYXA774YCZFS2MLUHLEB3ANCNFSM4HHYILBA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

mrwnphs commented 2 years ago

That's probably what I'm going to do also. I already ordered the relay.

darrepac commented 2 years ago

Hello,

I am working with your hardware (AC Light Module Dimmer) and the RBDimmer library code, I control heating cartridge with your module. But, in normal mode, when I set the power to 0%, my cartridge is heating whereas it doesn't do that... Is it normal for you? For now, to make colder my cartridge, I have to set the power to 1% but it means I have always at less 1% of power sent to the cartbridge.

I thank you in advance for any help ;)

Yes the library is not well written: here a post I wrote with the corrections I made to solve this (and more) https://blocnote360.wordpress.com/2022/03/20/routeur-solaire/ (sorry in french) Hope it helps people in the same situation