9v to 5v for arduino pro mini

Have you mentioned a tilt switch before?
Why don't you tell us what you've got and what you want to do?