Notifications
Clear all

Support for D-light

93 Posts
23 Users
0 Reactions
86.6 K Views
ErnieHorning
Posts: 4434
(@erniehorning)
Famed Member
Joined: 19 years ago
ErnieHorning wrote:I’ll look around, I have the pin definitions for the D-light board somewhere...

Here are the pin definitions.

rjmcnay wrote:Ok, what do I need to do to get new micro's.

You can get up to 3 free sample on Microchip.com.

rjmcnay wrote:What Software and hardware.

There’s a free development IDE tool called MPLAB that you can use to write assembly as is. You can also attach third party tools if you want to write in a different language.

You’ll also need a programmer. I use MPLAB IDC2, though there are cheaper programmers. You compile and program through MPLAB.


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

That pinout description helps a lot, enough for someone to get started. There are still some open questions (polarity of the signals, what is the zero-crossing output for, etc), but those could all be resolved with a board, software and either a scope or a little bit of trial and error.

It's not on my project list for now, though.


Reply
A Marchini
Posts: 426
(@a-marchini)
Reputable Member
Joined: 19 years ago
ErnieHorning wrote:Here are the pin definitions.

You can get up to 3 free sample on Microchip.com.

There’s a free development IDE tool called MPLAB that you can use to write assembly as is. You can also attach third party tools if you want to write in a different language.

You’ll also need a programmer. I use MPLAB IDC2, though there are cheaper programmers. You compile and program through MPLAB.

Yeah, that is a handy picture.
I wonder what the A and B zero cross signal are.

I thought the design was op amp based (I remember the discussion on Planet Christmas and thought these were the result of those discussions).

I wonder what the Crystal frequency is.

Tony M.

P.S. I am enclosing the 2004 design I got off of PC back then when we were discussing open light controls.

Pic Serial dim ver9

Reply
ErnieHorning
Posts: 4434
(@erniehorning)
Famed Member
Joined: 19 years ago
A Marchini wrote:I wonder what the A and B zero cross signal are.

The guy’s with the D-Light boards my have to do some foot work here, depending on how bad they want this.

Looking the board in the picture, pin 2 goes through a 10K resistor and then to the transformer output. I can’t tell where the other side of the transformer goes. Maybe they’re using the A/D and generating an interrupt when it goes non-zero. Maybe they’re only looking at halfwave.

Pin 5 goes through another 10K resistor and a diode. Maybe this is a fall back to halfwave it the A/D didn’t work.


Reply
Posts: 19
(@rjmcnay)
Eminent Member
Joined: 18 years ago

This is richard's son in law again,

Reading back over the posts, Richards posts make him seem angry and that is not true. It's not intentional, but he translates online as mad :oops:. Anyway, I am more than willing to do any legwork. Most of this is over my head but I feel I can help map out the board as far as I can without an oscilloscope. Are we still thinking that loading a modified Renard firmware will allow us to use vixen? Or would it be easier to write an output plug-in for vixen?

We've downloaded MPLAB and played around with it. Let me see if I have this right we will load the renard firmware into mplab, make the changes corresponding to channels, zero a/b, and occ? Does anyone have a link to a primer on some of this stuff, not the assembly but the terms as concepts for the firmware? As in why is a zero necessary? is it watching the frequency of the transformer?

Anyway Thank you all for responding and keeping our hope alive!
Andy


Reply
A Marchini
Posts: 426
(@a-marchini)
Reputable Member
Joined: 19 years ago
ErnieHorning wrote:
Looking the board in the picture, pin 2 goes through a 10K resistor and then to the transformer output. I can’t tell where the other side of the transformer goes. Maybe they’re using the A/D and generating an interrupt when it goes non-zero. Maybe they’re only looking at halfwave.

I believe I remember in those old discussions of taking the AC and connecting direct to the comparator on a PIC as well. So perhaps that is what they are doing, using a comparator input as zero cross detect.

Tony M.


Reply
ErnieHorning
Posts: 4434
(@erniehorning)
Famed Member
Joined: 19 years ago

I bet that if whoever writes the code just contacts Darryl, he’d be willing to help. I believe that he’s mentioned that he’d like Vixen support over on his message board.


Reply
Posts: 19
(@rjmcnay)
Eminent Member
Joined: 18 years ago

I asked the question to Darryl and this is his response.

We don't currently support Vixen.
The ACx16 does use a PIC18F2420 with a 10Mhz resonator.
I *definitely* recommended doing your testing with a "non D-Light provided PIC".
The zero cross is comparator based.

I did not plan on using the PIC in the D-Light board.
So I need to know what PIC I need to get and anything else that I will need.
I am more then willing to do the testing and do anything else that needs to be done.


Reply
ErnieHorning
Posts: 4434
(@erniehorning)
Famed Member
Joined: 19 years ago

If you can provide a company mailing address, you can get 3 samples from Microchip for free; I don’t believe they’ll take a home address. The part that you’re looking for is PIC18F2420-I/SP. If they’re out, you could also take PIC18LF2420-I/SP; it just also works at lower voltage, which you won’t care about.

You can also buy them from Microchip or Mouser.


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

Are you planning on using or losing the d-light boot loader?


Reply
Page 7 / 10
Share: