Hey everyone I'm new to this site and new to the world of microcontrollers. My group is doing a senior design project in which we are using an accelerameter to measure the g-forces during a crash and when they exceed a certain limit will trip a relay. I talked to the customer support staff at robot shop and they told me the hardware that i would need to buy. I bought the following components:
http://www.robotshop.com/dfrobot-tri...-mma7260q.html
http://www.robotshop.com/productinfo...-36&lang=en-US
http://www.robotshop.com/dfrobot-single-relay.html
I have received them and hooked them up but am running into a bit of trouble when it comes to the programming. I have taken some programming courses but not enough to program the microcontroller to do what we need it to. I was wondering if someone could point me in a direction where I might be able to find a sample program to use. Thanks in advance to the help!
http://www.robotshop.com/dfrobot-tri...-mma7260q.html
http://www.robotshop.com/productinfo...-36&lang=en-US
http://www.robotshop.com/dfrobot-single-relay.html
I have received them and hooked them up but am running into a bit of trouble when it comes to the programming. I have taken some programming courses but not enough to program the microcontroller to do what we need it to. I was wondering if someone could point me in a direction where I might be able to find a sample program to use. Thanks in advance to the help!