Would Ernie's plan work? I was thinking of grabbing a d-light board and test it.
joneslights wrote:Would Ernie's plan work? I was thinking of grabbing a d-light board and test it.
What is Ernie's plan?
I already have a d-light board and really like it.
I am thinking about expanding it.
rjmcnay wrote:What is Ernie's plan?
I already have a d-light board and really like it.
I am thinking about expanding it.
ErnieHorning
Member
Join Date: May 2007
Location: Apple Valley, MN
Posts: 415
Re: Support for D-light
It shouldn’t be too difficult to put Renard into a PIC18F2420 and plug it in to your D-Light board. Nobody looses, copyrights are still intact and your board then works with Vixen.
joneslights wrote:ErnieHorning
MemberJoin Date: May 2007
Location: Apple Valley, MN
Posts: 415
Re: Support for D-light
It shouldn’t be too difficult to put Renard into a PIC18F2420 and plug it in to your D-Light board. Nobody looses, copyrights are still intact and your board then works with Vixen.
Ok: I am a newbie at the PIC stuff. How do I put Renard into a PIC18F2420.
This chip (2) I already have on my board. One other posting says that Darryl needs to give the pin outs. So what am I missing.
rjmcnay wrote:Ok: I am a nebie at the PIC stuff. How do I put Renard into a PIC18F2420.
This chip (2) I already have on my board. One other posting says that Darryl needs to give the pin outs. So what am I missing.
You'll need a pick programmer and a copy of the hex file (on the Christmas Wiki) Pickit 2 is the most used programmer. I wouldn't use the chip on the board as, if something goes wrong you'll lose your D-light code.
The pinouts are so a cable can be made to connect vixen to the d-light.
But, LOR and d-light use the same pinouts I believe, so that is on the wiki as well.
joneslights wrote:You'll need a pick programmer and a copy of the hex file (on the Christmas Wiki) Pickit 2 is the most used programmer. I wouldn't use the chip on the board as, if something goes wrong you'll lose your D-light code.The pinouts are so a cable can be made to connect vixen to the d-light.
But, LOR and d-light use the same pinouts I believe, so that is on the wiki as well.
Another question or two.
Do you have a link or know where all of the above is on Christmas Wiki.
I believe I have the hex code for my PIC's.
Also, can we take this off-line some way.
rjmcnay wrote:Another question or two.
Do you have a link or know where all of the above is on Christmas Wiki.
I believe I have the hex code for my PIC's.
Also, can we take this off-line some way.
Cable making http://www.doityourselfchristmas.com/wiki/index.php?title=Pinouts
Firmware
http://www.doityourselfchristmas.com/wiki/index.php?title=Renard_Firmware
You cannot use the Renard code as-is on the d-light boards. The .asm file will need to be changed to work with the d-light board. This is a task for someone who has good assembly language skills, knows the PIC assembly language, and has sufficient information about the d-light hardware. For such a person (Ernie may have had me in mind) it is not a huge task.
P. Short wrote:You cannot use the Renard code as-is on the d-light boards. The .asm file will need to be changed to work with the d-light board. This is a task for someone who has good assembly language skills, knows the PIC assembly language, and has sufficient information about the d-light hardware. For such a person (Ernie may have had me in mind) it is not a huge task.
Well, there's the answer. Thanks! If you ever feel like tackling that (or any one else) let me know. I do not know enough about assembly to try to tackle it.
P. Short wrote:... Ernie may have had me in mind...
I wasn’t pointing directly at you; though you seem to have the best qualifications on this site.
The majority of the code is already available and it should be a small task of modifying some register setups and changing port values. It think the boards are setup similar to that way the we’ve been doing it. I don’t remember how the zero crossing is implemented. I know that LOR uses an op-amp and maybe D-Light does too. The TRIAC circuit, I believe, is the same as ours.
