Jump to content
43oh

thomasss

Members
  • Content Count

    14
  • Joined

  • Last visited

Reputation Activity

  1. Like
    thomasss reacted to TomKraut in Convert 2 analog signals into 1 with the msp430   
    That's a great idea! Since the F2013 doesn't have the USCI module, one would have to use software UART. Look into the Codevault section in the forums, there should be something there you can use. Also, the F2013 can be clocked by a high speed crystal, not just am active oscillator like the G2xxx usually used in the LaunchPad. This might help to achieve a higher baud rate than 9600. You can then use an USB-UART cable to connect the LaunchPad to the PC. There are ready-to-use cables from FTDI (expensive), or you can use an old cellphone data cable, there are tons of guides for converting one on the internet.
     
    Cheers
    TomKraut
  2. Like
    thomasss reacted to RobG in Convert 2 analog signals into 1 with the msp430   
    If you are looking for 16bit DAC, how about DAC8411, DAC8560, or DAC8551. 8411 uses Vcc as Vref, 8560 has an internal 2.5V reference.
  3. Like
    thomasss reacted to TomKraut in Convert 2 analog signals into 1 with the msp430   
    Not being a student anymore, I wasn't able to download the myDAQ manual...
     
    If it has a large enough sample buffer and sampling frequency for the digital I/Os you could use PWM to transfer the ADC values:
     
    - Have the MSP periodically sample the four analog values
    - put out PWM signals with a duty cycle equivalent to the analog values on four different pins
    - sample the PWMs with your myDAQ for at least one full PWM period at at least twice the PWM clock
    - transfer the samples to the PC
    - count the high values -> that's your sampled voltage
     
    If this is possible depends on the capabilities of the myDAQ. If it is, you won't need any additional hardware besides a LaunchPad; your sponsor might like that ;-)
     
    Cheers
    TomKraut
  4. Like
    thomasss reacted to RobG in Convert 2 analog signals into 1 with the msp430   
    This project is pretty easy and straight forward, give it a try and we will help you finish it
     
    1. Get MCP4822/4821
    2. Use 1 channel ADC code example to create a project and change it to alternate between two channels.
    3. You can also use example with sequence.
    4. Find MCP4822 example on 43oh to help you implement SPI and DAC functions.
    5. Add function to convert 2 ADC values into a single value.
    6. Voil
  5. Like
    thomasss reacted to TomKraut in Convert 2 analog signals into 1 with the msp430   
    Someone who has experience with the MSP430 and the protocols involved (SPI or I2C for the DAC) can whip something up in a few hours. Rock solid code in a day or two.
     
    I don't really know what level of experience an undergrad or graduate student would have (honestly, I'm not really sure what exactly those are... ), but someone who is an somewhat experienced MCU programmer can get comfortable with the MSP in a few days. If someone has never done real embedded work and is "just" a computer science student, it could be weeks before something useful emerges...
     
    Disclaimer: All of the above is of course personal opinion with no real data to back it up, except some experience from my own transition from studying computer science, to focusing on embedded and MCUs, to being a professional embedded programmer
  6. Like
    thomasss reacted to RobG in Convert 2 analog signals into 1 with the msp430   
    If you need a better DAC, try Microchip's MCP4822 or MCP4821. Low cost, 12bit, SPI, internal ref, dual or single channel. I can show you how to make them work with MSP430.
    Other than that, you will have to bias your inputs, so the voltage on the input side is 0-Vcc. A simple math will take care of converting ADC values to what you will send to DAC.
  7. Like
    thomasss reacted to touch in Convert 2 analog signals into 1 with the msp430   
    I think you could use something like the CD4066 to multiplex-scan the analog signal. the problem is it would half the horizontal resolution of your ADC I think. Take it with a grain of salt though, I'm not 100% sure.
  8. Like
    thomasss reacted to TomKraut in Convert 2 analog signals into 1 with the msp430   
    Quick side note: If you want a better ADC, use an MSP430F2013. It has the Sigma-16 16-bit ADC and should work in the Launchpad (haven't tried it, but I see no reason why it shouldn't...).
     
    Cheers
    TomKraut
  9. Like
    thomasss reacted to gordon in Convert 2 analog signals into 1 with the msp430   
    (I faintly remember I did, and it worked indeed.)
  10. Like
    thomasss reacted to jsolarski in Convert 2 analog signals into 1 with the msp430   
    I have used the F2013 with the launchpad. and the differential inputs are great, and the 16bit SDA has moe then enough resolution.
×
×
  • Create New...