The key to any electronic design is to be found in the data sheets for the devices you wish to use.
Many data sheets also include application notes that suggest how to connect, drive or program the device.
If you have a basic understanding of electronics then working your way through any data...