OK, just making sure that I understood what was going on before adding my $.02 to the discussion.
Anyway, I was thinking of a different approach to accomplishing what you are trying to do. The essence of this is make it a multiplexed 8xn display, sort of like a smart mini-trix. Each of the eight rows of the display would be enabled by one output from the PIC, one row at a time. The columns would be driven by the outputs of a series of 74HC595 chips (the difference is that here each 595 output controls an entire column, rather than just one LED). This would greatly reduce the amount of hardware that is needed...basically by a factor of eight.
Since the micro would be doing the multiplexing (unlike LEDtriks), it would need enough memory to store the entire display map. The PIC16F627 chip has 224 bytes of memory, enough to handle about 32 characters of data (larger than most people would want, I think), although it could be made even larger by storing ASCII characters in the micro rather than the decoded bitmap.
Only one row would be enabled at a time, so the column drivers would only need to drive 25 mA each. This is more than the 595 chip can drive, but a simple 2N3904 or 2N3906 transistor would suffice for each column driver. The row drivers would need to be able to drive 25mA * N, where N is the number of columns. For this you would need something beefier, perhaps a TIP120 (or parallel MPSA24 or MPS2222 transistors for modularity).
Anyway, just a thought.
ErnieHorning wrote:Not to toss the proverbial wrench in here but how you are compensating for the fact that Vixen doesn’t send out data if nothing changes?
In the plug-in, a timer could be used to resend the data if needed, or the PIC could just replay it if it is stored in RAM or EEPROM.
don
Hi"
CTMAL
I'm not 100% sure if I'm understanding what you're thinking correctly
Around here, things are explained differently than I understand them!
ErnieHorning wrote:Not to toss the proverbial wrench in here but how you are compensating for the fact that Vixen doesn’t send out data if nothing changes?
When you include the text in the designated pixels, you have data to send. The control code tells the PIC to "load" the data into memory and the second control code tells it there's no more data, and from then on, the pic doesn't need anything more -- it just keeps displaying the message until it gets another sequence of data. The idea is that the pic doesn't need a steady stream of information -- it only needs X number of bytes, which you'd put in the cells and which would be sent to the PIC.
P. Short wrote:OK, just making sure that I understood what was going on before adding my $.02 to the discussion.Anyway, I was thinking of a different approach to accomplishing what you are trying to do. The essence of this is make it a multiplexed 8xn display, sort of like a smart mini-trix. Each of the eight rows of the display would be enabled by one output from the PIC, one row at a time. The columns would be driven by the outputs of a series of 74HC595 chips (the difference is that here each 595 output controls an entire column, rather than just one LED). This would greatly reduce the amount of hardware that is needed...basically by a factor of eight.
Since the micro would be doing the multiplexing (unlike LEDtriks), it would need enough memory to store the entire display map. The PIC16F627 chip has 224 bytes of memory, enough to handle about 32 characters of data (larger than most people would want, I think), although it could be made even larger by storing ASCII characters in the micro rather than the decoded bitmap.
Only one row would be enabled at a time, so the column drivers would only need to drive 25 mA each. This is more than the 595 chip can drive, but a simple 2N3904 or 2N3906 transistor would suffice for each column driver. The row drivers would need to be able to drive 25mA * N, where N is the number of columns. For this you would need something beefier, perhaps a TIP120 (or parallel MPSA24 or MPS2222 transistors for modularity).
Anyway, just a thought.
Good thoughts, Phil -- thanks. I'm actually trying to get away from the multiplexing issue while at the same time, I'm trying to find another use for the good ol' Olsen 595. With this concept, you'd connect the outputs from two of the Olsen 595's RJ45s to one column and not use the 8th channel of each pair of outputs. Daisychaing 3 or 4 Olsen595's or Grinches into one another and you'd have all the display electronics right there, ready to go. All you'd need is the controller to gather the Renard data, decode it into the appropriate signals and feed it into the 595/Grinch. Bingo. Instant Triks display.
So a guy could dust off that old 595 or Grinch, glue some leds into some holes on a piece of pegboard, assemble an inexpensive Renard 8-channel controller (w/o triacs) and have a workable moving message display in a single day.
This may be a dog that won't hunt, but I have a sneaky suspicion that it may actually work.
So it seems that you'll be using a standard Renard PCB as the controller (with the new firmware, obviously), rather than design a new board.
P. Short wrote:So it seems that you'll be using a standard Renard PCB as the controller (with the new firmware, obviously), rather than design a new board.
Yes, you could say that I'm trying to make a concept that would take existing gear and use it in a slightly different way. Repurposing older equipment is perhaps better than letting it gather dust or throwing it out. Besides, who know how many stacks of 595 boards Macrosill may have sitting around waiting for people to buy? 😆
However, I have made a sort of "half-595" board (sort of a 297.50 board?) and some LED boards that could suffice as a "kit" for those who don't have a 595 and want to build the display portion out yet not use pegboard, etc. Combine them with one of the MiniRen or WiRen boards I made a month ago and a person could certainly etch their own setup pretty cheaply.
OK. The scheme that I proposed above could/would use any one of the existing 595/Grinch boards for the column drivers, without any disadvantage. What would take a new design would be the combined controller/row_driver board (basically the Ren-C board with seven or eight additional transistors).
What is the reason for being reluctant to use a multiplexing scheme?
P. Short wrote:OK. The scheme that I proposed above could/would use any one of the existing 595/Grinch boards for the column drivers, without any disadvantage. What would take a new design would be the combined controller/row_driver board (basically the Ren-C board with seven or eight additional transistors).What is the reason for being reluctant to use a multiplexing scheme?
I was thinking of this as a sort of "newbie" project and I envisioned the prospects of soldering a matrix as making it more complicated.
It's quite possible I'm not seeing the big picture of what multiplexing can accomplish here, as I'm thinking of a column of 7 LEDs as basically having a common anode (pin1 of an RJ45) going to a resistor network, and that branching out to the anode of each LED, with the cathode being switched by the ULN2803A (or transistor); the column could essentially be a standalone "stick" PCB (or pegboard) about an inch wide.
When the "sticks" are mounted adjacent to one another it could form a moving sign. However, if the sticks were separated and hung separately in a tree or elsewhere, it wouldn't be very hard to make them simulate dripping icicles instead. Soldering them into a matrix would make it much harder to separate them.
In your scheme each 'stick' has eight wires going into it. On the 'stick' side of things one wire goes to the common pin of the resistor network that you mention, the other seven wires each go to one cathode. On the system side of things, one wire goes back to the +5V, the other seven wires each go back to the output of a 595 (through some sort of transistor).
In the matrix scheme each 'stick' is wired internally the same as in your first scheme. On the system side, the first wire goes to the output of a column driver (unique to that 'stick'), and the other seven wires each would go to one row driver (in common with the same wire from all of the other sticks). Not too much harder to wire up than the first scheme, imo.
