Have been through this, and still going through it. Protection lasts 20 years. Yes, 7-10K frequently, but that is a base price for simple trap stuff. Complicated electronic stuff could go 100k, who knows. It's not over after that either. There are regular maintenance fees the government asks for periodically, like $1500 after a couple of years to continue. If you don't pony up, protection is gone. You have to think, how much am I gonna make on this? Spend 10k to set 11k in product? You can do it yourself, but the trick is the description, accurately describing what you have. You can have patent searches done, you can do them yourself, but there is no guarantee that all stones will go unturned, so when you think you may be there, after several back and forths with searches, lawyers and the government, all of a sudden the government produces a heretofore "unknown" 1927 patent that looks a lot like what you are doing. Not a hypothetical, has happened in the past. Worst is to find previous patents that had value, were never manufactured and no one knows about them, yours is like it in many ways, will work and has new implications, but you can't protect it because it has come and gone forever. Do you then spend more bucks to get a very narrow patent?
When you think patent, think what it is you can patent, it is very specific. Have seen lawyers load up on claims, I guess to make it look like they are doing something, stuff you know won't fly, only to get most all of it axed anyway as you would expect. You might think the lawyers are best suited to help you and I am sure there are some very good ones and they all know more than the lay person, but have found the U.S. patent people to be the most helpful, knowledgable, and they should be, it's their business and they do it every day all day. There are different ways to submit. A basic, "it's my idea" kind of thing for non-corporate is $110 for an individual to start, not a full patent ap. The full patent yourself is $550. But, you cannot lump a whole bunch of stuff into one, even though your invention is one thing, sometimes many parts. They will separate you patent and charge you $550 for each element. Be ready.
Guess I'm still in patent school, learning and will be forever. Really pretty easy. LOL