It will be tricky only before you'll be able to make it work... after that.. copy/paste OR include you own routine. I don't see any problem to work hard on a routine that will be handy later for many other application.

Sure you can still choose to use the easy option, it's up to you!!! I think the question you should ask to yourself is: "does it worth that i spend many hours to do a routine to be use only one time, or so, while another solution is less time consumming?

What about your 3V limitation problem? Is a Step-Up or DC to DC converter a possible solution?
Can everything be run @5V without any problem?
Any available schematic of it?

Tell us more about your current project, maybe we can find a solution for you or give you some tips.