Write and test first, then buy the hardware you need.
Don't fill it with too much stuff, though.