When you say you have some solar panels, is that 2 harbor freight panels or an array on your roof? Here is the general idea.
Use a solar resource map to find how many killowatts/m2/day your location has annually. Let's say it is 5 kwh/m2/day. If this doesn't have battery backup your system is net metering with a annual credit. If you have a 5kw system you will produce 25kwh/day on average, in the northern hemisphere expect half of that in winter and double that in the summer. If you use 20kwh/day on average throughout the year you have 5kwh/day of usage left in your credit to maximize annually.
5kwh/day /24hrs of mining is 208.3W of mining per hour. This is very little for mining. Were talking about 1 low grade FPGA on a 300W computer running fairly idle. 1 GPU running on a decent rig is about 600W or 14.4kwh/day or a 2.9kw solar system. Not much of a rig.
Solar can work. but you need a large array. Mining is very intensive electrically. If you have hydro, you could potentially use a 7kw hydro system to be able to run at least 2 fast ASICs for similar costs.