Jump to content

jacamo

Members
  • Content Count

    6
  • Joined

  • Last visited

About jacamo

  • Rank
    Noob Class

Profile Information

  • Location
    usa
  1. Thank you for the response! I understand the basic concept of it but I guess I will just have to see how it works by trial and error then.
  2. Yes I do plan to have a "dead zone" around the off position. How would I set that in the ADC? Also how would I figure out what my control value is? Would I have to hook up the pot i am using and write a program to print the values in the serial monitor? Or what is the best way to do this. Again I have taken a few courses on the basics of programming the MSP430 line but this is my first attempt at actually doing a project on my own with no instructions. I really want to learn how to do this and I have already spent countless hours reading and taking classes and now my next step is to learn by doing. Any help you guys/girls can give me will be much appreciated. I am still trying to figure out which sampling option would be best for reading the value of a pot. They are as follows. ADC SINGLECHANNEL [Default] - one-time conversion of a single channel into a single memory buffer ADC SEQOFCHANNELS - one time conversion of multiple channels into the specified starting memory buffer and each subsequent memory buffer up until the conversion is stored in a memory buffer dedicated as the end-of-sequence by the memory's control register ADC REPEATED SINGLECHANNEL - repeated conversions of one channel into a single memory buffer ADC REPEATED SEQOFCHANNELS - repeated conversions of multiple channels into the specified starting memory buffer and each subsequent memory buffer up until the conversion is stored in a memory buffer dedicated as the end-of-sequence by the memory's control register Modified bits are ADCCONSEQx of ADCCTL1 register. Returns None
  3. Hello I am going to say that I am very new to Embedded systems. I could have started with the arduino as everyone else seems to do but I wanted to really understand how MCUs work so I opted for TIs MSP430 Line. I have read a lot of the documentation for the FR2311 and just have some general questions about how to go about using it most efficiently. First what my end goals are, I want to be able to control two DC motors that are bidirectional with speed control through a pot for each motor. They will be controlled via a L293DIC. I also want two push buttons that turn on or off relays that controls some LEDs. I want this to be done via interrupts and when not in use have the MCU in low power mode. I have looked through some of the examples that are provided and noticed that the "Analog Input to PWM Output" example they have uses the eCOMP module instead of the ADC. Is this the best/most efficient way to achieve this? Or would the only reason to do that would be A. the MCU doesn't include an ADC (like the FR2000) or B. Code size restrictions. My plan is to break it down in to sections that I can work on individually and then assemble together to make a complete program. My first goal is to get the ADC or eCOMP module set up with the pots. As I said before I want to be able to go both directions with one pot so I would need to have the value signed (right?) Also when reading through the user guide there are many different sampling modes. Which one would be best for sampling a pot? I am sure I will have more questions as I go along but I really want to get this done right and the reason I chose TI's products was because of the support behind them. Thanks in advance
  4. Has anyone heard about Energia supporting the newest G2 MSP board? I ordered it and tried it with the existing board profile and it didn't work. I was really trying to get the rev. 1.5 board because I am tired of switching the jumpers every time i want to use the serial monitor.
  5. I ended up just getting some of the 2553 ICs ang now I don't have that problem anymore. I also updated the drivers for the board it self so that might have done the trick. Thanks for your response!
  6. I cannot get this led to dim. It will flash on and off but no PWM as far as I can see. I copied the code right from the website here. http://energia.nu/Tutorial_Fading.html and wired everything the way it should be. Using a 220Ohm resistor instead of the 10k they had in there BOM. What am I doing wrong? I am using the MSP430G2231 chip and have all my settings in energia set accordingly I really don't know what I am doing wrong or if I have a faulty chip? Looking for someone to point me in the right direction.
×
×
  • Create New...