thomasss 0 Posted May 18, 2012 Share Posted May 18, 2012 Hi everyone, I am working on a project for a robotic class and I am trying to convert 2 analog signals into 1. I was thinking about using the msp430 to do this but I am a mechanical guy so I am having a hard time. Let's say I am acquiring the 2 signals with 2 ADC channels, I do the operation on the 2 signals and output the result signal with the DAC. Do you guys think it's a good idea ? My problem is also the accuracy of the resulting signal. The ADC is 10 or 12 bits as I have read and the DAC is only 8 bits. Is there an easy way of adding a better DAC to the msp430 ? Here, I detail why I want to use the msp430 to do the operation on the 2 signals: I am trying to make an angular position sensor with 2 hall effects sensors. If you rotate a magnet in front of a hall effect sensor you get a cosine curve. The problem is that if you rotate +30 let say or -30 the sensor would give you the same intensity so you actually don't know if you are turning left or right. If you place a 2nd sensor with a 90degree angle from the other one you get a sine curve. So my code is: You take the angle from the 1st sensor and if the second one is positive it means that you are turning right and negative means you are turning left. I hope you can understand this better by looking at the picture I attached I apology for my poor English. I come from France. Thanks for taking the time to read this, Thomas Quote Link to post Share on other sites
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.