Here is a little project from a few years back that I'm considering resurrecting.
It is an FPGA-based Ethernet controller, intended for home automation applications at the time. It has a simple UDP-based poll-response -protocol for sending and receiving data from a host computer (along with the expected ARP and minor ICMP functionality). It has a small on-board EEPROM for storing the MAC and IP addresses, which can be programmed through the Ethernet port. It would be a relatively minor thing (apart from remembering what I did 4 or 5 years ago) to modify the code for it to function as either a phase-angle dimmer or as some sort of Renard or DMX host controller.
The FPGA is an XC2S15 and the Ethernet PHY/MAC is a LXT905. Both of these are fairly old parts, the FPGA is still available through Avnet and Digikey, and the LXT905 through Avnet. It's an interesting task soldering that board, the FPGA pins are on .65mm (~0.026") spacings.
It DOES look like a tight soldering job.
If I were personally going to get involved in ethernet controllers, I would want it to be Artnet compatible and ACN capable in the future...
DMX really satisfies all my christmas lighting needs, but a cheap DIY Artnet dimmer, or Artnet to DMX node would find use for in other parts of my life. I sometimes wind up lighting shows for small theaters and use my laptop and Enttec dongle to control their dimmers... I don't LIKE trusting the Enttec dongle, and would LOVE to be able to output Artnet from the laptop (which the control software can do) and have a hardware Artnet to DMX node on the dimmer end. I often do this with a second computer, running softnode, which is an Artnet to Enttec program. I avoid some problems by running the Enttec dongle off a dedicated machine, but I'd love to get the enttec dongle completely out of the way... without buying a Pro dongle. For some reason I'd gladly spend the same amount of money on a crazy DIY project, but am too cheap to buy the nicer dongle. 😉 We're a strange breed....
I know that's not what your post was about... Sorry! But that's what I would want in a ethernet based controller.
Art
I'm not sure which would be the easiest path to what you want - to use one of those cheap mini-itx mainboards or DIY using some sort of microcontroller+ethernet controller. I've also been looking at using either a Microchip ENC28J60 (Ethernet controller for use with a PIC...) or a PIC18F97J60 part (PIC with integral Ethernet controller, but very fine pitch soldering).
I just stumbled across an Artnet project out there, using an Atmega664 processor and a ENC28J60 (which works fine with any processor...)
I haven't had the chance to look it over too closely, but it looks like a reasonable starting point.
http://www.mikrocontroller.net/articles/AVR_Net-IO_Bausatz_von_Pollin&ei=OqyQScPwLdWDtwegrqWqCw&sa=X&oi=translate&resnum=3&ct=result&prev=/search%3Fq%3Dlpc2%2Bartnet%26start%3D10%26hl%3Den%26rls%3Dcom.microsoft:en-us%26sa%3D N"> http://translate.google.com/translate?hl=en&sl=de&u=http://www.mikrocontroller.net/articles/AVR_Net-IO_Bausatz_von_Pollin&ei=OqyQScPwLdWDtwegrqWqCw&sa=X&oi=translate&resnum=3&ct=result&prev=/search%3Fq%3Dlpc2%2Bartnet%26start%3D10%26hl%3Den%26rls%3Dcom.microsoft:en-us%26sa%3DN
P. Short wrote:
The FPGA is an XC2S15 and the Ethernet PHY/MAC is a LXT905. Both of these are fairly old parts, the FPGA is still available through Avnet and Digikey, and the LXT905 through Avnet. It's an interesting task soldering that board, the FPGA pins are on .65mm (~0.026") spacings.
I was wondering if you were ever going to bring this thing back. I think it would be interesting to make a general purpose node. I mean something like this could easily run a lot of the parallel port projects with little effort (automatically shifting 64 bits into registers) or a LEdtriks or something along those lines. Obviously very different VHDL but doable.
Tony M.
That’s what I was thinking… Something where you have a very high concentration of channels (i.e. a dot matrix display). This would be a beyond Litetrix and into more of a video type refresh rate.
something you might want to have a look at is the hackaday webserver.
http://hackaday.com/2008/09/25/web-server-on-a-business-card-part-2/
its a pic24f based board with the microchip ethernet chip. they have used smd parts but all the chips are available as dip parts.
i have built the board at home and soldered it up. it works as intended but to get the sdcard working they have stripped the microchip tcpip www demo software to its basic parts. but as you would probably be doing your own thing anyway i dont think it would be an issue.
also i keep thinking about making my pic24f/pic32 demo board which i intended to have ethernet/usb + other things. maybe its time.
also i have noticed that microchip have now released a range of small epprom chip's with a unquie mac address in the chip. might be worth adding for a unquie serial number and mac address.
ErnieHorning wrote:That’s what I was thinking… Something where you have a very high concentration of channels (i.e. a dot matrix display). This would be a beyond Litetrix and into more of a video type refresh rate.
Or possibly a Dimming RGB LEDtricks sort of thing. It would be a piece of cake for the next FPGA up in the line (XC2S30) to do a 768 pixel x 32768 color LED display (3 colors by 5 bits per color). That FPGA (and the more modern XC3S parts) has both the memory and the logic needed. The FPGAs do not have the current drive needed for driving LEDs (even the lower current of a non-multiplexed display), and the smaller FPGAs do not have the necessary I/O count. So I was thinking that nine external Allegro A6289 chips would be needed if the LEDs are driven with a 1:16 duty cycle. These are the same chips that are used on the Grinch and LEDtriks boards. If it turns out that a 1:16 duty cycle doesn't work because the LEDs need to be driven on for more time, then it would take 18 of the A6289 chips to implement a 1:8 duty cycle.
Here is a follow-on to the previous design. The board size here is 1.4" x 3.3", and the connectors on the right are just general purpose FPGA outputs.
One thing that this board can do that a PIC would have trouble with is dimming a color version of the LEDtriks matrix. If I assume that the basic refresh rate is 150 Hz, there are 32 dimmer levels, and the LED duty cycle is 1:16, then every 13 uS 1/16 of the LEDs in the display need to be updated. There are 2304 LEDs in the display, so 144 of these need to be updated in that 13 uS. This means that processor must be able to make the update calculations and do the appropriate I/O in less the 100 ns, or at a rate of about 10 MHz. For the microcontrollers under consideration each update will take two or three instructions (best case), so it must be able to execute instructions at more than 20M/sec (i.e. 20 MIPS), and it should be double that to allow adequate margin (figure at least 40 Mips). As far as I know none of the 16F or 18F parts come close, although some of the 24F or 32F parts might be able to do this. There are, of course, microcontrollers such as the Propeller that would be able to do this, as would multiple microcontrolllers.
On the other hand, this is a piece of cake for the FPGA. It is easily capable of performing 10 updates during each clock (in parallel), so a clock rate of around 1Mhz would suffice (about1/10 of the actual clock rate that my design would use).


