PDA

View Full Version : DMX


saiteja
October 24th, 2018, 12:57 AM
I am developing code in STM32F407 Controller and i have taken RGBW mode in DMX. now i am looking to add strobe effect to RGBW. iam setting the PWM and making it zero after some delay. at slower delays like 25ms the lights are hangging. i thought that is because of interrupt during delay. so i implemented timer delay concept there also iam facing same issue. Can some one suggest solution for this

saiteja
October 24th, 2018, 01:00 AM
i want simultaneous option of change in PWM and strobe at different speeds.
In manual it is working fine but in DMX it is hanging
in timers i am setting prescale to 84 and ARR to 99.

ericthegeek
October 24th, 2018, 07:15 PM
We have a lot of experience with the protocols here, but not much experience with any particular microcontroller. I suspect the answer will depend on the behavior of the specific PWM block in your chip.

saiteja
October 24th, 2018, 11:55 PM
We have a lot of experience with the protocols here, but not much experience with any particular microcontroller. I suspect the answer will depend on the behavior of the specific PWM block in your chip.

If only PWM eventhough giving simultaneously it was taking but when adding strobe function to it. it is haging. For this i have tried with SmoothPWM by taking TIM5 in that simultaneous working is fine but issue is at lower delays like 25ms and 50ms it is not getting the high intensity

Oiment
February 27th, 2019, 09:36 AM
We have a lot of experience with rangefinder binoculars (https://www.villagevoice.com/best-rangefinder-binoculars/) and the protocols here, but not much experience with any particular microcontroller. I suspect the answer will depend on the behavior of the specific PWM block in your chip.

Why would lower delays in those ranges cause problems? I thought lower delays were easier to handle.