My kids and I have a greenhouse we are trying to automate. Some time ago I found, what in my opinion, is the best sprinkler system. It cost around $6 to $12 online, can't beat that. I have a set hanging to water pot plants but one set pinned with garden stakes in the ground, the manufacturer suggested having it spray from ground up, but it was difficult to keep in one place and spraying upright.
What I did was to make this clip to mount on simple fiberglass garden poles.
I made two of these, one fits a garden stake of about 1/4 of an inch, the other is around 8mm, the orange fiberglass rods used in gardens to mark ditches etc. are around 8mm and uses the bigger sprinkler mount. I don't have this one pictured.
This thing is remarkably simple but super sturdy and useful if you have the same sprinkler.