You have to write the book that wants to be written. And if the book will be too difficult for grown-ups, then you write it for children.
I never write for any age group in mind. When people do, they tend to be......condescending, and they don't write as well as they can write. When you underestimate your audience, you're cutting yourself off from your best work.