Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Posts posted by Fmilburn

  1. There are several posts on 43oh using IR, for example: 



    The post above describes hardware I used and links to others. If you use Energia, look for Arduino projects and tutorials as most should work.  For example, look on the Adafruit site which also sell hardware.  

  2. My memory must be faulty.  I had a quick look at the Adafruit code and don't believe it will work without a fair amount of modification.  They are using direct register reads in some cases which is not difficult to fix but they also seem to be blocking and counting loops to determine time which is not good practice.  I mostly used the DHT22 but do remember getting the DHT11 working at one point.  Most of the libraries seem to handle both.  Unfortunately I did not put my code in github or otherwise document it so can't give much more guidance.

  3. In the distant past I have used the Adafruit library with the DHT11 and don't remember having a problem.  I normally use V17 of Energia with the G2553.  Make sure you get the pins right and list both the pins used and a link to the library when asking for help.  Arduino code that makes hardware specific calls will not work without porting whether to a MSP430, Teensy, ESP, etc.

  4. Hi @Amanchaturvedi

    You don't say whether you are using CCS or Energia....

    I have not used the CC3200 in quite some time but the Pxx numbers on the silk screen which are barely legible refer to the package pin numbers - refer to table 3.1 of the datasheet:  http://www.ti.com/lit/ds/symlink/cc3200.pdf

    According to the datasheet there are two UARTs.  You can multiplex them with CCS.

    In Energia it is possible with some LaunchPads to have Serial1 but I don't know if this is possible with the CC3200.  Have a look at the pin map and try - probably pin 9 is TX(1) using the standard BoosterPack header nomenclature and Pin 10 is RX(1).  Pins 3 and 4 should be regular serial RX and TX respectively.

  5. Quote

    Thanks Fmilburn. The MSP430G2955 is a very good option as well. Did you notice any  problem on any of the peripherals ? The variants + boards.txt approach is very simple but perfect if it works. I remember having had to add some specific core code for the CC430F5137 when I created the panStamp NRG project.

    I did not have problems but only used it one project and did not test all peripherals.  I see that the links that Rei Vilo has provided are quite recent and by people who are more familiar with Energia than I am.  I would start with those...

    I find the TSSOP packages easy enough to hand solder.

  6. Hi @CptSky

    You haven't provided much information - no code really, no information on the microcontroller, the pins used and how they are connected, etc.

    If you have commented out code as described in your first post then of course there will be no output if  TIMER_PWM_PIN is P2_3.

    //pinMode(TIMER_PWM_PIN, OUTPUT);
    //digitalWrite(TIMER_PWM_PIN, LOW); // When not sending PWM, we want it low 

    I don't think it is possible to give meaningful help without more information.

  7. I have developed for a couple of other MSP430 versions that were not already in Energia, although not lately. The easiest way is to start with something quite similar and modify pins_energia.h and modify the boards.txt file as needed.  The G2955 is a nice microcontroller that might meet your needs.  If so, I have placed the pins_energia.h file and directions for modification of boards.txt and installation here.  It was developed for, and the directions for installation are for Energia V17.

  8. I have two MSP-EXP430G2 V1.5 LaunchPads and have used them for many years without a problem with serial print on various versions of Windows including 7, 8, and 10.  I have also made many custom boards using the G2553 without a problem.   Having said that, I would not recommend the MSP-EXP430G2 LaunchPad for developing the MSP430.  Get one of the newer LaunchPads like the F5529, FR2433, or FR6989.  They work well with Energia if you want to use that, can be used to program the G2553 if you really want to use that (and the only reason I can think of is the DIP package but it isn't that much more difficult to solder the larger SMD packages), and don't have the awful emulator that is on the MSP-EXP430G2.  Further they don't cost much more if any and TI frequently puts them on sale sometimes with free shipping.  You will have far fewer problems flashing and with serial on any of the newer LaunchPads.  I do all G2553 development by connecting to a F5529 LaunchPad.

    To test your LaunchPads, pull the G2553 DIP microcontroller on the "bad" boards and put them in the good board to see if they work.  If you haven't done that before then my method is to pry them slowly by alternating between the ends with a very small screwdriver.  Be careful and insert slowly and evenly making sure all pins are seated as you go.  If they work in the good board then maybe something is wrong with the other LaunchPads.  If they don't work then probably something is wrong with G2553 - perhaps they saw more than 3.6V?  Do they still flash a LED?

  9. @binbsoffn

    have a close look at how the SPI approach works: 


    It is simple, elegant, and quite precise with minimal processor cycles   It even wotks with Energia.  Now try it with timers...   You will need to switch back and forth on timer settings during output.   Can you make it work?


  10. Did you make a jig and follow the procedure in the Adafruit link?  What value are you seeing for g?  A value of 9.8 would be close for SI units.  However if it is reporting g-force the value should be close to 1.  I don’t have this sensor but cannot understand why a correction cannot be made if the sensor is giving relatively constant values at rest. 

  11. Hello @Turan2018

    I am not a gamer but if you are using Energia then code written for other Energia compliant devices using the same BoosterPack will likely work for the FR6989.  Code written for Arduino can be used as a starting place but any hardware dependent portions - such as that written for the display or Atmel specific code - will need to be ported.  

    I would do a search for your Boosterpack first and understand how it works first - especially the display  

    If you are using CCS then there is considerable training available, e.g. http://processors.wiki.ti.com/index.php/Getting_Started_with_the_MSP430_LaunchPad_Workshop

    It will not have games but will  start you out on a real understanding of microcontrollers using Driverlib.  

    I thought this Udemy course for FR6989 which uses CCS and direct register access was good although it does not cover the BoosterPack: https://www.udemy.com/mcu_msp430/

  • Create New...