Hopefully this is the correct forum to start asking and also hopefully this issue has not been answered already…
Last year - I helped a friend do a relatively large Christmas light display. I went to the DIY Christmas lights forum to ask a question and one member DM’d me on the side and provided some code and direction for me to go. I tested the design and software and… worked like a dream. It involves an Arduino Nano with a ENC28J60 network module and a simple NOR function for output.
Well - this year he wants to expand his display and needs a couple more boards - which I already (mostly) have. But I have assembled 2 of them and based on the code originally provided (which I confess to being pretty complex involving direct port access and ‘bit banging’ the output to light the pixels) I can’t get this 3rd board to work. I built a forth - STILL won’t ‘work’.
I suspect I may have been ‘sloppy’ with storing the code and maybe I have a corrupted or incomplete code base. Unfortunately - the individual who provided me the input was quite helpful at first - but is completely ghosting me was I request another copy. My solution has been to breadboard up a Nano with an ENC28J60 module and with the help of Gemini (Googles AI brain) try and write some basic code to at least try and capture and read some of the packets. I’m using a free application called sACNview for generating the network packets.
It has been a total failure. I can get the Module to connect to the network, respond to pings on the assigned IP - but Gemini is telling me I have hardware issues at this point because I can’t seem to capture the DMX packets and display the contents in the terminal screen. I’ve even tried to just have the Nano flash the onboard LED if it receives a directed packet.
Questions:
- are the ENC28J60 modules reliable?
- has anyone successfully used one for packet capture of anything at all? (DMX packets would be a bonus)
- Is the Nano too underpowered to do what I want in simple function calls (which is why the original code got into direct port addressing and ‘bit banging’ the output)
- (this is the BIG one) - does anyone maybe have an idea where this code came from in the first place and know where it can be found again? (That’s the ‘lottery’ request - > 1M:1 chance of success)
Thanks in advance!
Arden (lost on my way to Christmas)