roast small quantities google "Roasting coffee beans with popcorn popper"
Read what it says about "first crack" and "second crack"
you can listen to what the beans are doing most of the time.
good luck. you are now onto the path toward spending a few hundred dollars to roast beans the right way.