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.
238 stars 112 forks source link

Not working on Arduino Nano 33 boards #52

Open ipener opened 2 years ago

ipener commented 2 years ago

The source code unfortunately doesn't work with any Arduino Nano 33 board (IoT, BLE, BLE Sense). In case they aren't supposed to be supported, I'd suggest to update the README.md accordingly. Here's a minimal implementation that runs on all of these boards, tested with a RobotDyn® 4-channel AC dimmer.

rockydog1984 commented 2 years ago

Thanks @ipener

I am having issues getting Arduino MKR 1010. It appears to be SAMD21 based so should work, but when I run example sketch "SerialMonitorDim" nothing prints so I assume its not running due to incompatibility.

Do you think this library should work on this device? How did you fix for Nano 33?

ipener commented 2 years ago

It was faster to write a minimal working example than fixing it. If you want you can't try out the implementation from my repo but please note that I only tested it on the Nano 33 boards. If for instance the MKR 1010's processor is running on a different frequency than the Nano 33 IoT then you'd have to adapt the clock frequency.

rockydog1984 commented 2 years ago

Ah I see, thanks! I shall run it and see what happens :)

On Tue, Feb 15, 2022 at 9:41 AM ipener @.***> wrote:

It was faster to write a minimal working example than fixing it. If you want you can't try out the implementation from my repo but please note that I only tested it on the Nano 33 boards. If for instance the MKR 1010's processor is running on a different frequency than the Nano 33 IoT then you'd have to adapt the clock frequency.

— Reply to this email directly, view it on GitHub https://github.com/RobotDynOfficial/RBDDimmer/issues/52#issuecomment-1040059219, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMZI7ER4HOT72M3BWPVZZ53U3INS7ANCNFSM5N3VLJPA . 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.

You are receiving this because you commented.Message ID: @.***>

-- Ben Kidd Creative · Technology · AR · VR

jonesek commented 1 year ago

It was faster to write a minimal working example than fixing it. If you want you can't try out the implementation from my repo but please note that I only tested it on the Nano 33 boards. If for instance the MKR 1010's processor is running on a different frequency than the Nano 33 IoT then you'd have to adapt the clock frequency.

Hi, Works wery well with IoT33. Thank you a lot . Well done.. Pavel