Hi Ray,
Thanks for the encouragement. I'm not sure what the best way to modify the code. Should I use #ifdefs and use SVC_HW_VER as a compile time selector or should I delete the non-mega2560 code and not try to keep 1 source code for both projects. It sounds like you would rather have it a separate project in which case I will probably remove the #ifdefs. I think git is smart enough to help with porting over updates so I don't think it really matters from a software development point of view.... or does it?
For my parts I sourced them from ebay and
dx.com. Being that Arduino is open source hardware I don't mind buying a knockoff (although I wish they wouldn't use the Arduino name as that is reserved for official boards).
Parts List:
Mega 2560 R2 (older version) from
dx.com for $18:
W5100 R2? (older version) from Ebay:
Search: arduino w5100
For R3 ($15) search for: arduino w5100 r3
(For the price difference I think the older revisions of the 2560 and W5100 are a better deal. I can't say for sure but it seems the hardware updates were quite minimal.)
8 channel, 5V relay extension board ($12 to $16):
ebay search: dupont wire color jumper cable male female 2.54mm
For standoffs the regular 3mm threads are too large. I'm drilling into a metal case and hoping to stack plastic washers to the right standoff height and use 2.5mm screws:
http://www.ebay.com/itm/320975892026?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649I haven't received these yet but hopefully it will work.
As for pictures, etc I don't have a blog (if you have any recommendations for what blog software, I would appreciate it) but would be willing to send them to you once it is further along. Currently I just have the Mega 2560 with the ethernet shield and 10 wires going to the relay board. So there is not much to see....yet.
Thanks for this great project! I'm jumping in a bit over my head but hopefully something useful will come out of it.
Thanks again,
Glen