self-balance robot

I want to build a two wheel self-balance robot. now i have hkpilot mega mini and ardumote motor driver. is there any suggestion?

how to upload the program to hkpilot mega mini? what pin can i use?

I found the exact link to get you started. Link below.

This shows where to find a lot of information