New project: Sawyer...
 
Notifications
Clear all

New project: Sawyer Star (LED array)

54 Posts
13 Users
0 Reactions
33.2 K Views
Posts: 6728
(@p-short)
Illustrious Member
Joined: 20 years ago

Maybe I'm missing something here, but I think that a slightly modified version of a Ren-C plus Grinch would do the job. The revisions would be changing the RJ45 connector to the DMX pinout, adding switches to some unused pins on the PIC, and adding the current-programming resistor to the Grinch chips.

The part that would take a bit more work is coming with revised firmware for the new functions. The DMX receive function is easy, since an example already exists in the Renard firmware, and the user interface logic. And, if more processor horsepower is needed, the PIC18F1220 has a number of extra useful instructions and the ability to be clocked to 40 MHz. And I don't actually think that more processor is needed if all of the LEDs of a given color dim together.

Of course, Christmas is not that far away.

Edit - the PIC18F1220 has the same pinout at the PIC16F627 used on the Ren-C, and can fit in the same socket (with firmware changes, of course).


Reply
dmcole
Posts: 2196
Topic starter
(@dmcole)
Noble Member
Joined: 19 years ago

Phil:

Thanks so much for your insights.

You're right, the electronics need not be complicated -- see David Thorpe's original schematic at .

I had gotten bogged down using various LED drivers because I was interested in making this a constant-current circuit. I've scaled back on those plans of late and now am looking at implementing a pretty vanilla schematic.

The issue in my mind is the firmware and the firmware's ability to handle PWM across eight sinks and eight sources without flickering -- in addition to doing DMX reception, because even when the patterns are running, it will need to be constantly accepting DMX (not to mention when it is in the standard DMX RGB mode).

I'm sure that this could be built on a PIC -- clearly, that's what Thorpe used. I initially used the AVR because there is a well-proven toolchain for the Macintosh, which is my desktop machine; I don't believe such a toolchain exists for Microchip products. Obviously I have a Windows machine, but it is slow and elderly and while it runs Vixen just fine, I have to pick up and go to another desk to work on it, leading to fewer programming efforts than if I used the AVR.

I moved to the Arduino a few months back because of its ability to drive a terminal window in the IDE with data back from the microprocessor; I like that feedback as I don't have a scope. Also, I when you look up the phrase "hack programmer who writes spaghetti code that would make you puke," you'll see my smiling mug. The Arduino is more forgiving for guys like me.

As with all things binky-flashy, there are numerous ways to defur this particular feline. If someone wants to jump in with a schematic and some PIC firmware in hex, I'd be happier than a porcine wallowing in its own excrement.

Barring that, I'm deferring my personal development until January.

Again, thanks.

\dmc


Reply
Posts: 2630
(@dynamoben)
Famed Member
Joined: 19 years ago
dmcole wrote:
As with all things binky-flashy, there are numerous ways to defur this particular feline. If someone wants to jump in with a schematic and some PIC firmware in hex, I'd be happier than a porcine wallowing in its own excrement.

Barring that, I'm deferring my personal development until January.

Again, thanks.

\dmc

I can do this with the Propeller after Halloween, if you are interested.

PWM in one cog (to as many pins as you want), DMX in another, patterns in another (or even on SD), and there are 5 cogs left over. Are you hoping to use the original schematic or use an LED IC?


Reply
Posts: 6728
(@p-short)
Illustrious Member
Joined: 20 years ago
DynamoBen wrote:I can do this with the Propeller after Halloween, if you are interested.

PWM in one cog (to as many pins as you want), DMX in another, patterns in another (or even on SD), and there are 5 cogs left over. Are you hoping to use the original schematic or use an LED IC?

I've been considering doing something similar with the approach that I mentioned a couple of posts back. However, I'm not sure if dmcole is more interested in the result or in doing the project himself, so I'm backing off for the moment.


Reply
Page 11 / 11
Share: