A circuit shows Arduino Mini and a handmade Arduino making the very same function.

Please go to this link for complete description.