pwm code?
 
Notifications
Clear all

pwm code?

14 Posts
3 Users
0 Reactions
6,450 Views
Posts: 134
Topic starter
(@mel4853)
Estimable Member
Joined: 19 years ago

iwant to try just pwm first. my ssr are current sink per the schematic.


Reply
Posts: 6720
(@p-short)
Illustrious Member
Joined: 20 years ago

If everything that you have been doing is with non-pwm so far, and it is working, the first step is simply to change the PWM_build define in the source to read

#DEFINE PWM_build 1

assemble it, program a PIC, and replace one of the non-PWM PICs with this new one (using the same AC SSRs). It should work just the same as the non-PWM (unless you are real short of DC power on the controller).

The second step is to use the DC SSRs, but that can be discussed later.

--

Phil


Reply
Posts: 134
Topic starter
(@mel4853)
Estimable Member
Joined: 19 years ago

I changed the define pwm 1 and it works just fine with ac ssr. I am using the dssr's with the led's but still not working.


Reply
Posts: 134
Topic starter
(@mel4853)
Estimable Member
Joined: 19 years ago

yahoo!!!!!!!!! it works, sorry to take up your time it ended up being my mistake. these 3 hours of sleep a night are starting to get to me i think. thanks again phil & xmus for the response.


Reply
Page 2 / 2
Share: