Hi there, i have some Mega and W5500 wiring problems and questions i hope to get some help with.
I am making a stepper controller whit a Mega 2560 to control some peristaltic pumps (hose pumps) for watering and controlling the nutrients of the plants in my greenhouse, so it can be controlled by a SCADA like system.
This is simplified rough overview how it has to work
It should work as follows, a RS485 ground moisture censors measure the ground moisture level, if below a certain threshold it will trigger to open up a valve at that plant, and start a big peristaltic pumps that pump 1L water/min, and some small peristaltic pumps that ad nutrients to the water to help the plants grow, and the computer system will change the amount and type of nutrients depending on the type of plants and on the grow phase of the plants.
First i just wanted to use RS232 or RS485 to control the Mega, but modbus over network should work a lot easier for my solution.
I would like to use W5500 network controller, as as far as i have bin reading up on Arduino networking its the fastest/least resources solution you can get, but is the best solution for my use?
The problems that i have is hooking up a W5500.
- I seen a lot of diagrams, and all of them uses a PWM pin, and i rather not use one, as that means i have to sacrifice a stepper controller.
- Also rather don't use the bottom pin 50 to 53 if possible as i wane use those for relays.
- The center ICSP pins would be best, as i seen with some W5500 wiring drawings.
- I wane use this network controller from AliExpress, is it a good pick?
So could some one help me finish the wiring diagram.
Link to full image
And here is the first Beta PCB layout of the controller board, so you can see how its gone be used, tho the next version gone have mayor changes to it
Link to full image.
I my self am not that at home with Arduino it self, I work more with setting up SCADA systems offshore, tho i have some basic knowledge of it, but a good friend dose, but he just got a new little one, so anything i can make or find out on my own would be a good thing for him.